/* ==========================================================================
   Brewbyte Tech — public website
   Base components. Brand look (Arnfar-style gradient theme) lives in theme.css.
   ========================================================================== */

:root {
    --ink: #0f172a;
    --ink-2: #1e293b;
    --ink-soft: #475569;
    --muted: #64748b;
    --paper: #f8fafc;
    --paper-warm: #f1f5f9;
    --white: #ffffff;
    --violet: #2563eb;
    --violet-dark: #1d4ed8;
    --violet-soft: #e0ecff;
    --mint: #0d9488;
    --mint-soft: #ccfbf1;
    --peach: #d97706;
    --peach-soft: #fef3c7;
    --sky: #0891b2;
    --sky-soft: #cffafe;
    --rose: #e11d48;
    --rose-soft: #ffe4e6;
    --line: #e2e8f0;
    --line-dark: rgba(255, 255, 255, 0.12);
    --shadow-soft: 0 24px 70px -42px rgba(15, 23, 42, 0.35);
    --shadow-lift: 0 34px 80px -40px rgba(15, 23, 42, 0.42);
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 30px;
    --container: 1220px;
    --serif: "Instrument Serif", "Noto Serif Lao", "Noto Serif Thai", Georgia, serif;
    --mono: "JetBrains Mono", "Noto Sans Lao", "Noto Sans Thai", ui-monospace, SFMono-Regular, monospace;
    --sans: "Inter", "Noto Sans Lao", "Noto Sans Thai", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

::selection {
    background: var(--violet);
    color: var(--white);
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.04em;
}

h1 em,
h2 em,
h3 em {
    font-family: var(--serif);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.01em;
    color: var(--violet);
}

h1 {
    font-size: clamp(3.2rem, 6.4vw, 6.2rem);
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.7rem);
}

h3 {
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
}

p {
    color: var(--ink-soft);
}

.container {
    width: min(100% - 48px, var(--container));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 1000;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    font-weight: 700;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 16px;
}

.mono {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: var(--violet-dark);
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow-light {
    color: rgba(255, 255, 255, 0.74);
}

.pulse-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--violet);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.13);
}

.pulse-dot::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(37, 99, 235, 0.4);
    border-radius: 50%;
    animation: pulse 2.4s ease-out infinite;
}

.lede {
    color: var(--ink-soft);
    font-size: clamp(1.08rem, 1.6vw, 1.32rem);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Buttons and links
   -------------------------------------------------------------------------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid var(--violet);
    border-radius: 999px;
    background: var(--violet);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button i {
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    background: var(--violet-dark);
    border-color: var(--violet-dark);
    box-shadow: 0 16px 36px -18px rgba(29, 78, 216, 0.8);
}

.button:hover i {
    transform: translate(2px, -2px);
}

.button-ghost {
    border-color: var(--line);
    background: transparent;
    color: var(--ink);
}

.button-ghost:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
    box-shadow: none;
}

.button-light {
    border-color: var(--white);
    background: var(--white);
    color: var(--ink);
}

.button-light:hover {
    border-color: var(--paper-warm);
    background: var(--paper-warm);
    color: var(--ink);
    box-shadow: 0 16px 36px -18px rgba(0, 0, 0, 0.45);
}

.button-sm {
    min-height: 44px;
    padding: 0 18px;
    font-size: 0.82rem;
}

.button-block {
    width: 100%;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 0.87rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(15, 23, 42, 0.25);
    padding-bottom: 3px;
    transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}

.text-link i {
    font-size: 0.85rem;
    color: var(--violet);
}

.text-link:hover {
    gap: 12px;
    color: var(--violet-dark);
    border-color: var(--violet);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 22px;
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 700;
}

.card-link i {
    color: var(--violet);
    transition: transform 0.2s ease;
}

