/* ==========================================================================
   temp9 — dark studio skin (near-black + acid accent, huge uppercase display
   type with outlined words, glossy 3D objects, marquee bands, light/dark toggle).
   Brand colours come only from the engine palette (--brand / --accent / …).
   Skin tokens use their own names (--bg, --card, --fg, --ln …) so the palette
   variables are never redefined.
   ========================================================================== */

:root,
[data-theme="dark"] {
   --bg: #0B0B0B;
   --bg2: #101010;
   --card: #151515;
   --card2: #1E1E1E;
   --ln: rgba(255, 255, 255, .1);
   --ln2: rgba(255, 255, 255, .18);
   --fg: #FFFFFF;
   --muted: #A1A1A1;
   /* the "acid" accent: the palette accent, lifted so it glows on near-black (dark text on it) */
   --acid: color-mix(in srgb, var(--accent) 55%, #fff);
   --on-acid: #0B0B0B;
   --acid-ink: var(--acid);
   --hdr: rgba(11, 11, 11, .8);
   --shadow: 0 20px 50px rgba(0, 0, 0, .45);
   --glow: rgba(var(--accent-rgb), .2);
   --glow2: rgba(var(--brand-rgb), .25);
   --outline: rgba(255, 255, 255, .85);
   --ghost: rgba(255, 255, 255, .05);
   --dd-bg: #171717;
   color-scheme: dark;
}
@supports (color: oklch(from red l c h)) {
   :root,
   [data-theme="dark"] { --acid: oklch(from var(--accent) max(l, .8) c h); }
}

[data-theme="light"] {
   --bg: #F6F6F1;
   --bg2: #EDEDE6;
   --card: #FFFFFF;
   --card2: #F1F1EA;
   --ln: rgba(11, 11, 11, .1);
   --ln2: rgba(11, 11, 11, .2);
   --fg: #0B0B0B;
   --muted: #5E5E58;
   --acid: var(--accent);
   --on-acid: var(--on-accent);
   --acid-ink: var(--accent-aa);
   --hdr: rgba(246, 246, 241, .86);
   --shadow: 0 20px 50px rgba(20, 20, 10, .08);
   --glow: rgba(var(--accent-rgb), .22);
   --glow2: rgba(var(--brand-rgb), .12);
   --outline: rgba(11, 11, 11, .9);
   --ghost: rgba(11, 11, 11, .04);
   --dd-bg: #FFFFFF;
   color-scheme: light;
}

:root {
   --fd: "Space Grotesk", system-ui, sans-serif;
   --fb: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
   --r: 24px;
   --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
   margin: 0;
   background: var(--bg);
   color: var(--fg);
   font: 400 16px/1.7 var(--fb);
   overflow-x: hidden;
   -webkit-font-smoothing: antialiased;
   transition: background-color .35s ease, color .35s ease;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
p { margin: 0 0 1em; color: var(--muted); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
   margin: 0;
   font-family: var(--fd);
   font-weight: 700;
   line-height: 1;
   letter-spacing: -.02em;
   text-transform: uppercase;
   color: var(--fg);
}
h2 { font-size: clamp(32px, 5vw, 68px); }
h3 { font-size: 22px; line-height: 1.15; letter-spacing: -.01em; }
.hidden { display: none !important; }
main { display: block; overflow-x: clip; }

svg.ic, svg.lm-ico { width: 20px; height: 20px; flex-shrink: 0; display: inline-block; vertical-align: middle; }
svg.lm-ico.sm { width: 15px; height: 15px; }
svg.t9-star { width: 34px; height: 34px; flex-shrink: 0; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
.section { padding: 120px 0; position: relative; }
.section.pt-0 { padding-top: 0; }
.section-tight { padding: 0 0 120px; }
.bg-alt { background: var(--bg2); border-block: 1px solid var(--ln); }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.muted { color: var(--muted); }
.spacer-top { padding-top: 120px; }

/* ---------- logo (the site's own files; dark theme shows the 'dark' version) ---------- */
.logo { display: inline-flex; align-items: center; flex-shrink: 0; min-width: 0; }
.logo-img { height: 40px; width: auto; max-width: 220px; object-fit: contain; }
.site-logo-chip.logo-img { max-width: none; }
.site-wordmark.logo-img { height: auto; font-family: var(--fd); text-transform: uppercase; }
[data-theme="light"] .logo-on-dark { display: none !important; }
:root:not([data-theme="light"]) .logo-on-light { display: none !important; }

/* ---------- small UI ---------- */
.label {
   display: inline-flex; align-items: center; gap: 10px;
   font: 600 13px/1.2 var(--fb);
   letter-spacing: .14em; text-transform: uppercase;
   color: var(--acid-ink);
   margin-bottom: 22px;
}
.label::before {
   content: ""; flex-shrink: 0;
   width: 10px; height: 10px; border-radius: 50%;
   background: var(--acid);
   box-shadow: 0 0 0 4px var(--glow);
}
.hl { color: var(--acid-ink); }
[data-theme="light"] .hl { color: inherit; background: linear-gradient(transparent 62%, rgba(var(--accent-rgb), .35) 62%, rgba(var(--accent-rgb), .35) 92%, transparent 92%); }
.hl-box {
   display: inline-block;
   background: var(--acid); color: var(--on-acid);
   padding: .02em .22em .06em; border-radius: .18em;
   transform: rotate(-3deg);
}

.btn {
   display: inline-flex; align-items: center; justify-content: center; gap: 10px;
   padding: 17px 30px; border-radius: 999px;
   border: 1px solid transparent;
   font: 600 14px/1 var(--fb); letter-spacing: .08em; text-transform: uppercase;
   white-space: nowrap; cursor: pointer;
   transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s var(--ease);
}
.btn svg.ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg.ic { transform: rotate(45deg); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-acid, .btn-blue { background: var(--acid); color: var(--on-acid); }
.btn-acid:hover, .btn-blue:hover { background: var(--fg); color: var(--bg); }
.btn-line { border-color: var(--ln2); color: var(--fg); background: transparent; }
.btn-line:hover { background: var(--acid); border-color: var(--acid); color: var(--on-acid); }
.btn-dark { background: #0B0B0B; color: #fff; }
.btn-dark:hover { background: #fff; color: #0B0B0B; }
.btn-sm { padding: 13px 22px; font-size: 13px; }
.btn-block { width: 100%; }

.round-btn {
   width: 54px; height: 54px; border-radius: 50%;
   border: 1px solid var(--ln2); background: transparent;
   display: inline-flex; align-items: center; justify-content: center;
   color: var(--fg); flex-shrink: 0;
   transition: background .3s ease, color .3s ease, border-color .3s ease, transform .4s var(--ease);
}
.round-btn svg.ic { width: 22px; height: 22px; }
a.round-btn:hover, button.round-btn:hover { background: var(--acid); border-color: var(--acid); color: var(--on-acid); transform: rotate(45deg); }
.round-btn.acid { background: var(--acid); border-color: var(--acid); color: var(--on-acid); }
button.round-btn.acid:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.round-btn.dark { background: #0B0B0B; border-color: #0B0B0B; color: #fff; }
.round-btn.big { width: 76px; height: 76px; }
.round-btn.big svg.ic { width: 30px; height: 30px; }
.slider-nav button.round-btn:hover { transform: none; }

.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ln2); display: inline-flex; align-items: center; justify-content: center; transition: all .3s ease; }
.socials a svg.ic { width: 16px; height: 16px; }
.socials a:hover { background: var(--acid); border-color: var(--acid); color: var(--on-acid); transform: translateY(-3px); }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.tags span { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--ln2); font: 500 14px/1 var(--fb); transition: all .3s ease; }
.tags span:hover { background: var(--acid); color: var(--on-acid); border-color: var(--acid); }

.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 0 0 36px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 500; min-width: 0; }
.checks svg.ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--acid); color: var(--on-acid); stroke-width: 2.6; }

.sec-head { max-width: 760px; min-width: 0; }
.sec-head h2 { margin-bottom: 0; }
.sec-head p { margin-top: 20px; font-size: 18px; }
.sec-head.center { margin: 0 auto 64px; text-align: center; }
.sec-head.center .label { justify-content: center; }
.head-row, .sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 64px; }
.head-note { max-width: 420px; margin: 0; font-size: 17px; }
.lead { margin-top: 24px; font-size: 17px; }
.lead2 { font-size: 17px; }

