/* ==========================================================================
   NovaNetFlow — Editorial homepage
   ========================================================================== */

.hp-home {
	--hx-ink: #111111;
	--hx-ink-2: #3d3d3d;
	--hx-muted: #6f6b64;
	--hx-paper: #f7f5f0;
	--hx-paper-2: #efebe3;
	--hx-dark: #0c0c0d;
	--hx-line: rgba(17, 17, 17, .12);
	--hx-sand: #d8c3a5;
	--hx-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--hx-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--hx-ease: cubic-bezier(.2, .7, .2, 1);
	--hp-max: 1280px;
	background: var(--hx-paper);
	color: var(--hx-ink);
	font-family: var(--hx-sans);
}
.hp-home ::selection { background: var(--hx-sand); color: var(--hx-ink); }

/* ---------- Reveal ---------- */
.hp-js .hp-home [data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 1s var(--hx-ease), transform 1s var(--hx-ease);
	transition-delay: calc(var(--d, 0) * 90ms);
}
.hp-js .hp-home [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.hp-js .hp-home [data-reveal] { opacity: 1; transform: none; transition: none; }
	.hp-home *, .hp-home *::before, .hp-home *::after { animation: none !important; }
}

/* ---------- Type ---------- */
.hx-eyebrow {
	margin: 0 0 22px;
	font: 500 .78rem/1 var(--hx-sans);
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--hx-muted);
}
.hx-eyebrow--light { color: rgba(255, 255, 255, .7); }
.hx-num { font-family: var(--hx-serif); font-style: italic; letter-spacing: 0; text-transform: none; font-size: 1rem; margin-right: 8px; color: var(--hx-ink); }

.hx-display {
	margin: 0 auto .3em;
	max-width: 13ch;
	font-family: var(--hx-serif);
	font-weight: 300;
	font-size: clamp(3.2rem, 9vw, 8.2rem);
	line-height: .95;
	letter-spacing: -.04em;
	font-variation-settings: "opsz" 144;
	color: inherit;
}
.hx-display--md { font-size: clamp(2.8rem, 7vw, 6.2rem); max-width: 14ch; }
.hx-display em, .hx-h2 em, .hx-statement__text em { font-style: italic; font-weight: 300; }
.hx-hero .hx-display em, .hx-cta .hx-display em { color: var(--hx-sand); }

.hx-h2 {
	margin: 0;
	font-family: var(--hx-serif);
	font-weight: 300;
	font-size: clamp(2.4rem, 5.2vw, 4.6rem);
	line-height: 1;
	letter-spacing: -.035em;
	font-variation-settings: "opsz" 144;
}
.hx-body { font-size: 1.12rem; line-height: 1.7; color: var(--hx-ink-2); max-width: 34em; margin: 26px 0 30px; }
.hx-link {
	display: inline-flex; align-items: center; gap: 10px;
	font-weight: 500; color: var(--hx-ink); text-decoration: none !important;
	padding-bottom: 4px; border-bottom: 1px solid currentColor;
	transition: gap .3s var(--hx-ease);
}
.hx-link:hover { gap: 16px; }