a:hover .card-link i {
    transform: translate(3px, -3px);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    border-color: var(--line);
    box-shadow: 0 10px 30px -26px rgba(15, 23, 42, 0.4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 84px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: var(--ink);
}

.brand-mark {
    display: inline-flex;
    width: 34px;
    height: 34px;
    color: var(--violet);
}

.brand-mark svg {
    width: 100%;
    height: 100%;
}

.brand-name {
    font-size: 1.26rem;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.brand-name span {
    color: var(--violet);
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.primary-nav a {
    position: relative;
    color: var(--ink-soft);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.primary-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;
    height: 2px;
    border-radius: 2px;
    background: var(--violet);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
    color: var(--ink);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
    transform: scaleX(1);
}

.primary-nav .nav-contact {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.language-switch {
    display: inline-flex;
    align-items: center;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
}

.language-switch a {
    display: grid;
    place-items: center;
    min-width: 34px;
    height: 30px;
    padding: 0 8px;
    border-radius: 999px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    transition: background 0.2s ease, color 0.2s ease;
}

.language-switch a:hover {
    color: var(--ink);
}

.language-switch a.is-active {
    background: var(--ink);
    color: var(--white);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 1.5px;
    margin: 5px auto;
    background: currentColor;
    transition: transform 0.2s ease;
}

/* --------------------------------------------------------------------------
   Flash message
   -------------------------------------------------------------------------- */

.flash-stack {
    padding-top: 18px;
}

.flash {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    font-size: 0.9rem;
}

.flash i:first-child {
    font-size: 1.1rem;
}

.flash span {
    flex: 1;
}

.flash button {
    border: 0;
    background: transparent;
    color: var(--muted);
}

.flash-success i:first-child {
    color: var(--mint);
}

.flash-error i:first-child {
    color: var(--rose);
}

.flash-warning i:first-child {
    color: var(--peach);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(66px, 9vw, 116px) 0 clamp(64px, 8vw, 106px);
    background:
        radial-gradient(circle at 82% 10%, rgba(37, 99, 235, 0.13), transparent 32%),
        radial-gradient(circle at 8% 92%, rgba(240, 180, 122, 0.13), transparent 28%),
        var(--paper);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.4;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.032) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: radial-gradient(circle at 50% 30%, black, transparent 72%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    align-items: center;
    gap: clamp(40px, 6vw, 84px);
}

.hero-copy h1 {
    max-width: 760px;
    margin-bottom: 28px;
}

.hero-text {
    max-width: 590px;
    font-size: clamp(1.02rem, 1.45vw, 1.18rem);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(24px, 4vw, 48px);
    margin-top: 52px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.hero-stats div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stats strong {
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    letter-spacing: -0.06em;
    line-height: 1;
}

.hero-stats span {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.63rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-visual {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-glow {
    position: absolute;
    width: 72%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25), transparent 68%);
    filter: blur(20px);
}

.studio-window {
    position: relative;
    z-index: 2;
    width: min(100%, 540px);
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 48px 100px -38px rgba(15, 23, 42, 0.52);
    transform: rotate(-1.4deg);
    transition: transform 0.5s ease;
}

.hero-visual:hover .studio-window {
    transform: rotate(0deg) translateY(-5px);
}

.window-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 14px;
    border-bottom: 1px solid #ece9f6;
    background: #f3f8ff;
}

.window-bar > span:not(.window-url) {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d9d4ef;
}

.window-bar > span:nth-child(1) {
    background: #f1b7c6;
}

.window-bar > span:nth-child(2) {
    background: #f5d3a5;
}

.window-bar > span:nth-child(3) {
    background: #b7e5d1;
}

.window-url {
    margin-left: auto;
    color: #9b97ad;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.02em;
}

.window-body {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    min-height: 390px;
}

.mini-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 18px 10px;
    border-right: 1px solid #efedf7;
    background: #f8fbff;
}

.mini-logo {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
    border-radius: 9px;
    background: var(--violet);
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
}

.mini-nav {
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.mini-nav i {
    display: block;
    width: 11px;
    height: 2px;
    margin: 13px auto 0;
    border-radius: 3px;
    background: #cbd5e1;
    box-shadow: 0 4px 0 #cbd5e1;
}

.mini-nav.is-active {
    background: var(--violet-soft);
}

.mini-nav.is-active i {
    background: var(--violet);
    box-shadow: 0 4px 0 var(--violet);
}

.mini-avatar {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-top: auto;
    border-radius: 50%;
    background: var(--peach-soft);
    color: var(--peach);
    font-size: 8px;
    font-weight: 800;
}

.mini-main {
    padding: 24px;
}

.mini-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mini-head div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mini-head small,
.mini-chart-head small,
.mini-metrics small {
    color: #9995aa;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.06em;
}

.mini-head strong {
    color: var(--ink);
    font-size: 18px;
    letter-spacing: -0.04em;
}

.mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--mint-soft);
    color: var(--mint);
    font-family: var(--mono);
    font-size: 7px;
    font-weight: 500;
    text-transform: uppercase;
}

.mini-badge::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.mini-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 22px;
}

.mini-metrics div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 11px 10px;
    border-radius: 10px;
    background: #f6f9fc;
}

.mini-metrics strong {
    color: var(--ink);
    font-size: 20px;
    letter-spacing: -0.05em;
    line-height: 1.1;
}

.mini-metrics span {
    color: var(--mint);
    font-size: 7px;
}

.mini-chart {
    margin-top: 18px;
    padding: 14px;
    border-radius: 13px;
    background: var(--ink);
}

.mini-chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.mini-chart-head small {
    color: rgba(255, 255, 255, 0.65);
}

.mini-chart-head span {
    color: rgba(255, 255, 255, 0.38);
    font-family: var(--mono);
    font-size: 7px;
}

.mini-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 72px;
}

.mini-bars i {
    flex: 1;
    height: var(--h, 50%);
    border-radius: 3px 3px 1px 1px;
    background: linear-gradient(180deg, #9187f3, #5e50dc);
    opacity: 0.9;
}

.mini-bars i:nth-child(2n) {
    background: linear-gradient(180deg, #f0b47a, #d89455);
}

.floating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: 1px solid rgba(231, 227, 218, 0.8);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 24px 50px -24px rgba(15, 23, 42, 0.34);
    backdrop-filter: blur(8px);
}

.floating-card strong {
    display: block;
    color: var(--ink);
    font-size: 11px;
    line-height: 1.3;
}

.floating-card small {
    display: block;
    color: var(--muted);
    font-size: 8px;
}

.floating-card-top {
    top: 6%;
    right: -2%;
    animation: float 6s ease-in-out infinite;
}

.floating-card-bottom {
    bottom: 4%;
    left: -3%;
    animation: float 7s ease-in-out 1s infinite;
}

.floating-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--mint-soft);
    color: var(--mint);
    font-size: 12px;
}

.mini-avatars {
    display: flex;
}

.mini-avatars i {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-right: -7px;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: var(--violet-soft);
    color: var(--violet-dark);
    font-size: 6px;
    font-style: normal;
    font-weight: 800;
}

.mini-avatars i:nth-child(2) {
    background: var(--peach-soft);
    color: var(--peach);
}

.mini-avatars i:nth-child(3) {
    background: var(--mint-soft);
    color: var(--mint);
}

.hero-spark {
    position: absolute;
    color: var(--violet);
    font-size: 22px;
    opacity: 0.7;
}

.hero-spark-one {
    top: 1%;
    left: 3%;
}

.hero-spark-two {
    right: 1%;
    bottom: 13%;
    color: var(--peach);
    font-size: 16px;
}

/* --------------------------------------------------------------------------
   Capability strip
   -------------------------------------------------------------------------- */

.capability-strip {
    overflow: hidden;
    padding: 18px 0;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.74);
}

.capability-track {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px clamp(20px, 3vw, 38px);
}

.capability-track span {
    font-family: var(--mono);
    font-size: 0.63rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.capability-track i {
    color: var(--violet);
    font-size: 0.6rem;
    font-style: normal;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
    padding: clamp(76px, 9vw, 122px) 0;
}

.section-heading {
    margin-bottom: clamp(38px, 5vw, 62px);
}

.section-heading h2 {
    max-width: 700px;
}

.section-heading-split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
}

.section-heading-split > p,
.section-heading-split .heading-side {
    max-width: 470px;
    padding-bottom: 4px;
}

.section-heading-split .heading-side p {
    margin-bottom: 16px;
}

.section-heading-center {
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
}

.section-heading-center p {
    max-width: 560px;
    margin: 18px auto 0;
}