/* ---------- reveal (.animate-this → .animated by the footer observer) ---------- */
.js-ready .animate-this { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-ready .animate-this.animated { opacity: 1; transform: none; }
@keyframes t9-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(2deg); } }
.float { animation: t9-float 7s ease-in-out infinite; }
.float.slow { animation-duration: 10s; }
@keyframes t9-spin { to { transform: rotate(360deg); } }
@keyframes lm-spin { to { transform: rotate(360deg); } }
@keyframes t9-pulse { 50% { box-shadow: 0 0 0 8px transparent; } }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px var(--glow); animation: t9-pulse 2s ease-in-out infinite; flex-shrink: 0; }
.lm-spinner { display: inline-block; width: 18px; height: 18px; border: 2.5px solid var(--ln2); border-top-color: var(--fg); border-radius: 50%; animation: lm-spin .8s linear infinite; }

/* ==========================================================================
   Header + side panel
   ========================================================================== */
.site-header {
   position: fixed; inset: 0 0 auto 0; z-index: 100;
   padding: 22px 0;
   border-bottom: 1px solid transparent;
   transition: padding .3s ease, background .3s ease, border-color .3s ease;
}
.site-header.scrolled {
   padding: 12px 0;
   background: var(--hdr);
   backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); /* the side panel is NOT inside the header */
   border-bottom-color: var(--ln);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.main-nav { display: flex; gap: 4px; padding: 6px; border: 1px solid var(--ln); border-radius: 999px; background: var(--ghost); }
.main-nav a { padding: 10px 16px; border-radius: 999px; font: 500 13px/1 var(--fb); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.main-nav a:hover { color: var(--acid-ink); }
.main-nav a.on { background: var(--fg); color: var(--bg); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.theme-btn {
   width: 46px; height: 46px; border-radius: 50%;
   border: 1px solid var(--ln2); background: transparent;
   display: inline-flex; align-items: center; justify-content: center;
   position: relative; overflow: hidden;
   transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.theme-btn:hover { background: var(--acid); border-color: var(--acid); color: var(--on-acid); }
.theme-btn span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: transform .45s var(--ease), opacity .3s ease; }
:root:not([data-theme="light"]) .t-moon,
[data-theme="light"] .t-sun { transform: translateY(120%) rotate(90deg); opacity: 0; }
.nav-toggle {
   width: 46px; height: 46px; border-radius: 50%; border: 0;
   background: var(--acid);
   display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--on-acid); border-radius: 2px; transition: width .3s ease, margin .3s ease; }
.nav-toggle span:nth-child(2) { width: 12px; margin-left: 6px; }
.nav-toggle:hover span:nth-child(2) { width: 18px; margin-left: 0; }

.nav-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 140; opacity: 0; visibility: hidden; transition: all .35s ease; }
.side-panel {
   position: fixed; top: 0; right: 0; bottom: 0; z-index: 150;
   width: min(440px, 100%);
   background: var(--card); border-left: 1px solid var(--ln);
   padding: 28px 32px 40px; overflow-y: auto;
   transform: translateX(105%); visibility: hidden;
   transition: transform .5s var(--ease), visibility .5s;
}
.nav-open .side-panel { transform: none; visibility: visible; }
.nav-open .nav-overlay { opacity: 1; visibility: visible; }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.nav-close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ln2); background: transparent; display: inline-flex; align-items: center; justify-content: center; transition: all .3s ease; flex-shrink: 0; }
.nav-close:hover { background: var(--acid); color: var(--on-acid); transform: rotate(90deg); }
.panel-nav { display: flex; flex-direction: column; margin-bottom: 28px; border-top: 1px solid var(--ln); }
.panel-nav a { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--ln); font: 700 24px/1.1 var(--fd); text-transform: uppercase; }
.panel-nav a svg.ic { color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.panel-nav a.on, .panel-nav a:hover { color: var(--acid-ink); }
.panel-nav a:hover svg.ic { transform: rotate(45deg); color: var(--acid-ink); }
.panel-about { font-size: 15px; margin-bottom: 24px; }
.panel-info { display: grid; gap: 16px; margin-bottom: 30px; }
.panel-info li { display: flex; gap: 14px; align-items: flex-start; min-width: 0; overflow-wrap: anywhere; }
.panel-info svg.ic { color: var(--acid-ink); margin-top: 3px; }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero { position: relative; padding: 170px 0 70px; overflow: hidden; }
.hero-glow {
   position: absolute; right: -10%; top: 0;
   width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
   background: radial-gradient(circle at 40% 40%, var(--glow), transparent 60%), radial-gradient(circle at 70% 70%, var(--glow2), transparent 55%);
   filter: blur(30px); pointer-events: none;
}
.hero-in { position: relative; min-height: 560px; }
.hero-text { position: relative; z-index: 2; }
.hero-title { font-size: clamp(44px, 11vw, 168px); line-height: .88; letter-spacing: -.035em; margin: 0 0 34px; }
.ht-line { display: block; }
.ht-outline { color: transparent; -webkit-text-stroke: 2px var(--outline); padding-left: .55em; }
.ht-small { display: flex; align-items: center; flex-wrap: wrap; gap: .3em; font-size: .34em; letter-spacing: -.01em; margin-top: .3em; }
.ht-pill { display: inline-flex; align-items: center; justify-content: center; width: 2.2em; height: 1.1em; border-radius: 999px; background: var(--acid); color: var(--on-acid); }
.ht-pill svg.ic { width: .7em; height: .7em; stroke-width: 2.4; }
.hero-lead { font-size: 18px; max-width: 470px; margin: 0; }
.hero-visual { position: absolute; right: -30px; top: 46%; transform: translateY(-50%); width: min(38vw, 540px); z-index: 1; }
.hero-obj { width: 100%; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .35)); }
.hero-ring { position: absolute; inset: 6%; border: 1px dashed var(--ln2); border-radius: 50%; animation: t9-spin 60s linear infinite; }
.hero-stat {
   position: absolute; left: -6%; bottom: 6%; z-index: 3;
   display: flex; align-items: center; gap: 16px;
   padding: 14px 26px 14px 14px; border-radius: 999px;
   background: var(--hdr); border: 1px solid var(--ln);
   box-shadow: var(--shadow);
}
.hero-stat strong { display: block; font: 700 40px/1 var(--fd); }
.hero-stat > div > span { font-size: 14px; color: var(--muted); }
.hero-chip {
   position: absolute; right: 4%; top: 4%; z-index: 3;
   display: inline-flex; align-items: center; gap: 10px;
   padding: 10px 18px; border-radius: 999px;
   background: var(--card); border: 1px solid var(--ln);
   font: 500 13px/1 var(--fb); box-shadow: var(--shadow);
}

/* search bar */
.hero-search {
   position: relative; z-index: 4;
   display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1.1fr) auto;
   align-items: stretch; gap: 0;
   margin-top: 48px; padding: 10px;
   border-radius: 34px; background: var(--card); border: 1px solid var(--ln2);
   box-shadow: var(--shadow);
}
.sf { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 10px 22px; min-width: 0; border-right: 1px solid var(--ln); }
.sf:nth-child(4) { border-right: 0; }
.sf-label { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--fb); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sf-label svg.ic { width: 15px; height: 15px; color: var(--acid-ink); }
.sf input { width: 100%; min-width: 0; padding: 4px 0; border: 0; background: transparent; color: var(--fg); font-size: 16px; outline: none; }
.sf input::placeholder { color: var(--muted); opacity: .8; }
.sf-loc { display: flex; align-items: center; gap: 8px; }
.sf .lm-dd-trigger { height: auto; padding: 4px 0; border: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 16px; }
.lm-locate { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ln2); background: transparent; color: var(--acid-ink); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .3s ease; }
.lm-locate svg.ic { width: 17px; height: 17px; }
.lm-locate:hover { background: var(--acid); border-color: var(--acid); color: var(--on-acid); }
.btn-search { border-radius: 26px; padding: 0 34px; min-height: 64px; }