/* ---------- Buttons ---------- */
.hx-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 26px; border: 0; border-radius: 999px; cursor: pointer;
	font: 500 1rem/1 var(--hx-sans); white-space: nowrap;
	transition: transform .25s var(--hx-ease), background .25s, color .25s;
}
.hx-btn--solid { background: #fff; color: var(--hx-ink); }
.hx-btn--solid:hover { transform: translateY(-1px); background: var(--hx-sand); }

/* ---------- Header over hero ---------- */
.hp-home .hp-header {
	position: fixed; left: 0; right: 0;
	background: transparent; border-bottom-color: transparent;
	backdrop-filter: none; -webkit-backdrop-filter: none;
	transition: background .4s, border-color .4s, backdrop-filter .4s;
}
.hp-home .hp-header__inner { min-height: 84px; transition: min-height .4s; }
.hp-home .hp-brand__name { font-family: var(--hx-serif); font-weight: 400; font-size: 1.55rem; letter-spacing: -.02em; }
.hp-home .hp-brand__name,
.hp-home .hp-menu a { color: #fff; }
.hp-home .hp-menu a { font-weight: 400; opacity: .85; }
.hp-home .hp-menu a:hover { opacity: 1; }
.hp-home .hp-header .hp-btn { border-radius: 999px; font-weight: 500; padding: 11px 20px; box-shadow: none; }
.hp-home .hp-header .hp-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.hp-home .hp-header .hp-btn--primary { background: #fff; color: var(--hx-ink); }
.hp-home .hp-nav-toggle span:not(.screen-reader-text) { background: #fff; }

.hp-home .hp-header.is-scrolled {
	background: rgba(247, 245, 240, .86);
	backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
	border-bottom-color: var(--hx-line);
}
.hp-home .hp-header.is-scrolled .hp-header__inner { min-height: 68px; }
.hp-home .hp-header.is-scrolled .hp-brand__name,
.hp-home .hp-header.is-scrolled .hp-menu a { color: var(--hx-ink); }
.hp-home .hp-header.is-scrolled .hp-btn--ghost { color: var(--hx-ink); border-color: var(--hx-line); }
.hp-home .hp-header.is-scrolled .hp-btn--primary { background: var(--hx-ink); color: #fff; }
.hp-home .hp-header.is-scrolled .hp-nav-toggle span:not(.screen-reader-text) { background: var(--hx-ink); }

@media (max-width: 860px) {
	.hp-home .hp-nav { background: var(--hx-paper); }
	.hp-home .hp-nav .hp-menu a { color: var(--hx-ink); font-size: 1.4rem; font-family: var(--hx-serif); }
	.hp-home .hp-nav .hp-btn--ghost { color: var(--hx-ink); border-color: var(--hx-line); }
	.hp-home .hp-nav .hp-btn--primary { background: var(--hx-ink); color: #fff; }
	.hp-home.hp-nav-open .hp-header { background: var(--hx-paper); }
	.hp-home.hp-nav-open .hp-brand__name { color: var(--hx-ink); }
	.hp-home.hp-nav-open .hp-nav-toggle span:not(.screen-reader-text) { background: var(--hx-ink); }
}

/* ---------- Hero ---------- */
.hx-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(150px, 20vh, 210px) 0 0;
	background: var(--hx-dark);
	color: #fff;
	text-align: center;
	isolation: isolate;
}
.hx-hero__inner { position: relative; z-index: 2; }
.hx-hero__glow {
	position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none;
	background:
		radial-gradient(40% 45% at 50% 30%, rgba(216, 195, 165, .22), transparent 70%),
		radial-gradient(30% 40% at 15% 70%, rgba(124, 139, 116, .18), transparent 70%),
		radial-gradient(30% 40% at 85% 65%, rgba(200, 107, 74, .16), transparent 70%);
	animation: hx-drift 18s ease-in-out infinite alternate;
}
.hx-hero__grain {
	position: absolute; inset: 0; z-index: -1; opacity: .08; 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes hx-drift { to { transform: translate3d(0, 4%, 0) scale(1.08); } }

.hx-hero__lead {
	max-width: 38em; margin: 0 auto;
	font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6;
	color: rgba(255, 255, 255, .72);
}
.hx-hero__note {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px;
	margin: 22px 0 0; font-size: .86rem; color: rgba(255, 255, 255, .55);
}
.hx-hero__note span::before { content: "✓"; margin-right: 8px; color: var(--hx-sand); }

/* Photo hero variant */
.hx-hero--photo { min-height: 100svh; display: flex; align-items: center; padding-bottom: 120px; }
.hx-hero--photo .hx-hero__inner { width: 100%; }
.hx-hero__media { position: absolute; inset: 0; z-index: -2; }
.hx-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: hx-kenburns 24s ease-out forwards; }
@keyframes hx-kenburns { to { transform: scale(1); } }
.hx-hero__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.25) 40%, rgba(0,0,0,.65)); }
.hx-scroll-cue { position: absolute; left: 50%; bottom: 34px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(255,255,255,.5); border-radius: 20px; z-index: 2; }
.hx-scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: hx-cue 1.8s ease-in-out infinite; }
@keyframes hx-cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Address pill */
.hx-quick {
	display: flex; align-items: center; gap: 6px;
	max-width: 600px; margin: 40px auto 0; padding: 6px 6px 6px 22px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .18);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	transition: border-color .3s, background .3s;
}
.hx-quick:focus-within { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .12); }
.hx-quick__field { flex: 1; display: flex; align-items: center; min-width: 0; font-size: 1.02rem; }
.hx-quick__fix { color: rgba(255, 255, 255, .5); white-space: nowrap; }
.hx-quick input {
	flex: 1; min-width: 60px; padding: 12px 2px; border: 0; outline: 0; background: transparent;
	color: #fff; font: 500 1.02rem var(--hx-sans);
}
.hx-quick input::placeholder { color: rgba(255, 255, 255, .4); }
@media (max-width: 600px) {
	.hx-quick { flex-direction: column; border-radius: 22px; padding: 8px; }
	.hx-quick__field { width: 100%; padding: 4px 12px; font-size: .92rem; }
	.hx-quick .hx-btn { width: 100%; }
}

