/* OrgComputers homepage: one night shift. Scrolling moves the clock from
   6 PM to 9 AM. Cobalt is agent light, warm is human light, green is on shift.
   The install page keeps site.css; this file styles index.html only. */

:root {
	--night: #07080b;
	--night-2: #0b0d12;
	--panel: #0e1116;
	--panel-2: #141820;
	--line: #1f2430;
	--line-2: #2b3140;
	--ink: #eef0f4;
	--ink-2: #a3abb8;
	--ink-3: #7d8594;
	--faint: #566072;
	--agent: #2a44f5;
	--agent-lt: #9aabff;
	--human: #f3c977;
	--live: #7fd6a0;

	--sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--wrap: 1200px;
	--gut: 24px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; scrollbar-color: #2b3140 var(--night); }
body {
	margin: 0; background: var(--night); color: var(--ink);
	font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* the air: fixed grain over everything, never intercepting input */
body::after {
	content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.06; mix-blend-mode: screen;
	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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--agent); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background: #232835; border-radius: 10px; border: 2px solid var(--night); }
:focus-visible { outline: 2px solid var(--agent-lt); outline-offset: 3px; border-radius: 6px; }
a { color: inherit; text-underline-offset: 3px; }
svg { display: block; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
code, .mono { font-family: var(--mono); font-variant-ligatures: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ── buttons and links ─────────────────────────────────────────── */

.btn {
	display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 22px;
	background: #fff; color: var(--night); border: 1px solid #fff; border-radius: 12px;
	font: 600 15.5px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 12px 30px -12px rgba(154, 171, 255, 0.55);
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
}
.btn:hover { background: #e9ecff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 16px 40px -12px rgba(154, 171, 255, 0.8); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { white-space: nowrap; height: 36px; padding: 0 14px; border-radius: 9px; font-size: 14px; box-shadow: none; }

.textlink { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color 0.2s; }
.textlink svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.textlink:hover { color: #fff; }
.textlink:hover svg { transform: translateY(2px); }
.textlink.fwd:hover svg { transform: translateX(3px); }

/* ── nav with the shift clock ──────────────────────────────────── */

.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--night) 82%, transparent); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: -0.02em; text-decoration: none; }
.brand svg { width: 22px; height: 22px; }
.clock { display: inline-flex; align-items: baseline; gap: 9px; padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 13.5px var(--mono); color: var(--ink); white-space: nowrap; }
.clock i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px var(--live); align-self: center; }
.clock small { font: 500 11px var(--sans); letter-spacing: 0.14em; color: var(--ink-3); }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color 0.15s; }
.nav-links a:not(.btn):hover { color: #fff; }
.shiftbar { position: relative; height: 1px; background: var(--line); }
.shiftbar span { position: absolute; left: 0; top: -0.5px; height: 2px; width: 0; background: linear-gradient(90deg, rgba(154, 171, 255, 0.15), var(--agent-lt)); box-shadow: 0 0 10px rgba(154, 171, 255, 0.7); }

/* ── hero: the office goes dark, the agents come on ────────────── */

.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: auto 0 0; height: 70%; background: radial-gradient(900px 420px at 50% 100%, rgba(42, 68, 245, 0.28), transparent 70%); pointer-events: none; }
#facade { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 360px; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%); mask-image: linear-gradient(to bottom, transparent, #000 35%); }
.hero .wrap { position: relative; padding-top: clamp(56px, 10vh, 112px); padding-bottom: 330px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 88px); line-height: 0.98; letter-spacing: -0.04em; max-width: 12.5em; }
.hero h1 em { font-style: normal; color: var(--agent-lt); }
.hero .lede { margin-top: 28px; max-width: 54ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); }
.proof { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 15px; font-weight: 500; color: var(--ink); }
.proof b { font: 600 15px var(--mono); color: var(--human); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 34px; }

/* ── film ──────────────────────────────────────────────────────── */

