/*
Theme Name: IDS
Theme URI: https://incorporatedigital.co.za
Author: Incorporate Digital Solutions
Description: Custom theme for Incorporate Digital Solutions.
Version: 0.4.3
Text Domain: ids
*/

:root {
	--bg: #09090d;
	--bg-2: #111116;
	--text: #f5f5f7;
	--muted: #a8a8b3;
	--gold: #d4b56a;
	--violet: #362887;
	--violet-deep: #030106;
	--violet-soft: #c4bdff;
	--glass-line: rgba(255, 255, 255, 0.16);
	--head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sans: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1160px;
	--header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	position: relative;
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 1.0625rem/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--violet-soft); outline-offset: 3px; border-radius: 4px; }

/* Frosted glass look. This is what visitors see if WebGL glass is off (or still loading). */
.authority, .price-card, .social-icon, .post-card, .faq-list details, .header-inner::before {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.12) 45%, rgba(255, 255, 255, 0.20) 100%);
	border: 1px solid rgba(255, 255, 255, 0.34);
	box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.7), inset 0 0 30px rgba(255, 255, 255, 0.10);
	backdrop-filter: blur(22px) saturate(1.8);
	-webkit-backdrop-filter: blur(22px) saturate(1.8);
}

/* Header: floating glass bar over the hero */
.site-header { position: sticky; top: 14px; z-index: 100; }
.header-inner {
	display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1.5rem;
	padding-inline: 1.5rem; border-radius: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--head); font-size: 1.02rem; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.brand-logo { width: 44px; height: 44px; flex: none; display: block; }