/* Stage of floating frames */
.hx-stage {
	--hx-par: 0;
	position: relative; z-index: 1;
	height: clamp(300px, 46vw, 620px);
	margin-top: clamp(56px, 8vw, 96px);
}
.hx-stage .hx-frame { position: absolute; bottom: -60px; }
.hx-frame--center {
	left: 50%; width: min(900px, 76%); height: 112%; z-index: 3;
	transform: translate3d(-50%, calc(var(--hx-par) * -.06px), 0);
	animation: hx-rise 1.4s .3s var(--hx-ease) backwards;
}
.hx-frame--left, .hx-frame--right { width: min(560px, 44%); height: 86%; z-index: 2; opacity: .92; }
.hx-frame--left {
	left: 1%;
	transform: translate3d(0, calc(var(--hx-par) * -.12px), 0) rotate(-5deg);
	animation: hx-rise-l 1.4s .5s var(--hx-ease) backwards;
}
.hx-frame--right {
	right: 1%;
	transform: translate3d(0, calc(var(--hx-par) * -.12px), 0) rotate(5deg);
	animation: hx-rise-r 1.4s .6s var(--hx-ease) backwards;
}
@keyframes hx-rise { from { opacity: 0; transform: translate3d(-50%, 80px, 0); } }
@keyframes hx-rise-l { from { opacity: 0; transform: translate3d(-40px, 120px, 0) rotate(-9deg); } }
@keyframes hx-rise-r { from { opacity: 0; transform: translate3d(40px, 120px, 0) rotate(9deg); } }
@media (max-width: 760px) {
	.hx-frame--left, .hx-frame--right { display: none; }
	.hx-frame--center { width: 92%; }
}