.film { position: relative; padding: 0 0 140px; margin-top: -150px; z-index: 2; }
.vid {
	position: relative; aspect-ratio: 16 / 9; background: var(--panel); border-radius: 18px; overflow: hidden;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 50px 140px -40px rgba(42, 68, 245, 0.6), 0 40px 80px -40px rgba(0, 0, 0, 0.95);
}
.vid video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vid-play { position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 0; border: 0; background: rgba(7, 8, 11, 0.25); color: #fff; font: 500 16px/1.2 var(--sans); cursor: pointer; transition: opacity 0.3s var(--ease), background 0.3s var(--ease), visibility 0s; }
.vid-play:hover { background: rgba(7, 8, 11, 0.1); }
.vid-icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #fff; color: var(--night); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.12), 0 20px 50px -10px rgba(42, 68, 245, 0.8); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.vid-icon svg { width: 26px; height: 26px; margin-left: 4px; }
.vid-play:hover .vid-icon { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.14), 0 24px 60px -10px rgba(42, 68, 245, 0.9); }
.vid-label { display: flex; flex-direction: column; gap: 4px; text-align: center; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7); }
.vid-label small { font: 400 13px var(--sans); color: rgba(255, 255, 255, 0.8); }
.vid.playing .vid-play { opacity: 0; visibility: hidden; transition-delay: 0s, 0.3s; }
.cap { margin-top: 18px; max-width: 80ch; font-size: 13.5px; color: var(--ink-3); }

/* ── section rhythm ────────────────────────────────────────────── */

.sec { position: relative; padding: 140px 0; }
.sec h2 { font-size: clamp(32px, 4.4vw, 58px); line-height: 1.03; letter-spacing: -0.04em; max-width: 15em; }
.sec .sub { margin-top: 20px; max-width: 58ch; font-size: 18px; color: var(--ink-2); }
.stamp { display: block; margin-bottom: 22px; font: 500 15px var(--mono); color: var(--agent-lt); }
.stamp.warm { color: var(--human); }

/* ── the night: one agent per hour ─────────────────────────────── */

.hours { margin-top: 88px; border-top: 1px solid var(--line); }
.hour { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; padding: 72px 0; border-bottom: 1px solid var(--line); }
.hour-side { position: relative; }
.hour-side .t { display: block; font: 500 clamp(44px, 5.6vw, 76px)/1 var(--mono); letter-spacing: -0.04em; color: #fff; }
.hour-side .t small { font-size: 0.38em; letter-spacing: 0; color: var(--ink-3); margin-left: 8px; }
.who { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 6px 14px 6px 11px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 500; }
.who i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background 0.4s, box-shadow 0.4s; }
.hour.in .who i { background: var(--live); box-shadow: 0 0 10px var(--live); }
.hour-side h3 { margin-top: 22px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.03em; max-width: 15em; }
.hour-side p { margin-top: 14px; max-width: 46ch; color: var(--ink-2); }
.hour-side .tools { margin-top: 18px; font-size: 14px; color: var(--ink-3); }