/* ==========================================================================
   Marquees
   ========================================================================== */
.marquees { position: relative; padding: 46px 0; overflow: hidden; }
.mq { width: 110%; margin-left: -5%; overflow: hidden; }
.mq-acid { background: var(--acid); color: var(--on-acid); transform: rotate(-2.4deg); position: relative; z-index: 2; padding: 22px 0; }
.mq-outline { background: var(--card); border-block: 1px solid var(--ln); transform: rotate(2deg); margin-top: 6px; padding: 18px 0; }
.mq-track { display: flex; width: max-content; animation: t9-marquee 40s linear infinite; }
.mq-track.rev { animation-direction: reverse; }
.mq:hover .mq-track { animation-play-state: paused; }
.mq-row { display: flex; align-items: center; flex-shrink: 0; }
.mq-row span { font: 700 clamp(28px, 4vw, 54px)/1 var(--fd); text-transform: uppercase; letter-spacing: -.01em; padding: 0 30px; white-space: nowrap; }
.mq-outline .mq-row span { color: transparent; -webkit-text-stroke: 1.4px var(--outline); }
.mq-outline svg.t9-star { color: var(--acid-ink); }
@keyframes t9-marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Category cards
   ========================================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cat-card { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--ln); isolation: isolate; aspect-ratio: 4 / 5; }
.cat-thumb { position: absolute; inset: 0; z-index: -1; }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .1) 30%, rgba(0, 0, 0, .82)); }
.cat-card:hover .cat-thumb img { transform: scale(1.07); }
.cat-n { position: absolute; left: 22px; top: 18px; font: 700 46px/1 var(--fd); color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .8); }
.cat-text { position: absolute; left: 22px; right: 84px; bottom: 22px; display: flex; flex-direction: column; gap: 6px; color: #fff; }
.cat-text strong { font: 700 24px/1.05 var(--fd); text-transform: uppercase; letter-spacing: -.01em; }
.cat-text small { font-size: 14px; color: rgba(255, 255, 255, .75); }
.cat-go { position: absolute; right: 20px; bottom: 22px; width: 52px; height: 52px; border-radius: 50%; background: var(--acid); color: var(--on-acid); display: inline-flex; align-items: center; justify-content: center; transition: transform .5s var(--ease); }
.cat-card:hover .cat-go { transform: rotate(45deg); }

/* ==========================================================================
   Why us ("best agency" block)
   ========================================================================== */
.best { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.best-visual { position: relative; min-height: 540px; }
.best-sphere { width: 86%; margin: 0 auto; }
.best-sphere img { width: 100%; filter: grayscale(1) drop-shadow(0 50px 50px rgba(0, 0, 0, .35)); }
html img[src*="obj-sphere"] { filter: grayscale(1) drop-shadow(0 30px 40px rgba(0, 0, 0, .3)); } /* the design's sphere has a fixed-colour rim light: keep it neutral for every palette */
.best-card { position: absolute; left: 0; bottom: 0; width: 310px; padding: 30px; border-radius: var(--r); background: var(--acid); color: var(--on-acid); box-shadow: var(--shadow); }
.best-card h3 { color: var(--on-acid); font-size: 26px; margin-bottom: 10px; }
.best-card p { color: var(--on-acid); opacity: .75; font-size: 15px; margin-bottom: 0; }
.best-card-ic { display: inline-flex; width: 52px; height: 52px; border-radius: 50%; background: #0B0B0B; color: #fff; align-items: center; justify-content: center; margin-bottom: 20px; }
.best-card-ic svg.ic { width: 24px; height: 24px; }
.best-card .round-btn { position: absolute; right: 24px; top: 24px; }
.best-badge { position: absolute; right: 0; top: 30px; padding: 22px 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--ln); box-shadow: var(--shadow); text-align: center; }
.best-badge strong { display: block; font: 700 44px/1 var(--fd); color: var(--acid-ink); }
.best-badge span { font-size: 13px; color: var(--muted); }
.best-text > p { font-size: 17px; margin-top: 26px; }

/* ==========================================================================
   Trending rail + listing cards
   ========================================================================== */
.lm-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: -30px 0 36px; }
.category-chip { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--ln2); font: 600 13px/1 var(--fb); letter-spacing: .06em; text-transform: uppercase; transition: all .3s ease; }
.category-chip svg { width: 17px; height: 17px; flex-shrink: 0; }
.category-chip:hover { border-color: var(--acid); color: var(--acid-ink); }
.category-chip.active { background: var(--acid); border-color: var(--acid); color: var(--on-acid); }
.lm-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.lm-skel { height: 420px; border-radius: var(--r); background: linear-gradient(90deg, var(--card) 25%, var(--card2) 50%, var(--card) 75%); background-size: 200% 100%; animation: lm-shimmer 1.3s infinite; }
@keyframes lm-shimmer { to { background-position: -200% 0; } }
.lm-empty { grid-column: 1 / -1; text-align: center; padding: 40px; border-radius: var(--r); border: 1px dashed var(--ln2); }

.lm-card { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--r); background: var(--card); border: 1px solid var(--ln); overflow: hidden; transition: transform .4s var(--ease), border-color .4s ease; }
.lm-card:hover { transform: translateY(-6px); border-color: var(--ln2); }
.lm-card.is-premium { border-color: rgba(var(--accent-rgb), .55); }
.lm-card-media { position: relative; padding: 10px 10px 0; }
.lm-cover { position: relative; display: block; aspect-ratio: 16 / 11; border-radius: 18px; overflow: hidden; background: var(--card2); }
.lm-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.lm-cover img.lm-cover-img { transition: transform .8s var(--ease); }
.lm-card:hover .lm-cover img.lm-cover-img { transform: scale(1.06); }
.lm-badge { position: absolute; left: 22px; top: 22px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; background: var(--acid); color: var(--on-acid); font: 700 11px/1 var(--fb); letter-spacing: .1em; text-transform: uppercase; }
.lm-badge svg { fill: currentColor; }
.lm-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; min-width: 0; }
.lm-card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 12px; font: 600 11px/1.2 var(--fb); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lm-card-meta span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.lm-card-meta .ok { color: var(--acid-ink); }
.lm-card-title { font-size: 20px; line-height: 1.15; margin-bottom: 10px; overflow-wrap: anywhere; }
.lm-card-title a:hover { color: var(--acid-ink); }
.lm-card-addr { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.5; margin-bottom: 18px; min-width: 0; }
.lm-card-addr svg { margin-top: 3px; color: var(--acid-ink); }
.lm-card-addr span { min-width: 0; overflow-wrap: anywhere; }
.lm-card-actions { display: flex; gap: 10px; margin-top: auto; }
.lm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font: 600 12px/1 var(--fb); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: all .3s ease; }
.lm-btn-primary { flex: 1; background: var(--acid); color: var(--on-acid); }
.lm-btn-primary:hover { background: var(--fg); color: var(--bg); }
.lm-btn-icon { width: 46px; padding: 0; border-color: var(--ln2); color: var(--fg); flex-shrink: 0; }
.lm-btn-icon:hover { background: var(--acid); border-color: var(--acid); color: var(--on-acid); }
.lm-btn-icon svg { width: 18px; height: 18px; }