/* ---------- Browser frame ---------- */
.hx-frame {
	display: flex; flex-direction: column;
	border-radius: 14px; overflow: hidden;
	background: #fff;
	box-shadow: 0 50px 120px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06);
}
.hx-frame__bar {
	flex: none; display: flex; align-items: center; gap: 14px;
	height: 34px; padding: 0 14px;
	background: #f1efea; border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.hx-frame__dots { display: flex; gap: 6px; }
.hx-frame__dots i { width: 9px; height: 9px; border-radius: 50%; background: #d6d2ca; }
.hx-frame__url {
	flex: 1; max-width: 300px; margin: 0 auto; padding: 4px 12px;
	border-radius: 7px; background: #fff;
	font-size: .7rem; color: #8a857c; text-align: center;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hx-frame__view { position: relative; flex: 1; overflow: hidden; background: #fff; }
.hx-frame__view > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- Mock sites (pure CSS) ---------- */
.hx-mock { height: 100%; min-height: 100%; display: flex; flex-direction: column; gap: 4%; padding: 0 5% 5%; background: #fbfaf7; color: #1a1a1a; font-size: clamp(7px, 1vw, 12px); }
.hx-mock__nav { display: flex; align-items: center; gap: 1.6em; padding: 1.6em 0 0; }
.hx-mock__nav b { font-family: var(--hx-serif); font-weight: 500; font-size: 1.35em; margin-right: auto; letter-spacing: -.01em; }
.hx-mock__nav i { width: 3.2em; height: .45em; border-radius: 1em; background: currentColor; opacity: .25; }
.hx-mock__nav--light { color: #fff; }
.hx-mock__cart { width: 1.3em; height: 1.3em; border-radius: 50%; border: .15em solid currentColor; opacity: .5; }
.hx-mock__btn { display: inline-block; width: 8em; height: 2.4em; border-radius: 2em; background: #1a1a1a; margin-top: 1.2em; }
.hx-mock__grid { display: grid; gap: 3%; flex: 1; }
.hx-mock__grid--3 { grid-template-columns: repeat(3, 1fr); min-height: 22%; }
.hx-mock__grid--2 { grid-template-columns: 1fr 1fr; }
.hx-mock__grid--4 { grid-template-columns: repeat(4, 1fr); }
.hx-mock__grid--4 > div { display: flex; flex-direction: column; gap: .6em; }
.hx-mock__grid--4 .hx-ph { flex: 1; min-height: 6em; }
.hx-mock__grid i, .hx-mock__rows i { display: block; height: .5em; width: 80%; border-radius: 1em; background: #1a1a1a; opacity: .18; }
.hx-mock__grid i.s, .hx-mock__rows i.s { width: 45%; }
.hx-mock__grid > span { border-radius: .4em; min-height: 6em; }
.hx-mock__hero { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 58%; margin: 0 -5.3%; padding: 0 5% 6%; }
.hx-mock__hero strong { font-family: var(--hx-serif); font-weight: 300; font-size: 4.2em; line-height: 1; letter-spacing: -.03em; color: #fff; }
.hx-mock__hero em, .hx-mock__title em, .hx-mock__center em { font-style: italic; }
.hx-mock__split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5%; min-height: 44%; }
.hx-mock__copy { display: flex; flex-direction: column; justify-content: center; }
.hx-mock__copy small, .hx-mock__center small { font-size: .85em; text-transform: uppercase; letter-spacing: .15em; opacity: .55; }
.hx-mock__copy strong { font-family: var(--hx-serif); font-weight: 400; font-size: 2.6em; line-height: 1.05; margin-top: .3em; letter-spacing: -.02em; }
.hx-mock__split .hx-ph { border-radius: .5em; }
.hx-mock__title { font-family: var(--hx-serif); font-weight: 300; font-size: 3.4em; line-height: 1.02; letter-spacing: -.03em; text-align: center; padding: .5em 0 0; }
.hx-mock__title--left { text-align: left; max-width: 11em; }
.hx-mock__wide { min-height: 32%; border-radius: .5em; }
.hx-mock__rows { display: grid; gap: 1em; }
.hx-mock__rows > div { display: flex; gap: 1.2em; align-items: center; }
.hx-mock__rows .hx-ph { width: 7em; height: 4.5em; border-radius: .4em; flex: none; }
.hx-mock__rows p { flex: 1; margin: 0; display: grid; gap: .6em; }
.hx-mock--restaurant { background: #17120f; color: #f4ebe0; }
.hx-mock--restaurant .hx-mock__btn { background: #f4ebe0; }
.hx-mock__center { text-align: center; padding: 2em 0 .5em; display: flex; flex-direction: column; align-items: center; }
.hx-mock__center strong { font-family: var(--hx-serif); font-weight: 300; font-size: 3.4em; line-height: 1.05; margin-top: .3em; }
.hx-mock--agency { background: #f2f0ea; }
.hx-mock--agency .hx-mock__nav b { font-family: var(--hx-sans); font-weight: 700; letter-spacing: .12em; font-size: 1em; }
.hx-mock__bold { font-weight: 700; font-size: 3.8em; line-height: .98; letter-spacing: -.045em; padding-top: .3em; }
.hx-mock__bold u { text-decoration-color: #3d5afe; text-decoration-thickness: .12em; text-underline-offset: .08em; }

/* Photo-like gradient fills */
.hx-ph { display: block; background-size: cover; }
.hx-ph--golden { background: radial-gradient(60% 70% at 70% 30%, #f4c27a 0%, rgba(244,194,122,0) 60%), linear-gradient(170deg, #c98a4b 0%, #6c4a35 55%, #2b211c 100%); }
.hx-ph--dusk   { background: radial-gradient(50% 60% at 30% 30%, #f1b9a0, transparent 70%), linear-gradient(160deg, #8f6f8f, #3a3550 70%, #1d1b29); }
.hx-ph--sand   { background: radial-gradient(60% 60% at 70% 20%, #fff3dd, transparent 70%), linear-gradient(150deg, #e4d2b6, #b89c78); }
.hx-ph--sage   { background: radial-gradient(60% 60% at 30% 80%, #dfe6d6, transparent 70%), linear-gradient(150deg, #9cab8f, #5e6d56); }
.hx-ph--stone  { background: linear-gradient(150deg, #d9d6d0, #9e9890); }
.hx-ph--rose   { background: radial-gradient(60% 60% at 70% 30%, #fbe2dc, transparent 70%), linear-gradient(150deg, #e3b3a6, #b37b6e); }
.hx-ph--clay   { background: radial-gradient(45% 55% at 50% 45%, #f0d9c4 0 34%, transparent 36%), linear-gradient(150deg, #cf8f6d, #8e5440); }
.hx-ph--ember  { background: radial-gradient(40% 40% at 50% 60%, #ffb46a, transparent 70%), linear-gradient(160deg, #5b2a1b, #1d100c); }
.hx-ph--wine   { background: radial-gradient(40% 50% at 40% 40%, #b84a5b, transparent 70%), linear-gradient(160deg, #4a1724, #1c0b10); }
.hx-ph--sky    { background: linear-gradient(180deg, #a9c3d6, #e8d8c4); }
.hx-ph--cobalt { background: #3d5afe; }
.hx-ph--lime   { background: #d4f25a; }

/* ---------- Marquee ---------- */
.hx-marquee {
	overflow: hidden;
	padding: 34px 0;
	border-bottom: 1px solid var(--hx-line);
	background: var(--hx-paper);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.hx-marquee__track { display: flex; width: max-content; animation: hx-marquee 40s linear infinite; }
.hx-marquee:hover .hx-marquee__track { animation-play-state: paused; }
.hx-marquee__list { display: flex; margin: 0; padding: 0; list-style: none; }
.hx-marquee__list li {
	display: flex; align-items: center;
	font-family: var(--hx-serif); font-style: italic; font-weight: 300;
	font-size: clamp(1.6rem, 3vw, 2.5rem); color: var(--hx-ink); white-space: nowrap;
}
.hx-marquee__list li::after { content: "✦"; font-style: normal; font-size: .45em; margin: 0 1.2em; color: var(--hx-sand); }
@keyframes hx-marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Sections ---------- */
.hx-section { padding: clamp(96px, 13vw, 170px) 0; }
.hx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: clamp(48px, 6vw, 80px); }
.hx-head .hx-h2 { max-width: 12ch; }
.hx-head__side { max-width: 380px; }
.hx-head__side p { margin: 0 0 26px; color: var(--hx-ink-2); line-height: 1.65; }
.hx-head--center { justify-content: center; text-align: center; }
.hx-head--center .hx-h2 { max-width: 16ch; margin: 0 auto; }
@media (max-width: 860px) { .hx-head { flex-direction: column; align-items: flex-start; gap: 28px; } }

/* ---------- Showcase rail ---------- */
.hx-showcase { padding-bottom: clamp(72px, 9vw, 120px); }
.hx-arrows { display: flex; gap: 10px; }
.hx-arrow {
	width: 54px; height: 54px; border-radius: 50%;
	border: 1px solid var(--hx-line); background: transparent; color: var(--hx-ink);
	font-size: 1.1rem; cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.hx-arrow:hover { background: var(--hx-ink); color: #fff; border-color: var(--hx-ink); }

.hx-rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 480px); gap: 28px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding: 6px max(24px, calc((100vw - var(--hp-max)) / 2 + 24px)) 30px;
	scroll-padding-inline: max(24px, calc((100vw - var(--hp-max)) / 2 + 24px));
	scrollbar-width: none; outline: 0;
}
.hx-rail::-webkit-scrollbar { display: none; }
.hx-tile { scroll-snap-align: start; color: var(--hx-ink); text-decoration: none !important; }
.hx-tile__media {
	position: relative; aspect-ratio: 4 / 4.6; padding: 9% 8% 0;
	border-radius: 18px; overflow: hidden; background: var(--hx-paper-2);
	display: flex; align-items: flex-end;
	transition: background .5s var(--hx-ease);
}
.hx-tile:nth-child(3n+2) .hx-tile__media { background: #e4e6df; }
.hx-tile:nth-child(3n+3) .hx-tile__media { background: #ebe1d8; }
.hx-frame--tile {
	width: 100%; height: 100%; border-radius: 10px 10px 0 0;
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .25);
	transition: transform .8s var(--hx-ease);
}
.hx-frame--tile .hx-frame__bar { height: 24px; }
.hx-tile:hover .hx-frame--tile { transform: translateY(-14px) scale(1.02); }
.hx-tile__cta {
	position: absolute; left: 50%; bottom: 24px; z-index: 2;
	padding: 12px 20px; border-radius: 999px; background: var(--hx-ink); color: #fff;
	font-size: .88rem; font-weight: 500; white-space: nowrap;
	opacity: 0; transform: translate(-50%, 12px);
	transition: opacity .35s, transform .35s var(--hx-ease);
}
.hx-tile:hover .hx-tile__cta, .hx-tile:focus-visible .hx-tile__cta { opacity: 1; transform: translate(-50%, 0); }
.hx-tile__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 4px 0; }
.hx-tile__meta h3 { margin: 0; font-family: var(--hx-serif); font-weight: 400; font-size: 1.6rem; letter-spacing: -.02em; }
.hx-tile__meta span { color: var(--hx-muted); font-size: .9rem; }
.hx-showcase__foot { margin-top: 36px; }

/* ---------- Features ---------- */
.hx-features { padding-top: 0; }
.hx-feature {
	display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(48px, 7vw, 120px); align-items: center;
	padding: clamp(56px, 7vw, 96px) 0;
	border-top: 1px solid var(--hx-line);
}
.hx-feature--flip { grid-template-columns: 1.15fr 1fr; }
.hx-feature--flip .hx-feature__copy { order: 2; }
.hx-feature .hx-h2 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); }
@media (max-width: 900px) {
	.hx-feature, .hx-feature--flip { grid-template-columns: 1fr; }
	.hx-feature--flip .hx-feature__copy { order: 0; }
}

.hx-panel {
	position: relative; aspect-ratio: 5 / 4.2; border-radius: 26px; overflow: hidden;
	display: grid; place-items: center; padding: 8%;
}
.hx-panel--design { background: linear-gradient(160deg, #e9e3d8, #d8cbb7); }
.hx-panel--launch { background: linear-gradient(160deg, #171717, #2a2622); }
.hx-panel--grow   { background: linear-gradient(160deg, #dfe4d9, #b9c4ae); }

/* Design editor */
.hx-editor { display: grid; grid-template-columns: 1fr 34%; gap: 4%; width: 100%; height: 100%; }
.hx-editor__canvas { border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0,0,0,.35); background: #fff; }
.hx-editor__panel {
	display: flex; flex-direction: column; gap: 10px; padding: 18px;
	border-radius: 12px; background: #fff; box-shadow: 0 30px 60px -25px rgba(0,0,0,.3);
	font-size: .72rem; transform: translateY(30px); opacity: 0;
	transition: transform 1s .3s var(--hx-ease), opacity 1s .3s;
}
.is-visible .hx-editor__panel { transform: none; opacity: 1; }
.hx-editor__panel small { text-transform: uppercase; letter-spacing: .14em; color: var(--hx-muted); font-size: .62rem; margin-top: 6px; }
.hx-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.hx-swatches i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.hx-swatches i:first-child { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--hx-ink); }
.hx-type { display: flex; gap: 8px; }
.hx-type span { flex: 1; padding: 8px 0; border-radius: 8px; border: 1px solid var(--hx-line); text-align: center; font-size: 1.3rem; }
.hx-type__serif { font-family: var(--hx-serif); border-color: var(--hx-ink) !important; }
.hx-layouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hx-layouts i { aspect-ratio: 1; border-radius: 6px; background: var(--hx-paper-2); }
.hx-layouts i.is-on { background: var(--hx-ink); }
@media (max-width: 520px) { .hx-editor { grid-template-columns: 1fr; } .hx-editor__panel { display: none; } }

/* Launch */
.hx-launch { width: 100%; max-width: 460px; color: #fff; }
.hx-launch__bar {
	display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-radius: 14px;
	background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
	font-size: clamp(.9rem, 1.5vw, 1.1rem); min-height: 58px;
}
.hx-lock { font-size: .9em; }
.hx-launch__url { white-space: nowrap; overflow: hidden; }
.hx-caret { width: 2px; height: 1.2em; background: var(--hx-sand); animation: hx-blink 1s steps(1) infinite; }
@keyframes hx-blink { 50% { opacity: 0; } }
.hx-launch__steps { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 14px; }
.hx-launch__steps li {
	display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.8); font-size: .98rem;
	opacity: 0; transform: translateX(-12px);
	transition: opacity .6s var(--hx-ease), transform .6s var(--hx-ease);
	transition-delay: calc(1.6s + var(--s) * .45s);
}
.hx-launch__steps li::before {
	content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
	background: rgba(216,195,165,.18); color: var(--hx-sand); font-size: .75rem;
}
.is-visible .hx-launch__steps li { opacity: 1; transform: none; }
.hx-launch__live {
	display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px;
	background: #fff; color: var(--hx-ink); font-weight: 500;
	opacity: 0; transform: scale(.9); transition: opacity .6s 4s, transform .6s 4s var(--hx-ease);
}
.is-visible .hx-launch__live { opacity: 1; transform: none; }
.hx-pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; }
.hx-pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #22c55e; animation: hx-ping 1.6s ease-out infinite; }
@keyframes hx-ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* Grow */
.hx-grow { position: relative; width: 100%; height: 100%; }
.hx-grow__card {
	position: absolute; left: 0; top: 6%; width: 74%;
	padding: 26px; border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -25px rgba(0,0,0,.3);
}
.hx-grow__card small { color: var(--hx-muted); font-size: .78rem; }
.hx-grow__card strong { display: block; margin: 6px 0 22px; font-family: var(--hx-serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.02em; }
.hx-grow__card strong em { font-family: var(--hx-sans); font-style: normal; font-size: .4em; font-weight: 600; color: #3f7a3f; background: #e5f1df; padding: 4px 8px; border-radius: 999px; vertical-align: middle; }
.hx-bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.hx-bars i {
	flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: var(--hx-ink); opacity: .85;
	transform: scaleY(0); transform-origin: bottom;
	transition: transform .9s var(--hx-ease); transition-delay: calc(.4s + var(--b) * 60ms);
}
.hx-bars i:last-child { background: #7c8b74; }
.is-visible .hx-bars i { transform: scaleY(1); }
.hx-phone {
	position: absolute; right: 0; bottom: 0; width: 34%; aspect-ratio: 9 / 18.5;
	padding: 7px; border-radius: 28px; background: #111; box-shadow: 0 40px 70px -25px rgba(0,0,0,.5);
	transform: translateY(40px); opacity: 0; transition: transform 1.1s .3s var(--hx-ease), opacity 1s .3s;
}
.is-visible .hx-phone { transform: none; opacity: 1; }
.hx-phone__screen { height: 100%; border-radius: 22px; overflow: hidden; background: #fff; }
.hx-phone .hx-mock { font-size: 5px; }
.hx-phone .hx-mock__split { grid-template-columns: 1fr; }
.hx-phone .hx-mock__grid--4 { grid-template-columns: 1fr 1fr; }

/* ---------- Stats ---------- */
.hx-stats { background: var(--hx-dark); color: #fff; padding: clamp(72px, 9vw, 120px) 0; }
.hx-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.hx-stat { border-top: 1px solid rgba(255,255,255,.18); padding-top: 26px; }
.hx-stat strong { display: block; font-family: var(--hx-serif); font-weight: 300; font-size: clamp(2.8rem, 5.5vw, 5rem); line-height: 1; letter-spacing: -.04em; }
.hx-stat span { display: block; margin-top: 14px; color: rgba(255,255,255,.6); font-size: .95rem; }
@media (max-width: 760px) { .hx-stats__grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; } }

/* ---------- Statement ---------- */
.hx-statement { text-align: center; }
.hx-statement__text {
	margin: 0 auto; max-width: 22ch;
	font-family: var(--hx-serif); font-weight: 300;
	font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.12; letter-spacing: -.03em;
}
.hx-quote { margin: 0; }
.hx-quote figcaption { margin-top: 36px; color: var(--hx-muted); }
.hx-quote figcaption strong { color: var(--hx-ink); font-weight: 500; }

/* ---------- Pricing ---------- */
.hx-pricing { background: var(--hx-paper-2); }
.hx-pricing .hp-pricing { gap: 20px; align-items: stretch; }
.hx-pricing .hp-plan {
	padding: 40px 34px; border-radius: 22px; border: 1px solid var(--hx-line);
	background: var(--hx-paper); box-shadow: none; transform: none;
	transition: transform .5s var(--hx-ease), box-shadow .5s;
}
.hx-pricing .hp-plan:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); }
.hx-pricing .hp-plan.is-featured { background: var(--hx-dark); color: #fff; border-color: var(--hx-dark); }
.hx-pricing .hp-plan__badge { top: 22px; left: auto; right: 22px; transform: none; background: var(--hx-sand); color: var(--hx-ink); font-weight: 500; letter-spacing: .04em; }
.hx-pricing .hp-plan__name { font-family: var(--hx-sans); font-weight: 500; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--hx-muted); }
.hx-pricing .is-featured .hp-plan__name { color: rgba(255,255,255,.6); }
.hx-pricing .hp-plan__price { font-family: var(--hx-serif); font-weight: 300; font-size: clamp(3rem, 5vw, 4.2rem); letter-spacing: -.04em; margin: 6px 0 28px; }
.hx-pricing .hp-plan__price span { font-family: var(--hx-sans); font-size: .95rem; letter-spacing: 0; color: var(--hx-muted); }
.hx-pricing .is-featured .hp-plan__price span { color: rgba(255,255,255,.55); }
.hx-pricing .hp-plan__features li { border-top-color: var(--hx-line); padding-left: 26px; }
.hx-pricing .is-featured .hp-plan__features li { border-top-color: rgba(255,255,255,.14); }
.hx-pricing .hp-plan__features li::before { content: "—"; color: var(--hx-muted); font-weight: 400; left: 0; }
.hx-pricing .hp-plan .hp-btn { border-radius: 999px; padding: 15px 20px; font-weight: 500; box-shadow: none; }
.hx-pricing .hp-plan .hp-btn--ghost { border-color: var(--hx-ink); color: var(--hx-ink); }
.hx-pricing .hp-plan .hp-btn--ghost:hover { background: var(--hx-ink); color: #fff; }
.hx-pricing .is-featured .hp-btn--primary { background: #fff; color: var(--hx-ink); }
.hx-pricing .is-featured .hp-btn--primary:hover { background: var(--hx-sand); }

/* ---------- FAQ ---------- */
.hx-faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.hx-faq__item { border-top: 1px solid var(--hx-line); }
.hx-faq__item:last-child { border-bottom: 1px solid var(--hx-line); }
.hx-faq__item summary {
	display: flex; justify-content: space-between; align-items: center; gap: 20px;
	padding: 28px 0; cursor: pointer; list-style: none;
	font-family: var(--hx-serif); font-weight: 400; font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: -.01em;
}
.hx-faq__item summary::-webkit-details-marker { display: none; }
.hx-plus { position: relative; flex: none; width: 18px; height: 18px; }
.hx-plus::before, .hx-plus::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: var(--hx-ink); transition: transform .4s var(--hx-ease); }
.hx-plus::after { transform: rotate(90deg); }
.hx-faq__item[open] .hx-plus::after { transform: rotate(0); }
.hx-faq__item p { margin: -6px 0 30px; max-width: 38em; color: var(--hx-ink-2); line-height: 1.7; }
@media (max-width: 860px) { .hx-faq__grid { grid-template-columns: 1fr; } }

/* ---------- Closing CTA ---------- */
.hx-cta {
	position: relative; overflow: hidden; isolation: isolate;
	padding: clamp(110px, 15vw, 200px) 0;
	background: var(--hx-dark); color: #fff; text-align: center;
}

/* ---------- Footer on home ---------- */
.hp-home .hp-footer { background: var(--hx-dark); border-top: 1px solid rgba(255,255,255,.08); padding: 56px 0; }
.hp-home .hp-footer, .hp-home .hp-footer .hp-muted, .hp-home .hp-footer__menu a { color: rgba(255,255,255,.55); }
.hp-home .hp-footer__brand { color: #fff; font-family: var(--hx-serif); font-weight: 400; font-size: 1.6rem; letter-spacing: -.02em; }

/* ---------- Small-screen refinements ---------- */
@media (max-width: 900px) { .hx-panel--launch { aspect-ratio: auto; min-height: 380px; } }
@media (max-width: 600px) {
	.hx-eyebrow { letter-spacing: .12em; }
	.hx-eyebrow--light { font-size: .7rem; }
	.hx-panel { border-radius: 20px; }
	.hx-panel--launch { min-height: 0; padding: 32px 24px; }
	.hx-grow__card { width: 82%; padding: 18px; }
	.hx-bars { height: 90px; }
	.hx-phone { width: 38%; }
}
.hx-pricing .hp-plan__price { margin-bottom: 8px; }
.hp-plan__trial { margin: 0 0 22px; font-size: .9rem; font-weight: 600; color: #4338ca; }
.hx-pricing .is-featured .hp-plan__trial { color: #c7d2fe; }
