/* Support Desk — main stylesheet */

:root {
	--bg: #f7f9fd;
	--bg-2: #e8effa;
	--surface: #ffffff;
	--ink: #0f2038;
	--ink-2: #52617a;
	--line: #d9e2f0;
	--accent: #2563eb;
	--accent-ink: #ffffff;
	--hi: #c7dbff;
	--band: #e8effa;
	--band-ink: #0f2038;
	--band-muted: #52617a;
	--band-line: #d1dcee;
	--dark: #0d1b2a;
	--dark-ink: #f3f4f1;
	--radius: 18px;
	--shadow: 0 1px 2px rgba(13, 27, 42, .06), 0 12px 32px -12px rgba(13, 27, 42, .18);
	--font: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--serif: "Instrument Serif", Georgia, "Times New Roman", serif;
	--wrap: 1180px;
}

:root[data-theme="dark"] {
	--bg: #0a121c;
	--bg-2: #101b29;
	--surface: #132033;
	--ink: #eef1f5;
	--ink-2: #a3afbf;
	--line: #243449;
	--accent: #7b93ff;
	--accent-ink: #0a121c;
	--hi: #d7f65a;
	--band: #060b12;
	--band-ink: #eef1f5;
	--band-muted: #a3afbf;
	--band-line: rgba(255, 255, 255, .16);
	--dark: #060b12;
	--dark-ink: #eef1f5;
	--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; font-size: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
	overflow-x: clip;
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.02em; font-weight: 600; }
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); letter-spacing: -.03em; }
h3 { font-size: 1.35rem; }
h1 em, h2 em, h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: var(--bg); }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; gap: .5em; justify-content: center;
	padding: .85em 1.5em; border-radius: 999px; border: 1.5px solid var(--ink);
	background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 600; font-size: .95rem;
	text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn--sm { padding: .55em 1.1em; font-size: .88rem; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-block; }
.link-arrow:hover { text-decoration: underline; }