.lm-stars { display: inline-flex; letter-spacing: 1px; font-size: 15px; line-height: 1; }
.lm-stars .on { color: #FFB400; }
.lm-stars .off { color: var(--ln2); }

/* ==========================================================================
   How it works / process
   ========================================================================== */
.process { background: var(--bg2); border-block: 1px solid var(--ln); }
.proc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proc { position: relative; padding: 0 40px 10px; border-left: 1px solid var(--ln); min-width: 0; }
.proc:first-child { border-left: 0; padding-left: 0; }
.proc-n { display: block; font: 700 110px/1 var(--fd); color: transparent; -webkit-text-stroke: 1.5px var(--ln2); margin-bottom: 30px; transition: color .4s ease, -webkit-text-stroke-color .4s ease; }
.proc:hover .proc-n { color: var(--acid); -webkit-text-stroke-color: var(--acid); }
.proc h3 { font-size: 26px; margin-bottom: 16px; max-width: 320px; }
.proc p { margin-bottom: 28px; }

/* ==========================================================================
   Owners ("crafting") block
   ========================================================================== */
.craft-title { font-size: clamp(36px, 7.4vw, 118px); line-height: 1.04; text-align: center; margin-bottom: 80px; }
.craft-title .ct-line { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 .25em; }
.craft-av { display: inline-block; width: 1.6em; height: .9em; border-radius: 999px; overflow: hidden; border: 3px solid var(--acid); margin: 0 .05em; }
.craft-av img { width: 100%; height: 100%; object-fit: cover; }
.craft-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.craft-photo { position: relative; isolation: isolate; }
.craft-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); }
.craft-circle { position: absolute; z-index: -1; width: 190px; height: 190px; border-radius: 50%; background: var(--acid); left: -40px; top: -40px; }
.craft-counter { padding: 46px 30px; border-radius: var(--r); border: 1px solid var(--ln2); background: var(--card); text-align: center; align-self: center; }
.craft-counter strong { display: block; font: 700 clamp(64px, 7.4vw, 112px)/1 var(--fd); color: var(--acid-ink); letter-spacing: -.04em; }
.craft-counter > span { display: block; margin: 10px 0 28px; font: 600 15px/1.2 var(--fb); letter-spacing: .1em; text-transform: uppercase; }
.avatars { display: flex; justify-content: center; padding-left: 12px; }
.avatars img, .avatars span { width: 50px; height: 50px; border-radius: 50%; border: 3px solid var(--card); object-fit: cover; margin-left: -12px; }
.avatars span { display: inline-flex; align-items: center; justify-content: center; background: var(--acid); color: var(--on-acid); font: 700 22px/1 var(--fd); }
.craft-about h3 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 18px; }
.mini-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 28px 0 32px; padding-top: 24px; border-top: 1px solid var(--ln); }
.mini-stats strong { display: block; font: 700 36px/1 var(--fd); }
.mini-stats span { font-size: 14px; color: var(--muted); }

/* ==========================================================================
   Stats / benefits slider / banner
   ========================================================================== */
.stats { padding: 120px 0; }
.bg-alt + .stats, .craft + .stats { padding-top: 120px; }
.stats.spacer-top { padding-bottom: 120px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--ln); border-radius: var(--r); background: var(--card); }
.stat { padding: 44px 30px; border-left: 1px solid var(--ln); min-width: 0; }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font: 700 clamp(46px, 5.4vw, 84px)/1 var(--fd); letter-spacing: -.04em; margin-bottom: 10px; }
.stat:nth-child(odd) strong { color: var(--acid-ink); }
.stat > span { font: 500 15px/1.3 var(--fb); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.testi { padding-top: 0; }
.testi-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 70px; align-items: center; }
.testi-side h2 { margin-bottom: 26px; }
.testi-side p { font-size: 17px; margin-bottom: 32px; }
.slider-nav { display: flex; gap: 12px; }
.slider { overflow: hidden; min-width: 0; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; min-width: 0; margin: 0; opacity: 0; visibility: hidden; transform: translateX(30px); transition: opacity .6s ease, transform .6s var(--ease), visibility .6s; }
.slide.on, .slides > .slide:only-child { opacity: 1; visibility: visible; transform: none; }
.slider:not(.t9-ready) .slide:first-child { opacity: 1; visibility: visible; transform: none; }
.tcard { padding: 50px; border-radius: var(--r); background: var(--card); border: 1px solid var(--ln); position: relative; }
.t-quote { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; background: var(--acid); color: var(--on-acid); align-items: center; justify-content: center; margin-bottom: 30px; }
.t-quote svg.ic { width: 28px; height: 28px; }
.tcard-text { margin: 0 0 36px; font: 500 clamp(20px, 2.2vw, 28px)/1.45 var(--fd); color: var(--fg); }
.tcard-foot { padding-top: 26px; border-top: 1px solid var(--ln); }
.tcard-foot strong { display: block; font: 700 20px/1.2 var(--fd); text-transform: uppercase; }
.tcard-foot span { font-size: 14px; color: var(--muted); }
.dots { display: flex; gap: 8px; margin-top: 24px; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: var(--ln2); transition: all .3s ease; }
.dots button.on { width: 34px; background: var(--acid); }

.banner { padding-bottom: 120px; }
.banner-box { position: relative; isolation: isolate; border-radius: 32px; overflow: hidden; height: clamp(360px, 44vw, 600px); }
.banner-box > img { width: 100%; height: 100%; object-fit: cover; }
.banner-box::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 25%, rgba(0, 0, 0, .8)); }
.banner-txt { position: absolute; left: 48px; right: 48px; bottom: 44px; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.banner-txt .label { width: 100%; margin-bottom: 0; color: #fff; }
.banner-txt h2 { color: #fff; font-size: clamp(30px, 5vw, 72px); max-width: 780px; }
.banner-txt h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 2px #fff; }

/* ==========================================================================
   Blog cards
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.post-card { display: flex; flex-direction: column; min-width: 0; }
.pc-img { position: relative; display: block; aspect-ratio: 16 / 11; border-radius: var(--r); overflow: hidden; margin-bottom: 22px; background: var(--card2); }
.pc-img img.lm-cover-img { transition: transform .8s var(--ease); }
.post-card:hover .pc-img img.lm-cover-img { transform: scale(1.06); }
.pc-cat { position: absolute; left: 18px; top: 18px; max-width: calc(100% - 36px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: var(--acid); color: var(--on-acid); font: 600 12px/1 var(--fb); letter-spacing: .08em; text-transform: uppercase; }
.pc-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.pc-meta span { display: inline-flex; align-items: center; gap: 7px; }
.pc-meta svg.ic { width: 16px; height: 16px; color: var(--acid-ink); }
.post-card h3 { font-size: 22px; line-height: 1.2; margin-bottom: 14px; overflow-wrap: anywhere; }
.post-card h3 a:hover, a.post-card:hover h3 { color: var(--acid-ink); }
.post-card .pc-body p { font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font: 600 13px/1 var(--fb); letter-spacing: .08em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 2px solid var(--acid); color: var(--fg); }
.link-arrow svg.ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.post-card:hover .link-arrow svg.ic { transform: rotate(45deg); }

/* ==========================================================================
   Inner page hero
   ========================================================================== */
.phero { position: relative; padding: 180px 0 80px; overflow: hidden; border-bottom: 1px solid var(--ln); }
.phero-glow { position: absolute; right: -10%; top: -20%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(circle, var(--glow), transparent 62%); pointer-events: none; }
.phero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 40px; align-items: center; }
.phero h1 { font-size: clamp(44px, 8.4vw, 132px); line-height: .92; letter-spacing: -.035em; margin-bottom: 24px; overflow-wrap: anywhere; }
.phero-sub { font-size: 18px; max-width: 580px; }
.crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 10px; padding: 12px 22px; border-radius: 22px; border: 1px solid var(--ln2); font: 500 13px/1.3 var(--fb); text-transform: uppercase; letter-spacing: .06em; max-width: 100%; }
.crumbs a:hover { color: var(--acid-ink); }
.c-sep { color: var(--muted); }
.c-cur { color: var(--acid-ink); overflow-wrap: anywhere; }
.phero-obj { position: relative; }
.phero-obj img { position: relative; width: 100%; max-width: 340px; margin-left: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .3)); }
.phero-ring { position: absolute; inset: 4%; border: 1px dashed var(--ln2); border-radius: 50%; animation: t9-spin 60s linear infinite; }
/* fullpost: compact, no animation, article on the first screen */
.phero-post { padding: 140px 0 44px; }
.phero-post h1 { font-size: clamp(28px, 4.4vw, 60px); line-height: 1.02; margin-bottom: 18px; }
.phero-post .phero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 200px); }
.phero-post .phero-obj img { max-width: 200px; }
/* business details */
.biz-hero h1 { font-size: clamp(36px, 6.4vw, 96px); }
.crumbs-top { margin: 0 0 26px; }
.biz-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 28px; color: var(--muted); }
.biz-meta span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.biz-meta b { color: var(--fg); }
.biz-meta svg.ic { color: var(--acid-ink); }
.biz-acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Directory (listing.php)
   ========================================================================== */