.nav-list { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a, .nav-toggle {
	padding: 0.6rem 0.85rem; font-size: 0.9rem; font-weight: 500; color: var(--text);
	background: none; border: 0; cursor: pointer; border-radius: 8px;
}
.nav-list a:hover, .nav-toggle:hover { color: var(--violet-soft); }
.nav-toggle { padding-inline: 0.35rem; display: grid; place-items: center; }
.nav-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.submenu {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px;
	list-style: none; margin: 0; padding: 0.5rem;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0.13) 100%);
	border: 1px solid rgba(255, 255, 255, 0.26); border-radius: 16px;
	backdrop-filter: blur(24px) saturate(1.8); -webkit-backdrop-filter: blur(24px) saturate(1.8);
	box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.45);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .18s, transform .18s, visibility .18s;
}
.submenu.is-open { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 0.65rem 0.85rem; color: #fff; }
.nav-list .submenu a:hover { color: #fff; }
.submenu a:hover { background: rgba(255, 255, 255, 0.08); }

.menu-button { display: none; }

.btn {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.9rem 1.7rem; border-radius: 999px; font-weight: 500; font-size: 0.95rem;
	border: 1px solid var(--gold); transition: background .2s, color .2s, transform .2s;
}
.btn-gold { background: var(--gold); color: #17140a; }
.btn-gold:hover { background: #e3c985; transform: translateY(-1px); }
.link-quiet { color: var(--text); font-weight: 500; font-size: 0.95rem; padding: 0.9rem 0.5rem; }
.link-quiet span { display: inline-block; transition: transform .2s; }
.link-quiet:hover { color: var(--violet-soft); }
.link-quiet:hover span { transform: translateX(4px); }

/* Hero: violet gradient, one sharp liquid shape, two stretched glow copies (from the supplied reference). */
.hero {
	--u: calc(100vw / 1536);
	position: relative; overflow: hidden; text-align: center;
	margin-top: calc(var(--header-h) * -1);
	min-height: clamp(640px, 94vh, 880px);
	display: grid; align-items: center;
	padding: calc(var(--header-h) + 3rem) 0 5rem;
	background: radial-gradient(var(--violet) 0%, var(--violet-deep) 100%);
}
.hero-art { position: absolute; inset: 0; pointer-events: none; }
.hero-blob {
	position: absolute; left: calc(var(--u) * 760); top: calc(var(--u) * -120);
	width: calc(var(--u) * 900); height: auto;
}
.hero-glow {
	position: absolute; width: calc(var(--u) * 591); height: calc(var(--u) * 1797);
	background: url("assets/img/glow.webp") 0 0 / 100% 100% no-repeat;
}
.hero-glow.g1 { left: calc(var(--u) * 457); top: calc(var(--u) * -922); }
.hero-glow.g2 { left: calc(var(--u) * 407); top: calc(var(--u) * -318); }
/* Slow, liquid movement. Always on: many Windows laptops have "Animation effects" switched off, which would freeze the hero for everyone. */
/* The chrome shape travels slowly from the left of the hero to the right (and back) while it turns on its own axis. */
@keyframes blob-travel { from { translate: var(--blob-from, -52vw) 0; } to { translate: var(--blob-to, 6vw) 0; } }
@keyframes blob-spin { to { rotate: 360deg; } }
@keyframes drift-a { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(3vw, 2vw, 0) scale(1.08); } }
@keyframes drift-b { 0% { transform: translate3d(0, 0, 0) scale(1.04); } 100% { transform: translate3d(-3vw, 2.5vw, 0) scale(0.96); } }
.hero-blob { animation: blob-travel 44s ease-in-out infinite alternate, blob-spin 120s linear infinite; }
.hero-glow.g1 { animation: drift-a 20s ease-in-out infinite alternate; }
.hero-glow.g2 { animation: drift-b 26s ease-in-out infinite alternate; }
/* Darkens the middle so the heading stays readable, and fades the hero into the page. */
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: radial-gradient(55% 60% at 50% 50%, rgba(3, 1, 6, 0.6), transparent 78%);
}
.hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24%; z-index: 2; pointer-events: none;
	background: linear-gradient(to bottom, transparent, var(--bg));
}
.hero-art { z-index: 1; }
/* Inside the art: the two glows (the violet hue) sit behind the chrome shape. */
.hero-glow { z-index: 1; }
.hero-blob { z-index: 2; }
.hero-copy { position: relative; z-index: 3; }
.eyebrow { color: var(--violet-soft); letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.75rem; font-weight: 500; margin: 0 0 1.5rem; }
.hero h1 {
	font-family: var(--head); font-weight: 700; line-height: 1.06; letter-spacing: -0.03em;
	margin: 0 auto 1.5rem; font-size: clamp(2.4rem, 6.2vw, 5.25rem); text-wrap: balance;
	text-shadow: 0 2px 30px rgba(3, 1, 6, 0.75), 0 0 60px rgba(3, 1, 6, 0.55);
}
.hero h1 .accent { color: var(--gold); }
.hero p.lead { color: #f1effa; text-shadow: 0 1px 14px rgba(3, 1, 6, 0.95), 0 0 34px rgba(3, 1, 6, 0.85); font-weight: 500; max-width: 52ch; margin: 0 auto 2.25rem; font-size: 1.15rem; }
.hero-cta .link-quiet { text-shadow: 0 1px 12px rgba(3, 1, 6, 0.95); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; justify-content: center; align-items: center; }
.authority-wrap { display: flex; justify-content: center; margin-top: 3rem; }
.authority {
	display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1.75rem; border-radius: 30px;
	font-size: 0.85rem; font-weight: 500; letter-spacing: 0.01em; color: #fff;
}
.authority i { width: 4px; height: 4px; border-radius: 50%; background: #fff; }

/* Sections */
.section { position: relative; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section + .section { padding-top: clamp(0.5rem, 2vw, 1.5rem); }
.section h2 {
	font-family: var(--head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15;
	font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: 0 0 0.75rem;
}
.section .sub { color: var(--muted); margin: 0 0 2.5rem; max-width: none; }

.lede { color: #d6d3e8; max-width: 62ch; margin: 0 0 1.5rem; font-size: 1.15rem; }
.proof { color: var(--muted); font-size: 0.95rem; margin: 0; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2.5rem; margin-top: 2.5rem; }
.pillar { border-top: 1px solid var(--glass-line); padding-top: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; }
.pillar b { display: block; font-family: var(--head); font-weight: 600; font-size: 1.1rem; margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.pillar p { margin: 0 0 0.5rem; color: var(--muted); font-size: 0.98rem; }
.pillar .link-quiet { margin-top: auto; padding-left: 0; }
.cta-final { text-align: center; }
.cta-final .lede { margin-inline: auto; }

.price-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); gap: 1.25rem; }
.price-card { border-radius: 26px; padding: 2rem; }
.price-card h3 { font-family: var(--head); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 0.25rem; }
.price-card .for { color: #cfcde0; margin: 0 0 1.25rem; font-size: 0.95rem; }
.price { font-family: var(--head); font-weight: 600; letter-spacing: -0.02em; font-size: 2.6rem; line-height: 1; color: var(--gold); margin: 0 0 0.25rem; }
.price small { font-family: var(--sans); font-weight: 400; letter-spacing: 0; font-size: 0.85rem; color: #cfcde0; }
.price-card ul { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.6rem; }
.price-card li { padding-left: 1.5rem; position: relative; font-size: 0.97rem; }
.price-card li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.7rem; height: 2px; background: var(--violet-soft); }
.note { color: #cfcde0; font-size: 0.85rem; margin-top: 1.25rem; }

/* Liquid glass (liquid-glass-js Container). Library defaults are overridden here. */
.glass-container { isolation: isolate; }
.glass-container.header-inner { padding: 0 1.5rem; gap: 1.5rem; justify-content: space-between; }
.price-card, .glass-container.price-card { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; text-align: left; padding: 2rem; }
.glass-container.authority { display: inline-flex; justify-content: center; padding: 0.85rem 1.75rem; gap: 0.75rem; }
/* No dark layer: the glass is clear. Only a light edge highlight sits on top of the refraction. */
.glass-container::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0.06));
	box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
/* Once WebGL glass is running, drop the CSS frosting underneath it. */
.glass-container.lg-on { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; box-shadow: none; }

/* Inner pages */
.hero--page { min-height: clamp(400px, 52vh, 540px); padding-bottom: 4rem; }
.hero--page h1 { font-size: clamp(1.8rem, 4.2vw, 3.25rem); max-width: 26ch; }
.hero--page p.lead { margin-bottom: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split .sub { margin-bottom: 0; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.checklist li { position: relative; padding-left: 1.6rem; color: #d6d3e8; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 0.7rem; height: 2px; background: var(--gold); }
.callout {
	border-left: 2px solid var(--gold); padding: 0.25rem 0 0.25rem 1.25rem; margin: 0 0 3rem; max-width: 40ch;
	font-family: var(--head); font-weight: 600; font-size: clamp(1.25rem, 2.6vw, 1.75rem); line-height: 1.35; letter-spacing: -0.01em;
}
.limits { border: 1px solid var(--glass-line); border-radius: 20px; padding: 1.5rem 1.75rem; background: rgba(255, 255, 255, 0.03); max-width: 62ch; }
.limits h3 { font-family: var(--head); font-size: 1rem; font-weight: 600; margin: 0 0 0.5rem; }
.limits p { margin: 0; color: #d6d3e8; }
.section .note, .section > .wrap > .note { color: var(--muted); font-size: 0.9rem; max-width: 70ch; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2rem; }
.steps li { counter-increment: step; border-top: 1px solid var(--glass-line); padding-top: 1.25rem; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 0.6rem; color: var(--gold); font-family: var(--head); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.14em; }
.steps b { display: block; font-family: var(--head); font-weight: 600; margin-bottom: 0.35rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.steps-stack { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }

/* Website Design: four package cards and the add-on table */
.price-grid.four { grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); align-items: stretch; }
.price-grid.four .price-card { padding: 1.75rem; }
.price-grid.four .price { font-size: 1.9rem; }
.price small.from { display: block; font-size: 0.8rem; margin-bottom: 0.3rem; }
.price-card ul { flex-grow: 1; align-content: start; }
.price-card .btn { align-self: center; justify-content: center; margin-top: 0.5rem; }
.price-card .price { margin-bottom: 0.4rem; }
.price-card .price-label { color: #cfcde0; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0.75rem 0 0.25rem; }
.price-card .price-sub { color: #cfcde0; font-size: 0.85rem; margin: 0 0 0.4rem; }
.addons { width: 100%; max-width: 760px; border-collapse: collapse; margin: 0 0 1.5rem; }
.addons th, .addons td { padding: 0.95rem 0; border-bottom: 1px solid var(--glass-line); text-align: left; font-weight: 400; }
.addons thead th { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.addons td { text-align: right; font-family: var(--head); font-weight: 600; color: var(--gold); white-space: nowrap; padding-left: 1.5rem; }
.addons thead th:last-child { text-align: right; padding-left: 1.5rem; }

/* About */
@media (min-width: 1101px) { .split:has(> .founder-col) { grid-template-columns: minmax(0, 550px) minmax(0, 1fr); } }
.founder-photo { width: 100%; max-width: 550px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 26px; border: 0; outline: 5px solid var(--gold, #D4B56A); outline-offset: 5px; display: block; align-self: center; justify-self: center; }
.photo-placeholder { aspect-ratio: 4 / 5; border: 1px dashed var(--glass-line); border-radius: 26px; display: grid; place-items: center; color: var(--muted); font-size: 0.9rem; background: rgba(255, 255, 255, 0.03); }

/* Contact form */
.enquiry { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.9rem; font-weight: 500; }
.field label span { color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
	width: 100%; padding: 0.85rem 1rem; color: var(--text); font: inherit; font-size: 1rem;
	background: rgba(255, 255, 255, 0.06); border: 1px solid var(--glass-line); border-radius: 14px;
}
.field select option { background: #14121f; color: var(--text); }
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--violet-soft); outline-offset: 2px; }
.field.check { grid-template-columns: auto 1fr; align-items: start; gap: 0.75rem; }
.field.check input { margin-top: 0.35rem; width: 1.1rem; height: 1.1rem; accent-color: var(--gold); }
.field.check label { font-weight: 400; color: #d6d3e8; }
.field.check a { text-decoration: underline; text-underline-offset: 3px; }
.enquiry .btn { justify-self: start; cursor: pointer; font-family: inherit; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 14px; padding: 1rem 1.25rem; margin: 0 0 1.5rem; border: 1px solid var(--glass-line); }
.notice-ok { border-color: var(--gold); }
.notice-error { border-color: #e0899a; }

.page-plain h1 { font-family: var(--head); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 1.5rem; padding-top: calc(var(--header-h) - 1rem); }
.prose { max-width: 70ch; color: #d6d3e8; }

/* FAQ, The Directive */
.faq { max-width: 70ch; margin: 1.5rem 0 0; }
.faq dt { font-family: var(--head); font-weight: 600; margin-top: 1.75rem; }
.faq dd { margin: 0.4rem 0 0; color: #d6d3e8; }
.pillars.posts { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-date { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem; }
.post-body { max-width: 76ch; margin-inline: auto; }
.post-body ~ .back-link { display: block; max-width: 76ch; margin: 2.5rem auto 0; }
.post-body h1, .post-body h2 { font-family: var(--head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 2.5rem 0 0.75rem; }
.post-body h3, .post-body h4 { font-family: var(--head); font-weight: 600; margin: 2rem 0 0.5rem; }
.post-body p, .post-body li { color: #d6d3e8; }
.post-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.post-body hr { border: 0; border-top: 1px solid var(--glass-line); margin: 2.5rem 0; }
.post-body img { height: auto; border-radius: 16px; margin: 1.5rem 0; }
.post-body blockquote { border-left: 2px solid var(--gold); margin: 1.5rem 0; padding-left: 1.25rem; }
.back-link { display: inline-block; margin-top: 3rem; }

/* Package row: four cards, add-ons card under the first one */
.pkg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.pkg-grid .addons-card { grid-column: 1; }
.pkg-grid .addons-card h3 { font-family: var(--head); font-size: 1.05rem; font-weight: 600; margin: 0 0 0.25rem; }
.pkg-grid .addons-card .for { margin-bottom: 0.75rem; }
.pkg-grid .addons th, .pkg-grid .addons td { padding: 0.6rem 0; font-size: 0.88rem; }
.pkg-grid .addons td { padding-left: 0.75rem; }
.pkg-grid .addons { margin: 0; }
.pkg-note { grid-column: 2 / span 3; align-self: start; }
@media (max-width: 1000px) {
	.pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pkg-grid .addons-card, .pkg-note { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .pkg-grid { grid-template-columns: 1fr; } }

/* FAQ drop-downs */
.faq-list { max-width: 74ch; margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.faq-list details { border-radius: 18px; }
.faq-list summary { cursor: pointer; list-style: none; padding: 1.1rem 1.4rem; font-family: var(--head); font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 1.4rem 1.3rem; color: #d6d3e8; }

/* Home eyebrow pill and Directive post cards */
.eyebrow-wrap { display: flex; justify-content: center; margin: 0 0 1.75rem; }
.authority.eyebrow-pill { color: #fff; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.72rem; padding: 0.7rem 1.5rem; }
.post-card { display: flex; flex-direction: column; border-radius: 26px; padding: 1.75rem; }
.post-card b { display: block; font-family: var(--head); font-weight: 600; font-size: 1.1rem; margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.post-card p { margin: 0 0 1rem; color: var(--muted); font-size: 0.97rem; }
.post-card .link-quiet { margin-top: auto; padding-left: 0; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--glass-line); padding: 2.5rem 0; color: var(--muted); font-size: 0.9rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.25rem 2rem; align-items: center; }
.footer-social { display: flex; gap: 0.75rem; align-items: center; }
.social-icon { width: 46px; height: 46px; border-radius: 23px; flex: none; }
.glass-container.social-icon { padding: 0; display: grid; place-items: center; }
.social-icon a { display: grid; place-items: center; width: 100%; height: 100%; color: var(--text); border-radius: 50%; }
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }
.social-icon a:hover { color: var(--gold); }
.footer-brand { margin: 0; text-align: center; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: flex-end; }
.footer-nav a:hover { color: var(--text); }

/* Mobile */
@media (max-width: 860px) {
	:root { --header-h: 92px; }
	.menu-button { display: inline-flex; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--glass-line); color: var(--text); width: 46px; height: 46px; padding: 0; align-items: center; justify-content: center; border-radius: 999px; cursor: pointer; font: 500 0.85rem var(--sans); }
	.primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: linear-gradient(135deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.13)); backdrop-filter: blur(24px) saturate(1.8); -webkit-backdrop-filter: blur(24px) saturate(1.8); padding: 1rem 1.25rem 1.5rem; border-radius: 20px; margin-top: 8px; border: 1px solid rgba(255, 255, 255, 0.26); }
	.primary-nav.is-open { display: block; }
	.nav-list { flex-direction: column; align-items: stretch; }
	.nav-list > li { flex-wrap: wrap; justify-content: space-between; }
	.nav-list a { padding: 0.9rem 0.5rem; }
	.nav-toggle { padding: 0.9rem; }
	.submenu { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; }
	.submenu.is-open { display: block; }

	/* The artboard is 1536px wide, so on phones the art is re-placed by hand. */
	.brand { font-size: 0.86rem; gap: 0.5rem; }
	.brand-logo { width: 36px; height: 36px; }
	.hero { --u: calc(100vw / 600); min-height: 780px; }
	/* Phones: the shape sits in its own band under the header, and the words start below it, so text never sits on the busy chrome. */
	.hero { padding-top: calc(var(--header-h) + 1.25rem); padding-bottom: 2.5rem; min-height: 0; }
	.hero-blob { left: 50%; top: calc(var(--header-h) - 24px); width: 104vw; margin-left: -52vw; opacity: 0.85; --blob-from: -30vw; --blob-to: 30vw; }
	.eyebrow-wrap { margin-bottom: 1rem; }
	.hero p.lead { font-size: 1rem; line-height: 1.55; margin-bottom: 1.5rem; }
	.hero-glow { width: 80vw; height: 160vw; }
	.hero-glow.g1 { left: 5vw; top: -40vw; }
	.hero-glow.g2 { left: 15vw; top: 0; }
	.authority { flex-wrap: wrap; justify-content: center; text-align: center; font-size: 0.8rem; padding: 0.75rem 1.25rem; gap: 0.15rem 0.6rem; }
	.authority i { display: none; }
	.glass-container.authority { flex-wrap: wrap; padding: 0.75rem 1.25rem; gap: 0.15rem 0.6rem; }
	.hero-blob { animation: blob-travel 20s ease-in-out infinite alternate, blob-spin 55s linear infinite; }
	.hero--page .hero-blob { width: 88vw; margin-left: -44vw; --blob-from: -24vw; --blob-to: 24vw; }
	.hero.hero--page { min-height: 0; padding-top: calc(var(--header-h) + 1.25rem); padding-bottom: 2.5rem; }
	.split { grid-template-columns: 1fr; }
	.photo-placeholder { max-width: 320px; }
	.founder-col { max-width: 260px; justify-self: start; }
	.footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.footer-nav { justify-content: center; }
}

/* About */
.eyebrow-text { color: var(--violet-soft); letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.75rem; font-weight: 500; margin: 0 0 0.5rem; }
.sub-line { color: var(--muted); margin: 0 0 1.75rem; }
.split .callout { margin-bottom: 1.5rem; }
.price small { white-space: nowrap; }

/* The 24-month lines on the pricing cards: about 11px. The main prices sit slightly higher. */
.price-card .price-label.term-24 { font-size: 0.6rem; margin: 0.4rem 0 0.1rem; }
.price-card .price.term-24, .price-card .price.term-24 small { font-size: 11px; letter-spacing: 0; }
.price-card .price { margin-top: -0.2rem; }
.price-card .price-label:not(.term-24) { margin-top: 0.4rem; }
.eyebrow { color: #fff; }
/* Inner-page heroes fade out softly instead of ending on a hard line. */
.hero--page { padding-bottom: 6rem; }
.hero--page::after { height: 55%; background: linear-gradient(to bottom, rgba(9, 9, 13, 0) 0%, rgba(9, 9, 13, 0.18) 20%, rgba(9, 9, 13, 0.45) 45%, rgba(9, 9, 13, 0.75) 70%, rgba(9, 9, 13, 0.93) 88%, var(--bg) 100%); }

/* The bar's glass lives on a pseudo-element so the dropdown inside it can blur the page behind it. */
.header-inner { position: relative; border: 0; box-shadow: none; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header-inner::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; }
.submenu { backdrop-filter: blur(28px) saturate(1.8); -webkit-backdrop-filter: blur(28px) saturate(1.8); background: linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.20)); }

/* Contact details on the Contact page */
.contact-details { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .9rem; }
.contact-details li { display: flex; gap: 1rem; align-items: baseline; padding-top: .9rem; border-top: 1px solid var(--glass-line); }
.contact-details span { font: 600 .72rem var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); min-width: 3.5rem; }
.contact-details a { color: #fff; font-size: 1.05rem; }
.contact-details a:hover { color: var(--gold); }

/* Founder column: photo with the Minara membership under it */
.founder-col { align-self: center; justify-self: center; width: 100%; max-width: 550px; }
.founder-col .founder-photo { max-width: 100%; }
.member { margin-top: 2.2rem; text-align: center; }
.member-logo { width: 110px; height: auto; display: block; margin: 0 auto 0.8rem; background: #fff; padding: 10px 14px; border-radius: 12px; }
.member p { margin: 0 0 0.5rem; color: var(--gold); font-weight: 700; }
.member small { display: block; font-size: 0.72rem; line-height: 1.5; opacity: 0.7; }

/* Client logos */
.client-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2.5rem; }
.client-logo { display: flex; align-items: center; justify-content: center; height: 110px; padding: 0; overflow: hidden; border-radius: 16px; border: 1px solid var(--glass-line); transition: transform .2s ease, border-color .2s ease; }
.client-logo img { height: 100%; width: auto; max-width: 140px; object-fit: contain; display: block; }
.client-logo.on-light { background: #fff; padding: 12px 20px; }
.client-logo:hover { transform: translateY(-2px); border-color: var(--gold); }

/* Service headings in gold; home intro runs the full width of the heading block */
.pillars-gold .pillar b { color: var(--gold); }
.who .lede { max-width: none; }

/* Tighter page heroes: less empty space under the title */
.hero--page { min-height: clamp(340px, 40vh, 420px); padding-bottom: 3.5rem; }
@media (max-width: 860px) { .hero.hero--page { min-height: 400px; padding-bottom: 2.5rem; } }

/* Section links in gold */
.pillars-gold .link-quiet { color: var(--gold); }

/* 24-month term: label and price on one line */
.price-card .term-24-line { display: flex; align-items: baseline; flex-wrap: nowrap; gap: 0.4rem; margin: 0.35rem 0 0; font-size: 0.78rem; color: #cfcde0; white-space: nowrap; }
.price-card .term-24-line span { font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; }
.price-card .term-24-line b { font-family: var(--head); font-weight: 600; color: var(--gold); font-size: 0.95rem; }

/* Pricing disclaimer: smaller, close to the cards, full width */
.section .note.disclaimer { font-size: 0.78rem; max-width: none; margin: 1rem 0 0; line-height: 1.55; }
.note.disclaimer b { font-weight: 600; color: #fff; }
.price sup { font-size: 0.5em; vertical-align: super; margin-left: 1px; }

/* Four-up retainer cards: 12-month prices sit on one line across the cards */
#retainers .price-grid.four .price-card .for { min-height: 5.1em; }

/* Website design packages: prices sit on one line across the cards */
#packages .pkg-grid .price-card:not(.addons-card) .for { min-height: 3.3em; }
#packages .pkg-grid .price-card:not(.addons-card) .price-label { margin-top: 0.4rem; }

/* The Directive list: dates, Read links and arrows in gold */
.post-card .post-date, .post-card .link-quiet, .post-card .link-quiet span { color: var(--gold); }
.post-card .link-quiet:hover { color: #fff; }

.founder-name { color: var(--gold); }

/* Testimonial */
.testimonial { margin: 0; max-width: 70ch; }
.testimonial blockquote { margin: 0; }
.testimonial .pull { font-family: var(--head); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.35; letter-spacing: -0.01em; margin: 0 0 1rem; }
.testimonial details { color: #d6d3e8; }
.testimonial summary { cursor: pointer; color: #D4B56A; margin-bottom: 1rem; }
.testimonial details p { margin: 0 0 1rem; }
.testimonial figcaption { margin-top: 1rem; color: var(--muted); font-size: 0.95rem; }

/* Menu icon: three lines that turn into a cross when open */
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, background .2s ease; }
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-button[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-button[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }
