/*
Theme Name: Localized Now
Theme URI: https://www.localizednow.com/
Description: Fast, responsive local business directory theme for Localized Now. Works with the existing directory post types and listing fields.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: lzn
*/

/* Palette: midnight indigo, electric violet, mint, sun. Type: Sora + Manrope. */
:root {
	--ink: #14123A; --ink-2: #221F57; --violet: #6D5DFC; --violet-2: #8B7FFF; --violet-soft: #EEEBFF;
	--mint: #2EC4B6; --mint-soft: #DDF7F4; --sun: #FFB547; --sun-soft: #FFF2DC; --rose-soft: #FFE6EC;
	--bg: #F6F5FB; --paper: #fff; --text: #22203A; --muted: #6B6888; --line: #E6E3F2;
	--f-head: "Sora", system-ui, sans-serif; --f-body: "Manrope", system-ui, sans-serif;
	--r: 18px; --r-lg: 28px; --wrap: 1200px; --gut: clamp(16px, 4vw, 32px);
	--sh: 0 18px 40px -22px rgba(20, 18, 58, .35); --ease: cubic-bezier(.22, .8, .2, 1); --spring: cubic-bezier(.34, 1.45, .5, 1);
}
@view-transition { navigation: auto; }
html, body { overflow-x: clip; }
::view-transition-old(root) { animation: .25s var(--ease) both vt-out; }
::view-transition-new(root) { animation: .35s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16.5px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.12; letter-spacing: -.02em; color: var(--ink); margin: 0 0 .5em; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: fixed; top: -60px; left: 16px; z-index: 99; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 10px; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 820px; }
.i { width: 1.15em; height: 1.15em; flex: none; }

/* Motion: page-load entrance (.anim, staggered by --i), scroll reveal (.reveal), image fade-in */
.anim { animation: rise .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms + 60ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.reveal { opacity: 0; transform: translateY(24px) scale(.985); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }
.js img.fade { opacity: 0; transition: opacity .6s var(--ease); }
.js img.fade.loaded { opacity: 1; }
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: scale(.97); }