/* Top bar */
.topbar { background: var(--band); color: var(--band-ink); border-bottom: 1px solid var(--band-line); font-size: .82rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__contact { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.topbar a { text-decoration: none; opacity: .85; }
.topbar a:hover { opacity: 1; color: var(--accent); }
.topbar__tools { display: flex; gap: 4px; }
.tool { background: transparent; color: inherit; border: 1px solid var(--band-line); border-radius: 8px; min-width: 32px; height: 26px; font: inherit; font-size: .75rem; font-weight: 600; cursor: pointer; display: inline-grid; place-items: center; }
.tool:hover { background: var(--band-line); }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }
.brand:hover { color: inherit; }
.brand__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--accent); color: var(--accent-ink); font-size: .85rem; letter-spacing: 0; }
.logo-chip { display: inline-flex; align-items: center; line-height: 0; }
.brand img, .custom-logo { max-height: var(--logo-h, 48px); width: auto; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.primary-nav li { position: relative; }
.primary-nav a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: .95rem; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { background: var(--bg-2); color: var(--ink); }
.primary-nav .sub-menu { position: absolute; left: 0; top: 100%; min-width: 230px; flex-direction: column; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.header__actions { display: flex; gap: 8px; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; color: var(--ink); }
.bars { display: grid; gap: 5px; width: 20px; margin: auto; }
.bars i { height: 2px; background: currentColor; border-radius: 2px; transition: .2s; }
.nav-open .bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .bars i:nth-child(2) { opacity: 0; }
.nav-open .bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { padding: clamp(48px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--hi) 55%, transparent), transparent 66%); pointer-events: none; }
.hero__in { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .85rem; font-weight: 500; margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 36em; margin: 22px 0 32px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.status { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.status__pulse { width: 12px; height: 12px; border-radius: 50%; background: #22c55e; position: relative; }
.status__pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; background: #22c55e; opacity: .3; animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }
.uptime { list-style: none; margin: 0 0 20px; padding: 0; }
.uptime li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; color: var(--ink-2); }
.uptime b { color: var(--ink); font-variant-numeric: tabular-nums; }
.bars-viz { display: flex; gap: 3px; height: 38px; align-items: flex-end; margin-bottom: 16px; }
.bars-viz i { flex: 1; background: #22c55e; border-radius: 2px; height: 100%; opacity: .85; }
.bars-viz i:nth-child(11n+4) { height: 82%; }
.bars-viz i:nth-child(7n+2) { height: 92%; }
.hero__card-note { font-size: .85rem; color: var(--ink-2); margin: 0; }

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.marquee__track { display: flex; gap: 56px; width: max-content; padding: 18px 0; animation: marquee 40s linear infinite; font-weight: 600; font-size: 1.05rem; color: var(--ink-2); }
.marquee__track span::after { content: "✦"; margin-left: 56px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section--tint { background: var(--bg-2); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.kicker { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.sub { color: var(--ink-2); font-size: 1.15rem; }
.mission { font-size: clamp(1.6rem, 3.4vw, 2.75rem); line-height: 1.25; letter-spacing: -.02em; font-weight: 500; max-width: 26em; margin: 0; }
.section--mission { padding-bottom: clamp(24px, 4vw, 48px); }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Tabs */
.tabs { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
.tabs__list { display: grid; gap: 8px; }
.tabs__list button { display: flex; align-items: center; gap: 14px; text-align: left; font: inherit; font-weight: 600; font-size: 1.02rem; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; cursor: pointer; transition: .2s; }
.tabs__list button:hover { border-color: var(--ink); }
.tabs__list .num { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--ink-2); font-size: 1.1rem; }
.tabs__list button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tabs__list button[aria-selected="true"] .num { color: var(--hi); }
.panel { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 4vw, 52px); min-height: 100%; box-shadow: var(--shadow); animation: fade .35s ease; overflow: hidden; }
.panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.panel__num { position: absolute; right: 24px; top: -8px; font-family: var(--serif); font-style: italic; font-size: clamp(6rem, 14vw, 11rem); line-height: 1; color: var(--bg-2); pointer-events: none; }
.panel > * { position: relative; }
.panel h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.panel p { color: var(--ink-2); font-size: 1.15rem; max-width: 32em; }
.chips { list-style: none; padding: 0; margin: 24px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--bg-2); font-size: .88rem; font-weight: 500; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--hi); color: #0d1b2a; margin-bottom: 20px; }
.card p { color: var(--ink-2); margin: 0; font-size: .98rem; }

.features { gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { padding: 32px 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature__n { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.2rem; display: block; margin-bottom: 36px; }
.feature p { color: var(--ink-2); margin: 0; }

/* Stats */
.stats { background: var(--band); color: var(--band-ink); border-block: 1px solid var(--band-line); padding: clamp(48px, 7vw, 88px) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat b { display: block; font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1; letter-spacing: -.04em; font-weight: 600; }
.stat b { color: var(--accent); }
.stat span { display: block; margin-top: 12px; color: var(--band-muted); }

/* Projects */
.project { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.browser { padding: 18px 18px 0; background: var(--bg-2); }
.browser.tone-0 { background: linear-gradient(135deg, #ffd8a8, #ffa8a8); }
.browser.tone-1 { background: linear-gradient(135deg, #b8e0ff, #c9b8ff); }
.browser.tone-2 { background: linear-gradient(135deg, #c8f5d4, #f5f4a8); }
.browser__bar { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 10px 10px 0 0; padding: 9px 12px; color: #4a5666; font-size: .72rem; }
.browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: #d4d7dc; }
.browser__bar span { margin-left: 10px; background: #f1f2f4; border-radius: 6px; padding: 2px 10px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser__body { background: #fff; height: 130px; padding: 16px; display: grid; gap: 10px; align-content: start; }
.browser__body b { display: block; height: 12px; background: #eef0f3; border-radius: 6px; }
.browser__body b:first-child { width: 60%; height: 20px; background: #0d1b2a; }
.browser__body b:nth-child(3) { width: 80%; }
.project__meta { padding: 24px; }
.project__meta p { color: var(--ink-2); font-size: .96rem; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 8px; }

/* Plans */
.plans { align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 36px 32px; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.plan__price { margin: 8px 0 24px; }
.plan__price b { font-size: 3rem; letter-spacing: -.04em; font-weight: 600; }
.plan__price span { color: var(--ink-2); }
.plan ul { list-style: none; margin: 0 0 32px; padding: 0; flex: 1; }
.plan li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px dashed var(--line); }
.plan li::before { content: ""; position: absolute; left: 0; top: 16px; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan--featured { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: translateY(-12px); box-shadow: var(--shadow); }
.plan--featured h3, .plan--featured .plan__price span { color: inherit; opacity: .8; }
.plan--featured li { border-color: rgba(255, 255, 255, .28); }
.plan--featured li::before { border-color: currentColor; }
.plan--featured .btn { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--accent); }
.plan--featured .btn:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.plan__badge { position: absolute; top: -13px; left: 32px; background: var(--ink); color: var(--bg); font-size: .75rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; }

/* CTA cards */
.cta-card { display: flex; flex-direction: column; gap: 6px; min-height: 280px; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: .25s; }
.cta-card:hover { background: var(--ink); color: var(--bg); transform: translateY(-4px); }
.cta-card:hover p { color: inherit; opacity: .75; }
.cta-card__n { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--accent); margin-bottom: auto; }
.cta-card:hover .cta-card__n { color: var(--hi); }
.cta-card p { color: var(--ink-2); }
.cta-card .link-arrow { font-size: 1.6rem; }

/* Quotes */
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.quote blockquote { margin: 0; font-size: 1.15rem; line-height: 1.5; }
.quote figcaption b { display: block; }
.quote figcaption span { color: var(--ink-2); font-size: .9rem; }

/* Post cards */
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__thumb { display: block; aspect-ratio: 16 / 10; background: var(--bg-2); overflow: hidden; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__thumb img { transform: scale(1.04); }
.post-card__ph { display: grid; place-items: center; height: 100%; font-family: var(--serif); font-style: italic; font-size: 5rem; color: var(--accent); background: linear-gradient(135deg, var(--bg-2), var(--surface)); }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .82rem; color: var(--ink-2); margin-bottom: 8px; }
.post-card__title { font-size: 1.25rem; }
.post-card__title a { text-decoration: none; }
.post-card p { color: var(--ink-2); font-size: .97rem; }
.post-card .link-arrow { margin-top: auto; }

/* Inner pages */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); max-width: 18em; }
.page-head--center { text-align: center; }
.page-head--center h1, .page-head--center .sub { margin-inline: auto; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
.layout:not(:has(.sidebar)) { grid-template-columns: minmax(0, 1fr); }
.entry { max-width: 760px; margin-inline: auto; width: 100%; }
.layout .entry { margin: 0; }
.entry__thumb { margin-bottom: 32px; border-radius: var(--radius); overflow: hidden; }
.entry__content { font-size: 1.12rem; }
.entry__content h2, .entry__content h3 { margin-top: 1.6em; }
.entry__content img { border-radius: 12px; }
.entry__content blockquote { margin: 1.5em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--hi); font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; }
.entry__content pre { background: var(--dark); color: var(--dark-ink); padding: 18px; border-radius: 12px; overflow: auto; }
.entry__content table { width: 100%; border-collapse: collapse; }
.entry__content th, .entry__content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry__foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.nav-links { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nav-links a { font-weight: 600; text-decoration: none; }
.pagination { margin-top: 48px; }
.pagination .nav-links { justify-content: center; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; margin: 0 3px; }
.page-numbers.current, .page-numbers:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sidebar .widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.widget-title { font-size: 1.05rem; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { padding: 6px 0; }

/* Forms */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="password"], input[type="number"], textarea, select {
	width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: .8em 1em;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.search-form { display: flex; gap: 8px; max-width: 520px; margin: 20px 0; }
.page-head--center .search-form { margin-inline: auto; }
input[type="submit"], button[type="submit"]:not(.btn) { font: inherit; font-weight: 600; background: var(--ink); color: var(--bg); border: 0; border-radius: 999px; padding: .85em 1.6em; cursor: pointer; }
input[type="submit"]:hover { background: var(--accent); color: var(--accent-ink); }

/* Comments */
.comments { margin-top: 64px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--line); }
.comment-author img { border-radius: 50%; vertical-align: middle; margin-right: 10px; }
.comment-metadata { font-size: .82rem; color: var(--ink-2); }

/* WordPress core alignment */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption, figure.wp-block-image { max-width: 100%; }
.wp-caption-text, figcaption { font-size: .88rem; color: var(--ink-2); }

/* WooCommerce (light-touch) */
.woo .woocommerce-message, .woo .woocommerce-info { background: var(--bg-2); border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 10px; list-style: none; }
.woo ul.products { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.woo ul.products li.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.woo .button, .woo button.button, .woo a.button { display: inline-block; background: var(--ink); color: var(--bg); border: 0; border-radius: 999px; padding: .7em 1.4em; font-weight: 600; text-decoration: none; cursor: pointer; }
.woo .button:hover { background: var(--accent); color: var(--accent-ink); }
.woo table.shop_table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: 12px; }
.woo table.shop_table th, .woo table.shop_table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.woo .price { font-weight: 600; }

/* Footer */
.site-footer { background: var(--band); color: var(--band-ink); border-top: 1px solid var(--band-line); padding: clamp(56px, 7vw, 96px) 0 28px; }
.site-footer a { text-decoration: none; opacity: .8; }
.site-footer a:hover { opacity: 1; color: var(--accent); }
.site-footer .btn { opacity: 1; }
.site-footer .btn:hover { color: var(--bg); }
.site-footer .btn--ghost { color: var(--band-ink); border-color: var(--band-ink); }
.site-footer .btn--ghost:hover { background: var(--band-ink); color: var(--band); border-color: var(--band-ink); }
.footer__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--band-line); margin-bottom: 48px; }
.footer__cta h2 { margin: 0; max-width: 14em; }
.footer__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__grid h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--band-muted); margin-bottom: 18px; font-weight: 600; }
.footer__grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__about p { color: var(--band-muted); max-width: 30em; margin-top: 18px; }
.brand--footer:hover { color: inherit; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--band-line); border-radius: 50%; opacity: 1; }
.socials a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.contact-list li { opacity: .85; }
.footer__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--band-line); font-size: .88rem; color: var(--band-muted); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.stats__grid { grid-template-columns: repeat(2, 1fr); }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.layout { grid-template-columns: 1fr; }
	.tabs { grid-template-columns: minmax(0, 1fr); }
	.tabs__list { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
	.tabs__list button { white-space: nowrap; }
}
@media (max-width: 880px) {
	.hero__in { grid-template-columns: 1fr; }
	.grid--3 { grid-template-columns: 1fr; }
	.plan--featured { transform: none; }
	.nav-toggle { display: grid; place-items: center; }
	.primary-nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--bg); border-left: 1px solid var(--line); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 96px 24px 24px; gap: 20px; transform: translateX(105%); transition: transform .3s ease; z-index: 60; overflow-y: auto; visibility: hidden; }
	.nav-open .primary-nav { transform: none; visibility: visible; }
	.nav-open .nav-toggle { position: relative; z-index: 70; }
	.primary-nav ul { flex-direction: column; }
	.primary-nav a { font-size: 1.15rem; padding: 12px 8px; }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; background: none; }
	.header__actions { flex-direction: column; }
	.header__actions .btn { width: 100%; }
	.topbar__contact a:nth-child(n+3) { display: none; }
}
@media (max-width: 560px) {
	.grid--4 { grid-template-columns: 1fr; }
	.footer__grid { grid-template-columns: 1fr; }
	.topbar__contact a:nth-child(n+2) { display: none; }
	.search-form { flex-direction: column; }
}
@media print { .topbar, .site-header, .site-footer, .marquee { display: none; } }

/* Logo treatment: blends a coloured logo into dark areas */
.logo-badge .brand--footer .logo-chip,
.logo-badge.band-dark .logo-chip,
.logo-auto.band-dark .brand--footer .logo-chip,
:root[data-theme="dark"] .logo-auto .logo-chip,
:root[data-theme="dark"] .logo-badge .logo-chip {
	background: #fff;
	padding: 10px 18px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, .55);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent), 0 10px 28px -10px rgba(0, 0, 0, .55);
}
.logo-badge .site-header .logo-chip { padding: 6px 14px; }
:root[data-theme="dark"] .logo-auto .site-header .logo-chip { padding: 6px 14px; }
.logo-white.band-dark .brand--footer img,
:root[data-theme="dark"] .logo-white .custom-logo { filter: brightness(0) invert(1); }
:root[data-theme="dark"] .logo-white .brand--footer img { filter: brightness(0) invert(1); }
.logo-white .brand--footer .logo-chip, .logo-white .site-header .logo-chip { padding: 0; background: none; border: 0; box-shadow: none; }
.site-footer .brand { opacity: 1; }
.brand--footer img { max-height: calc(var(--logo-h, 48px) * .8); }

/* Bundled dual logo: swap to the white-text version on dark areas */
.logo-chip--dual .on-dark { display: none !important; }
.band-dark .brand--footer .logo-chip--dual .on-light,
:root[data-theme="dark"] .logo-chip--dual .on-light { display: none !important; }
.band-dark .brand--footer .logo-chip--dual .on-dark,
:root[data-theme="dark"] .logo-chip--dual .on-dark { display: block !important; }
.logo-chip--dual, .logo-chip--dual.logo-chip { background: none !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }

/* ---------- Hero slider ---------- */
.slider { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(20px, 3vw, 36px); overflow: hidden; }
.slider::before { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -240px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--hi) 55%, transparent), transparent 66%); pointer-events: none; }
.slides { display: grid; position: relative; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; opacity: 0; visibility: hidden; transform: translateX(32px); transition: opacity .6s ease, transform .6s ease, visibility 0s .6s; }
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.slide.is-prev { transform: translateX(-32px); }
.slider:not(.is-ready) .slide:first-child { opacity: 1; visibility: visible; transform: none; }
.slide .h1, .slide h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); letter-spacing: -.035em; line-height: 1.04; }
.slide .h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.slide__art { display: grid; place-items: center; }
.art { width: 100%; max-width: 560px; height: auto; }
.slide.is-active .art { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

.slider__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: clamp(20px, 3vw, 36px); padding-top: 20px; border-top: 1px solid var(--line); }
.slider__dots { display: flex; gap: 8px; flex-wrap: wrap; }
.dotbtn { position: relative; display: flex; align-items: center; gap: 8px; font: inherit; font-size: .85rem; font-weight: 600; color: var(--ink-2); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; overflow: hidden; transition: color .2s, border-color .2s, background .2s; }
.dotbtn:hover { color: var(--ink); border-color: var(--ink); }
.dotbtn__n { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1rem; }
.dotbtn i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); }
.dotbtn.is-active { color: var(--ink); border-color: var(--ink); background: var(--surface); }
.slider[data-running="1"] .dotbtn.is-active i { animation: prog var(--speed, 7s) linear forwards; }
.slider[data-running="0"] .dotbtn.is-active i { width: 100%; }
@keyframes prog { to { width: 100%; } }
.slider__ctrl { display: flex; gap: 8px; flex-shrink: 0; }
.sbtn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-size: 1.1rem; cursor: pointer; display: grid; place-items: center; transition: .2s; }
.sbtn:hover { background: var(--ink); color: var(--bg); }
.sbtn .i-play { display: none; }
.slider[data-running="0"] .sbtn .i-play { display: block; }
.slider[data-running="0"] .sbtn .i-pause { display: none; }

