/* =========================================================
   Journey: site-header.css (ours, 2026-10-29)
   The header and its menu (components/layout/site-header.tsx,
   public/theme/journey/site-menu.js). It replaces the theme's
   nav.css, which no longer loads.

   Desktop, after ramp.com (timings measured there): each section
   opens a panel that unrolls under the bar (height and clip .3s);
   moving to the next section slides the panels 20% sideways while
   they cross-fade (.5s / .25s), and the page behind darkens. A
   pill follows the pointer along the sections.
   Under 1080px, after apple.com and ramp.com: the menu unrolls
   down the screen, the sections roll in one after another, and a
   section opens as a screen that slides over them, with Back where
   the logo was. The account buttons stay at the bottom.
   Tokens from global.css.
   ========================================================= */

:root {
	--nav-height: 72px;
	--jn-ease: cubic-bezier(.4, 0, .2, 1);
	--jn-ease-frame: cubic-bezier(.45, .05, .55, .95);
	--jn-ease-apple: cubic-bezier(.4, 0, .6, 1);
	--jn-ease-sheet: cubic-bezier(.32, .72, 0, 1);
}

html.jn-lock, html.jn-lock body { overflow: hidden; }

/* ---------- the bar ---------- */
.jn-hd {
	position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
	height: var(--nav-height);
	font-family: var(--sans);
	background: rgba(252, 251, 249, .86);
	-webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s ease, background-color .25s ease;
}
.jn-hd.is-scrolled { border-bottom-color: var(--line); }
/* while a panel is open the bar is solid: one layer of glass, never two */
.jn-hd.is-menu { background: #fcfbf9; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: var(--line); }

.jn-hd-bar {
	position: relative; height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 32px;
	display: flex; align-items: center; gap: 22px;
}
.jn-hd-logo { flex: none; display: inline-flex; align-items: center; transition: opacity .3s ease; }
.jn-hd-logo img { display: block; height: 58px; width: auto; }

/* GeneratePress gives every button a grey fill, white text and padding: none of that here */
.jn-hd button { font: inherit; letter-spacing: inherit; text-transform: none; line-height: 1; margin: 0; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; }
.jn-hd a { text-decoration: none; -webkit-tap-highlight-color: transparent; }

.jn-hd-back { display: none; }
.jn-hd-nav { flex: 1; min-width: 0; display: flex; align-items: center; }
.jn-hd-tabwrap { position: relative; }
.jn-hd-tabs { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; position: relative; z-index: 1; }
.jn-hd-tabs li { margin: 0; }
.jn-hd .jn-hd-tab,
.jn-hd .jn-hd-tab:hover,
.jn-hd .jn-hd-tab:focus {
	display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 0; border-radius: 999px;
	background: transparent; color: #2b2a27; cursor: pointer; white-space: nowrap;
	font: 500 15.5px/1 var(--sans); transition: color .2s ease;
}
.jn-hd .jn-hd-tab[aria-expanded="true"] { color: var(--ink); }
.jn-hd-tab:focus-visible { outline: 2px solid var(--gold-cta); outline-offset: 2px; }
.jn-hd-chev { width: 14px; height: 14px; flex: none; opacity: .62; transition: transform .35s var(--jn-ease), opacity .2s ease; }
.jn-hd-tab[aria-expanded="true"] .jn-hd-chev--down { transform: rotate(180deg); opacity: 1; }
.jn-hd-chev--right { display: none; }

/* the pill that follows the pointer along the sections */
.jn-hd-pill {
	position: absolute; left: 0; top: 50%; height: 40px; margin-top: -20px; width: var(--pw, 0px); z-index: 0;
	transform: translateX(var(--px, 0px)); border-radius: 999px; background: rgba(26, 23, 18, .06);
	opacity: 0; pointer-events: none;
	transition: transform .38s var(--jn-ease), width .38s var(--jn-ease), opacity .22s ease;
}
.jn-hd-pill.is-on { opacity: 1; }
.jn-hd-pill.is-jump { transition: opacity .22s ease; }

/* Sign in · Sign up · Get started */
.jn-hd-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.jn-hd .jn-hd-signin {
	display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 9px;
	font: 500 15.5px/1 var(--sans); color: #2b2a27; transition: background-color .2s ease;
}
.jn-hd .jn-hd-signin:hover { background: rgba(26, 23, 18, .06); color: var(--ink); }
.jn-hd .jn-hd-btn {
	display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: 9px;
	font: 500 15px/1 var(--sans); white-space: nowrap; transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.jn-hd .jn-hd-btn-gold { background: var(--gold-cta); color: #17140f; }
.jn-hd .jn-hd-btn-gold:hover { background: #c69f60; color: #17140f; }
.jn-hd .jn-hd-btn-ink { background: var(--ink); color: #fff; }
.jn-hd .jn-hd-btn-ink:hover { background: #2a2925; color: #fff; }
.jn-hd .jn-hd-btn:active { transform: scale(.98); }
.jn-hd-signin:focus-visible, .jn-hd-btn:focus-visible, .jn-hd-panel a:focus-visible, .jn-hd-spot:focus-visible { outline: 2px solid var(--gold-cta); outline-offset: 2px; }

.jn-hd-burger, .jn-hd-spot, .jn-hd-ptitle { display: none; }

/* ---------- the panel frame (desktop) ---------- */
.jn-hd-viewport {
	position: absolute; top: 100%; left: 24px; right: 24px; max-width: 1392px; margin: 1px auto 0;
	height: 0; overflow: hidden; background: #fff; border-radius: 0 0 18px 18px;
	box-shadow: 0 40px 70px -30px rgba(33, 27, 16, .28), 0 0 0 1px rgba(26, 23, 18, .06);
	opacity: 0; visibility: hidden; clip-path: inset(0 -80px calc(100% + 320px));
	transition: height .3s var(--jn-ease-frame), clip-path .3s var(--jn-ease-frame), opacity .24s var(--jn-ease-frame), visibility 0s linear .3s;
}
.jn-hd.is-menu .jn-hd-viewport {
	opacity: 1; visibility: visible; clip-path: inset(0 -80px -320px);
	transition: height .3s var(--jn-ease-frame), clip-path .3s var(--jn-ease-frame), opacity .24s var(--jn-ease-frame), visibility 0s;
}
.jn-hd-panel {
	position: absolute; top: 0; left: 0; right: 0;
	display: grid; grid-template-columns: minmax(0, 1fr) 360px;
	visibility: hidden; opacity: 0; pointer-events: none;
}
.jn-hd-panel.is-on, .jn-hd-panel.is-off { visibility: visible; opacity: 1; }
.jn-hd-panel.is-on { pointer-events: auto; }
.jn-hd-panel--solutions { grid-template-columns: minmax(0, 1fr); }

/* moving between sections: out one side, in from the other (ramp.com's numbers) */
@keyframes jn-hd-fade-in { from { opacity: 0; } }
@keyframes jn-hd-fade-out { to { opacity: 0; } }
@keyframes jn-hd-rise { from { transform: translateY(8px); } }
@keyframes jn-hd-from-end { from { transform: translateX(20%); } }
@keyframes jn-hd-from-start { from { transform: translateX(-20%); } }
@keyframes jn-hd-to-start { to { transform: translateX(-20%); } }
@keyframes jn-hd-to-end { to { transform: translateX(20%); } }
.jn-hd-panel[data-motion="rise"] { animation: jn-hd-fade-in .25s var(--jn-ease) both, jn-hd-rise .5s var(--jn-ease) both; }
.jn-hd-panel[data-motion="from-end"] { animation: jn-hd-fade-in .25s var(--jn-ease) both, jn-hd-from-end .5s var(--jn-ease) both; }
.jn-hd-panel[data-motion="from-start"] { animation: jn-hd-fade-in .25s var(--jn-ease) both, jn-hd-from-start .5s var(--jn-ease) both; }
.jn-hd-panel[data-motion="to-start"] { animation: jn-hd-fade-out .25s var(--jn-ease) both, jn-hd-to-start .5s var(--jn-ease) both; }
.jn-hd-panel[data-motion="to-end"] { animation: jn-hd-fade-out .25s var(--jn-ease) both, jn-hd-to-end .5s var(--jn-ease) both; }

.jn-hd-cols { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 0 44px; padding: 34px 40px 38px; }
.jn-hd-panel--solutions .jn-hd-cols { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .72fr); }
.jn-hd-panel--company .jn-hd-cols { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); }
.jn-hd-col { min-width: 0; }

.jn-hd-h {
	display: block; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
	font: 600 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8a8478;
}
.jn-hd-list { list-style: none; margin: 0 -12px; padding: 0; }
.jn-hd-list li { margin: 0; }
.jn-hd .jn-hd-item {
	display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; color: var(--ink);
	transition: background-color .2s ease;
}
.jn-hd .jn-hd-item:hover { background: #f8f5ee; }
.jn-hd-ico {
	flex: none; width: 44px; height: 44px; border-radius: 11px; background: var(--bg-card); color: #3a362d;
	display: flex; align-items: center; justify-content: center;
	transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .35s var(--jn-ease);
}
.jn-hd-ico svg { width: 21px; height: 21px; }
.jn-hd-item:hover .jn-hd-ico { background: #fff; color: var(--gold-deep); box-shadow: 0 0 0 1px var(--line), 0 6px 14px -8px rgba(60, 45, 15, .35); }
.jn-hd-txt { display: block; min-width: 0; }
.jn-hd-t { display: flex; align-items: center; gap: 6px; font: 500 15.5px/1.3 var(--sans); color: var(--ink); }
.jn-hd-n { display: block; margin-top: 3px; font: 400 14px/1.4 var(--sans); color: #777268; }
.jn-hd-arrow { flex: none; width: 15px; height: 15px; color: var(--gold-cta-deep); opacity: 0; transform: translateX(-4px); transition: opacity .2s ease, transform .3s var(--jn-ease); }
.jn-hd-item:hover .jn-hd-arrow, .jn-hd-item:focus-visible .jn-hd-arrow { opacity: 1; transform: none; }
.jn-hd .jn-hd-item--short { padding: 7px 12px; }
.jn-hd-item--short .jn-hd-ico { width: 36px; height: 36px; border-radius: 10px; }
.jn-hd-item--short .jn-hd-ico svg { width: 19px; height: 19px; }
.jn-hd .jn-hd-link { display: block; padding: 8px 12px; border-radius: 10px; font: 500 15px/1.35 var(--sans); color: #2b2a27; transition: color .2s ease, background-color .2s ease; }
.jn-hd .jn-hd-link:hover { color: var(--ink); background: #f8f5ee; }
.jn-hd .jn-hd-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font: 500 15px/1 var(--sans); color: var(--ink); }
.jn-hd-all .jn-hd-arrow { opacity: 1; transform: none; }
.jn-hd-all:hover .jn-hd-arrow { transform: translateX(3px); }

/* the cohort's stories: the lead one large, the others with their faces */
.jn-hd-stories { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.jn-hd-stories li { margin: 0; }
.jn-hd .jn-hd-story { display: block; color: var(--ink); margin-bottom: 10px; }
.jn-hd-simg { position: relative; display: block; aspect-ratio: 2 / 1; border-radius: 14px; overflow: hidden; background: #ece6d6; }
.jn-hd-simg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.jn-hd-story:hover .jn-hd-simg img { transform: scale(1.035); }
.jn-hd-play {
	position: absolute; left: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%;
	background: rgba(255, 255, 255, .94); color: #111; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .22); transition: transform .3s var(--jn-ease);
}
.jn-hd-play svg { width: 18px; height: 18px; margin-left: 2px; }
.jn-hd-story:hover .jn-hd-play { transform: scale(1.08); }
.jn-hd-story .jn-hd-txt { margin-top: 12px; }
.jn-hd-story .jn-hd-t { font-size: 16px; }
.jn-hd .jn-hd-mini { display: flex; align-items: center; gap: 12px; padding: 7px 8px; margin: 0 -8px; border-radius: 14px; color: var(--ink); transition: background-color .2s ease; }
.jn-hd .jn-hd-mini:hover { background: #f8f5ee; }
.jn-hd-face { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; padding: 2px; background: conic-gradient(from 210deg, #cea96f, #f1e4c3, #b7913f, #cea96f); }
.jn-hd-face img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #fff; background: #ece6d6; }

/* the card on the right, on its own cream ground */
.jn-hd-feature { padding: 34px 32px 36px; background: #f8f5ee; border-left: 1px solid var(--line); }
.jn-hd .jn-hd-fcard {
	display: block; border-radius: 16px; overflow: hidden; background: #fff; color: var(--ink);
	box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s ease, transform .4s var(--jn-ease);
}
.jn-hd .jn-hd-fcard:hover { box-shadow: 0 0 0 1px #ddd5c3, 0 18px 40px -22px rgba(60, 45, 15, .4); transform: translateY(-2px); }
.jn-hd-fimg { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9dfc8; }
.jn-hd-fcard.is-silk .jn-hd-fimg { background: #b07b2c; }
.jn-hd-fimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.jn-hd-fcard:hover .jn-hd-fimg img { transform: scale(1.045); }
.jn-hd-fq {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 18px 26px; text-align: center;
	font: 500 25px/1.2 var(--serif); letter-spacing: -.005em; color: #fff; text-shadow: 0 1px 22px rgba(90, 58, 12, .28);
	text-wrap: balance; hyphens: none;
}
.jn-hd-panel--company .jn-hd-fq { font-size: 21px; line-height: 1.25; padding: 18px 22px; }
.jn-hd-fbody { display: block; padding: 16px 18px 18px; }
.jn-hd-fbody .jn-hd-t { font-weight: 600; font-size: 16px; }
.jn-hd-fbody .jn-hd-n { margin-top: 4px; }
.jn-hd-fbody > .jn-hd-arrow { display: block; margin-top: 12px; width: 20px; height: 20px; opacity: 1; transform: none; }
.jn-hd-fcard:hover .jn-hd-fbody > .jn-hd-arrow { transform: translateX(4px); }

/* the page darkens under an open panel */
.jn-hd-scrim {
	position: fixed; left: 0; right: 0; top: var(--nav-height); bottom: 0; z-index: 999;
	background: linear-gradient(180deg, rgba(24, 21, 16, .1) 0%, rgba(24, 21, 16, .58) 100%);
	opacity: 0; visibility: hidden; transition: opacity .3s var(--jn-ease-frame), visibility 0s linear .3s;
}
.jn-hd-scrim.is-on { opacity: 1; visibility: visible; transition: opacity .3s var(--jn-ease-frame), visibility 0s; }

/* ---------- narrower desktops ---------- */
@media (max-width: 1240px) {
	.jn-hd-bar { padding: 0 24px; gap: 14px; }
	.jn-hd .jn-hd-tab { padding: 0 11px; }
	.jn-hd-feature { padding: 30px 24px; }
	.jn-hd-panel { grid-template-columns: minmax(0, 1fr) 300px; }
	.jn-hd-panel--solutions { grid-template-columns: minmax(0, 1fr); }
	.jn-hd-cols { gap: 0 28px; padding: 30px 28px 34px; }
}

/* ---------- phones and tablets: the menu fills the screen ---------- */
@media (max-width: 1079px) {
	:root { --nav-height: 64px; --jn-acts-h: 140px; }
	.jn-hd { background: rgba(252, 251, 249, .97); -webkit-backdrop-filter: none; backdrop-filter: none; }
	.jn-hd.is-sheet { background: #fcfbf9; border-bottom-color: var(--line); }
	.jn-hd-bar { padding: 0 12px 0 16px; gap: 8px; }
	.jn-hd-logo img { height: 50px; }

	.jn-hd .jn-hd-burger,
	.jn-hd .jn-hd-burger:hover,
	.jn-hd .jn-hd-burger:focus {
		display: block; position: relative; margin-left: auto; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px;
		background: rgba(26, 23, 18, .055); color: var(--ink); cursor: pointer;
	}
	.jn-hd-burger:focus-visible { outline: 2px solid var(--gold-cta); outline-offset: 2px; }
	.jn-hd-burger span {
		position: absolute; left: 50%; top: 50%; width: 18px; height: 1.6px; border-radius: 2px; background: currentColor;
		transition: transform .4s var(--jn-ease), opacity .25s ease;
	}
	.jn-hd-burger span:nth-child(1) { transform: translate(-50%, calc(-50% - 5.5px)); }
	.jn-hd-burger span:nth-child(2) { transform: translate(-50%, -50%); }
	.jn-hd-burger span:nth-child(3) { transform: translate(-50%, calc(-50% + 5.5px)); }
	.jn-hd.is-sheet .jn-hd-burger span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
	.jn-hd.is-sheet .jn-hd-burger span:nth-child(2) { opacity: 0; transform: translate(-50%, -50%) scaleX(.2); }
	.jn-hd.is-sheet .jn-hd-burger span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

	/* Back takes the logo's place inside a section */
	.jn-hd .jn-hd-back,
	.jn-hd .jn-hd-back:hover,
	.jn-hd .jn-hd-back:focus {
		display: inline-flex; align-items: center; gap: 4px; position: absolute; left: 10px; top: 50%; height: 44px; margin-top: -22px;
		padding: 0 14px 0 8px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer;
		font: 500 16px/1 var(--sans); opacity: 0; pointer-events: none; transform: translateX(8px);
		transition: opacity .3s ease, transform .45s var(--jn-ease-sheet);
	}
	.jn-hd-back .jn-hd-chev { width: 20px; height: 20px; opacity: 1; }
	.jn-hd.is-sub .jn-hd-back { opacity: 1; pointer-events: auto; transform: none; }
	.jn-hd.is-sub .jn-hd-logo { opacity: 0; pointer-events: none; }

	/* the sheet: unrolls from under the bar (apple.com's curtain) */
	.jn-hd-nav {
		position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0;
		display: flex; flex-direction: column; align-items: stretch; background: #fcfbf9;
		visibility: hidden; clip-path: inset(0 0 100% 0);
		transition: clip-path .42s var(--jn-ease-apple), visibility 0s linear .42s;
	}
	.jn-hd.is-sheet .jn-hd-nav { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .5s var(--jn-ease-apple), visibility 0s; }
	.jn-hd-nav { padding-bottom: calc(var(--jn-acts-h) + env(safe-area-inset-bottom, 0px)); }

	.jn-hd-tabwrap, .jn-hd-spot { transition: transform .5s var(--jn-ease-sheet), opacity .35s ease; }
	.jn-hd-tabwrap { flex: 0 1 auto; min-height: 0; padding: 10px 24px 4px; }
	.jn-hd-pill { display: none; }
	.jn-hd-tabs { flex-direction: column; align-items: stretch; gap: 0; }
	/* the sections roll in, one after another */
	.jn-hd-tabs li { opacity: 0; transform: translateY(-10px); transition: opacity .2s ease, transform .3s var(--jn-ease-apple); }
	.jn-hd.is-sheet .jn-hd-tabs li {
		opacity: 1; transform: none;
		transition: opacity .42s var(--jn-ease-apple) calc(110ms + var(--i) * 42ms), transform .55s var(--jn-ease-apple) calc(110ms + var(--i) * 42ms);
	}
	.jn-hd .jn-hd-tab,
	.jn-hd .jn-hd-tab:hover,
	.jn-hd .jn-hd-tab:focus {
		width: 100%; height: auto; padding: 15px 2px 15px 0; justify-content: space-between; border-radius: 0;
		border-bottom: 1px solid var(--line); font: 500 30px/1.15 var(--serif); letter-spacing: -.012em; color: var(--ink);
	}
	.jn-hd .jn-hd-tab:active { color: var(--gold-deep); }
	.jn-hd-tab .jn-hd-chev { width: 22px; height: 22px; opacity: .5; }
	.jn-hd-tab .jn-hd-chev--down, .jn-hd-tab[aria-expanded="true"] .jn-hd-chev--down { transform: rotate(-90deg); opacity: .5; }
	.jn-hd-chev--right { display: block; }
	.jn-hd-tabs li:first-child .jn-hd-tab { border-top: 0; }
	.jn-hd.is-sub .jn-hd-tabwrap, .jn-hd.is-sub .jn-hd-spot { transform: translateX(-28%); opacity: 0; pointer-events: none; }

	/* under the sections: the cohort's stories */
	.jn-hd .jn-hd-spot {
		display: flex; align-items: stretch; flex: none; margin: 20px 24px 16px; border-radius: 18px; overflow: hidden;
		background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink);
		opacity: 0; transform: translateY(10px);
	}
	.jn-hd.is-sheet:not(.is-sub) .jn-hd-spot { opacity: 1; transform: none; transition: opacity .5s ease .38s, transform .6s var(--jn-ease-apple) .38s; }
	.jn-hd-spot-img { position: relative; flex: none; width: 36%; min-height: 118px; background: #cfe0c0; }
	.jn-hd-spot-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
	.jn-hd-spot-txt { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 14px 16px; min-width: 0; }
	.jn-hd-spot .jn-hd-h { margin: 0; padding: 0; border: 0; font-size: 10.5px; }
	.jn-hd-spot .jn-hd-t { font: 500 16px/1.3 var(--serif); }
	.jn-hd-faces { display: flex; margin-top: 4px; }
	.jn-hd-faces img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; background: #ece6d6; }
	.jn-hd-faces img + img { margin-left: -8px; }

	/* a section, as its own screen sliding over the list */
	.jn-hd-viewport {
		position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: calc(var(--jn-acts-h) + env(safe-area-inset-bottom, 0px));
		height: auto !important; max-width: none; margin: 0; border-radius: 0; box-shadow: none; background: transparent;
		opacity: 1; visibility: visible; clip-path: none; transition: none; pointer-events: none;
	}
	.jn-hd.is-menu .jn-hd-viewport { clip-path: none; transition: none; }
	.jn-hd-panel {
		display: block; position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
		padding: 6px 24px 28px; background: #fcfbf9;
		visibility: hidden; opacity: 1; transform: translateX(100%);
		transition: transform .5s var(--jn-ease-sheet), visibility 0s linear .5s;
		animation: none !important;
	}
	.jn-hd-panel.is-on { visibility: visible; transform: none; pointer-events: auto; transition: transform .5s var(--jn-ease-sheet), visibility 0s; }
	.jn-hd-panel.is-off { visibility: hidden; }
	.jn-hd .jn-hd-ptitle { display: block; margin: 8px 0 18px; font: 500 32px/1.1 var(--serif); letter-spacing: -.012em; color: var(--ink); }
	.jn-hd-cols, .jn-hd-panel--solutions .jn-hd-cols, .jn-hd-panel--company .jn-hd-cols { display: block; padding: 0; }
	.jn-hd-col { margin-bottom: 26px; }
	.jn-hd-feature { padding: 0; margin: 4px 0 8px; background: none; border: 0; }
	.jn-hd-arrow { display: none; }
	.jn-hd-fbody > .jn-hd-arrow, .jn-hd-all .jn-hd-arrow { display: block; }
	.jn-hd-panel .jn-hd-list li, .jn-hd-panel .jn-hd-stories li, .jn-hd-panel .jn-hd-feature, .jn-hd-panel .jn-hd-all, .jn-hd-panel .jn-hd-h, .jn-hd-panel .jn-hd-ptitle {
		opacity: 0; transform: translateX(14px); transition: opacity .2s ease, transform .3s var(--jn-ease-sheet);
	}
	.jn-hd-panel.is-on .jn-hd-list li, .jn-hd-panel.is-on .jn-hd-stories li, .jn-hd-panel.is-on .jn-hd-feature, .jn-hd-panel.is-on .jn-hd-all, .jn-hd-panel.is-on .jn-hd-h, .jn-hd-panel.is-on .jn-hd-ptitle {
		opacity: 1; transform: none;
		transition: opacity .4s ease calc(140ms + var(--k, 0) * 32ms), transform .55s var(--jn-ease-sheet) calc(140ms + var(--k, 0) * 32ms);
	}
	.jn-hd .jn-hd-item:hover { background: transparent; }
	.jn-hd .jn-hd-item:active, .jn-hd .jn-hd-mini:active { background: #f3efe5; }
	.jn-hd-scrim { display: none; }

	/* Sign in · Sign up, then Get started across: held at the bottom */
	.jn-hd-actions {
		position: absolute; left: 0; right: 0; bottom: 0; margin: 0;
		display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
		padding: 14px 20px calc(16px + env(safe-area-inset-bottom, 0px)); background: #fcfbf9; border-top: 1px solid var(--line);
		opacity: 0; transform: translateY(14px); transition: opacity .2s ease, transform .3s var(--jn-ease-apple);
	}
	.jn-hd.is-sheet .jn-hd-actions { opacity: 1; transform: none; transition: opacity .45s ease .3s, transform .55s var(--jn-ease-apple) .3s; }
	.jn-hd .jn-hd-signin, .jn-hd .jn-hd-btn { height: 50px; border-radius: 12px; justify-content: center; font-size: 16px; padding: 0 16px; }
	.jn-hd .jn-hd-signin { box-shadow: inset 0 0 0 1px #d8d1c1; color: var(--ink); }
	.jn-hd .jn-hd-btn-ink { grid-column: 1 / -1; }
	.jn-hd-tabwrap { overflow-y: auto; }
}

/* short phones: the stories card gives way to the sections */
@media (max-width: 1079px) and (max-height: 640px) {
	.jn-hd .jn-hd-spot { display: none; }
	.jn-hd .jn-hd-tab { padding: 11px 2px 11px 0; font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
	.jn-hd *, .jn-hd-scrim { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; }
}