.dir-layout { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 40px; align-items: start; }
.dir-side { position: sticky; top: 100px; display: grid; gap: 24px; }
.filters { padding: 30px; border-radius: var(--r); background: var(--card); border: 1px solid var(--ln); }
.filters h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 24px; }
.filters h3 svg.ic { color: var(--acid-ink); }
.f-group { margin-bottom: 18px; }
.f-group label, .f-title { display: block; margin-bottom: 8px; font: 600 12px/1.2 var(--fb); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.f-ico { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 16px; height: 52px; border-radius: 14px; border: 1px solid var(--ln2); background: var(--bg); transition: border-color .3s ease, box-shadow .3s ease; }
.f-ico:focus-within { border-color: var(--acid); box-shadow: 0 0 0 4px var(--glow); }
.f-ico > svg.ic { width: 18px; height: 18px; color: var(--acid-ink); }
.f-ico input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--fg); outline: none; font-size: 15px; }
.reset-link { display: block; margin-top: 14px; text-align: center; font-size: 14px; color: var(--muted); text-decoration: underline; }
.reset-link:hover { color: var(--acid-ink); }
.side-cta { padding: 30px; border-radius: var(--r); background: var(--acid); color: var(--on-acid); }
.side-cta .label { color: var(--on-acid); }
.side-cta .label::before { background: var(--on-acid); box-shadow: none; }
.side-cta h4, .side-cta h3 { color: var(--on-acid); font-size: 24px; line-height: 1.1; margin-bottom: 12px; }
.side-cta p { color: var(--on-acid); opacity: .75; font-size: 15px; }
.lm-results-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }
.lm-results-head h2 { font-size: clamp(26px, 3vw, 42px); overflow-wrap: anywhere; min-width: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--ln2); font-size: 14px; max-width: 100%; overflow-wrap: anywhere; }
.chip svg.ic { width: 16px; height: 16px; color: var(--acid-ink); }
.lm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lm-grid > .empty-state { grid-column: 1 / -1; }
.lm-loadmore { text-align: center; margin-top: 44px; }
.lm-loadmore .btn { min-width: 200px; }
.empty-state { text-align: center; padding: 60px 30px; border-radius: var(--r); background: var(--card); border: 1px dashed var(--ln2); }
.empty-icon { display: inline-flex; width: 72px; height: 72px; border-radius: 50%; background: var(--acid); color: var(--on-acid); align-items: center; justify-content: center; margin-bottom: 22px; }
.empty-icon svg.ic { width: 30px; height: 30px; }
.empty-state h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 14px; }
.empty-state p { margin-bottom: 26px; }

/* ==========================================================================
   Business details
   ========================================================================== */