/* Buttons, chips */
.btn { display: inline-flex; align-items: center; gap: .5em; min-height: 46px; padding: 0 1.3em; border: 0; border-radius: 14px; background: var(--violet); color: #fff; font-weight: 700; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s, background .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px var(--violet); background: var(--violet-2); }
.btn-sm { min-height: 38px; padding: 0 1em; font-size: .9rem; }
.btn-ghost { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); box-shadow: none; }
.chip { display: inline-flex; align-items: center; gap: .35em; padding: .3em .8em; border-radius: 999px; background: var(--violet-soft); color: var(--violet); font: 700 .78rem var(--f-body); }
.chip--ghost { background: rgba(255, 255, 255, .12); color: #fff; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); font-size: .88rem; color: #D9D6FF; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(46, 196, 182, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(46, 196, 182, 0); } }

/* Header: glass bar, pill nav with sliding indicator, hides on scroll down */
.site-head { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: transform .45s var(--ease), border-color .3s, box-shadow .3s; }
.site-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(246, 245, 251, .82); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); }
.site-head.is-stuck { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(20, 18, 58, .45); }
.site-head.is-hidden { transform: translateY(-100%); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { width: 40px; height: 40px; transition: transform .6s var(--spring); }
.logo:hover .logo-mark { transform: rotate(-10deg) scale(1.06); }
.logo-word { font: 600 1.35rem var(--f-head); letter-spacing: -.04em; color: var(--ink); }
.logo-word b { color: var(--violet); font-weight: 800; }
.nav { position: relative; display: flex; align-items: center; padding: 5px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 4px 14px -10px rgba(20, 18, 58, .3); }
.nav-ind { position: absolute; top: 5px; left: 0; height: calc(100% - 10px); width: 0; border-radius: 999px; background: var(--ink); opacity: 0; transition: transform .45s var(--ease), width .45s var(--ease), opacity .25s; }
.nav.has-ind .nav-ind { opacity: 1; }
.nav-list { position: relative; display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list a { position: relative; display: block; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--muted); transition: color .3s; }
.nav-list a:hover, .nav-list .current-menu-item > a { color: var(--ink); }
.nav.has-ind .nav-list a.ind-on { color: #fff; }
.nav-list .sub-menu, .nav-mobile-cta { display: none; }
.head-actions { display: flex; align-items: center; gap: 10px; }
.btn-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; transition: transform .3s var(--spring), background .3s, color .3s; }
.btn-icon:hover, .btn-icon[aria-expanded="true"] { background: var(--ink); color: #fff; transform: rotate(-8deg); }
.head-cta .i { transition: transform .3s var(--ease); }
.head-cta:hover .i { transform: translateX(3px); }
.head-search-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.head-search-panel > .wrap { min-height: 0; overflow: hidden; }
.head-search-panel.open { grid-template-rows: 1fr; }
.head-search-panel .search { margin: 4px auto 16px; box-shadow: 0 16px 40px -24px rgba(20, 18, 58, .5); border: 1px solid var(--line); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 12px; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease), background .2s; content: ""; }
.burger span { top: 21px; }
.burger span::before { top: -6px; left: 0; }
.burger span::after { top: 6px; left: 0; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(20, 18, 58, .45); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.nav-open .scrim { opacity: 1; visibility: visible; }

/* Hero */
.hero { position: relative; overflow: hidden; margin: 0 var(--gut); border-radius: var(--r-lg); background: var(--ink); color: #fff; isolation: isolate; }
.hero-inner { padding-top: clamp(56px, 9vw, 110px); padding-bottom: clamp(56px, 9vw, 110px); text-align: center; }
.hero-title { color: #fff; font-size: clamp(2.3rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -.045em; max-width: 880px; margin: 22px auto 16px; }
.hero-title span { background: linear-gradient(90deg, var(--mint), var(--sun)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text { max-width: 560px; margin: 0 auto 28px; color: #C9C6EE; font-size: 1.1rem; }
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.hero-tags a { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font-size: .88rem; color: #E4E2FF; transition: background .2s, border-color .2s; }
.hero-tags a:hover { background: rgba(255, 255, 255, .1); border-color: var(--mint); }
.hero-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(8px); animation: drift 16s ease-in-out infinite alternate; }
.o1 { width: 520px; height: 520px; top: -220px; right: -140px; background: radial-gradient(circle, rgba(109, 93, 252, .55), transparent 65%); }
.o2 { width: 420px; height: 420px; bottom: -200px; left: -120px; background: radial-gradient(circle, rgba(46, 196, 182, .4), transparent 65%); animation-direction: alternate-reverse; }
@keyframes drift { to { transform: translate(-50px, 40px); } }

/* Search */
.search { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px; padding: 8px; border-radius: 20px; background: var(--paper); box-shadow: var(--sh); max-width: 760px; margin: 0 auto; text-align: left; }
.search-field { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 14px; background: var(--bg); color: var(--muted); }
.search-field input, .search-field select { width: 100%; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; color: var(--ink); font-weight: 600; }
.search-field select { cursor: pointer; }
.search .btn { min-height: 48px; }

/* Sections */
.sec { padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(24px, 4vw, 40px); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.sec-title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin: 0; }
.more { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--violet); }
.more .i { transition: transform .3s var(--ease); }
.more:hover .i { transform: translateX(4px); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.tile { position: relative; display: grid; gap: 4px; padding: 22px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.tile b { font: 700 1.1rem var(--f-head); color: var(--ink); }
.tile span { font-size: .88rem; color: var(--muted); }
.tile .i { position: absolute; right: 20px; top: 24px; color: var(--violet); transition: transform .3s var(--ease); }
.tile:hover { transform: translateY(-4px); border-color: var(--violet); box-shadow: var(--sh); }
.tile:hover .i { transform: translateX(4px); }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card-link { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.card-link:hover { transform: translateY(-5px); box-shadow: var(--sh); border-color: transparent; }
.card-media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--violet-soft), var(--mint-soft)); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card-media .card-logo { width: auto; height: auto; max-width: 60%; max-height: 60%; object-fit: contain; }
.card-link:hover .card-media img { transform: scale(1.05); }
.card-mono { font: 800 3rem var(--f-head); color: var(--violet); }
.card-media .chip { position: absolute; left: 12px; top: 12px; background: rgba(255, 255, 255, .92); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.card-title { font: 700 1.08rem/1.3 var(--f-head); color: var(--ink); margin-bottom: 6px; }
.card-text { flex: 1; font-size: .92rem; color: var(--muted); }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .85rem; font-weight: 600; }
.card-foot > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.card-foot .i { color: var(--violet); }
.card-go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--bg); transition: background .3s, color .3s; }
.card-link:hover .card-go { background: var(--violet); color: #fff; }

/* Page heads + breadcrumbs */
.page-head { padding: 36px 0 28px; }
.page-title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; margin: 8px 0; }
.page-sub { color: var(--muted); margin: 0 0 16px; font-weight: 600; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); }
.crumbs a { font-weight: 600; color: var(--ink); }
.crumbs a:hover { color: var(--violet); }
.crumbs .i { width: .9em; height: .9em; opacity: .5; }
.page-head .search { margin: 12px 0 0; }

/* Directory layout + animated sidebar */
.dir { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; padding-bottom: 40px; }
.dir-main { min-width: 0; }
.side { position: sticky; top: 96px; }
.side-toggle { display: none; }
.side-panel { display: grid; gap: 14px; }
.side-nav { position: relative; display: grid; padding: 8px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.side-nav a { position: relative; z-index: 1; display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 12px; font-weight: 600; font-size: .94rem; transition: color .25s, transform .3s var(--ease); }
.side-nav a:hover { transform: translateX(4px); }
.side-nav a em { font-style: normal; font-size: .78rem; color: var(--muted); }
.side-nav a.is-on { color: var(--violet); }
.side-ind { position: absolute; left: 8px; right: 8px; top: 0; height: 0; border-radius: 12px; background: var(--violet-soft); opacity: 0; transition: transform .4s var(--ease), height .4s var(--ease), opacity .3s; }
.side-nav.has-ind .side-ind { opacity: 1; }
.side-cta { padding: 20px; border-radius: var(--r); background: var(--ink); color: #C9C6EE; }
.side-cta b { display: block; color: #fff; font-family: var(--f-head); margin-bottom: 6px; }
.side-cta p { margin: 0 0 12px; font-size: .9rem; }
.side-cta .btn { width: 100%; justify-content: center; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 34px 0; }
.pager .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; }
.pager .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager a.page-numbers:hover { border-color: var(--violet); color: var(--violet); }
.empty { padding: 48px; text-align: center; border-radius: var(--r); border: 1px dashed var(--line); color: var(--muted); }

/* Single listing */
.lx-hero { padding: 28px 0 0; }
.lx-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 22px; }
.lx-intro { min-width: 0; }
.lx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.chip--line { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.chip--line .i { color: var(--violet); }
.chip--status { background: #FDE8EC; color: #C2334E; }
.chip--status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip--status.is-open { background: var(--mint-soft); color: #13867C; }
.chip--status.is-open i { animation: ping 2s infinite; box-shadow: 0 0 0 0 rgba(46, 196, 182, .6); }
.lx-title { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; margin: 0 0 14px; overflow-wrap: anywhere; }
.lx-lead { max-width: 560px; margin: 0 0 22px; color: var(--muted); font-size: 1.08rem; }
.lx-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lx-visual { position: relative; min-width: 0; }
.lx-photo { aspect-ratio: 5 / 4; overflow: hidden; border-radius: 28px; background: linear-gradient(135deg, var(--violet-soft), var(--mint-soft)); box-shadow: var(--sh); }
.lx-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.lx-visual:hover .lx-photo img { transform: scale(1.04); }
.lx-photo-fill { display: block; width: 100%; height: 100%; background: radial-gradient(circle at 30% 30%, rgba(109, 93, 252, .35), transparent 55%), radial-gradient(circle at 80% 70%, rgba(46, 196, 182, .35), transparent 50%); }
.lx-logo { position: absolute; left: -18px; bottom: -18px; display: grid; place-items: center; width: 96px; height: 96px; padding: 10px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh); animation: float 6s ease-in-out infinite; }
.lx-logo img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 14px; }
.lx-logo span { font: 800 2.4rem var(--f-head); color: var(--violet); }
@keyframes float { 50% { transform: translateY(-8px); } }

.lx-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; list-style: none; margin: 44px 0 0; padding: 10px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 14px 34px -26px rgba(20, 18, 58, .4); }
.lx-quick li { min-width: 0; }
.lx-quick a, .lx-quick div { display: flex; align-items: center; gap: 12px; height: 100%; min-width: 0; padding: 12px; border-radius: 16px; transition: background .3s, transform .35s var(--ease); }
.lx-quick a:hover { background: var(--bg); transform: translateY(-2px); }
.lx-quick-ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 14px; background: var(--violet-soft); color: var(--violet); transition: background .3s, color .3s, transform .4s var(--spring); }
.lx-quick a:hover .lx-quick-ico { background: var(--violet); color: #fff; transform: rotate(-8deg); }
.lx-quick-txt { display: grid; min-width: 0; }
.lx-quick-txt small { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lx-quick-txt b { font-weight: 700; color: var(--ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.lx-quick a .lx-quick-txt b { overflow-wrap: break-word; }
.lx-quick-txt b { font-size: .95rem; letter-spacing: -.01em; }

.lx-body { display: grid; grid-template-columns: 180px minmax(0, 1fr) 320px; gap: 28px; align-items: start; padding-top: 40px; }
.lx-toc { position: sticky; top: 100px; }
.lx-toc b { display: block; margin-bottom: 10px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lx-toc ol { position: relative; list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); }
.lx-toc a { position: relative; display: block; padding: 7px 8px; border-radius: 10px; font-weight: 600; font-size: .92rem; color: var(--muted); transition: color .3s, background .3s, transform .3s var(--ease); }
.lx-toc a:hover { color: var(--ink); transform: translateX(3px); }
.lx-toc a.on { color: var(--ink); background: var(--paper); }
.lx-toc a.on::before { content: ""; position: absolute; left: -16px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--violet); }
.lx-main { display: grid; gap: 18px; min-width: 0; }
.lx-sec { min-width: 0; padding: clamp(20px, 3vw, 30px); border-radius: 24px; background: var(--paper); border: 1px solid var(--line); scroll-margin-top: 100px; }
.lx-sec-title { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; margin-bottom: 18px; }
.lx-sec-title::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--violet), var(--mint)); transform: rotate(45deg); }
.lx-side { position: sticky; top: 100px; min-width: 0; }
.lx-card { display: grid; gap: 10px; padding: 26px; border-radius: 26px; background: var(--ink); color: #C9C6EE; box-shadow: var(--sh); position: relative; overflow: hidden; }
.lx-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(109, 93, 252, .55), transparent 65%); pointer-events: none; }
.lx-card > * { position: relative; z-index: 1; min-width: 0; }
.lx-card-kicker { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.lx-card-title { color: #fff; font-size: 1.6rem; margin: 0; }
.lx-card-text { margin: 0 0 6px; font-size: .94rem; }
.lx-card .btn-line { color: #fff; border-color: rgba(255, 255, 255, .25); }
.lx-card .btn-line:hover { background: rgba(255, 255, 255, .1); }
.lx-card .socials { border-color: rgba(255, 255, 255, .12); margin-top: 6px; }
.lx-card .soc { background: rgba(255, 255, 255, .08); color: #fff; }
.lx-facts { display: grid; gap: 0; margin: 6px 0 0; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .12); }
.lx-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .1); font-size: .9rem; }
.lx-facts dt { color: #9D99CC; }
.lx-facts dd { margin: 0; color: #fff; font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.lx-bar { display: none; }
.btn-block { width: 100%; justify-content: center; }
.btn .clip { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: var(--ink-2); box-shadow: 0 12px 24px -12px var(--ink); }
.btn-line { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-line:hover { background: var(--paper); border-color: var(--ink); box-shadow: none; }
.kicker { margin: 0 0 6px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.socials { margin-top: 1.4em; }
.contact small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact a:hover small { color: #C9C6EE; }
.contact-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--paper); color: var(--violet); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--line); }
.soc { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--bg); color: var(--ink); transition: transform .3s var(--ease), background .3s, color .3s; }
.soc:hover { transform: translateY(-3px); color: #fff; }
.soc-facebook:hover { background: #1877F2; } .soc-twitter:hover { background: #111; } .soc-instagram:hover { background: #D6249F; } .soc-youtube:hover { background: #F00; } .soc-linkedin:hover { background: #0A66C2; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; }
.hours .dots { flex: 1; border-bottom: 1px dashed var(--line); }
.hours .closed { color: #D9435F; }
.hours li.today { background: var(--sun-soft); }
.coupons { display: grid; gap: 10px; }
.coupon { display: grid; gap: 4px; padding: 18px; border-radius: 16px; border: 2px dashed var(--sun); background: var(--sun-soft); }
.coupon code { font: 700 1.1rem var(--f-head); color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.gallery a { aspect-ratio: 1; overflow: hidden; border-radius: 14px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.video { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; }
.video iframe { width: 100%; height: 100%; border: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 14px 0; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--violet); font-size: 1.3rem; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }

/* Stylised map */
.map { position: relative; padding: 5px; border-radius: 24px; background: conic-gradient(from 210deg, var(--violet), var(--mint), var(--sun), var(--violet)); }
.map-frame { position: relative; height: 360px; overflow: hidden; border-radius: 20px; background: #E9E7F6; }
.map-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(20, 18, 58, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 18, 58, .06) 1px, transparent 1px); background-size: 34px 34px; }
.map-pin { position: absolute; left: 50%; top: 42%; display: grid; place-items: center; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50% 50% 50% 6px; rotate: -45deg; background: var(--violet); color: #fff; box-shadow: 0 12px 24px -8px var(--violet); animation: bob 2s ease-in-out infinite; }
.map-pin .i { rotate: 45deg; }
@keyframes bob { 50% { translate: 0 -6px; } }
.map-frame iframe { position: relative; width: 100%; height: 100%; border: 0; filter: saturate(.75) contrast(1.05); opacity: 0; transition: opacity .6s, filter .5s; }
.map-frame.loaded iframe { opacity: 1; }
.map-frame.loaded .map-pin { display: none; }
.map:hover iframe { filter: none; }
.map-card { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); box-shadow: var(--sh); }
.map-card address { flex: 1; font-style: normal; font-weight: 600; font-size: .92rem; }
.map-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--mint); }

/* Single post */
.read-bar { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; }
.read-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--mint)); transform-origin: 0; transform: scaleX(var(--p, 0)); }
.p-hero { padding: 30px 0 44px; }
.p-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.p-hero .chip { margin-top: 18px; }
.p-title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; margin: 14px 0; }
.p-meta { display: flex; gap: 14px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.p-meta span::before { content: "·"; margin-right: 14px; }
.p-figure { margin: 0; overflow: hidden; border-radius: 32px 32px 32px 8px; box-shadow: var(--sh); transform: rotate(1.5deg); transition: transform .6s var(--ease); }
.p-figure:hover { transform: none; }
.p-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.p-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; padding-bottom: 60px; }
.prose--post { padding: clamp(22px, 4vw, 44px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.prose--post > p:first-of-type::first-letter { float: left; font: 800 3.6em/.85 var(--f-head); color: var(--violet); margin: .08em .1em 0 0; }
.p-side { position: sticky; top: 96px; display: grid; gap: 14px; }
.toc { padding: 18px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.toc ol { list-style: none; margin: 10px 0 0; padding: 0 0 0 12px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 5px 8px; border-radius: 8px; font-size: .9rem; color: var(--muted); transition: color .2s, background .2s; }
.toc a.on { color: var(--violet); background: var(--violet-soft); }
.prose { font-size: 1.04rem; }
.prose > * + * { margin-top: 1em; }
.prose a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose img { border-radius: 14px; }

/* Categories page: bento grid */
.cat-head { padding: 36px 0 10px; }
.cat-head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cat-title { font-size: clamp(2.6rem, 8vw, 5.6rem); font-weight: 800; letter-spacing: -.06em; line-height: .95; margin: 10px 0 6px; }
.cat-filter { display: flex; align-items: center; gap: 10px; width: min(360px, 100%); height: 52px; padding: 0 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); }
.cat-filter input { flex: 1; border: 0; outline: 0; background: transparent; font-weight: 600; color: var(--ink); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(170px, auto); gap: 14px; }
.bento-card { position: relative; display: flex; flex-direction: column; justify-content: end; gap: 4px; padding: 22px; overflow: hidden; border-radius: 24px; transition: transform .4s var(--ease), box-shadow .4s; }
.bento-card.is-big { grid-column: span 2; grid-row: span 2; background: var(--ink) !important; color: #fff; }
.bento-card.is-big .bento-name { font-size: clamp(2rem, 4vw, 3rem); color: #fff; }
.bento-card.is-big .bento-count, .bento-card.is-big .bento-peek { color: #C9C6EE; }
.tone-0 { background: var(--violet-soft); } .tone-1 { background: var(--mint-soft); } .tone-2 { background: var(--sun-soft); } .tone-3 { background: var(--rose-soft); }
.bento-card:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: var(--sh); }
.bento-card[hidden] { display: none; }
.bento-num { position: absolute; top: 18px; left: 22px; font: 700 .8rem var(--f-head); opacity: .5; }
.bento-name { font: 700 1.3rem/1.15 var(--f-head); color: var(--ink); }
.bento-count { font-size: .88rem; font-weight: 700; color: var(--muted); }
.bento-peek { font-size: .82rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bento-go { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .7); color: var(--ink); transform: scale(.7); opacity: 0; transition: transform .35s var(--ease), opacity .3s; }
.bento-card:hover .bento-go { transform: none; opacity: 1; }
.cat-sub { margin: 48px 0 16px; }
.topic-row { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; transition: border-color .2s, color .2s; }
.topic em { font-style: normal; font-size: .78rem; color: var(--muted); }
.topic:hover { border-color: var(--violet); color: var(--violet); }

/* Sitemap: index layout */
.sm-head { padding: 36px 0 22px; border-bottom: 2px solid var(--ink); }
.sm-title { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 800; letter-spacing: -.05em; margin: 10px 0 0; }
.sm-title i { color: var(--mint); font-style: normal; }
.sm-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding-top: 34px; padding-bottom: 60px; }
.sm-jump { position: sticky; top: 96px; align-self: start; display: grid; gap: 4px; border-left: 2px solid var(--line); }
.sm-jump a { padding: 6px 14px; margin-left: -2px; border-left: 2px solid transparent; font-weight: 600; color: var(--muted); transition: color .2s, border-color .2s; }
.sm-jump a:hover, .sm-jump a.on { color: var(--ink); border-color: var(--violet); }
.sm-body { display: grid; gap: 44px; min-width: 0; }
.sm-sec h2 { display: flex; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 1.6rem; }
.sm-sec h2 span { font: 700 .9rem ui-monospace, Menlo, monospace; color: var(--violet); }
.sm-list { list-style: none; margin: 0; padding: 0; }
.sm-list li { padding: 5px 0; }
.sm-list a { font-weight: 600; background: linear-gradient(var(--violet), var(--violet)) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.sm-list a:hover { background-size: 100% 2px; }
.sm-cols { columns: 2 240px; column-gap: 28px; }
.sm-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-pills a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.sm-cat { margin-bottom: 8px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.sm-cat summary { display: flex; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer; font-weight: 700; list-style: none; }
.sm-cat summary em { margin-left: auto; padding: 2px 10px; border-radius: 6px; background: var(--ink); color: #fff; font: 700 .78rem ui-monospace, Menlo, monospace; }
.sm-cat[open] summary { border-bottom: 1px dashed var(--line); }
.sm-cat .sm-list { padding: 10px 16px 14px; }

/* Footer */
.site-foot { margin-top: 60px; padding: 56px 0 0; background: var(--ink); color: #B7B4DE; }
.site-foot .logo-word { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.foot-brand p { max-width: 360px; margin-top: 16px; font-size: .95rem; }
.foot-title { font: 700 .76rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-links a { transition: color .2s, padding .3s var(--ease); }
.foot-links a:hover { color: #fff; padding-left: 6px; }
.foot-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.foot-bar a:hover { color: #fff; }
.nf { text-align: center; }
.nf-code { font: 800 clamp(5rem, 16vw, 9rem)/1 var(--f-head); color: var(--violet); margin: 0; }
.nf .search { margin-top: 24px; }

/* Responsive */
/* Home page (front-page.php) */
.hm-h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.035em; margin: 0; }
.hm-center { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.hm-hero { position: relative; overflow: hidden; isolation: isolate; margin: 0 var(--gut); border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.hm-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 104px); }
.hm-hero-copy { min-width: 0; }
.hm-live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: .86rem; color: #D9D6FF; margin: 0 0 22px; }
.hm-live b { color: var(--mint); }
.hm-title { color: #fff; font-size: clamp(2.3rem, 4.8vw, 4.1rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin: 0 0 18px; }
.hm-title span { background: linear-gradient(90deg, var(--mint), var(--sun)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm-lead { max-width: 520px; margin: 0 0 26px; color: #C9C6EE; font-size: 1.1rem; }
.hm-hero .search { margin: 0; max-width: 640px; }
.hm-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; font-size: .88rem; }
.hm-popular > span { color: #9D99CC; margin-right: 4px; }
.hm-popular a { padding: 5px 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); color: #E4E2FF; transition: background .25s, border-color .25s, transform .3s var(--ease); }
.hm-popular a:hover { background: rgba(255, 255, 255, .1); border-color: var(--mint); transform: translateY(-2px); }
.hm-hero-visual { position: relative; min-width: 0; padding: 0 24px 40px 0; }
.hm-hero-photo { aspect-ratio: 4 / 4.2; overflow: hidden; border-radius: 28px; background: var(--ink-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.hm-hero-photo img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-in-out infinite alternate; }
.hm-hero-art { display: block; width: 100%; height: 100%; background: radial-gradient(circle at 25% 25%, rgba(109, 93, 252, .7), transparent 55%), radial-gradient(circle at 80% 75%, rgba(46, 196, 182, .55), transparent 50%), radial-gradient(circle at 70% 20%, rgba(255, 181, 71, .35), transparent 40%); }
@keyframes kenburns { to { transform: scale(1.08) translate(-1.5%, -1%); } }
.hm-spot { position: absolute; left: -28px; right: 48px; bottom: 0; display: grid; gap: 12px; padding: 18px; border-radius: 22px; background: var(--paper); color: var(--text); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .55); animation: float 7s ease-in-out infinite; }
.hm-spot-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hm-spot-logo { display: grid; place-items: center; flex: none; width: 52px; height: 52px; padding: 6px; overflow: hidden; border-radius: 14px; background: var(--violet-soft); border: 1px solid var(--line); font: 800 1.4rem var(--f-head); color: var(--violet); }
.hm-spot-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hm-spot-name { display: grid; min-width: 0; }
.hm-spot-name a { font: 700 1.05rem/1.25 var(--f-head); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-spot-name a:hover { color: var(--violet); }
.hm-spot-name small { color: var(--muted); font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-spot .chip--status { justify-self: start; }
.hm-spot-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-float { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, .96); color: var(--muted); font-size: .78rem; box-shadow: 0 20px 40px -22px rgba(0, 0, 0, .6); animation: float 6s ease-in-out infinite; }
.hm-float .i { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--violet-soft); color: var(--violet); }
.hm-float > span { display: grid; line-height: 1.2; }
.hm-float b { font: 800 1.05rem var(--f-head); color: var(--ink); }
.hm-float--0 { top: 22px; right: 0; animation-delay: -2s; }
.hm-float--1 { top: 42%; right: -6px; animation-delay: -4s; }
.hm-float--1 .i { background: var(--mint-soft); color: #13867C; }
.hm-float--new { top: 22px; left: -26px; animation-delay: -1s; }
.hm-float--new .i { background: var(--sun-soft); color: #B7791F; }

.hm-about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hm-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.hm-cloud span { padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--ink); transition: transform .3s var(--ease), border-color .3s; }
.hm-cloud span:nth-child(3n+1) { background: var(--violet-soft); border-color: transparent; color: var(--violet); }
.hm-cloud span:hover { transform: translateY(-2px) rotate(-2deg); border-color: var(--violet); }
.hm-checks { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.hm-checks li { position: relative; padding-left: 32px; font-weight: 600; color: var(--ink); }
.hm-checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313867C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.hm-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hm-stat { display: grid; align-content: end; gap: 6px; min-height: 160px; padding: 24px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.hm-stat:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.hm-stat b { font: 800 clamp(2.2rem, 4vw, 3rem)/1 var(--f-head); letter-spacing: -.04em; color: var(--ink); }
.hm-stat span { color: var(--muted); font-weight: 600; font-size: .92rem; }
.hm-stat--violet { background: var(--violet); border-color: transparent; transform: translateY(20px); }
.hm-stat--violet:hover { transform: translateY(16px); }
.hm-stat--violet b, .hm-stat--violet span { color: #fff; }
.hm-stat--mint { background: var(--ink); border-color: transparent; }
.hm-stat--mint b { color: var(--mint); }
.hm-stat--mint span { color: #C9C6EE; }

.hm-ctrl { display: flex; align-items: center; gap: 8px; }
.hm-ctrl [data-slider-prev] .i { transform: scaleX(-1); }
.hm-ctrl .btn-icon:disabled { opacity: .35; cursor: default; transform: none; background: var(--paper); color: var(--ink); }
.hm-count { margin-right: 8px; font: 700 .9rem var(--f-head); letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.hm-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 270px); gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scroll-padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2)); padding: 6px max(var(--gut), calc((100vw - var(--wrap)) / 2)) 24px; scrollbar-width: none; }
.hm-track::-webkit-scrollbar { display: none; }
.hm-track > * { scroll-snap-align: start; }
.hm-track--cards { grid-auto-columns: minmax(260px, 290px); }
.hm-track .card.reveal { opacity: 1; transform: none; }
.hm-cat { position: relative; display: grid; align-content: start; gap: 4px; min-height: 250px; padding: 24px; border-radius: 26px; overflow: hidden; color: var(--ink); transition: transform .45s var(--ease), box-shadow .45s; }
.hm-cat::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .5); transition: transform .6s var(--ease); }
.hm-cat:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.hm-cat:hover::after { transform: scale(1.6); }
.hm-cat > * { position: relative; z-index: 1; }
.hm-cat-n { font: 700 .8rem var(--f-head); letter-spacing: .12em; opacity: .55; margin-bottom: auto; }
.hm-cat-count { margin-top: 48px; font: 800 2.6rem/1 var(--f-head); letter-spacing: -.04em; }
.hm-cat-name { font: 700 1.15rem/1.25 var(--f-head); }
.hm-cat-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: .9rem; color: var(--violet); }
.hm-cat-go .i { transition: transform .3s var(--ease); }
.hm-cat:hover .hm-cat-go .i { transform: translateX(4px); }
.hm-cat--all { background: var(--ink); color: #fff; }
.hm-cat--all > .i { width: 40px; height: 40px; color: var(--mint); }
.hm-cat--all .hm-cat-count { margin-top: auto; color: #fff; }
.hm-cat--all .hm-cat-go { color: var(--mint); }
.hm-cat--all::after { background: rgba(109, 93, 252, .35); }

.hm-why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hm-why-media { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / .9; }
.hm-why-fig { display: grid; place-items: center; margin: 0; overflow: hidden; border-radius: 24px; background: linear-gradient(135deg, var(--violet-soft), var(--mint-soft)); color: var(--violet); }
.hm-why-fig.f0 { grid-row: span 2; }
.hm-why-fig.f1 { background: linear-gradient(135deg, var(--sun-soft), var(--rose-soft)); color: #B7791F; }
.hm-why-fig.f2 { background: var(--ink); color: var(--mint); }
.hm-why-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.hm-why-fig:hover img { transform: scale(1.06); }
.hm-why-fig > .i { width: 56px; height: 56px; }
.hm-why-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }
.hm-why-tags span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--ink); }
.hm-why-tags .i { color: var(--violet); }
.hm-why h3 { font-size: 1.25rem; margin-bottom: 14px; }
.hm-why .btn { margin-top: 26px; }

.hm-step-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.hm-step { position: relative; padding: 24px; border-radius: 26px; background: var(--paper); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s; }
.hm-step:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.hm-step-n { position: absolute; top: 20px; right: 22px; font: 800 2.4rem var(--f-head); color: var(--violet-soft); -webkit-text-stroke: 1px var(--violet); }
.hm-step h3 { margin: 22px 0 6px; font-size: 1.3rem; }
.hm-step p { margin: 0; color: var(--muted); }
.hm-mock { display: grid; gap: 8px; min-height: 172px; align-content: start; padding: 16px; border-radius: 18px; background: var(--bg); margin-right: 64px; }
.hm-mock-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: .88rem; color: var(--ink); }
.hm-mock-bar .i { width: 16px; color: var(--violet); }
.hm-mock-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--paper); font-size: .84rem; min-width: 0; }
.hm-mock-row b { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hm-mock-row small { flex: none; color: var(--muted); }
.hm-mock-row--card { padding: 14px 12px; border: 1px solid var(--line); }
.hm-mock-row small.ok { color: #13867C; font-weight: 700; }
.hm-mock--dark { background: var(--ink); align-content: center; }
.hm-mock-call { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--violet); color: #fff; }
.hm-mock-call b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-mock-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.hm-mock-pills span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #E4E2FF; font-size: .78rem; font-weight: 600; }
.hm-mock-pills .i { width: 14px; }

.hm-faq-sec { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.hm-ask { margin-top: 28px; padding: 24px; border-radius: 22px; background: var(--violet-soft); }
.hm-ask b { font: 700 1.15rem var(--f-head); color: var(--ink); }
.hm-ask p { margin: 6px 0 16px; color: var(--muted); }
.hm-faq { display: grid; gap: 12px; }
.hm-q { border-radius: 20px; background: var(--paper); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.hm-q[open] { border-color: var(--violet); box-shadow: 0 16px 40px -28px rgba(109, 93, 252, .6); }
.hm-q summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font: 700 1.05rem var(--f-head); color: var(--ink); }
.hm-q summary::-webkit-details-marker { display: none; }
.hm-q summary i { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--violet-soft); transition: background .3s, transform .4s var(--ease); }
.hm-q summary i::before, .hm-q summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--violet); transition: transform .4s var(--ease), background .3s; }
.hm-q summary i::after { transform: rotate(90deg); }
.hm-q[open] summary i { background: var(--violet); transform: rotate(180deg); }
.hm-q[open] summary i::before { background: #fff; }
.hm-q[open] summary i::after { transform: rotate(0); background: #fff; }
.hm-a { padding: 0 22px 20px; color: var(--muted); }
.hm-a p { margin: 0; }
.hm-q[open] .hm-a { animation: rise .45s var(--ease); }

.hm-owner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; padding: clamp(28px, 5vw, 60px); border-radius: var(--r-lg); background: var(--ink); color: #C9C6EE; overflow: hidden; isolation: isolate; }
.hm-owner::before { content: ""; position: absolute; z-index: -1; width: 480px; height: 480px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(109, 93, 252, .55), transparent 65%); animation: drift 14s ease-in-out infinite alternate; }
.hm-owner .kicker { color: var(--mint); }
.hm-owner h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -.035em; margin: 0 0 24px; }
.hm-owner-tiles { display: grid; gap: 12px; }
.hm-owner-tiles span { display: grid; gap: 2px; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; transition: transform .4s var(--ease), background .3s; }
.hm-owner-tiles span:hover { transform: translateX(-6px); background: rgba(255, 255, 255, .1); }
.hm-owner-tiles b { font: 800 1.3rem var(--f-head); color: #fff; }

@media (max-width: 1024px) {
	.hm-hero-grid, .hm-about, .hm-why, .hm-faq-sec, .hm-owner { grid-template-columns: 1fr; }
	.hm-hero-visual { max-width: 560px; }
	.hm-step-list { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 600px) {
	.hm-hero-visual { padding: 0 0 70px; }
	.hm-spot { left: 12px; right: 12px; }
	.hm-float--1 { display: none; }
	.hm-float--new { left: 8px; }
	.hm-float--0 { right: 8px; }
	.hm-stat { min-height: 128px; padding: 18px; }
	.hm-stat--violet { transform: none; }
	.hm-mock { margin-right: 0; margin-top: 44px; }
	.sec-head .hm-ctrl .hm-count { display: none; }
	.sec-head { flex-wrap: wrap; align-items: start; }
}

.foot-search { display: flex; gap: 6px; max-width: 340px; margin-top: 18px; padding: 6px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: border-color .3s; }
.foot-search:focus-within { border-color: var(--mint); }
.foot-search input { flex: 1; min-width: 0; padding: 0 10px; border: 0; outline: 0; background: transparent; color: #fff; }
.foot-search input::placeholder { color: #9D99CC; }
/* Site-wide entrance: every page header animates in on load, staggered */
.page-head .wrap > *, .p-hero-grid > * > *, .err > * { animation: rise .8s var(--ease) both; }
.hero-inner > :nth-child(2), .page-head .wrap > :nth-child(2), .p-hero-grid > * > :nth-child(2) { animation-delay: .08s; }
.hero-inner > :nth-child(3), .page-head .wrap > :nth-child(3), .p-hero-grid > * > :nth-child(3) { animation-delay: .16s; }
.hero-inner > :nth-child(n+4), .page-head .wrap > :nth-child(n+4), .p-hero-grid > * > :nth-child(n+4) { animation-delay: .24s; }
.card, .tile, .bento-card { transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.js-share.is-done { border-color: var(--mint); color: #13867C; }
@media (max-width: 1180px) {
	.lx-body { grid-template-columns: minmax(0, 1fr) 300px; }
	.lx-toc { display: none; }
}
@media (max-width: 1024px) {
	.bento { grid-template-columns: repeat(2, 1fr); }
	.p-body, .p-hero-grid, .lx-hero-grid, .lx-body { grid-template-columns: 1fr; }
	.p-side, .lx-side { position: static; }
	.lx-side { order: -1; }
	.lx-visual { max-width: 640px; }
	.toc { display: none; }
}
@media (max-width: 960px) {
	.burger { display: block; }
	.head-cta { display: none; }
	.nav { position: fixed; z-index: 60; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 90px 22px 28px; border-radius: 28px 0 0 28px; border: 0; background: var(--paper); box-shadow: -30px 0 60px -30px rgba(20, 18, 58, .5); transform: translateX(105%); visibility: hidden; transition: transform .55s var(--ease), visibility .55s; }
	.nav-open .nav { transform: none; visibility: visible; }
	.nav-ind { display: none; }
	.nav-list { flex-direction: column; gap: 4px; }
	.nav-list li { opacity: 0; transform: translateX(24px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
	.nav-open .nav-list li { opacity: 1; transform: none; }
	.nav-open .nav-list li:nth-child(1) { transition-delay: .12s; } .nav-open .nav-list li:nth-child(2) { transition-delay: .17s; } .nav-open .nav-list li:nth-child(3) { transition-delay: .22s; } .nav-open .nav-list li:nth-child(4) { transition-delay: .27s; } .nav-open .nav-list li:nth-child(5) { transition-delay: .32s; } .nav-open .nav-list li:nth-child(n+6) { transition-delay: .37s; }
	.nav-list a { padding: 14px 16px; border-radius: 14px; font: 600 1.2rem var(--f-head); color: var(--ink); }
	.nav-list a:hover, .nav-list .current-menu-item > a { background: var(--violet-soft); color: var(--violet); }
	.nav-mobile-cta { display: inline-flex; justify-content: center; margin-top: auto; }
	.burger { z-index: 70; }
}
@media (max-width: 860px) {
	.dir { grid-template-columns: 1fr; }
	.side { position: static; }
	.side-toggle { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 16px; border: 0; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; cursor: pointer; }
	.side-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease), margin .45s; }
	.side-panel > * { min-height: 0; overflow: hidden; }
	.side.open .side-panel { grid-template-rows: 1fr; margin-top: 10px; }
	.side-cta { display: none; }
	.sm-wrap { grid-template-columns: 1fr; }
	.sm-jump { position: static; display: flex; flex-wrap: wrap; border: 0; gap: 6px; }
	.sm-jump a { border: 1px solid var(--line); border-radius: 999px; margin: 0; background: var(--paper); }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.search { grid-template-columns: 1fr; }
	.lx-actions .btn { flex: 1 1 auto; justify-content: center; }
	.lx-logo { width: 76px; height: 76px; left: 12px; bottom: -14px; border-radius: 20px; }
	.lx-quick { margin-top: 30px; }
	.lx-bar { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px; padding: 8px; border-radius: 20px; background: rgba(20, 18, 58, .92); backdrop-filter: blur(10px); box-shadow: var(--sh); transform: translateY(140%); transition: transform .5s var(--ease); }
	.lx-bar.show { transform: none; }
	.lx-bar .btn { flex: 1; justify-content: center; }
	.single .site-foot { padding-bottom: 80px; }
	.bento { grid-template-columns: 1fr; }
	.bento-card.is-big { grid-column: auto; grid-row: auto; }
	.map-frame { height: 400px; }
	.map-card { flex-wrap: wrap; }
	.map-card .btn { width: 100%; justify-content: center; }
	.foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
}