@media (max-width: 880px) {
	.slide { grid-template-columns: 1fr; gap: 12px; }
	.slide__art { order: -1; }
	.art { max-width: 340px; }
	.dotbtn__l { display: none; }
	.dotbtn { padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) { .slide, .slide.is-active .art { transition: none; animation: none; } }

/* Side arrows with shadow */
.slider .wrap { position: relative; }
.side-arrow { position: absolute; top: calc(50% - 36px); z-index: 5; width: 54px; height: 54px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--surface); color: var(--ink);
	box-shadow: 0 14px 30px -8px rgba(13, 27, 42, .38), 0 3px 8px rgba(13, 27, 42, .14); transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.side-arrow:hover { background: var(--accent); color: var(--accent-ink); transform: scale(1.08); box-shadow: 0 18px 34px -8px color-mix(in srgb, var(--accent) 60%, #0d1b2a), 0 4px 10px rgba(13, 27, 42, .18); }
.side-arrow:active { transform: scale(.96); }
.side-arrow--prev { left: -66px; }
.side-arrow--next { right: -66px; }
@media (max-width: 1340px) {
	.side-arrow { width: 44px; height: 44px; top: 36%; }
	.side-arrow--prev { left: 6px; }
	.side-arrow--next { right: 6px; }
}
@media (max-width: 880px) {
	.side-arrow { top: 120px; width: 40px; height: 40px; }
}
.slider__ctrl [data-prev], .slider__ctrl [data-next] { display: none; }

/* Uploaded slide photo */
.photo { position: relative; width: 100%; max-width: 540px; aspect-ratio: 5 / 4; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(13, 27, 42, .45), 0 0 0 8px color-mix(in srgb, var(--hi) 70%, transparent); background: var(--bg-2); }
.photo__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide--noart { grid-template-columns: 1fr; max-width: 760px; }
@media (min-width: 881px) and (max-width: 1340px) {
	.slider .wrap { padding-inline: 56px; width: min(100% - 8px, var(--wrap)); }
	.side-arrow--prev { left: 4px; }
	.side-arrow--next { right: 4px; }
}