.services-section {
    background: var(--paper);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.accent-violet { --accent: var(--violet); --accent-soft: var(--violet-soft); }
.accent-mint { --accent: var(--mint); --accent-soft: var(--mint-soft); }
.accent-peach { --accent: var(--peach); --accent-soft: var(--peach-soft); }
.accent-sky { --accent: var(--sky); --accent-soft: var(--sky-soft); }
.accent-rose { --accent: var(--rose); --accent-soft: var(--rose-soft); }

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--accent-soft, var(--violet-soft));
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
    z-index: 1;
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--accent, var(--violet)) 30%, var(--line));
    box-shadow: var(--shadow-lift);
}

.service-card:hover::after {
    opacity: 1;
    transform: scale(1.15);
}

.service-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 28px;
    border-radius: 15px;
    background: var(--accent-soft, var(--violet-soft));
    color: var(--accent, var(--violet));
    font-size: 1.25rem;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.65;
}

.service-card .card-link {
    position: relative;
    z-index: 1;
    color: var(--accent, var(--violet-dark));
}

/* --------------------------------------------------------------------------
   Work
   -------------------------------------------------------------------------- */

.work-section {
    background: var(--paper-warm);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.work-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: var(--radius);
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lift);
}

.work-card-lead {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1.22fr 0.78fr;
}

.work-media {
    position: relative;
    min-height: 270px;
    overflow: hidden;
    background: var(--violet-soft);
}

.work-card-lead .work-media {
    min-height: 390px;
}

.work-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card:hover .work-media img {
    transform: scale(1.035);
}

.work-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.work-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 30px;
}

.work-card-lead .work-copy {
    justify-content: center;
    padding: clamp(30px, 4vw, 54px);
}

.work-meta {
    margin-bottom: 12px;
    color: var(--violet-dark);
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.work-copy h2,
.work-copy h3 {
    margin-bottom: 12px;
    font-size: clamp(1.4rem, 2.4vw, 2.15rem);
}

.work-copy p {
    font-size: 0.91rem;
}

.media-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 250px;
    background: linear-gradient(135deg, var(--violet-soft), var(--peach-soft));
    color: var(--violet);
    font-size: 2rem;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about-band {
    position: relative;
    overflow: hidden;
}

.about-band::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 38%;
    height: 100%;
    background: radial-gradient(circle at 70% 40%, rgba(37, 99, 235, 0.08), transparent 65%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
    gap: clamp(48px, 7vw, 100px);
}

.about-visual {
    position: relative;
    padding: 22px 20px 34px 0;
}

.about-image-wrap {
    overflow: hidden;
    border-radius: 26px 26px 110px 26px;
    box-shadow: var(--shadow-lift);
    transform: rotate(-2deg);
}

.about-image-wrap img {
    width: 100%;
    aspect-ratio: 0.92;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    border-radius: 18px;
    background: var(--ink);
    color: var(--white);
    box-shadow: 0 24px 50px -26px rgba(15, 23, 42, 0.6);
}

.about-badge strong {
    color: var(--peach);
    font-family: var(--serif);
    font-size: 2.7rem;
    font-style: italic;
    font-weight: 400;
    line-height: 0.8;
}

.about-badge span {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--mono);
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    line-height: 1.55;
    text-transform: uppercase;
}

.about-sticker {
    position: absolute;
    top: 2px;
    left: -18px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink-soft);
    font-family: var(--mono);
    font-size: 0.58rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transform: rotate(-6deg);
}

.about-copy h2 {
    max-width: 620px;
    margin-bottom: 24px;
}

.about-copy > p {
    max-width: 590px;
    font-size: 1.02rem;
}

.value-list {
    display: grid;
    gap: 10px;
    margin: 30px 0 34px;
}

.value-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-2);
    font-size: 0.9rem;
    font-weight: 600;
}

.value-list i {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--violet-soft);
    color: var(--violet-dark);
    font-size: 0.65rem;
}

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */

.process-section {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.process-step {
    position: relative;
    padding-top: 28px;
    border-top: 1px solid var(--ink);
}

.process-step::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--violet);
}

.step-number {
    display: block;
    margin-bottom: 32px;
    color: var(--violet);
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
}

.process-step h3 {
    margin-bottom: 10px;
    font-size: 1.18rem;
}

.process-step p {
    font-size: 0.86rem;
    line-height: 1.65;
}

.process-section-alt {
    background: var(--paper-warm);
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.testimonials-section {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
}

.testimonials-section::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 50%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25), transparent 68%);
}

.testimonials-section .eyebrow {
    color: var(--peach);
}

.testimonials-section h2 {
    color: var(--white);
}

.quote-mark {
    color: var(--peach);
    font-family: var(--serif);
    font-size: 9rem;
    font-style: italic;
    line-height: 0.5;
    opacity: 0.7;
}

.testimonial-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 30px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.045);
}

.stars {
    display: flex;
    gap: 3px;
    margin-bottom: 24px;
    color: var(--peach);
    font-size: 0.7rem;
}

.testimonial-card blockquote {
    flex: 1;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--serif);
    font-size: clamp(1.25rem, 1.8vw, 1.55rem);
    font-style: italic;
    line-height: 1.35;
}

.testimonial-card figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--line-dark);
}

.avatar {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    background: var(--violet-soft);
    color: var(--violet-dark);
    font-size: 0.68rem;
    font-weight: 800;
}

.avatar-initials {
    background: var(--peach-soft);
    color: var(--peach);
}

.testimonial-card figcaption strong {
    display: block;
    color: var(--white);
    font-size: 0.85rem;
}

.testimonial-card figcaption small {
    display: block;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.7rem;
}

/* --------------------------------------------------------------------------
   Insights cards
   -------------------------------------------------------------------------- */

.insights-section {
    background: var(--paper);
}

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

.post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: var(--shadow-lift);
}

.post-media {
    position: relative;
    aspect-ratio: 1.55;
    overflow: hidden;
    background: var(--violet-soft);
}

.post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.post-card:hover .post-media img {
    transform: scale(1.04);
}

.post-category {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 0.55rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.post-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 25px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 12px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.58rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.post-meta span + span::before {
    content: "·";
    margin-right: 14px;
    color: var(--line);
}

.post-copy h2,
.post-copy h3 {
    margin-bottom: 10px;
    font-size: 1.26rem;
    line-height: 1.22;
}

.post-copy p {
    font-size: 0.86rem;
    line-height: 1.65;
}

.post-read {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 22px;
    color: var(--ink);
    font-size: 0.7rem;
    font-weight: 700;
}

.post-read i {
    color: var(--violet);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-section {
    background: var(--paper-warm);
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(48px, 7vw, 100px);
}

.faq-intro {
    position: sticky;
    top: 120px;
    align-self: start;
    max-width: 380px;
}

.faq-intro h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 3.2vw, 2.9rem);
}