.td-gallery { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 12px; margin-bottom: 30px; }
.td-gallery > a, .td-gallery > div { position: relative; display: block; border-radius: 18px; overflow: hidden; background: var(--card2); }
.td-gallery .g-main { grid-column: span 2; grid-row: span 2; }
.td-gallery.n1 .g-main { grid-column: 1 / -1; }
.td-gallery.n2 > a { grid-column: span 2; grid-row: span 2; }
.td-gallery.n3 > a:not(.g-main) { grid-column: span 2; }
.td-gallery.n4 > a:nth-child(4) { grid-column: span 2; }
.g-count { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--hdr); border: 1px solid var(--ln); font: 600 13px/1 var(--fb); }
.td-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--ln); border-radius: var(--r); background: var(--card); margin-bottom: 50px; }
.td-facts > div { display: flex; align-items: center; gap: 16px; padding: 26px; border-left: 1px solid var(--ln); min-width: 0; }
.td-facts > div:first-child { border-left: 0; }
.td-facts svg.ic { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--acid); color: var(--on-acid); }
.td-facts span { min-width: 0; }
.td-facts small { display: block; font: 600 11px/1.2 var(--fb); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.td-facts strong { display: block; font: 700 18px/1.25 var(--fd); overflow-wrap: anywhere; }
.td-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 50px; align-items: start; }
.td-block { padding: 40px; border-radius: var(--r); background: var(--card); border: 1px solid var(--ln); margin-bottom: 24px; }
.td-block h2 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 22px; }
.desc { font-size: 16px; overflow-wrap: anywhere; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: 14px 0; border-bottom: 1px solid var(--ln); text-align: left; font-size: 15px; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { display: flex; align-items: center; gap: 10px; font-weight: 600; text-transform: capitalize; }
.hours-table th svg.ic { width: 16px; height: 16px; color: var(--acid-ink); }
.hours-table td { text-align: right; color: var(--muted); }
.rating-sum { display: flex; align-items: center; gap: 20px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--ln); }
.rating-sum .big { font: 700 64px/1 var(--fd); color: var(--acid-ink); }
.rating-sum .lm-stars { font-size: 20px; }
.rating-sum p { margin: 6px 0 0; font-size: 14px; }
.lm-reviews { display: grid; gap: 22px; }
.review { display: flex; gap: 16px; min-width: 0; }
.review > div { min-width: 0; flex: 1; }
.review h4 { font-size: 16px; margin-bottom: 4px; }
.review small { color: var(--muted); font-size: 13px; margin-right: 8px; }
.review p { margin: 8px 0 0; font-size: 15px; overflow-wrap: anywhere; }
.reply { margin-top: 10px; padding: 12px 16px; border-radius: 12px; background: var(--card2); font-size: 14px; color: var(--muted); }
.reply b { color: var(--fg); }
.lm-avatar { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; flex-shrink: 0; background: var(--brand); border: 1px solid var(--ln2); }
.tone-0 { --tone: var(--brand); } .tone-1 { --tone: var(--accent-aa); } .tone-2 { --tone: #0F8F78; } .tone-3 { --tone: var(--brand-2); } .tone-4 { --tone: var(--accent-2); } .tone-5 { --tone: #3A3A44; }
.lm-avatar[class*="tone-"] { background: var(--tone); }
.lm-sticky { position: sticky; top: 100px; }
.book-card { border-radius: var(--r); background: var(--card); border: 1px solid var(--ln); overflow: hidden; }
.book-head { padding: 30px 30px 24px; background: var(--acid); color: var(--on-acid); }
.book-head small { font: 600 12px/1 var(--fb); letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.book-head h3 { color: var(--on-acid); font-size: 26px; margin-top: 8px; overflow-wrap: anywhere; }
.book-contact { display: grid; gap: 14px; padding: 24px 30px; border-bottom: 1px solid var(--ln); }
.book-contact li { display: flex; align-items: flex-start; gap: 12px; min-width: 0; font-size: 15px; }
.book-contact li > * { min-width: 0; overflow-wrap: anywhere; }
.book-contact svg.ic { width: 18px; height: 18px; margin-top: 3px; color: var(--acid-ink); }
.book-contact a:hover { color: var(--acid-ink); }
.book-body { padding: 26px 30px 10px; }
.book-note { font-size: 15px; }
.book-trust { display: grid; gap: 10px; padding: 18px 30px 26px; font-size: 13px; color: var(--muted); }
.book-trust span { display: flex; align-items: center; gap: 10px; }
.book-trust svg.ic { width: 16px; height: 16px; color: var(--acid-ink); }

/* forms */
.lm-form { display: grid; gap: 14px; }
.lm-form .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lm-input, .lm-textarea, .side-search .input {
   width: 100%; min-width: 0;
   padding: 16px 20px; border-radius: 14px;
   border: 1px solid var(--ln2); background: var(--bg); color: var(--fg);
   font: 400 15px/1.4 var(--fb);
   transition: border-color .3s ease, box-shadow .3s ease;
}
.lm-textarea { min-height: 130px; resize: vertical; }
.lm-input:focus, .lm-textarea:focus, .side-search .input:focus { outline: none; border-color: var(--acid); box-shadow: 0 0 0 4px var(--glow); }
.lm-input::placeholder, .lm-textarea::placeholder { color: var(--muted); }

/* ==========================================================================
   Blogs + full post
   ========================================================================== */
.lm-blog-filter { width: min(340px, 100%); }
.lm-blog-filter .f-title { display: flex; align-items: center; gap: 8px; }
.lm-blog-filter .f-title svg.ic { width: 16px; height: 16px; color: var(--acid-ink); }
#blogsGrid .blog-card { color: inherit; }
#noBlogsMsg { margin-top: 30px; }

.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 60px; align-items: start; }
.article-cover { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; margin-bottom: 28px; background: var(--card2); }
.lm-article > .pc-meta { margin-bottom: 26px; }
.blog-content { font-size: 17px; line-height: 1.8; color: var(--muted); overflow-wrap: anywhere; }
.blog-content h1, .blog-content h2, .blog-content h3, .blog-content h4 { margin: 1.6em 0 .6em; line-height: 1.1; }
.blog-content h1, .blog-content h2 { font-size: clamp(26px, 3vw, 38px); }
.blog-content h3 { font-size: 24px; }
.blog-content p { margin: 0 0 1.2em; }
.blog-content a { color: var(--acid-ink); text-decoration: underline; }
.blog-content img { border-radius: 18px; margin: 1.4em 0; height: auto; }
.blog-content ul, .blog-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.blog-content ul { list-style: disc; }
.blog-content li { margin-bottom: .5em; }
.blog-content li::marker { color: var(--acid-ink); }
.blog-content blockquote { margin: 1.6em 0; padding: 28px 32px; border-radius: var(--r); background: var(--card); border-left: 4px solid var(--acid); font: 500 20px/1.5 var(--fd); color: var(--fg); }
.blog-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.blog-content th, .blog-content td { padding: 10px 14px; border: 1px solid var(--ln); }
.blog-content strong, .blog-content b { color: var(--fg); }
.lm-comments { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--ln); }
.lm-comments > h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 26px; }
#commentsList { display: grid; gap: 16px; margin-bottom: 40px; }
.lm-comment { padding: 22px 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--ln); min-width: 0; }
.lm-comment .who { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.lm-comment .lm-avatar { width: 40px; height: 40px; font-size: 14px; }
.lm-comment p { margin: 0 0 8px; overflow-wrap: anywhere; }
.reply-btn { padding: 0; border: 0; background: transparent; font: 600 12px/1 var(--fb); letter-spacing: .1em; text-transform: uppercase; color: var(--acid-ink); }
.reply-form { display: grid; gap: 10px; margin-top: 14px; }
.replies { display: grid; gap: 12px; margin-top: 16px; padding-left: 18px; border-left: 2px solid var(--ln2); }
.replies .lm-comment { background: var(--card2); }
.form-card { padding: 40px; border-radius: var(--r); background: var(--card); border: 1px solid var(--ln); }
.form-card h3 { font-size: 28px; margin-bottom: 10px; }
.form-card .label { margin-bottom: 14px; }
.sidebar-box { padding: 30px; border-radius: var(--r); background: var(--card); border: 1px solid var(--ln); margin-bottom: 24px; }
.sidebar-box > h3 { font-size: 20px; margin-bottom: 20px; }
.side-search { display: flex; gap: 10px; }
.side-search .btn { padding: 0; width: 54px; flex-shrink: 0; }
.mini-post { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; margin-bottom: 8px; transition: background .3s ease; }
.mini-post:hover { background: var(--card2); }
.mini-post .sq { position: relative; width: 72px; height: 72px; flex-shrink: 0; border-radius: 14px; overflow: hidden; background: var(--card2); display: block; }
.mini-post > span:last-child { min-width: 0; }
.mini-post strong { display: block; font: 600 15px/1.35 var(--fb); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-post small { color: var(--muted); font-size: 13px; }
.sidebar-box.side-cta { padding: 0; overflow: hidden; border: 0; background: var(--acid); }
.sidebar-box.side-cta img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.sidebar-box.side-cta > div { padding: 26px 30px 30px; }

/* ==========================================================================
   About
   ========================================================================== */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 70px; align-items: center; }
.media-stack { position: relative; }
.media-stack .ms-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.media-stack .ms-obj { position: absolute; right: -40px; bottom: -40px; width: 44%; }
.media-stack .ms-tag { position: absolute; left: 24px; top: 24px; padding: 16px 22px; border-radius: 18px; background: var(--acid); color: var(--on-acid); font: 700 15px/1.2 var(--fd); text-transform: uppercase; }
.media-stack .ms-tag strong { display: block; font-size: 40px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.value { padding: 36px; border-radius: var(--r); background: var(--card); border: 1px solid var(--ln); transition: transform .4s var(--ease), background .4s ease; min-width: 0; }
.value:hover { transform: translateY(-6px); }
.value h3 { margin-bottom: 12px; }
.svc-ic { width: 66px; height: 66px; border-radius: 50%; background: var(--card2); color: var(--acid-ink); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 26px; flex-shrink: 0; }
.svc-ic svg.ic { width: 28px; height: 28px; }
.about-owner { max-width: 520px; justify-self: end; width: 100%; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.lm-toggle { display: inline-flex; gap: 4px; margin-top: 32px; padding: 6px; border-radius: 999px; border: 1px solid var(--ln2); background: var(--card); }
.lm-toggle button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border: 0; border-radius: 999px; background: transparent; font: 600 13px/1 var(--fb); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: all .3s ease; }
.lm-toggle button.on { background: var(--fg); color: var(--bg); }
.lm-toggle .save { padding: 4px 8px; border-radius: 999px; background: var(--acid); color: var(--on-acid); font-size: 11px; }
.lm-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.lm-plan { position: relative; display: flex; flex-direction: column; padding: 44px 38px; border-radius: var(--r); background: var(--card); border: 1px solid var(--ln); transition: transform .4s var(--ease); min-width: 0; }
.lm-plan:hover { transform: translateY(-6px); }
.lm-plan.featured { background: var(--acid); border-color: var(--acid); color: var(--on-acid); }
.lm-plan.featured h3, .lm-plan.featured .price, .lm-plan.featured li, .lm-plan.featured .for { color: var(--on-acid); }
.lm-plan .ribbon { position: absolute; right: 26px; top: 26px; padding: 8px 14px; border-radius: 999px; background: #0B0B0B; color: #fff; font: 600 11px/1 var(--fb); letter-spacing: .1em; text-transform: uppercase; }
.plan-head h3 { font-size: 28px; margin-bottom: 10px; padding-right: 110px; }
.lm-plan:not(.featured) .plan-head h3 { padding-right: 0; }
.plan-head .for { font-size: 15px; }
.lm-plan.featured .for { opacity: .75; }
.lm-plan .price { font: 700 64px/1 var(--fd); letter-spacing: -.04em; margin: 16px 0 30px; padding-bottom: 30px; border-bottom: 1px solid var(--ln); }
.lm-plan.featured .price { border-bottom-color: rgba(11, 11, 11, .15); }
.lm-plan .price small { font: 500 15px/1 var(--fb); color: var(--muted); letter-spacing: 0; }
.lm-plan.featured .price small { color: var(--on-acid); opacity: .7; }
.lm-plan ul { display: grid; gap: 14px; margin-bottom: 36px; flex: 1; }
.lm-plan li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.lm-plan li svg.ic { width: 22px; height: 22px; color: var(--acid-ink); }
.lm-plan.featured li svg.ic { color: var(--on-acid); }
.lm-plan li.off { color: var(--muted); text-decoration: line-through; }
.lm-plan li.off svg.ic { color: var(--muted); }
.lm-plan.featured li.off { opacity: .55; }
.lm-plan.featured .btn-acid { background: #0B0B0B; color: #fff; }
.lm-plan.featured .btn-acid:hover { background: #fff; color: #0B0B0B; }
.lm-table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--ln); background: var(--card); }
.lm-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.lm-table th, .lm-table td { padding: 20px 26px; text-align: center; border-bottom: 1px solid var(--ln); }
.lm-table th { font: 700 15px/1.2 var(--fd); text-transform: uppercase; letter-spacing: .04em; }
.lm-table th:first-child, .lm-table td:first-child { text-align: left; }
.lm-table tbody tr:last-child td { border-bottom: 0; }
.lm-yes, .lm-no { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; }
.lm-yes { background: var(--acid); color: var(--on-acid); }
.lm-no { background: var(--card2); color: var(--muted); }
.lm-dialog { border: 1px solid var(--ln2); padding: 0; border-radius: var(--r); width: min(520px, calc(100vw - 32px)); background: var(--card); color: var(--fg); box-shadow: var(--shadow); }
.lm-dialog::backdrop { background: rgba(0, 0, 0, .65); }
.lm-dialog-head { position: relative; padding: 30px 30px 24px; background: var(--acid); color: var(--on-acid); }
.lm-dialog-head h3 { color: var(--on-acid); font-size: 26px; padding-right: 40px; }
.lm-dialog-head p { color: var(--on-acid); opacity: .75; font-size: 15px; margin: 8px 0 0; }
.lm-dialog-head .plan { display: inline-block; margin-top: 14px; padding: 6px 14px; border-radius: 999px; background: #0B0B0B; color: #fff; font: 600 13px/1.2 var(--fb); }
.lm-dialog-head .plan:empty { display: none; }
.lm-dialog-close { position: absolute; right: 18px; top: 18px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #0B0B0B; color: #fff; display: grid; place-items: center; }
.lm-dialog-body { padding: 26px 30px 30px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 60px; align-items: start; }
.c-cards { display: grid; gap: 16px; margin-top: 36px; }
.c-card { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--ln); min-width: 0; transition: border-color .3s ease; }
a.c-card:hover { border-color: var(--acid); }
.c-card .svc-ic { width: 56px; height: 56px; margin: 0; }
.c-card .svc-ic svg.ic { width: 24px; height: 24px; }
.c-card div { min-width: 0; }
.c-card div > span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.c-card strong { font: 600 17px/1.4 var(--fb); overflow-wrap: anywhere; }
.form-box { padding: 50px; border-radius: var(--r); background: var(--card); border: 1px solid var(--ln); }
.form-box h2 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 14px; }
.form-box > p { margin-bottom: 28px; }
.form-box .btn { justify-self: start; }
.map-box { border-radius: var(--r); overflow: hidden; height: 360px; background: var(--card); border: 1px solid var(--ln); position: relative; }
.map-box svg.map-art { width: 100%; height: 100%; display: block; }
.map-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.map-pin b { width: 56px; height: 56px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--acid); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px var(--glow); }
.map-pin b svg.ic { width: 24px; height: 24px; transform: rotate(45deg); color: var(--on-acid); }
.map-pin span { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--ln); font: 600 13px/1 var(--fb); white-space: nowrap; }

/* ==========================================================================
   Terms
   ========================================================================== */
.lm-prose { max-width: 900px; margin: 0 auto; padding: 56px; border-radius: var(--r); background: var(--card); border: 1px solid var(--ln); }
.lm-prose h2 { font-size: clamp(28px, 3.4vw, 46px); margin-bottom: 24px; }
.lm-prose h3 { margin: 34px 0 14px; }
.lm-prose a { color: var(--acid-ink); text-decoration: underline; overflow-wrap: anywhere; }
.lm-prose ul { display: grid; gap: 12px; margin: 0 0 22px; }
.lm-prose ul li { position: relative; padding-left: 26px; color: var(--muted); }
.lm-prose ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--acid); }
.lm-prose ul.sub { padding-left: 26px; }
.lm-prose ul.sub li::before { background: transparent; border: 2px solid var(--acid); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; padding: 110px 0 0; background: var(--bg2); border-top: 1px solid var(--ln); overflow: hidden; }
.f-cta { padding-bottom: 80px; border-bottom: 1px solid var(--ln); }
.f-big { display: flex; align-items: center; flex-wrap: wrap; gap: 0 .3em; font: 700 clamp(40px, 8.4vw, 140px)/.95 var(--fd); text-transform: uppercase; letter-spacing: -.04em; color: var(--fg); }
.f-big em { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--outline); transition: color .4s ease, -webkit-text-stroke-color .4s ease; }
.f-big:hover em { color: var(--acid); -webkit-text-stroke-color: var(--acid); }
.f-big-btn { display: inline-flex; width: .9em; height: .9em; border-radius: 50%; background: var(--acid); color: var(--on-acid); align-items: center; justify-content: center; transition: transform .5s var(--ease); }
.f-big-btn svg.ic { width: .45em; height: .45em; stroke-width: 2.2; }
.f-big:hover .f-big-btn { transform: rotate(45deg); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .9fr) minmax(0, 1.3fr); gap: 50px; padding: 70px 0 40px; }
.f-about p { margin: 22px 0 26px; max-width: 360px; }
.f-col h4 { font-size: 18px; margin-bottom: 22px; }
.f-col ul { display: grid; gap: 12px; }
.f-col ul a { color: var(--muted); }
.f-col ul a:hover { color: var(--acid-ink); }
.f-contact li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.f-contact svg.ic { width: 18px; height: 18px; margin-top: 4px; color: var(--acid-ink); }
.f-news { display: flex; margin-top: 24px; padding: 6px; border-radius: 999px; border: 1px solid var(--ln2); background: var(--bg); }
.f-news input { flex: 1; min-width: 0; padding: 10px 16px; border: 0; background: transparent; color: var(--fg); font: 400 15px/1 var(--fb); outline: none; }
.f-news button { width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--acid); color: var(--on-acid); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.f-word { font: 700 clamp(70px, 20vw, 320px)/.8 var(--fd); text-transform: uppercase; letter-spacing: -.05em; text-align: center; color: transparent; -webkit-text-stroke: 1px var(--ln2); white-space: nowrap; user-select: none; margin-bottom: -.06em; overflow: hidden; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; padding: 28px 0; border-top: 1px solid var(--ln); position: relative; z-index: 1; }
.footer-bottom p { margin: 0; font-size: 14px; }
.f-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.f-links a:hover { color: var(--acid-ink); }
.back-top {
   position: fixed; right: 24px; bottom: 24px; z-index: 90;
   width: 52px; height: 52px; border-radius: 50%; border: 0;
   background: var(--acid); color: var(--on-acid);
   display: inline-flex; align-items: center; justify-content: center;
   opacity: 0; visibility: hidden; transform: translateY(20px);
   transition: all .4s var(--ease); box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }

/* ==========================================================================
   Custom dropdown (js/lm-select.js) — the panel is appended to <body>
   ========================================================================== */
.lm-dd { position: relative; min-width: 0; }
.lm-dd > select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.lm-dd-trigger { width: 100%; height: 52px; padding: 0 14px 0 16px; border-radius: 14px; border: 1px solid var(--ln2); background: var(--bg); display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; font-size: 15px; color: var(--fg); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.lm-dd-trigger .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.lm-dd-trigger.placeholder .txt { color: var(--muted); }
.lm-dd-trigger .chev { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); transition: transform .2s; }
.lm-dd-trigger:hover { border-color: var(--acid); }
.lm-dd-trigger:focus-visible, .lm-dd.open .lm-dd-trigger { outline: none; border-color: var(--acid); box-shadow: 0 0 0 4px var(--glow); }
.lm-dd.open .chev { transform: rotate(180deg); color: var(--acid-ink); }
.lm-dd-panel { position: fixed; z-index: 1000; display: flex; flex-direction: column; overflow: hidden; background: var(--dd-bg); border: 1px solid var(--ln2); border-top: 3px solid var(--acid); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); color: var(--fg); font-family: var(--fb); animation: lm-dd-in .16s ease; }
.lm-dd-search { position: relative; padding: 10px; border-bottom: 1px solid var(--ln); }
.lm-dd-search svg { position: absolute; left: 22px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); }
.lm-dd-search input { width: 100%; height: 42px; padding: 0 12px 0 36px; border: 1px solid var(--ln2); border-radius: 12px; background: var(--bg); color: var(--fg); font-size: 14px; outline: none; }
.lm-dd-search input:focus { border-color: var(--acid); }
.lm-dd-list { overflow-y: auto; padding: 6px; overscroll-behavior: contain; margin: 0; list-style: none; }
.lm-dd-list::-webkit-scrollbar { width: 8px; }
.lm-dd-list::-webkit-scrollbar-thumb { background: var(--ln2); border-radius: 8px; }
.lm-dd-list li { position: relative; padding: 9px 34px 9px 12px; border-radius: 10px; font-size: 15px; cursor: pointer; line-height: 1.35; }
.lm-dd-list li.act { background: var(--card2); color: var(--acid-ink); }
.lm-dd-list li.sel { color: var(--acid-ink); font-weight: 600; background: var(--ghost); }
.lm-dd-list li.sel::after { content: ""; position: absolute; right: 14px; top: 50%; width: 10px; height: 5px; border-left: 2px solid var(--acid-ink); border-bottom: 2px solid var(--acid-ink); transform: translateY(-70%) rotate(-45deg); }
.lm-dd-list li[hidden] { display: none; }
.lm-dd-list .lm-dd-empty { color: var(--muted); cursor: default; text-align: center; }
@keyframes lm-dd-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
   .main-nav { display: none; }
   .cat-grid, .lm-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
   .lm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
   .post-grid, .lm-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
   .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
   .craft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
   .craft-about { grid-column: 1 / -1; }
   .stats-grid, .td-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
   .stat:nth-child(3), .td-facts > div:nth-child(3) { border-left: 0; }
   .stat:nth-child(n+3), .td-facts > div:nth-child(n+3) { border-top: 1px solid var(--ln); }
   .hero-search { grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 28px; }
   .hero-search .btn-search { grid-column: 1 / -1; margin-top: 8px; min-height: 56px; }
   .sf:nth-child(4) { border-right: 0; }
   .td-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 36px; }
}