/* authored artifacts, one per agent */
.art { position: relative; align-self: start; background: linear-gradient(180deg, #10131a, #0b0d12); border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-2), 0 40px 90px -40px rgba(0, 0, 0, 0.9); }
.art-hd { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 20px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.art-hd span { font-weight: 400; color: var(--ink-3); }
.art-hd .pill { margin-left: auto; }
.art-bd { padding: 18px 20px 20px; display: grid; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 12.5px var(--sans); color: var(--ink-3); white-space: nowrap; }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.live { color: var(--live); border-color: rgba(127, 214, 160, 0.35); background: rgba(127, 214, 160, 0.07); }
.pill.co { color: var(--agent-lt); border-color: rgba(154, 171, 255, 0.35); background: rgba(42, 68, 245, 0.12); }
.bub { max-width: 88%; padding: 10px 14px; border-radius: 12px; font-size: 14.5px; line-height: 1.45; }
.bub small { display: block; font-size: 11.5px; color: var(--ink-3); margin-bottom: 2px; }
.bub.c { background: var(--panel-2); border: 1px solid var(--line-2); justify-self: start; }
.bub.a { background: rgba(42, 68, 245, 0.15); border: 1px solid rgba(154, 171, 255, 0.25); justify-self: end; }
.calls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.call { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--night-2); font-size: 13.5px; }
.call code { display: block; font-size: 11.5px; color: var(--agent-lt); }
.row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.row:last-child { border-bottom: 0; }
.row .av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #fff; }
.row .m { font-size: 13px; color: var(--ink-3); }
.sms { margin-top: 8px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(154, 171, 255, 0.3); background: #141a27; font-size: 14px; line-height: 1.5; }
.sms code { display: block; margin-bottom: 4px; font-size: 11.5px; color: var(--agent-lt); }
.site { background: #fff; color: #0f1114; }
.site-nav { display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 0 18px; border-bottom: 1px solid #ececef; font-size: 13.5px; font-weight: 600; }
.site-nav span { font-weight: 500; color: #666c76; font-size: 12.5px; }
.offer { display: flex; align-items: center; justify-content: center; gap: 12px; height: 38px; background: #0f1114; color: #fff; font-size: 13.5px; font-weight: 500; outline: 2px solid var(--agent); outline-offset: -2px; }
.offer b { padding: 2px 8px; border-radius: 6px; background: #fff; color: #0f1114; font-size: 12px; }
.site-hero { padding: 22px 18px 24px; }
.site-hero strong { display: block; font-size: 26px; line-height: 1.05; letter-spacing: -0.035em; max-width: 12em; }
.site-hero p { margin-top: 8px; font-size: 13px; color: #555b66; }
.site-hero span { display: inline-block; margin-top: 12px; padding: 8px 12px; border-radius: 8px; background: #0f1114; color: #fff; font-size: 12.5px; }
.edit-tag { position: absolute; right: 14px; top: 64px; padding: 3px 9px; border-radius: 6px; background: var(--agent); color: #fff; font: 500 11.5px var(--mono); }
.brief { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; }
.brief:last-child { border-bottom: 0; }
.brief > span:first-child { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
.cite { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 5px; border: 1px solid #3a4568; background: #131a33; font: 500 11.5px var(--mono); color: var(--agent-lt); vertical-align: 1px; }
.brief.next { margin-top: 4px; padding: 12px 14px; border: 1px solid rgba(154, 171, 255, 0.3); border-radius: 12px; background: rgba(42, 68, 245, 0.12); color: #fff; }
.art-foot { padding: 10px 20px; border-top: 1px solid var(--line); font-size: 12px; color: #8d96a5; }

.more { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; padding: 44px 0 0; color: var(--ink-2); }
.more b { color: #fff; font-weight: 600; }

/* reveal: content is visible by default; motion only runs when JS can drive it */
.js:not(.rm) .hour .art > *, .js:not(.rm) .seq { opacity: 0; transform: translateY(10px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js:not(.rm) .hour.in .art > *, .js:not(.rm) .seq.in { opacity: 1; transform: none; }
.js:not(.rm) .hour.in .art > :nth-child(2) { transition-delay: 0.15s; }
.js:not(.rm) .hour.in .art > :nth-child(3) { transition-delay: 0.3s; }

/* ── 9:00 AM: the team is back ─────────────────────────────────── */

.morning { background: linear-gradient(180deg, var(--night), #0a0d16 60%, var(--night)); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 72px; align-items: start; }
.facts { margin: 44px 0 0; border-top: 1px solid var(--line-2); }
.facts > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; font-size: 15px; }
.facts dd { margin: 0; font-size: 15px; color: var(--ink-2); }
.log { margin: 0; background: var(--panel); border-radius: 16px; overflow: hidden; font: 400 13px/1.6 var(--mono); box-shadow: 0 0 0 1px var(--line-2), 0 40px 90px -40px rgba(0, 0, 0, 0.9); }
.log-head, .log-foot { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; color: var(--ink-3); }
.log-head { border-bottom: 1px solid var(--line); }
.log-foot { border-top: 1px solid var(--line); font-family: var(--sans); font-size: 12.5px; }
.log-body { list-style: none; margin: 0; padding: 8px 20px; }
.log-body li { display: grid; grid-template-columns: 48px 104px minmax(0, 1fr); gap: 0 14px; padding: 9px 0; border-bottom: 1px solid #161a22; }
.log-body li:last-child { border-bottom: 0; }
.log-body time { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.log-body .ag { color: var(--live); }
.log-body .person .ag { color: var(--human); }
.log-body .id { color: var(--agent-lt); }

/* ── how we work: the handover ─────────────────────────────────── */

.phases { list-style: none; counter-reset: ph; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin: 72px 0 0; padding: 0; position: relative; }
.phases::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(90deg, var(--agent-lt), var(--line-2) 70%); }
.phases li { counter-increment: ph; position: relative; padding-top: 40px; }
.phases li::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--night); border: 2px solid var(--agent-lt); box-shadow: 0 0 14px rgba(154, 171, 255, 0.6); }
.phases li::after { content: counter(ph); position: absolute; left: 28px; top: -3px; font: 500 13px var(--mono); color: var(--ink-3); }
.phases b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.phases p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* ── systems diagram ───────────────────────────────────────────── */

.flow { display: grid; grid-template-columns: max-content max-content max-content; justify-content: center; align-items: center; margin-top: 64px; padding: 56px 36px; border-radius: 20px; background: radial-gradient(500px 260px at 50% 50%, rgba(42, 68, 245, 0.18), transparent 70%), var(--night-2); box-shadow: 0 0 0 1px var(--line); }
.flow ul { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 8px; }
.flow li { display: flex; align-items: center; height: 40px; }
.flow li span { display: inline-flex; align-items: center; width: 190px; height: 40px; padding: 0 16px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 9px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.flow .dst li span { border-color: rgba(154, 171, 255, 0.3); }
.flow .dst li span::before { content: ""; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px var(--live); flex: none; }
.flow .src li { justify-content: flex-end; }
.flow .src li::after, .flow .dst li::before { content: ""; flex: none; width: 44px; height: 1px; background: var(--line-2); }
.flow .src::after, .flow .dst::before { content: ""; position: absolute; top: 20px; bottom: 20px; width: 1px; background: var(--line-2); }
.flow .src::after { right: 0; }
.flow .dst::before { left: 0; }
.hub { position: relative; margin: 0 44px; padding: 24px 28px; min-width: 220px; text-align: center; background: #fff; color: var(--night); border-radius: 16px; box-shadow: 0 0 0 6px rgba(154, 171, 255, 0.12), 0 30px 70px -20px rgba(42, 68, 245, 0.8); }
.hub::before, .hub::after { content: ""; position: absolute; top: 50%; width: 44px; height: 1px; background: var(--agent-lt); }
.hub::before { right: 100%; }
.hub::after { left: 100%; }
.hub strong { display: block; font-size: 17px; letter-spacing: -0.02em; }
.hub small { display: block; margin-top: 4px; font-size: 13px; color: #555b66; }

/* ── two statements ────────────────────────────────────────────── */

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.two > div { min-width: 0; }
.two h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -0.03em; max-width: 14em; }
.two p { margin-top: 16px; max-width: 48ch; font-size: 17px; color: var(--ink-2); }
.cmd { display: flex; align-items: center; gap: 10px; height: 54px; margin-top: 26px; padding: 0 8px 0 18px; background: #050608; border: 1px solid var(--line-2); border-radius: 12px; font: 400 14px var(--mono); }
.cmd::before { content: "$"; color: var(--faint); }
.cmd code { flex: 1; overflow-x: auto; white-space: nowrap; color: var(--ink); scrollbar-width: none; }
.cmd code::-webkit-scrollbar { display: none; }
.copy { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 8px; color: var(--ink); font: 500 13px var(--sans); cursor: pointer; transition: background 0.15s; }
.copy:hover { background: #1d2230; }
.copy svg { width: 14px; height: 14px; }
.fine { margin-top: 12px; font-size: 14px; color: var(--ink-3); }

/* ── close: dawn ───────────────────────────────────────────────── */

.dawn { position: relative; overflow: hidden; padding: 160px 0 0; background: linear-gradient(180deg, var(--night) 0%, #0d1330 38%, #2a2a52 64%, #8a5a4a 86%, #e8a868 100%); }
.dawn::before { content: ""; position: absolute; left: 50%; bottom: -380px; width: 1400px; height: 700px; margin-left: -700px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 214, 150, 0.75), rgba(243, 201, 119, 0.25) 45%, transparent 75%); pointer-events: none; }
.dawn .wrap { position: relative; }
.dawn .stamp { color: var(--human); }
.dawn h2 { font-size: clamp(40px, 6vw, 84px); line-height: 0.98; letter-spacing: -0.04em; max-width: 11em; }
.dawn .sub { margin-top: 22px; max-width: 52ch; font-size: 19px; color: #d6d9e4; }
.dawn .actions { margin-top: 36px; }
.dawn .textlink { color: #e2e5ee; }
.foot { position: relative; margin-top: 200px; padding: 26px 0 34px; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: 14px; color: rgba(15, 17, 20, 0.75); }
.foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: rgba(15, 17, 20, 0.85); text-decoration: none; }
.foot a:hover { color: #0f1114; text-decoration: underline; }

/* ── narrow screens ────────────────────────────────────────────── */

@media (max-width: 1020px) {
	.hour, .more, .split { grid-template-columns: 1fr; gap: 40px; }
	.phases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 28px; }
	.phases::before { display: none; }
	.two { grid-template-columns: 1fr; gap: 64px; }
	.nav-links a.hide-md { display: none; }
}

@media (max-width: 760px) {
	.flow { grid-template-columns: 1fr; justify-content: stretch; padding: 28px 18px; }
	.flow li span { width: auto; }
	.flow ul { flex-direction: row; flex-wrap: wrap; gap: 8px; }
	.flow li { height: auto; }
	.flow li::before, .flow li::after, .flow ul::before, .flow ul::after { display: none !important; }
	.flow .dst li span::before { display: inline-block; }
	.hub { margin: 40px 0; min-width: 0; }
	.hub::before, .hub::after { top: auto; width: 1px; height: 40px; left: 50%; }
	.hub::before { right: auto; bottom: 100%; }
	.hub::after { top: 100%; }
}

@media (max-width: 640px) {
	:root { --gut: 16px; }
	.nav .wrap { gap: 12px; }
	.nav-links { gap: 12px; }
	.nav-links a:not(.btn) { display: none; }
	.clock small { display: none; }
	#facade { height: 220px; }
	.hero .wrap { padding-bottom: 200px; }
	.film { margin-top: -90px; padding-bottom: 96px; }
	.art-hd > span:not(.pill) { display: none; }
	.brand { font-size: 15px; }
	.vid-icon { width: 60px; height: 60px; }
	.vid-icon svg { width: 20px; height: 20px; }
	.vid-label small { display: none; }
	.sec { padding: 96px 0; }
	.hours { margin-top: 56px; }
	.hour { padding: 52px 0; }
	.phases { grid-template-columns: 1fr; }
	.log-body li { grid-template-columns: 44px minmax(0, 1fr); }
	.log-body li > span:last-child { grid-column: 2; }
	.brief { grid-template-columns: 1fr; gap: 4px; }
	.row { grid-template-columns: 28px minmax(0, 1fr) auto; }
	.row .m { display: none; }
	.dawn { padding-top: 112px; }
	.foot { margin-top: 140px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}
