/* =========================================================================
   NUI Sports Agency — core stylesheet
   Dark, high-contrast, editorial sports look. No framework dependencies.
   ========================================================================= */

:root {
	--bg: #0a0a0a;
	--bg-2: #111111;
	--bg-3: #181818;
	--line: rgba(255, 255, 255, .09);
	--line-2: rgba(255, 255, 255, .16);
	--text: #f4f2ee;
	--muted: #a19d96;
	--dim: #6f6b65;
	--gold: #d6b46a;
	--gold-2: #f0d595;
	--paper: #f4f2ee;
	--ink: #0d0d0d;
	--radius: 4px;
	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--ease: cubic-bezier(.2, .7, .1, 1);
	--display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 1000;
	background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
	color: var(--gold);
	margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }

.display {
	font-family: var(--display);
	font-weight: 400;
	line-height: .92;
	letter-spacing: .01em;
	text-transform: uppercase;
	margin: 0;
}
h2.display { font-size: clamp(44px, 6.4vw, 92px); }
h3 { font-weight: 600; }

.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.gold { color: var(--gold); }
.outline-text { color: transparent; -webkit-text-stroke: 1.5px var(--text); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 52px; padding: 0 28px;
	font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
	border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
	transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); background: rgba(255,255,255,.04); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
	border-bottom: 1px solid transparent;
}
.site-header.is-solid {
	background: rgba(10, 10, 10, .82);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	border-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .4s var(--ease); }
.is-solid .nav { height: 70px; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
	position: relative; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(244,242,238,.78);
	padding: 6px 0; transition: color .25s;
}
.nav-links a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
	transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { min-height: 42px; padding: 0 18px; font-size: 12px; }

.nav-toggle {
	display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: var(--radius);
	background: transparent; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
	position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); content: ""; transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { left: 0; right: 0; top: -7px; }
.nav-toggle span::after { left: 0; right: 0; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 991px) {
	.nav-toggle { display: block; }
	.nav-menu {
		position: fixed; inset: 70px 0 0 0; background: var(--bg);
		display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter) 60px;
		overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px);
		transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
	}
	.nav-open .nav-menu { opacity: 1; visibility: visible; transform: none; }
	.nav-links { flex-direction: column; align-items: flex-start; gap: 6px; }
	.nav-links a { font-family: var(--display); font-size: 44px; letter-spacing: .02em; color: var(--text); }
	.nav-cta { margin: 28px 0 0; }
	/* no backdrop-filter on mobile: it would become the containing block of the fixed menu */
	.site-header, .site-header.is-solid { background: rgba(10,10,10,.97); backdrop-filter: none; -webkit-backdrop-filter: none; border-color: var(--line); }
	.nav, .is-solid .nav { height: 70px; }
	.brand img { height: 38px; }
	body.nav-open { overflow: hidden; }
}
@media (min-width: 992px) { .nav-menu { display: flex; align-items: center; gap: 28px; } }