@media (max-width: 991px) {
   .section { padding: 90px 0; }
   .stats, .bg-alt + .stats, .craft + .stats { padding: 90px 0; }
   .banner { padding-bottom: 90px; }
   .section-tight { padding-bottom: 90px; }
   .spacer-top { padding-top: 90px; }
   .hero { padding: 140px 0 60px; }
   .hero-in { min-height: 0; }
   .hero-visual { position: relative; right: auto; top: auto; transform: none; width: min(460px, 90%); margin: 30px auto 0; }
   .hero-stat { left: 0; }
   .hero-search { grid-template-columns: minmax(0, 1fr); padding: 14px; }
   .sf { border-right: 0; border-bottom: 1px solid var(--ln); padding: 12px 10px; }
   .best, .split, .testi-wrap, .contact-grid, .blog-layout, .td-layout, .dir-layout { grid-template-columns: minmax(0, 1fr); gap: 50px; }
   .dir-side, .lm-sticky { position: static; }
   .best-visual { min-height: 0; padding-bottom: 120px; }
   .proc-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
   .proc, .proc:first-child { border-left: 0; padding: 30px 0 0; border-top: 1px solid var(--ln); }
   .proc-n { font-size: 80px; margin-bottom: 20px; }
   .values { grid-template-columns: minmax(0, 1fr); }
   .phero { padding: 140px 0 60px; }
   .phero-in, .phero-post .phero-in { grid-template-columns: minmax(0, 1fr); }
   .phero-obj { display: none; }
   .phero-post { padding: 116px 0 30px; }
   .media-stack .ms-obj { right: -10px; bottom: -30px; }
   .about-owner { justify-self: start; }
}

@media (max-width: 640px) {
   .container { padding: 0 16px; }
   .section { padding: 72px 0; }
   .stats, .bg-alt + .stats, .craft + .stats { padding: 72px 0; }
   .stats.spacer-top { padding-bottom: 72px; }
   .banner { padding-bottom: 72px; }
   .section-tight { padding-bottom: 72px; }
   .spacer-top { padding-top: 72px; }
   .head-row, .sec-head-row { margin-bottom: 40px; }
   .sec-head.center { margin-bottom: 44px; }
   .h-cta { display: none; }
   .site-header { padding: 14px 0; }
   .logo-img { height: 34px; max-width: 170px; }
   .theme-btn, .nav-toggle { width: 42px; height: 42px; }
   .header-actions { gap: 8px; }
   .side-panel { padding: 22px 20px 32px; }
   .hero { padding: 120px 0 50px; }
   .ht-outline { padding-left: 0; -webkit-text-stroke-width: 1.4px; }
   .ht-small { font-size: .5em; }
   .hero-stat { padding: 10px 18px 10px 10px; gap: 12px; }
   .hero-stat strong { font-size: 30px; }
   .round-btn.big { width: 58px; height: 58px; }
   .hero-chip { display: none; }
   .mq-row span { padding: 0 18px; }
   svg.t9-star { width: 24px; height: 24px; }
   .cat-grid { grid-template-columns: minmax(0, 1fr); }
   .cat-card { aspect-ratio: 4 / 3; }
   .lm-chips { margin-top: -10px; }
   .lm-rail, .lm-grid, .post-grid, .lm-plans, .footer-grid, .craft-grid, .stats-grid, .td-facts, .lm-form .two { grid-template-columns: minmax(0, 1fr); }
   .best-card { width: auto; right: 0; padding: 24px; }
   .best-badge { padding: 16px 18px; top: 0; }
   .best-badge strong { font-size: 32px; }
   .checks { grid-template-columns: minmax(0, 1fr); }
   .craft-circle { width: 120px; height: 120px; left: -16px; top: -16px; }
   .stat, .td-facts > div { border-left: 0 !important; border-top: 1px solid var(--ln); padding: 26px 22px; }
   .stat:first-child, .td-facts > div:first-child { border-top: 0; }
   .tcard { padding: 30px 24px; }
   .banner-txt { left: 22px; right: 22px; bottom: 24px; }
   .lm-plan { padding: 36px 26px; }
   .form-box, .form-card, .td-block, .lm-prose { padding: 28px 20px; }
   .filters, .side-cta, .sidebar-box { padding: 24px 20px; }
   .td-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 120px; }
   .td-gallery .g-main, .td-gallery.n2 > a, .td-gallery.n3 > a:not(.g-main), .td-gallery.n4 > a:nth-child(4) { grid-column: 1 / -1; }
   .td-gallery .g-main { grid-row: span 2; }
   .td-gallery.n2 > a:not(.g-main) { grid-row: span 1; }
   .biz-acts .btn { flex: 1 1 auto; padding: 15px 20px; }
   .phero { padding: 112px 0 48px; }
   .phero-post { padding: 100px 0 26px; }
   .phero-post h1 { font-size: 28px; }
   .phero-post .crumbs { padding: 8px 14px; font-size: 12px; }
   main.section:has(.blog-layout) { padding-top: 32px; }
   .crumbs { padding: 10px 16px; }
   .footer-bottom { flex-direction: column; align-items: flex-start; }
   .back-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
   .lm-toggle button { padding: 11px 14px; }
   .plan-head h3 { padding-right: 0; margin-top: 30px; }
   .lm-plan:not(.featured) .plan-head h3 { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
   *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
   .js-ready .animate-this { opacity: 1; transform: none; }
}
