/* fsp.design — 2026 · shared base for design directions */
:root {
	--ink: #18151a;
	--ink-2: #201c23;
	--line: rgba(255, 255, 255, .1);
	--text: #f3f0f5;
	--muted: #a29ea9;
	--dim: #6b6772;
	--red: #ed1c24;
	--pad: clamp(20px, 5vw, 64px);
	--max: 1320px;
	--sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

	--futura: "futura-pt", Futura, "Century Gothic", "Avenir Next", sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
em { font-style: normal; font-weight: inherit; }
::selection { background: var(--red); color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

/* ---------- top bar ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .3s; }
.bar.solid { background: rgba(24, 21, 26, .82); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.bar .logo img { width: 150px; height: auto; }
.bar nav { display: flex; gap: clamp(16px, 3vw, 36px); font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .72); }
.bar nav a { transition: color .2s; }
.bar nav a:hover, .bar nav a:focus-visible { color: #fff; }
.bar:not(.solid) { mix-blend-mode: difference; }
.bar:not(.solid) nav { color: rgba(255, 255, 255, .85); }

.bar-dot { position: fixed; inset: 0 0 auto; z-index: 51; padding-top: env(safe-area-inset-top, 0px); pointer-events: none; }
.bar-dot .wrap { position: relative; height: 72px; }
.bar-dot span { position: absolute; left: calc(var(--pad) + 52.2px - 2.7px); top: calc(36px - 2.7px); width: 5.4px; height: 5.4px; border-radius: 50%; background: var(--red); }

/* ---------- hero (video + overlay, unchanged look) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding-top: 120px; display: flex; align-items: flex-end; overflow: hidden; background: #fefcfe; isolation: isolate; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero video { pointer-events: none; }
.hero video::-webkit-media-controls,
.hero video::-webkit-media-controls-panel,
.hero video::-webkit-media-controls-overlay-play-button,
.hero video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; opacity: 0 !important; }
.hero .wrap { position: absolute; left: 0; right: 0; top: 56%; transform: translateY(-50%); text-align: left; mix-blend-mode: difference; color: #fff; }
.hero h1 { font-family: var(--futura); font-size: clamp(30px, 4.4vw, 72px); line-height: 1; font-weight: 500; letter-spacing: -.01em; }
.hero .scroll { position: absolute; right: var(--pad); bottom: clamp(48px, 10vh, 120px); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .72); writing-mode: vertical-rl; display: flex; align-items: center; gap: 14px; mix-blend-mode: difference; }
.hero .scroll::after { content: ""; width: 1px; height: 56px; background: linear-gradient(#fff, transparent); }
.hero.gif { background: linear-gradient(#fefcfe 0, #fefcfe calc(46% + 8vw), #16131a calc(46% + 12vw), var(--ink) 100%); }
.hero.gif video, .hero.gif .poster { display: none; }
.hero .wave { position: absolute; left: 0; top: 46%; width: 100%; height: auto; z-index: -2; pointer-events: none; }

[hidden] { display: none !important; }

/* ---------- shared bits ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

footer.quiet { padding-block: clamp(80px, 10vw, 140px) 32px; }
footer.quiet .contact { display: grid; justify-items: start; }
footer.quiet .contact .kicker { margin-bottom: clamp(24px, 3vw, 36px); }
footer.quiet .mail { font-size: clamp(24px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.02em; color: var(--text); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
footer.quiet .mail:hover, footer.quiet .mail:focus-visible { background-size: 100% 1px; }
footer.quiet .meta { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 16px; font-size: 15px; color: var(--muted); }
footer.quiet .meta a { transition: color .2s; }
footer.quiet .meta a:hover, footer.quiet .meta a:focus-visible { color: var(--text); }
footer.quiet .base { display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(72px, 9vw, 120px); padding-top: 24px; font-size: 13px; color: var(--dim); }
footer.quiet .base a { transition: color .2s; }
footer.quiet .base a:hover { color: var(--text); }

@media (max-width: 720px) {
	footer.quiet .meta { flex-direction: column; }
}
@media (max-width: 560px) {
	.bar nav { gap: 14px; font-size: 13px; }
	.bar .logo img { width: 112px; }
	.bar-dot span { left: calc(var(--pad) + 39px - 2px); top: calc(36px - 2px); width: 4px; height: 4px; }
	.hero .scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
}