.faq-intro p {
    margin-bottom: 22px;
    font-size: 0.92rem;
}

.faq-list {
    border-top: 1px solid rgba(15, 23, 42, 0.2);
}

.faq-item {
    border-bottom: 1px solid rgba(15, 23, 42, 0.16);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 4px;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary i {
    flex-shrink: 0;
    color: var(--violet);
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.faq-item[open] summary i {
    transform: rotate(45deg);
}

.faq-answer {
    max-width: 640px;
    padding: 0 34px 24px 4px;
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
    position: relative;
    overflow: hidden;
    padding: clamp(70px, 8vw, 104px) 0;
    background: linear-gradient(125deg, #5d4fda 0%, var(--violet) 52%, #8b7df0 100%);
    color: var(--white);
}

.cta-band-compact {
    padding: 70px 0;
}

.cta-orb {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 50%;
    pointer-events: none;
}

.cta-orb-one {
    top: -44%;
    right: -8%;
    width: 620px;
    height: 620px;
}

.cta-orb-two {
    bottom: -70%;
    left: 3%;
    width: 400px;
    height: 400px;
}

.cta-inner {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
}

.cta-copy {
    max-width: 720px;
}

.cta-copy h2 {
    margin-bottom: 18px;
    color: var(--white);
}

.cta-copy p {
    max-width: 570px;
    color: rgba(255, 255, 255, 0.78);
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex-shrink: 0;
}

.cta-email {
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--mono);
    font-size: 0.67rem;
    letter-spacing: 0.03em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    padding-bottom: 2px;
}

.cta-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.73rem;
}

.cta-whatsapp:hover,
.cta-email:hover {
    color: var(--white);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.55fr 0.8fr 0.7fr 1fr;
    gap: 50px;
    padding-top: 78px;
    padding-bottom: 58px;
}

.footer-brand .brand {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand .brand-mark {
    color: var(--peach);
}

.footer-brand p {
    max-width: 330px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.87rem;
}

.footer-socials {
    display: flex;
    gap: 8px;
    margin-top: 24px;
}

.footer-socials a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-socials a:hover {
    border-color: var(--violet);
    background: var(--violet);
    color: var(--white);
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.footer-column h2 {
    margin-bottom: 10px;
    color: var(--white);
    font-family: var(--mono);
    font-size: 0.63rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.84rem;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-column a i {
    font-size: 0.65rem;
    color: var(--peach);
}

.footer-address {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.78rem;
    line-height: 1.7;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 22px;
    padding-bottom: 28px;
    border-top: 1px solid var(--line-dark);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.72rem;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    color: rgba(255, 255, 255, 0.34);
    font-size: 0.7rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.55);
}

.footer-legal a:hover {
    color: var(--white);
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #25d366;
    color: #0c3b23;
    font-size: 1.3rem;
    box-shadow: 0 16px 36px -14px rgba(12, 59, 35, 0.5);
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.03);
}

/* --------------------------------------------------------------------------
   Inner hero and listing pages
   -------------------------------------------------------------------------- */

.inner-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(58px, 7vw, 94px) 0 clamp(52px, 6vw, 78px);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 90% 0%, rgba(37, 99, 235, 0.1), transparent 34%),
        var(--paper);
}

.listing-hero-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
}

.listing-hero h1 {
    font-size: clamp(3rem, 5.6vw, 5.1rem);
}

.listing-hero .lede {
    max-width: 480px;
    padding-bottom: 6px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 34px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.breadcrumb a:hover {
    color: var(--violet-dark);
}

.breadcrumb i {
    color: #94a3b8;
    font-size: 0.5rem;
}

.inner-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: clamp(40px, 6vw, 80px);
}

.inner-hero-copy h1 {
    max-width: 780px;
    margin-bottom: 22px;
    font-size: clamp(2.9rem, 5.5vw, 5rem);
}

.inner-hero-copy .lede {
    max-width: 610px;
}

.page-updated {
    margin-top: 20px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.inner-hero-media {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow-lift);
}

.inner-hero-media img {
    width: 100%;
    aspect-ratio: 1.1;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   Filter bar
   -------------------------------------------------------------------------- */

.listing-section {
    padding-top: clamp(50px, 6vw, 76px);
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 40px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.chip {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--ink-soft);
    font-size: 0.75rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chip:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.chip.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.search-form {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 230px;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
}

.search-form i {
    color: var(--muted);
    font-size: 0.8rem;
}

.search-form input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 0.8rem;
}

.search-form input::placeholder {
    color: #94a3b8;
}

.search-clear {
    color: var(--muted);
    font-size: 0.7rem;
}

.results-line {
    margin-top: -20px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 0.8rem;
}

.results-line a {
    color: var(--violet-dark);
    text-decoration: underline;
}

.post-grid.listing-grid {
    row-gap: 26px;
}

.post-card-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
}

.post-card-featured .post-media {
    aspect-ratio: auto;
    min-height: 380px;
    height: 100%;
}

.post-card-featured .post-copy {
    justify-content: center;
    padding: 38px;
}

.post-card-featured .post-copy h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 54px;
}

.pagination a,
.pagination > span {
    display: grid;
    place-items: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--ink-soft);
    font-family: var(--mono);
    font-size: 0.7rem;
}

.pagination a:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.pagination .is-current {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.pagination .is-disabled {
    opacity: 0.35;
}

.pagination .pagination-gap {
    border: 0;
    background: transparent;
}

/* --------------------------------------------------------------------------
   Empty state
   -------------------------------------------------------------------------- */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 50px 24px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    text-align: center;
}

.empty-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--violet-soft);
    color: var(--violet);
    font-size: 1.5rem;
}

.empty-state h2 {
    margin-bottom: 8px;
    font-size: 1.6rem;
}

.empty-state p {
    max-width: 400px;
    margin-bottom: 22px;
    font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Article
   -------------------------------------------------------------------------- */

.article-header {
    padding: clamp(50px, 7vw, 88px) 0 38px;
    background: var(--paper);
}

.article-header-inner {
    max-width: 880px;
}

.article-header h1 {
    max-width: 900px;
    margin-bottom: 24px;
    font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.article-header .lede {
    max-width: 720px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
    color: var(--muted);
    font-size: 0.75rem;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-author strong {
    display: block;
    color: var(--ink);
    font-size: 0.78rem;
}

.article-author small {
    display: block;
    font-size: 0.67rem;
}

.meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #c4c1cc;
}

.article-cover {
    margin-top: 20px;
}

.article-cover img {
    width: 100%;
    max-height: 620px;
    border-radius: var(--radius);
    object-fit: cover;
}

.article-layout {
    display: grid;
    grid-template-columns: 110px minmax(0, 760px);
    justify-content: center;
    gap: 52px;
    padding-top: clamp(48px, 6vw, 76px);
    padding-bottom: clamp(54px, 7vw, 90px);
}

.article-share {
    position: sticky;
    top: 120px;
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.article-share > span {
    margin-bottom: 4px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-share a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink-soft);
    font-size: 0.8rem;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.article-share a:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.article-author-card {
    display: flex;
    gap: 18px;
    margin-top: 58px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-warm);
}

.article-author-card .avatar {
    width: 52px;
    height: 52px;
    font-size: 0.8rem;
}

.article-author-card .eyebrow {
    margin-bottom: 6px;
}

.article-author-card h2 {
    margin-bottom: 6px;
    font-size: 1.3rem;
}

.article-author-card p {
    font-size: 0.85rem;
}

.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-top: 0;
    padding-bottom: clamp(54px, 7vw, 84px);
}

.article-nav-link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.article-nav-link:hover {
    transform: translateY(-3px);
    border-color: var(--violet);
}

.article-nav-link span {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.58rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.article-nav-link strong {
    font-size: 0.95rem;
    line-height: 1.35;
}

.article-nav-next {
    text-align: right;
}

.related-section {
    border-top: 1px solid var(--line);
    background: var(--paper-warm);
}

/* --------------------------------------------------------------------------
   Prose
   -------------------------------------------------------------------------- */

.prose {
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.82;
}

.prose > *:first-child {
    margin-top: 0;
}

.prose h2 {
    margin: 2.3em 0 0.7em;
    color: var(--ink);
    font-size: clamp(1.6rem, 2.6vw, 2.15rem);
    line-height: 1.15;
}

.prose h3 {
    margin: 1.9em 0 0.55em;
    color: var(--ink);
    font-size: 1.25rem;
}

.prose p {
    margin: 0 0 1.35em;
}

.prose .lead {
    color: var(--ink);
    font-size: 1.18rem;
    line-height: 1.65;
}

.prose a {
    color: var(--violet-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.prose strong {
    color: var(--ink);
    font-weight: 700;
}

.prose ul,
.prose ol {
    margin: 0 0 1.45em;
    padding-left: 1.3em;
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose li {
    margin-bottom: 0.5em;
    padding-left: 0.2em;
}

.prose li::marker {
    color: var(--violet);
}

.prose blockquote {
    margin: 2em 0;
    padding: 8px 0 8px 28px;
    border-left: 2px solid var(--violet);
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-style: italic;
    line-height: 1.35;
}

.prose blockquote p {
    color: inherit;
}

.prose img {
    width: 100%;
    height: auto;
    margin: 2em 0;
    border-radius: var(--radius-sm);
}

/* Product screenshots added by the QA tester's showcase (tools/bb_publish.py). */
.prose .qa-shots {
    display: grid;
    gap: 28px;
    margin: 0 0 1.45em;
}

.prose .qa-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
    margin: 0 0 1.45em;
}

.prose .qa-shot {
    margin: 0;
}

.prose .qa-shot img {
    display: block;
    margin: 0;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.prose .qa-shot figcaption {
    margin-top: 0.6em;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 600;
}

.prose .qa-gallery figcaption {
    font-size: 0.85rem;
}

.prose hr {
    margin: 2.5em 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.prose code {
    padding: 2px 6px;
    border-radius: 5px;
    background: var(--violet-soft);
    color: var(--violet-dark);
    font-family: var(--mono);
    font-size: 0.82em;
}

.prose pre {
    overflow-x: auto;
    margin: 1.8em 0;
    padding: 22px;
    border-radius: var(--radius-sm);
    background: var(--ink);
    color: #e7e4f7;
}

.prose pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

/* --------------------------------------------------------------------------
   Generic page
   -------------------------------------------------------------------------- */

.page-body {
    padding-top: clamp(54px, 7vw, 86px);
}

.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) 300px;
    justify-content: center;
    gap: clamp(44px, 6vw, 84px);
}

.page-aside,
.case-aside,
.service-aside {
    align-self: start;
}

.aside-card {
    position: sticky;
    top: 120px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-warm);
}

.aside-card h2 {
    margin-bottom: 12px;
    font-size: 1.55rem;
    line-height: 1.12;
}

.aside-card p {
    margin-bottom: 22px;
    font-size: 0.88rem;
}

.aside-card .eyebrow {
    margin-bottom: 12px;
    font-size: 0.6rem;
}

.aside-email {
    display: block;
    margin-top: 16px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.65rem;
    text-align: center;
}

.aside-email:hover {
    color: var(--violet-dark);
}

.aside-card-accent {
    background: var(--violet-soft);
    border-color: rgba(37, 99, 235, 0.15);
}

/* --------------------------------------------------------------------------
   Case study
   -------------------------------------------------------------------------- */

.case-hero {
    padding-bottom: clamp(46px, 6vw, 70px);
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.case-meta dt {
    margin-bottom: 4px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.56rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.case-meta dd {
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 700;
}

.case-meta dd a {
    color: var(--violet-dark);
}

.case-media img {
    aspect-ratio: 1.15;
}

.case-body {
    padding-top: clamp(54px, 7vw, 86px);
}

.case-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) 300px;
    justify-content: center;
    gap: clamp(44px, 6vw, 84px);
}

/* --------------------------------------------------------------------------
   Services pages
   -------------------------------------------------------------------------- */

.services-list-section {
    padding-top: clamp(50px, 6vw, 76px);
}

.service-row {
    display: grid;
    grid-template-columns: 50px 64px minmax(0, 1fr) 54px;
    align-items: start;
    gap: 26px;
    padding: 38px 0;
    border-bottom: 1px solid var(--line);
}

.service-row:first-child {
    border-top: 1px solid var(--line);
}

.service-row-number {
    padding-top: 8px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
}

.service-row-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 1.4rem;
}

.service-row-copy .eyebrow {
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 0.58rem;
}

.service-row-copy h2 {
    margin-bottom: 12px;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.service-row-copy > p {
    max-width: 660px;
    font-size: 0.92rem;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
    margin-top: 22px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--ink-2);
    font-size: 0.82rem;
    line-height: 1.45;
}

.feature-list i {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent, var(--violet));
    font-size: 0.7rem;
}

.service-row-link {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.service-row-link:hover {
    transform: rotate(8deg);
    border-color: var(--accent);
    background: var(--accent);
    color: var(--white);
}

.service-hero {
    background:
        radial-gradient(circle at 88% 8%, var(--accent-soft, var(--violet-soft)), transparent 36%),
        var(--paper);
}

.service-hero-grid {
    display: grid;
    grid-template-columns: 1.16fr 0.84fr;
    align-items: center;
    gap: clamp(40px, 6vw, 80px);
}

.service-icon-lg {
    width: 64px;
    height: 64px;
    margin-bottom: 26px;
    font-size: 1.6rem;
}

.service-hero h1 {
    margin-bottom: 20px;
    font-size: clamp(2.9rem, 5vw, 4.6rem);
}

.service-price {
    margin-top: 18px;
    color: var(--accent, var(--violet-dark));
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.service-hero .button-row {
    margin-top: 30px;
}

.service-includes {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.service-includes .eyebrow {
    margin-bottom: 18px;
}

.feature-list-lg {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 0;
}

.feature-list-lg li {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    font-size: 0.88rem;
}

.feature-list-lg li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.service-body {
    padding-top: clamp(54px, 7vw, 86px);
}

.service-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) 300px;
    justify-content: center;
    gap: clamp(44px, 6vw, 84px);
}

.faq-section-compact {
    padding-top: 30px;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(54px, 7vw, 88px) 0 clamp(70px, 8vw, 110px);
    background:
        radial-gradient(circle at 12% 8%, rgba(240, 180, 122, 0.12), transparent 30%),
        radial-gradient(circle at 90% 20%, rgba(37, 99, 235, 0.13), transparent 34%),
        var(--paper);
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: clamp(44px, 7vw, 100px);
}

.contact-intro h1 {
    margin-bottom: 24px;
    font-size: clamp(2.9rem, 5.4vw, 4.8rem);
}

.contact-intro .lede {
    max-width: 540px;
}

.contact-details {
    display: grid;
    gap: 9px;
    margin-top: 34px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.6);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-detail:hover {
    border-color: var(--violet);
    background: var(--white);
}

.contact-detail-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 11px;
    background: var(--violet-soft);
    color: var(--violet-dark);
    font-size: 1rem;
}

.contact-detail > span:nth-child(2) {
    flex: 1;
}

.contact-detail small {
    display: block;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.54rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.contact-detail strong {
    display: block;
    font-size: 0.85rem;
}

.contact-detail > i {
    color: var(--muted);
    font-size: 0.7rem;
}

.studio-card {
    margin-top: 26px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
}

.studio-card-top,
.studio-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
}

.studio-card-top {
    border-bottom: 1px solid var(--line);
}

.studio-card-top .mono {
    color: var(--muted);
    font-size: 0.55rem;
}

.studio-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--mint);
    font-family: var(--mono);
    font-size: 0.55rem;
    text-transform: uppercase;
}

.studio-status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.studio-card-map {
    position: relative;
    height: 150px;
    overflow: hidden;
    background:
        linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
        #eef2f6;
    background-size: 26px 26px;
}

.map-line {
    position: absolute;
    height: 2px;
    background: #cbd5e1;
    transform-origin: left;
}

.map-line-one {
    top: 38%;
    left: -6%;
    width: 80%;
    transform: rotate(9deg);
}

.map-line-two {
    top: 68%;
    left: 18%;
    width: 90%;
    transform: rotate(-13deg);
}

.map-line-three {
    top: 12%;
    left: 60%;
    width: 55%;
    transform: rotate(76deg);
    background: #cbd5e1;
}

.map-pin {
    position: absolute;
    top: 44%;
    left: 47%;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 4px solid var(--white);
    border-radius: 50%;
    background: var(--violet);
    color: var(--white);
    font-size: 0.8rem;
    box-shadow: 0 10px 22px -8px rgba(37, 99, 235, 0.7);
}

.map-label {
    position: absolute;
    top: 62%;
    left: calc(47% + 22px);
    padding: 3px 7px;
    border-radius: 4px;
    background: var(--white);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.5rem;
}

.studio-card-bottom {
    border-top: 1px solid var(--line);
}

.studio-card-bottom span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.studio-card-bottom small {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.52rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.studio-card-bottom strong {
    font-size: 0.73rem;
}

.contact-form-wrap {
    padding: clamp(26px, 3.5vw, 42px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-lift);
}

.review-form-card {
    max-width: 820px;
    margin: 38px auto 0;
}

.contact-form-head {
    margin-bottom: 28px;
}

.contact-form-head .eyebrow {
    margin-bottom: 12px;
}

.contact-form-head h2 {
    margin-bottom: 10px;
    font-size: clamp(1.7rem, 2.6vw, 2.25rem);
}

.contact-form-head p {
    font-size: 0.87rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
}

.form-field label {
    color: var(--ink);
    font-size: 0.75rem;
    font-weight: 700;
}

.form-field label span {
    color: var(--violet);
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fcfdfe;
    color: var(--ink);
    font-size: 0.87rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field input,
.form-field select {
    height: 48px;
    padding: 0 14px;
}

.form-field textarea {
    padding: 13px 14px;
    min-height: 140px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--violet);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #94a3b8;
}

.form-field.is-invalid input,
.form-field.is-invalid textarea,
.form-field.is-invalid select {
    border-color: var(--rose);
    background: #fff9fa;
}

.field-error {
    min-height: 0;
    color: var(--rose);
    font-size: 0.7rem;
}

.select-wrap {
    position: relative;
}

.select-wrap select {
    appearance: none;
    padding-right: 38px;
}

.select-wrap > i {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--muted);
    font-size: 0.7rem;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 8px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.form-note {
    max-width: 400px;
    color: var(--muted);
    font-size: 0.66rem;
    line-height: 1.55;
}

.button-submit {
    flex-shrink: 0;
}

.button-submit.is-loading {
    pointer-events: none;
    opacity: 0.65;
}

.button-submit.is-loading i {
    animation: spin 0.9s linear infinite;
}

.form-message {
    display: none;
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.82rem;
}

.form-message.is-visible {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.form-message.is-success {
    background: var(--mint-soft);
    color: var(--mint);
}

.form-message.is-error {
    background: #ffeef2;
    color: var(--rose);
}

.form-message i {
    margin-top: 2px;
}

.contact-faq {
    padding-top: clamp(62px, 7vw, 90px);
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.notfound {
    position: relative;
    overflow: hidden;
    padding: clamp(80px, 10vw, 140px) 0;
    background:
        radial-gradient(circle at 80% 30%, rgba(37, 99, 235, 0.15), transparent 35%),
        var(--paper);
}

.notfound-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.notfound-copy h1 {
    margin-bottom: 24px;
    font-size: clamp(3rem, 6vw, 5.4rem);
}

.notfound-copy .lede {
    max-width: 530px;
    margin-bottom: 32px;
}

.notfound-art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 400px;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: 50%;
}

.orbit-one {
    width: 380px;
    height: 380px;
}

.orbit-two {
    width: 260px;
    height: 260px;
    border-style: dashed;
    animation: rotate 30s linear infinite;
}

.notfound-card {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 230px;
    padding: 36px 26px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    text-align: center;
    box-shadow: var(--shadow-lift);
    transform: rotate(-3deg);
}

.notfound-card .mono {
    color: var(--violet);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
}

.notfound-card strong {
    font-family: var(--serif);
    font-size: 2.1rem;
    font-style: italic;
    font-weight: 400;
}

.notfound-card span:last-child {
    color: var(--muted);
    font-size: 0.75rem;
}

.notfound-dot {
    position: absolute;
    top: 18%;
    right: 16%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--peach);
    box-shadow: 0 0 0 8px rgba(240, 180, 122, 0.15);
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@keyframes pulse {
    0% { transform: scale(0.7); opacity: 1; }
    70% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
    .primary-nav {
        gap: 20px;
    }

    .hero-grid {
        gap: 40px;
    }

    .hero-visual {
        min-height: 440px;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 0.8fr 0.7fr 0.9fr;
        gap: 34px;
    }

    .process-grid {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .header-inner {
        min-height: 74px;
    }

    .primary-nav {
        position: fixed;
        top: 74px;
        left: 20px;
        right: 20px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: var(--paper);
        box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.4);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .primary-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .primary-nav a {
        padding: 13px 10px;
        border-bottom: 1px solid var(--line);
        font-size: 1rem;
    }

    .primary-nav a:last-child {
        border-bottom: 0;
    }

    .primary-nav a::after {
        display: none;
    }

    .primary-nav a.is-active {
        color: var(--violet-dark);
    }

    .primary-nav .nav-contact {
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--violet-dark);
    }

    .nav-toggle {
        display: block;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        transform: translateY(3.5px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-3px) rotate(-45deg);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-copy {
        max-width: 720px;
    }

    .hero-visual {
        width: min(100%, 570px);
        min-height: 0;
        margin-inline: auto;
    }

    .section-heading-split {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .section-heading-split > p,
    .section-heading-split .heading-side {
        max-width: 620px;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-visual {
        max-width: 560px;
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 24px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonial-card:last-child {
        grid-column: span 2;
        min-height: 0;
    }

    .post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .post-grid > :last-child:nth-child(odd) {
        grid-column: span 2;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .faq-intro {
        position: static;
        max-width: 620px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 32px;
    }

    .listing-hero-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 26px;
    }

    .listing-hero .lede {
        max-width: 620px;
    }

    .inner-hero-grid {
        grid-template-columns: 1fr;
    }

    .inner-hero-media {
        max-width: 560px;
    }

    .page-layout,
    .case-layout,
    .service-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .page-aside,
    .case-aside,
    .service-aside {
        max-width: 500px;
    }

    .aside-card {
        position: static;
    }

    .article-layout {
        grid-template-columns: minmax(0, 760px);
    }

    .article-share {
        position: static;
        flex-direction: row;
        justify-content: flex-start;
    }

    .article-share > span {
        margin: 0 6px 0 0;
    }

    .contact-hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .contact-intro {
        max-width: 680px;
    }

    .studio-card {
        max-width: 540px;
    }

    .notfound-grid {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .notfound-art {
        min-height: 330px;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 34px, var(--container));
    }

    .header-cta {
        display: none;
    }

    .hero {
        padding-top: 48px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 12vw, 4rem);
    }

    .hero-actions .button {
        flex: 1;
        min-width: 180px;
    }

    .hero-stats {
        gap: 22px;
    }

    .hero-stats div {
        min-width: 90px;
    }

    .studio-window {
        transform: none;
    }

    .floating-card-top {
        top: -4%;
        right: 0;
    }

    .floating-card-bottom {
        bottom: -5%;
        left: 0;
    }

    .window-body {
        min-height: 330px;
    }

    .mini-main {
        padding: 18px;
    }

    .mini-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .mini-metrics div:last-child {
        display: none;
    }

    .capability-track {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow: hidden;
        width: 100%;
    }

    .capability-track span {
        flex-shrink: 0;
    }

    .service-grid,
    .work-grid,
    .testimonial-grid,
    .post-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .work-card-lead,
    .post-card-featured {
        display: flex;
        grid-column: auto;
    }

    .work-card-lead .work-media,
    .post-card-featured .post-media {
        min-height: 260px;
        aspect-ratio: 1.45;
    }

    .testimonial-card:last-child,
    .post-grid > :last-child:nth-child(odd) {
        grid-column: auto;
    }

    .post-card-featured .post-copy {
        justify-content: flex-start;
        padding: 25px;
    }

    .service-row {
        grid-template-columns: 48px minmax(0, 1fr) 46px;
        gap: 18px;
        padding: 30px 0;
    }

    .service-row-number {
        display: none;
    }

    .service-row-link {
        width: 42px;
        height: 42px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .service-hero-grid {
        grid-template-columns: 1fr;
    }

    .service-includes {
        max-width: 540px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .button-submit {
        width: 100%;
    }

    .contact-form-wrap {
        padding: 24px 18px;
        border-radius: 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 58px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .footer-legal {
        gap: 14px;
    }

    .article-nav {
        grid-template-columns: 1fr;
    }

    .article-nav-next {
        text-align: left;
    }

    .article-header h1 {
        font-size: clamp(2.2rem, 9vw, 3.2rem);
    }

    .filter-bar {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

    .search-form {
        width: 100%;
    }

    .post-card-featured {
        display: flex;
    }

    .pagination {
        gap: 5px;
    }

    .pagination a,
    .pagination > span {
        min-width: 36px;
        height: 36px;
    }

    .about-badge {
        right: 10px;
        bottom: 10px;
    }

    .about-sticker {
        left: 0;
    }

    .article-author-card {
        flex-direction: column;
    }

    .notfound-art {
        min-height: 290px;
    }

    .orbit-one {
        width: 300px;
        height: 300px;
    }

    .orbit-two {
        width: 210px;
        height: 210px;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100% - 26px, var(--container));
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .brand-mark {
        width: 30px;
        height: 30px;
    }

    .hero h1 {
        font-size: 2.65rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .hero-stats strong {
        font-size: 1.5rem;
    }

    .hero-stats span {
        font-size: 0.52rem;
    }

    .window-body {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .mini-sidebar {
        padding-inline: 6px;
    }

    .mini-chart {
        padding: 10px;
    }

    .floating-card {
        padding: 9px 11px;
    }

    .floating-card small {
        display: none;
    }

    .service-card,
    .work-copy,
    .post-copy,
    .testimonial-card {
        padding: 22px;
    }

    .section {
        padding: 64px 0;
    }

    .section-heading h2,
    .about-copy h2,
    .cta-copy h2 {
        font-size: 2.05rem;
    }

    .contact-intro h1,
    .listing-hero h1,
    .notfound-copy h1 {
        font-size: 2.55rem;
    }

    .article-header h1 {
        font-size: 2.05rem;
    }

    .pagination a:not(.pagination-arrow):not(:first-child):not(:last-child) {
        display: none;
    }

    .pagination .is-current {
        display: grid;
    }

    .prose {
        font-size: 0.97rem;
    }
}/* --------------------------------------------------------------------------
   Lao typography
   -------------------------------------------------------------------------- */

html[lang="lo"] body,
/* --------------------------------------------------------------------------
   Lao typography
   -------------------------------------------------------------------------- */

html[lang="th"] body {
    line-height: 1.8;
}html[lang="lo"] h1,
html[lang="lo"] h2,
html[lang="lo"] h3,
html[lang="lo"] h4,
html[lang="th"] h1,
html[lang="th"] h2,
html[lang="th"] h3,
html[lang="th"] h4 {
    letter-spacing: -0.01em;
    line-height: 1.3;
}html[lang="lo"] h1,
html[lang="th"] h1 {
    font-size: clamp(2.3rem, 5.2vw, 4.7rem);
    line-height: 1.32;
}html[lang="lo"] h2,
html[lang="th"] h2 {
    font-size: clamp(1.9rem, 3.4vw, 3.05rem);
    line-height: 1.35;
}html[lang="lo"] h1 em,
html[lang="lo"] h2 em,
html[lang="lo"] h3 em,
html[lang="th"] h1 em,
html[lang="th"] h2 em,
html[lang="th"] h3 em {
    font-family: var(--serif);
    font-style: normal;
    letter-spacing: 0;
    line-height: 1.4;
}html[lang="lo"] .eyebrow,
html[lang="lo"] .mono,
html[lang="lo"] .post-read,
html[lang="lo"] .card-link,
html[lang="lo"] .step-number,
html[lang="lo"] .footer-column h2,
html[lang="th"] .eyebrow,
html[lang="th"] .mono,
html[lang="th"] .post-read,
html[lang="th"] .card-link,
html[lang="th"] .step-number,
html[lang="th"] .footer-column h2 {
    font-family: var(--sans);
    letter-spacing: 0.02em;
    text-transform: none;
}html[lang="lo"] .button,
html[lang="th"] .button {
    line-height: 1.25;
}

@media (max-width: 480px) {
    .language-switch a {
        min-width: 30px;
        height: 28px;
        padding: 0 6px;
    }
}

/* Uploaded logo (Settings > General > Logo) in place of the built-in mark. */
.brand-mark .brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-mark[data-logo] {
    width: var(--logo-size, 56px);
    height: var(--logo-size, 56px);
}

@media (max-width: 480px) {
    .brand-mark[data-logo] {
        width: min(var(--logo-size, 56px), 44px);
        height: min(var(--logo-size, 56px), 44px);
    }
}

/* Image viewer (assets/js/site.js): content images open larger in a modal. */
img.is-zoomable {
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

img.is-zoomable:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
}

img.is-zoomable:focus-visible {
    outline: 3px solid var(--violet);
    outline-offset: 3px;
}

body.lightbox-open {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 72px;
    background: rgba(9, 12, 24, 0.92);
    animation: lightbox-in 0.18s ease;
}

.lightbox[hidden] {
    display: none;
}

@keyframes lightbox-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
}

.lightbox-figure img {
    max-width: 100%;
    max-height: calc(100vh - 150px);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-figure figcaption {
    display: flex;
    gap: 16px;
    align-items: baseline;
    margin-top: 14px;
    color: #f1f5f9;
    font-weight: 600;
    text-align: center;
}

.lightbox-figure small {
    color: #94a3b8;
    font-weight: 500;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
    background: rgba(255, 255, 255, 0.24);
    outline: none;
}

.lightbox-close {
    top: 14px;
    right: 14px;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: 14px;
}

.lightbox-next {
    right: 14px;
}

@media (max-width: 640px) {
    .lightbox {
        padding: 64px 10px 24px;
    }

    .lightbox-nav {
        top: auto;
        bottom: 14px;
        transform: none;
    }

    .lightbox-figure img {
        max-height: calc(100vh - 190px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .lightbox,
    img.is-zoomable {
        animation: none;
        transition: none;
    }
}