/* ---------- Hero ---------- */
.hero {
	position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
	padding: 140px 0 clamp(70px, 10vh, 120px); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
	width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.55);
	transform: scale(1.12); animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(80% 60% at 70% 20%, rgba(214,180,106,.14), transparent 60%),
		linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.15) 40%, rgba(10,10,10,.95) 100%);
}
.hero::after { /* film grain */
	content: ""; position: absolute; inset: -50%; z-index: -1; opacity: .07; pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero h1 {
	font-family: var(--display); font-weight: 400; text-transform: uppercase;
	font-size: clamp(64px, 12.5vw, 196px); line-height: .84; letter-spacing: .005em; margin: 0 0 30px;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero-bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px; }
.hero-bottom p { margin: 0; max-width: 470px; font-size: clamp(17px, 1.5vw, 20px); color: rgba(244,242,238,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp 1s var(--ease) .55s forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.scroll-cue {
	position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
	width: 1px; height: 54px; background: linear-gradient(var(--line-2), transparent); overflow: hidden;
}
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -30%; width: 1px; height: 30%; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }
@media (max-width: 767px) { .scroll-cue { display: none; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span {
	font-family: var(--display); font-size: clamp(28px, 3.4vw, 46px); text-transform: uppercase; letter-spacing: .03em;
	padding: 0 28px; white-space: nowrap; color: var(--text); display: inline-flex; align-items: center; gap: 56px;
}
.marquee-track span::after { content: "✦"; color: var(--gold); font-size: .5em; }
.marquee-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(244,242,238,.55); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(84px, 11vw, 150px) 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-head { margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.section-head.split .lead { margin: 0; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-grid .display { font-size: clamp(42px, 5.4vw, 80px); }
.about-copy p { color: var(--muted); font-size: 18px; margin: 0 0 22px; }
.about-copy p strong { color: var(--text); font-weight: 500; }
.pillars { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pillars li { background: var(--bg); padding: 22px; }
.pillars b { display: block; font-family: var(--display); font-weight: 400; font-size: 28px; letter-spacing: .02em; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.pillars span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .pillars { grid-template-columns: 1fr; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { position: relative; background: var(--bg); overflow: hidden; display: flex; flex-direction: column; min-height: 520px; }
.service-media { position: absolute; inset: 0; }
.service-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.5); transform: scale(1.06); transition: transform 1.2s var(--ease), filter .8s var(--ease); }
.service::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.2), rgba(10,10,10,.92) 70%); }
.service:hover .service-media img { transform: scale(1); filter: grayscale(.15) brightness(.6); }
.service-body { position: relative; z-index: 1; margin-top: auto; padding: 32px 28px; }
.service-num { position: absolute; z-index: 1; top: 26px; left: 28px; font-family: var(--display); font-size: 22px; color: var(--gold); letter-spacing: .1em; }
.service h3 { font-family: var(--display); font-weight: 400; font-size: 36px; line-height: .95; text-transform: uppercase; margin: 0 0 14px; letter-spacing: .01em; }
.service p { color: rgba(244,242,238,.72); font-size: 15px; margin: 0; }
@media (max-width: 1100px) { .services { grid-template-columns: repeat(2, 1fr); } .service { min-height: 440px; } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } .service { min-height: 380px; } }

/* Roster / Recent work */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filters button {
	background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 20px; cursor: pointer;
	font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
	transition: all .3s var(--ease);
}
.filters button:hover { color: var(--text); border-color: var(--text); }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
.filters .count { opacity: .55; margin-left: 6px; }

.roster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.player {
	position: relative; margin: 0; background: #000; overflow: hidden; border-radius: var(--radius); cursor: pointer;
	aspect-ratio: 4 / 3; border: 1px solid var(--line);
}
.player img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.9); }
.player:hover img { transform: scale(1.05); filter: saturate(1.05); }
.player::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.9)); pointer-events: none; }
.player figcaption { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.player .tag { display: block; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.player .name { font-family: var(--display); font-size: clamp(28px, 2.6vw, 38px); line-height: .95; text-transform: uppercase; letter-spacing: .01em; }
.player .open {
	flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center;
	background: rgba(0,0,0,.35); transition: background .3s, border-color .3s, color .3s;
}
.player .open svg { width: 18px; height: 18px; }
.player:hover .open { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.player.is-hidden { display: none; }
.roster-empty { display: none; padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.roster-empty.show { display: block; }
@media (max-width: 991px) { .roster { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .roster { grid-template-columns: 1fr; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.member { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s; }
.member:hover { border-color: var(--line-2); }
.member-pic { aspect-ratio: 1; overflow: hidden; background: var(--bg-3); }
.member-pic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s var(--ease), transform 1s var(--ease); }
.member:hover .member-pic img { filter: grayscale(0); transform: scale(1.03); }
.member-pic.placeholder { display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #232323, #0e0e0e 70%); }
.member-pic.placeholder span { font-family: var(--display); font-size: 110px; color: rgba(244,242,238,.12); letter-spacing: .04em; }
.member-body { padding: 24px 24px 26px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.member h3 { font-family: var(--display); font-weight: 400; font-size: 32px; text-transform: uppercase; margin: 0 0 4px; line-height: 1; letter-spacing: .01em; }
.member .role { margin: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.icons { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.icons a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; transition: all .3s var(--ease); }
.icons a:hover { background: var(--text); color: var(--ink); border-color: var(--text); }
.icons svg { width: 16px; height: 16px; }
.icons img, .footer-brand .icons img { width: 22px; height: auto; margin: 0; transition: filter .3s; }
.icons a:hover img { filter: brightness(0); }
@media (max-width: 991px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team { grid-template-columns: 1fr; } }

/* Testimonial */
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.quote-mark { font-family: Georgia, serif; font-size: 140px; line-height: 1; color: var(--gold); height: 70px; display: block; margin-top: 34px; overflow: hidden; }
.testimonial blockquote { margin: 26px 0 32px; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.35; font-weight: 300; letter-spacing: -.01em; }
.author { display: flex; align-items: center; gap: 16px; }
.author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); }
.author b { display: block; font-weight: 600; }
.author span { font-size: 14px; color: var(--muted); }
.feature-shot { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.feature-shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.feature-shot::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(214,180,106,.12); pointer-events: none; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1040px; margin: 0 auto; }
.partner {
	background: var(--paper); border-radius: var(--radius); aspect-ratio: 2 / 1; display: grid; place-items: center; overflow: hidden;
	transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.partner img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.partner:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.partner:hover img { transform: scale(1.04); }
@media (max-width: 640px) { .partners { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.post:hover { border-color: var(--line-2); transform: translateY(-4px); }
.post-pic { aspect-ratio: 16 / 11; overflow: hidden; background: #000; }
.post-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover .post-pic img { transform: scale(1.05); }
.post-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.post-meta .cat { color: var(--gold); font-weight: 600; }
.post h3 { font-size: 21px; line-height: 1.3; margin: 0 0 12px; font-weight: 600; letter-spacing: -.01em; }
.post p { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.post .more { margin-top: auto; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
.post .more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.post:hover .more svg { transform: translateX(5px); }
.post:hover .more { color: var(--gold); }
@media (max-width: 991px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-list li { background: var(--bg); padding: 22px 24px; display: flex; gap: 18px; align-items: flex-start; }
.contact-list .ico { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--gold); }
.contact-list .ico svg { width: 18px; height: 18px; }
.contact-list small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.contact-list a:hover { color: var(--gold); }
.form { display: grid; gap: 14px; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row-2 { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.field input, .field textarea {
	width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--text);
	padding: 15px 16px; font: inherit; font-size: 16px; transition: border-color .25s, background .25s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--bg-3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 24px; font-size: 15px; }
.form-status.ok { color: #8fd18f; }
.form-status.err { color: #f08a7e; }
.form-note { font-size: 13px; color: var(--dim); margin: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.map { height: 420px; border-top: 1px solid var(--line); background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) invert(.92) contrast(.9); }

/* ---------- Footer ---------- */
.site-footer { background: #050505; border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 100px) 0 30px; }
.footer-top { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 90px); }
.footer-brand img { height: 56px; width: auto; margin-bottom: 22px; }
.footer-brand p { color: var(--muted); max-width: 380px; margin: 0 0 26px; }
.footer-nav { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-nav a { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.footer-nav a:hover { color: var(--text); }
.ig-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.ig-head h4 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 30px; letter-spacing: .02em; text-transform: uppercase; }
.ig-head a { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; padding: 0; margin: 0; }
.ig-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 3px; background: var(--bg-3); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; }
.ig-grid a::after {
	content: ""; position: absolute; inset: 0; background: rgba(10,10,10,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f2ee' stroke-width='1.6'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='.6' fill='%23f4f2ee'/%3E%3C/svg%3E") center / 30px no-repeat;
	opacity: 0; transition: opacity .3s;
}
.ig-grid a:hover::after, .ig-grid a:focus-visible::after { opacity: 1; }
.ig-grid a:hover img { transform: scale(1.06); }
.ig-grid.is-loading a { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.footer-bottom { margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--dim); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } }

.to-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
	background: var(--gold); color: var(--ink); display: grid; place-items: center; border: 0; cursor: pointer;
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .35s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Lightbox ---------- */
.lightbox {
	border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; color: var(--text);
}
.lightbox::backdrop { background: rgba(0,0,0,.9); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--radius); background: #000; }
.lightbox p { margin: 14px 0 0; font-family: var(--display); font-size: 30px; text-transform: uppercase; letter-spacing: .02em; }
.lightbox p span { font-family: var(--sans); font-size: 13px; letter-spacing: .2em; color: var(--gold); margin-left: 10px; }
.lightbox-close {
	position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(0,0,0,.6); color: var(--text); display: grid; place-items: center;
}
.lightbox-close svg { width: 20px; height: 20px; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; padding: 190px 0 90px; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.page-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(60% 80% at 80% 0%, rgba(214,180,106,.16), transparent 60%), linear-gradient(180deg, #121212, var(--bg));
}
.page-hero h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(48px, 7.5vw, 112px); line-height: .9; margin: 0; max-width: 1050px; letter-spacing: .005em; }
.page-hero .post-meta { margin: 26px 0 0; }
.breadcrumb { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { margin: 0 10px; }

.article { max-width: 820px; margin: 0 auto; }
.article-cover { margin: 0 0 54px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.article-cover img { width: 100%; max-height: 640px; object-fit: cover; }
.article p, .article li { font-size: 18px; color: #d9d6d0; line-height: 1.8; }
.article p { margin: 0 0 24px; }
.article h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 4vw, 50px); line-height: 1; margin: 56px 0 20px; letter-spacing: .01em; }
.article h3 { font-size: 22px; margin: 44px 0 14px; line-height: 1.35; color: var(--text); }
.article strong { color: var(--text); font-weight: 600; }
.article blockquote {
	margin: 46px 0; padding: 6px 0 6px 30px; border-left: 2px solid var(--gold);
	font-size: clamp(22px, 2.3vw, 28px); line-height: 1.45; font-weight: 300; color: var(--text);
}
.article blockquote p { font-size: inherit; color: inherit; margin: 0; line-height: inherit; }
.article ul.checks { list-style: none; padding: 0; margin: 0 0 28px; border-top: 1px solid var(--line); }
.article ul.checks li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); position: relative; font-size: 17px; }
.article ul.checks li::before { content: ""; position: absolute; left: 4px; top: 24px; width: 14px; height: 1px; background: var(--gold); }
.article-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin: 44px 0; }
.article-split img { border-radius: var(--radius); border: 1px solid var(--line); }
.article-split h3 { margin-top: 0; }
@media (max-width: 760px) { .article-split { grid-template-columns: 1fr; } }
.article-foot { margin-top: 64px; padding-top: 30px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }
