/* ============================================================
   ThinkGenius.com — Global Styles
   Dark & Techy Aesthetic | v1.0
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Colors */
    --black: #000000;
    --bg: #080807;
    --bg-elevated: #11100d;
    --bg-card: #15130f;
    --border: rgba(255, 248, 237, 0.1);
    --border-strong: rgba(255, 248, 237, 0.18);

    --text: #fff8ed;
    --text-dim: rgba(255, 248, 237, 0.72);
    --text-mute: rgba(255, 248, 237, 0.48);

    /* Brand */
    --yellow: #edc34f;
    --yellow-soft: #f6d77a;
    --yellow-glow: rgba(237, 195, 79, 0.26);
    --orange: #d68736;
    --orange-soft: #f0a650;

    --gradient-brand: linear-gradient(135deg, #f6d77a 0%, #edc34f 48%, #d68736 100%);
    --gradient-brand-soft: linear-gradient(135deg, rgba(237, 195, 79, 0.14), rgba(214, 135, 54, 0.08));

    /* Typography */
    --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', monospace;

    /* Layout */
    --container-max: 1240px;
    --radius: 8px;
    --radius-lg: 10px;

    /* Timing */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: var(--scene-gradient, radial-gradient(circle at 52% 14%, rgba(237, 195, 79, 0.09), rgba(214, 135, 54, 0.04) 30%, rgba(8, 8, 7, 0.96) 72%));
    transition: background 1s var(--ease), opacity 1s var(--ease);
    opacity: 0.72;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}
.accent { color: var(--yellow); }
.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: var(--yellow-soft);
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    opacity: 0.9;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: 0;
    margin-bottom: 1rem;
    color: var(--text);
}
.section-title--center { text-align: center; }
.section-sub {
    font-size: 1.08rem;
    color: var(--text-dim);
    max-width: 720px;
    margin-top: 0.5rem;
    line-height: 1.65;
}
.section-sub--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
}
.section-header .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Background Layers ---------- */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 248, 237, 0.026) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 248, 237, 0.026) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    z-index: 0;
    pointer-events: none;
    position: fixed;
    opacity: var(--grid-opacity, 0.42);
    transition: opacity 0.9s var(--ease), filter 0.9s var(--ease);
    filter: hue-rotate(var(--grid-hue, 0deg));
}
.bg-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grid-overlay, transparent);
    mix-blend-mode: screen;
    opacity: 0.44;
    transition: background 0.9s var(--ease), opacity 0.9s var(--ease);
}
.bg-glow {
    position: fixed;
    top: var(--glow-top, -20%);
    left: var(--glow-left, 50%);
    transform: translateX(-50%);
    width: var(--glow-width, 900px);
    height: var(--glow-height, 900px);
    background: var(--glow-gradient, radial-gradient(circle, rgba(237, 195, 79, 0.1) 0%, rgba(214, 135, 54, 0.05) 35%, transparent 70%));
    filter: blur(54px);
    z-index: 0;
    pointer-events: none;
    opacity: var(--glow-opacity, 0.52);
    animation: breathe 8s ease-in-out infinite alternate;
    transition: top 1s var(--ease), left 1s var(--ease), width 1s var(--ease), height 1s var(--ease), background 1s var(--ease), opacity 1s var(--ease);
}
@keyframes breathe {
    0%   { opacity: 0.36; transform: translateX(-50%) scale(1); }
    100% { opacity: 0.56; transform: translateX(-50%) scale(1.08); }
}
#particle-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.26;
    filter: hue-rotate(var(--particle-hue, 0deg)) saturate(var(--particle-sat, 1));
    transition: filter 0.9s var(--ease), opacity 0.9s var(--ease);
}

body.has-scroll-scenes[data-scene='hero'] {
    --scene-gradient: radial-gradient(circle at 52% 18%, rgba(237, 195, 79, 0.13), rgba(214, 135, 54, 0.07) 38%, rgba(8, 8, 7, 0.96) 76%);
    --grid-overlay: linear-gradient(180deg, rgba(237, 195, 79, 0.05), rgba(214, 135, 54, 0.025) 48%, transparent 74%);
    --grid-hue: 0deg;
    --particle-hue: 0deg;
    --particle-sat: 0.82;
}
body.has-scroll-scenes[data-scene='intro'] {
    --scene-gradient: radial-gradient(circle at 14% 22%, rgba(132, 167, 160, 0.08), rgba(64, 88, 86, 0.05) 33%, rgba(8, 8, 7, 0.97) 76%);
    --grid-overlay: linear-gradient(180deg, rgba(132, 167, 160, 0.035), rgba(16, 19, 17, 0.24));
    --grid-hue: 34deg;
    --glow-left: 26%;
    --glow-top: -14%;
    --glow-gradient: radial-gradient(circle, rgba(132, 167, 160, 0.1) 0%, rgba(64, 88, 86, 0.06) 38%, transparent 72%);
    --particle-hue: 22deg;
    --particle-sat: 0.75;
}
body.has-scroll-scenes[data-scene='services'] {
    --scene-gradient: radial-gradient(circle at 84% 24%, rgba(237, 195, 79, 0.1), rgba(80, 112, 96, 0.045) 35%, rgba(8, 8, 7, 0.97) 77%);
    --grid-overlay: linear-gradient(118deg, rgba(237, 195, 79, 0.04), rgba(80, 112, 96, 0.025) 45%, transparent 68%);
    --grid-hue: 84deg;
    --glow-left: 80%;
    --glow-top: -20%;
    --glow-gradient: radial-gradient(circle, rgba(237, 195, 79, 0.1) 0%, rgba(80, 112, 96, 0.055) 38%, transparent 74%);
    --particle-hue: 70deg;
    --particle-sat: 0.78;
}
body.has-scroll-scenes[data-scene='automation'] {
    --scene-gradient: radial-gradient(circle at 18% 84%, rgba(214, 135, 54, 0.12), rgba(149, 78, 50, 0.06) 35%, rgba(8, 8, 7, 0.97) 78%);
    --grid-overlay: linear-gradient(180deg, rgba(214, 135, 54, 0.045), rgba(149, 78, 50, 0.025) 52%, transparent 73%);
    --grid-hue: -15deg;
    --glow-left: 18%;
    --glow-top: 10%;
    --glow-gradient: radial-gradient(circle, rgba(214, 135, 54, 0.11) 0%, rgba(149, 78, 50, 0.055) 42%, transparent 74%);
    --particle-hue: -22deg;
    --particle-sat: 0.82;
}
body.has-scroll-scenes[data-scene='solutions'] {
    --scene-gradient: radial-gradient(circle at 80% 72%, rgba(135, 122, 91, 0.12), rgba(54, 64, 65, 0.05) 38%, rgba(8, 8, 7, 0.97) 77%);
    --grid-overlay: linear-gradient(120deg, rgba(135, 122, 91, 0.045), rgba(54, 64, 65, 0.025) 46%, transparent 70%);
    --grid-hue: 58deg;
    --glow-left: 74%;
    --glow-top: 0%;
    --glow-gradient: radial-gradient(circle, rgba(135, 122, 91, 0.1) 0%, rgba(54, 64, 65, 0.055) 40%, transparent 72%);
    --particle-hue: 52deg;
    --particle-sat: 0.76;
}
body.has-scroll-scenes[data-scene='trust'] {
    --scene-gradient: radial-gradient(circle at 50% 14%, rgba(132, 167, 160, 0.09), rgba(64, 88, 86, 0.05) 34%, rgba(8, 8, 7, 0.97) 76%);
    --grid-overlay: linear-gradient(180deg, rgba(132, 167, 160, 0.035), rgba(64, 88, 86, 0.02) 54%, transparent 74%);
    --grid-hue: 46deg;
    --glow-left: 50%;
    --glow-top: -22%;
    --glow-gradient: radial-gradient(circle, rgba(132, 167, 160, 0.09) 0%, rgba(64, 88, 86, 0.05) 38%, transparent 72%);
    --particle-hue: 42deg;
    --particle-sat: 0.76;
}
body.has-scroll-scenes[data-scene='industries'] {
    --scene-gradient: radial-gradient(circle at 14% 60%, rgba(132, 167, 132, 0.08), rgba(67, 91, 77, 0.05) 36%, rgba(8, 8, 7, 0.97) 76%);
    --grid-overlay: linear-gradient(90deg, rgba(132, 167, 132, 0.035), rgba(67, 91, 77, 0.025) 48%, transparent 70%);
    --grid-hue: 86deg;
    --glow-left: 20%;
    --glow-top: -8%;
    --glow-gradient: radial-gradient(circle, rgba(132, 167, 132, 0.085) 0%, rgba(67, 91, 77, 0.05) 42%, transparent 74%);
    --particle-hue: 78deg;
    --particle-sat: 0.76;
}
body.has-scroll-scenes[data-scene='process'] {
    --scene-gradient: radial-gradient(circle at 82% 16%, rgba(237, 195, 79, 0.12), rgba(214, 135, 54, 0.06) 36%, rgba(8, 8, 7, 0.97) 76%);
    --grid-overlay: linear-gradient(140deg, rgba(237, 195, 79, 0.045), rgba(214, 135, 54, 0.025) 47%, transparent 70%);
    --grid-hue: -6deg;
    --glow-left: 82%;
    --glow-top: -18%;
    --glow-gradient: radial-gradient(circle, rgba(237, 195, 79, 0.1) 0%, rgba(214, 135, 54, 0.055) 38%, transparent 72%);
    --particle-hue: -8deg;
    --particle-sat: 0.8;
}
body.has-scroll-scenes[data-scene='articles'] {
    --scene-gradient: radial-gradient(circle at 18% 18%, rgba(237, 195, 79, 0.09), rgba(132, 112, 72, 0.045) 34%, rgba(8, 8, 7, 0.97) 76%);
    --grid-overlay: linear-gradient(130deg, rgba(237, 195, 79, 0.035), rgba(132, 112, 72, 0.02) 48%, transparent 72%);
    --grid-hue: 8deg;
    --glow-left: 24%;
    --glow-top: -18%;
    --glow-gradient: radial-gradient(circle, rgba(237, 195, 79, 0.085) 0%, rgba(132, 112, 72, 0.045) 40%, transparent 72%);
    --particle-hue: 6deg;
    --particle-sat: 0.76;
}
body.has-scroll-scenes[data-scene='cta'] {
    --scene-gradient: radial-gradient(circle at 50% 48%, rgba(237, 195, 79, 0.13), rgba(214, 135, 54, 0.065) 42%, rgba(8, 8, 7, 0.98) 84%);
    --grid-overlay: linear-gradient(180deg, rgba(237, 195, 79, 0.045), rgba(214, 135, 54, 0.025) 57%, transparent);
    --grid-hue: 0deg;
    --glow-left: 50%;
    --glow-top: -8%;
    --glow-width: 980px;
    --glow-height: 980px;
    --glow-gradient: radial-gradient(circle, rgba(237, 195, 79, 0.11) 0%, rgba(214, 135, 54, 0.06) 40%, transparent 74%);
    --particle-hue: 0deg;
    --particle-sat: 0.82;
}

main, .nav, .footer { position: relative; z-index: 2; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.5rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn--primary {
    background: var(--yellow);
    color: #090807;
    box-shadow: none;
    font-weight: 600;
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -22px var(--yellow-glow);
}
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--text);
}
.btn--ghost:hover {
    background: rgba(255, 248, 237, 0.05);
    border-color: rgba(237, 195, 79, 0.5);
    color: var(--yellow-soft);
}
.btn--lg {
    padding: 1.1rem 2rem;
    font-size: 1rem;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.1rem 0;
    transition: all 0.35s var(--ease);
}
.nav.scrolled {
    background: rgba(8, 8, 7, 0.86);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.7rem 0;
}
.nav__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0;
}
.nav__logo-mark {
    display: grid;
    place-items: center;
    filter: drop-shadow(0 0 10px rgba(237, 195, 79, 0.22));
}
.nav__logo-mark img {
    display: block;
    height: 40px;
    width: auto;
}
.nav__logo-mark svg { width: 28px; height: 28px; }
.nav__logo-text .accent { color: var(--yellow); }
.nav__links {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}
.nav__links a {
    color: var(--text-dim);
    position: relative;
    padding: 0.25rem 0;
}
.nav__links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--yellow);
    transition: width 0.3s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.nav__toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0;
}
.nav__toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    transition: all 0.3s var(--ease);
}
.nav__toggle span:first-child { width: 22px; margin-left: auto; margin-right: 9px; }
.nav__toggle span:nth-child(2) { width: 22px; margin-left: auto; margin-right: 9px; }
.nav__toggle span:last-child { width: 14px; margin-left: auto; margin-right: 9px; }
.nav__mobile {
    display: none;
    padding: 1.5rem 2rem 2rem;
    flex-direction: column;
    gap: 1.25rem;
    background: rgba(8, 8, 7, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
    font-size: 1.1rem;
    color: var(--text-dim);
    padding: 0.25rem 0;
}
.nav__mobile a:hover { color: var(--yellow); }
.nav__mobile .btn { margin-top: 0.5rem; align-self: flex-start; }
.nav__mobile .btn--primary { color: #090807; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 92vh;
    padding: 9rem 2rem 5rem;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
    gap: 4rem;
    align-items: center;
}
.hero__copy {
    padding-top: 0;
}
.hero--atelier {
    min-height: 90vh;
    padding-top: 10rem;
}
.hero--atelier .hero__inner {
    align-items: center;
}
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.35rem;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--yellow-soft);
}
.hero__eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--yellow);
    opacity: 0.72;
}
.hero__stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: rgba(237, 195, 79, 0.055);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    letter-spacing: 0.02em;
    margin-bottom: 1.75rem;
    animation: fadeInUp 1s var(--ease) 0.2s both;
}
.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 0 4px rgba(237, 195, 79, 0.14);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(237, 195, 79, 0.26); }
    50% { box-shadow: 0 0 0 8px rgba(237, 195, 79, 0); }
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.02;
    font-weight: 600;
    letter-spacing: 0;
    margin-bottom: 1.75rem;
}
.hero__title .line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1.1s var(--ease-out) both;
}
.hero__title .line:nth-child(1) { animation-delay: 0.35s; }
.hero__title .line:nth-child(2) { animation-delay: 0.5s; }
.hero__title .line:nth-child(3) { animation-delay: 0.65s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 2rem;
    animation: fadeInUp 1s var(--ease) 0.85s both;
}
.hero__cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s var(--ease) 1s both;
}
.hero__stats { display: none; }

/* Benefits strip — sits below hero, reuses .stat styles */
.benefits-strip {
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
}
.benefits-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem 2.5rem;
}
.capability-strip {
    padding: 1.5rem 0 4rem;
}
.capability-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--border);
}
.capability {
    min-height: 132px;
    padding: 1.4rem;
    background:
        linear-gradient(180deg, rgba(255, 248, 237, 0.035), rgba(255, 248, 237, 0.015)),
        rgba(17, 16, 13, 0.88);
}
.capability strong {
    display: block;
    margin-bottom: 0.65rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}
.capability span {
    display: block;
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.55;
}
@media (max-width: 900px) {
    .benefits-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.5rem; }
    .capability-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .benefits-strip__grid { grid-template-columns: 1fr; }
    .capability-strip__grid { grid-template-columns: 1fr; }
}
.stat {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 1.25rem;
}
.stat::before {
    content: '';
    position: absolute;
    left: 0; top: 0.3rem;
    width: 2px; height: calc(100% - 0.6rem);
    background: var(--yellow);
    border-radius: 2px;
}
.stat__num {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text);
}
.stat__suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--yellow);
    font-weight: 600;
    margin-left: 2px;
    vertical-align: super;
}
.stat__label {
    font-size: 0.85rem;
    color: var(--text-mute);
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* Hero Visual — Glowing Orb */
.hero__visual {
    position: relative;
    min-height: 460px;
    height: auto;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    animation: fadeIn 1.5s var(--ease) 0.5s both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero__visual--system {
    justify-content: center;
    align-items: center;
}

.workflow-constellation {
    width: min(560px, 100%);
    aspect-ratio: 1.08;
    min-height: 500px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 50% 48%, rgba(237, 195, 79, 0.18), transparent 26%),
        linear-gradient(160deg, rgba(255, 248, 237, 0.08), rgba(255, 248, 237, 0.02) 42%, rgba(237, 195, 79, 0.06)),
        var(--bg-card);
    border: 1px solid var(--border-strong);
    box-shadow:
        0 34px 74px -52px rgba(237, 195, 79, 0.48),
        0 28px 54px -36px rgba(0, 0, 0, 0.78);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.workflow-constellation::before,
.workflow-constellation::after {
    content: '';
    position: absolute;
    pointer-events: none;
}
.workflow-constellation::before {
    inset: 0;
    background:
        radial-gradient(circle at 18% 16%, rgba(255, 248, 237, 0.08), transparent 28%),
        radial-gradient(circle at 80% 78%, rgba(214, 135, 54, 0.12), transparent 34%);
    opacity: 0.86;
}
.workflow-constellation::after {
    width: 260px;
    height: 260px;
    right: -110px;
    top: -118px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(237, 195, 79, 0.16), transparent 68%);
}
.workflow-constellation__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 248, 237, 0.044) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 248, 237, 0.044) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, black 34%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 34%, transparent 80%);
    opacity: 0.38;
    z-index: 1;
}
.workflow-constellation__header {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 1rem;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0.82rem;
    border: 1px solid rgba(255, 248, 237, 0.09);
    border-radius: var(--radius);
    background: rgba(8, 8, 7, 0.42);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-mute);
}
.workflow-constellation__header span:last-child {
    color: var(--yellow-soft);
}
.workflow-constellation__header span:last-child::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 0.5rem;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 0 4px rgba(237, 195, 79, 0.13);
}
.workflow-constellation__core {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    width: 108px;
    height: 108px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 248, 237, 0.95), rgba(246, 215, 122, 0.88) 28%, rgba(237, 195, 79, 0.78) 56%, rgba(214, 135, 54, 0.64)),
        var(--gradient-brand);
    color: #090807;
    box-shadow:
        0 0 0 10px rgba(237, 195, 79, 0.08),
        0 0 52px rgba(237, 195, 79, 0.3),
        inset -18px -20px 28px rgba(93, 55, 18, 0.2);
    transform: translate(-50%, -50%);
    animation: workflowCorePulse 4.6s ease-in-out infinite;
}
.workflow-constellation__core span {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0;
}
.workflow-constellation__orbit span {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    border-radius: 50%;
    border: 1px solid rgba(237, 195, 79, 0.16);
    transform: translate(-50%, -50%);
}
.workflow-constellation__orbit span:first-child {
    width: 260px;
    height: 260px;
    border-style: dashed;
    animation: rotate 34s linear infinite;
}
.workflow-constellation__orbit span:last-child {
    width: 360px;
    height: 360px;
    border-color: rgba(255, 248, 237, 0.08);
    animation: rotate 48s linear infinite reverse;
}
.workflow-link {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: var(--link-width);
    height: 1px;
    background: linear-gradient(90deg, rgba(237, 195, 79, 0.56), rgba(237, 195, 79, 0.08));
    transform: rotate(var(--link-angle));
    transform-origin: left center;
    overflow: hidden;
}
.workflow-link::after {
    content: '';
    position: absolute;
    inset: -1px auto -1px 0;
    width: 42%;
    background: linear-gradient(90deg, transparent, rgba(255, 248, 237, 0.86), transparent);
    filter: blur(0.2px);
    animation: workflowSignal 3.8s var(--ease) infinite;
    animation-delay: var(--signal-delay, 0s);
}
.workflow-link--commerce { --link-angle: -151deg; --link-width: 178px; --signal-delay: -0.2s; }
.workflow-link--shipping { --link-angle: -31deg; --link-width: 176px; --signal-delay: -1.4s; }
.workflow-link--orders { --link-angle: 179deg; --link-width: 174px; --signal-delay: -2.2s; }
.workflow-link--accounts { --link-angle: 34deg; --link-width: 174px; --signal-delay: -0.8s; }
.workflow-link--support { --link-angle: 148deg; --link-width: 176px; --signal-delay: -3s; }
.workflow-node {
    position: absolute;
    left: var(--node-left);
    top: var(--node-top);
    z-index: 4;
    width: 198px;
    min-height: 76px;
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 0.2rem 0.62rem;
    padding: 0.82rem;
    border: 1px solid rgba(255, 248, 237, 0.13);
    border-radius: var(--radius);
    background:
        linear-gradient(145deg, rgba(255, 248, 237, 0.08), rgba(255, 248, 237, 0.028)),
        rgba(12, 11, 9, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 18px 34px -28px rgba(0, 0, 0, 0.72);
    transform: translate(-50%, -50%);
    animation: workflowNodeGlow 5s ease-in-out infinite;
    animation-delay: var(--node-delay, 0s);
}
.workflow-node__icon {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(237, 195, 79, 0.12);
    border: 1px solid rgba(237, 195, 79, 0.25);
    color: var(--yellow-soft);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 700;
}
.workflow-node strong {
    align-self: end;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--text);
}
.workflow-node em {
    align-self: start;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    line-height: 1.35;
    letter-spacing: 0.02em;
    color: var(--yellow-soft);
    font-style: normal;
}
.workflow-node--commerce {
    --node-left: 20%;
    --node-top: 22%;
    --node-delay: -0.4s;
    border-color: rgba(237, 195, 79, 0.32);
    background:
        linear-gradient(145deg, rgba(237, 195, 79, 0.12), rgba(255, 248, 237, 0.028)),
        rgba(12, 11, 9, 0.82);
}
.workflow-node--shipping { --node-left: 80%; --node-top: 25%; --node-delay: -1.2s; }
.workflow-node--orders { --node-left: 18%; --node-top: 53%; --node-delay: -2s; }
.workflow-node--accounts { --node-left: 79%; --node-top: 72%; --node-delay: -2.8s; }
.workflow-node--support { --node-left: 27%; --node-top: 80%; --node-delay: -3.4s; }
.workflow-status {
    position: absolute;
    left: 50%;
    bottom: 1.1rem;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 0.58rem;
    padding: 0.6rem 0.78rem;
    border: 1px solid rgba(237, 195, 79, 0.24);
    border-radius: 999px;
    background: rgba(8, 8, 7, 0.58);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--text-dim);
    transform: translateX(-50%);
    white-space: nowrap;
}
.workflow-status span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 0 5px rgba(237, 195, 79, 0.11);
}
.workflow-status strong {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}
@keyframes workflowSignal {
    0% { transform: translateX(-20%); opacity: 0; }
    18%, 70% { opacity: 1; }
    100% { transform: translateX(120%); opacity: 0; }
}
@keyframes workflowCorePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); filter: brightness(1); }
    50% { transform: translate(-50%, -50%) scale(1.04); filter: brightness(1.12); }
}
@keyframes workflowNodeGlow {
    0%, 100% { box-shadow: 0 18px 34px -28px rgba(0, 0, 0, 0.72); }
    50% { box-shadow: 0 22px 42px -30px rgba(237, 195, 79, 0.35); }
}

.hero__logo-showcase {
    position: relative;
    width: min(560px, 100%);
    padding: 1.2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(165deg, rgba(237, 195, 79, 0.1), rgba(214, 135, 54, 0.045) 45%, rgba(255, 248, 237, 0.02));
    border: 1px solid rgba(237, 195, 79, 0.22);
    box-shadow:
        0 34px 64px -50px rgba(237, 195, 79, 0.38),
        0 24px 44px -30px rgba(0, 0, 0, 0.75);
}
.hero__logo-showcase::before {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 38px;
    border: 1px dashed rgba(237, 195, 79, 0.16);
    pointer-events: none;
}
.hero__logo-showcase img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.45));
}

.orb {
    position: relative;
    width: 320px;
    height: 320px;
}
.orb__core {
    position: absolute;
    inset: 35%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff8ed, #f6d77a 30%, #edc34f 55%, #f0a650 80%, #d68736 100%);
    box-shadow:
        0 0 42px rgba(237, 195, 79, 0.34),
        0 0 80px rgba(214, 135, 54, 0.22),
        inset -20px -20px 40px rgba(214, 135, 54, 0.24);
    animation: orbPulse 3s ease-in-out infinite;
}
@keyframes orbPulse {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.05); filter: brightness(1.15); }
}
.orb__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(237, 195, 79, 0.26);
}
.orb__ring--1 {
    inset: 15%;
    border-color: rgba(237, 195, 79, 0.2);
    animation: rotate 20s linear infinite;
    border-style: dashed;
}
.orb__ring--2 {
    inset: 5%;
    border-color: rgba(214, 135, 54, 0.16);
    animation: rotate 30s linear infinite reverse;
}
.orb__ring--3 {
    inset: -5%;
    border-color: rgba(237, 195, 79, 0.1);
    animation: rotate 45s linear infinite;
    border-style: dotted;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.orb__bolts span {
    position: absolute;
    top: 50%; left: 50%;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, var(--yellow), transparent);
    transform-origin: center 100px;
    border-radius: 2px;
    opacity: 0.6;
}
.orb__bolts span:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translateY(-140px); animation: bolt 2s infinite 0s; }
.orb__bolts span:nth-child(2) { transform: translate(-50%, -50%) rotate(45deg) translateY(-140px); animation: bolt 2s infinite 0.25s; }
.orb__bolts span:nth-child(3) { transform: translate(-50%, -50%) rotate(90deg) translateY(-140px); animation: bolt 2s infinite 0.5s; }
.orb__bolts span:nth-child(4) { transform: translate(-50%, -50%) rotate(135deg) translateY(-140px); animation: bolt 2s infinite 0.75s; }
.orb__bolts span:nth-child(5) { transform: translate(-50%, -50%) rotate(180deg) translateY(-140px); animation: bolt 2s infinite 1s; }
.orb__bolts span:nth-child(6) { transform: translate(-50%, -50%) rotate(225deg) translateY(-140px); animation: bolt 2s infinite 1.25s; }
.orb__bolts span:nth-child(7) { transform: translate(-50%, -50%) rotate(270deg) translateY(-140px); animation: bolt 2s infinite 1.5s; }
.orb__bolts span:nth-child(8) { transform: translate(-50%, -50%) rotate(315deg) translateY(-140px); animation: bolt 2s infinite 1.75s; }
@keyframes bolt {
    0%, 100% { opacity: 0.2; height: 14px; }
    50% { opacity: 1; height: 28px; }
}

/* Code cards floating around orb */
.code-float {
    position: absolute;
    background: rgba(20, 20, 23, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 180px;
    animation: float 6s ease-in-out infinite;
}
.code-float pre {
    font-family: inherit;
    line-height: 1.5;
    color: var(--yellow-soft);
    white-space: pre-wrap;
}
.code-float .code-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    margin-right: 4px;
    background: rgba(255,255,255,0.18);
}
.code-float .code-dot:first-child { background: #ff5f57; }
.code-float .code-dot:nth-child(2) { background: #febc2e; }
.code-float .code-dot:nth-child(3) { background: #28c840; }
.code-float--1 { top: 10%; left: -10%; animation-delay: 0s; }
.code-float--2 { top: 45%; right: -15%; animation-delay: -2s; }
.code-float--3 { bottom: 5%; left: 5%; animation-delay: -4s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    display: grid;
    place-items: center;
}
.hero__scroll span {
    width: 4px;
    height: 8px;
    background: var(--yellow);
    border-radius: 2px;
    animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
    0% { transform: translateY(-6px); opacity: 0; }
    40% { opacity: 1; }
    80%, 100% { transform: translateY(6px); opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.015);
    overflow: hidden;
    position: relative;
}
.marquee::before, .marquee::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.marquee__track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--text-mute);
    letter-spacing: 0.01em;
}
.marquee__track .dot { color: var(--yellow); font-size: 0.6rem; }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- Intro Section ---------- */
.intro {
    padding: 8rem 0;
    text-align: center;
}
.intro__body {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 820px;
    margin: 0 auto 1.25rem;
    line-height: 1.7;
}

/* ---------- Services ---------- */
.services { padding: 6rem 0 8rem; }
.services__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.25rem;
}
.service {
    padding: 2rem 1.75rem;
    grid-column: span 2;
    background:
        linear-gradient(180deg, rgba(255, 248, 237, 0.035), rgba(255, 248, 237, 0.015)),
        var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    cursor: pointer;
}
.service::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-brand-soft);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}
.service::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}
.service:hover {
    border-color: rgba(237, 195, 79, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 18px 42px -28px var(--yellow-glow);
}
.service:hover::before { opacity: 1; }
.service:hover::after { opacity: 1; }
.service > * { position: relative; z-index: 2; }
.service__icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(237, 195, 79, 0.08);
    color: var(--yellow);
    margin-bottom: 1.25rem;
    transition: all 0.4s var(--ease);
}
.service__icon svg { width: 22px; height: 22px; }
.service:hover .service__icon {
    background: var(--yellow);
    color: #090807;
    transform: scale(1.05) rotate(-3deg);
}
.service h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: 0;
}
.service p {
    font-size: 0.92rem;
    color: var(--text-dim);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}
.service__link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--yellow);
    letter-spacing: 0.02em;
    transition: transform 0.3s var(--ease);
    display: inline-block;
}
.service:hover .service__link { transform: translateX(4px); }
.service__kicker {
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--yellow-soft);
}
.service--featured {
    grid-column: span 4;
    background:
        linear-gradient(135deg, rgba(237, 195, 79, 0.12), rgba(214, 135, 54, 0.045) 48%, rgba(255, 248, 237, 0.025)),
        var(--bg-card);
    border-color: rgba(237, 195, 79, 0.24);
}
.service--featured h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    max-width: 620px;
}
.service--featured p {
    max-width: 680px;
}

/* ---------- Automation "What automation can do" ---------- */
.automation {
    padding: 6rem 0;
    border-top: 1px solid var(--border);
}
.automation__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.automation__copy p {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 1.25rem;
}
.automation__copy .btn { margin-top: 1rem; }
.automation__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.automation__list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    background:
        linear-gradient(180deg, rgba(255, 248, 237, 0.03), rgba(255, 248, 237, 0.01)),
        var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s var(--ease);
}
.automation__list li:hover {
    border-color: rgba(237, 195, 79, 0.28);
    transform: translateX(4px);
}
.check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--yellow);
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 0 18px rgba(237, 195, 79, 0.18);
}
.check::after {
    content: '';
    position: absolute;
    left: 50%; top: 45%;
    width: 5px; height: 9px;
    border: solid #090807;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
}

/* ---------- Solutions ---------- */
.solutions {
    padding: 8rem 0;
    border-top: 1px solid var(--border);
}
.solutions__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.solution {
    padding: 2rem;
    background:
        linear-gradient(180deg, rgba(255, 248, 237, 0.03), rgba(255, 248, 237, 0.01)),
        var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    min-height: 260px;
    display: flex;
    flex-direction: column;
}
.solution--wide { grid-column: span 2; }
.solution::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(237, 195, 79, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}
.solution:hover::before { opacity: 1; }
.solution:hover {
    border-color: rgba(237, 195, 79, 0.28);
    transform: translateY(-4px);
}
.solution > * { position: relative; z-index: 2; }
.solution__tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--yellow);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border: 1px solid rgba(237, 195, 79, 0.32);
    border-radius: 999px;
    margin-bottom: 1.25rem;
    align-self: flex-start;
}
.solution h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}
.solution p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.6;
}
.solution__graphic {
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 200px;
    height: 200px;
    opacity: 0.2;
    pointer-events: none;
}
.solution__graphic--pulse {
    background: radial-gradient(circle, var(--yellow) 0%, transparent 60%);
    animation: orbPulse 4s ease-in-out infinite;
}
.solution__graphic--chat {
    background:
        radial-gradient(circle at 30% 30%, rgba(237, 195, 79, 0.28), transparent 30%),
        radial-gradient(circle at 70% 60%, rgba(214, 135, 54, 0.24), transparent 30%);
}

/* ---------- Selected Work ---------- */
.selected-work {
    padding: 8rem 0;
    border-top: 1px solid var(--border);
}
.section-header--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
    gap: 2rem;
    align-items: end;
    text-align: left;
}
.section-header--split .section-sub {
    margin: 0;
}
.selected-work__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}
.work-panel {
    min-height: 300px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 248, 237, 0.02), rgba(8, 8, 7, 0.28)),
        radial-gradient(circle at 88% 10%, rgba(237, 195, 79, 0.12), transparent 45%),
        var(--bg-card);
}
.work-panel::before {
    content: '';
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(255, 248, 237, 0.055);
    border-radius: calc(var(--radius-lg) - 2px);
    pointer-events: none;
}
.work-panel span {
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--yellow-soft);
}
.work-panel h3 {
    max-width: 620px;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 3vw, 2.25rem);
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: 0;
    margin-bottom: 0.9rem;
}
.work-panel p {
    max-width: 620px;
    color: var(--text-dim);
    line-height: 1.65;
}
.work-panel--wide {
    grid-column: 1 / -1;
    min-height: 360px;
    background:
        linear-gradient(180deg, rgba(255, 248, 237, 0.025), rgba(8, 8, 7, 0.2)),
        radial-gradient(circle at 82% 18%, rgba(237, 195, 79, 0.18), transparent 46%),
        linear-gradient(135deg, rgba(214, 135, 54, 0.08), transparent 54%),
        var(--bg-card);
}

/* ---------- Why ---------- */
.why {
    padding: 8rem 0;
    border-top: 1px solid var(--border);
}
.why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.why__item {
    padding: 2.25rem 2rem;
    background:
        linear-gradient(180deg, rgba(255, 248, 237, 0.03), rgba(255, 248, 237, 0.01)),
        var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    transition: all 0.3s var(--ease);
}
.why__item:hover {
    transform: translateY(-4px);
    border-color: rgba(237, 195, 79, 0.24);
}
.why__num {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--yellow);
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}
.why__item h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: 0;
}
.why__item p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---------- Industries ---------- */
.industries {
    padding: 7rem 0;
    border-top: 1px solid var(--border);
}

/* ---------- Latest Articles (homepage) ---------- */
.latest-articles {
    padding: 7rem 0;
    border-top: 1px solid var(--border);
}
.industries__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.industry {
    padding: 1.75rem 1.25rem;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(255, 248, 237, 0.03), rgba(255, 248, 237, 0.01)),
        var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-weight: 500;
    transition: all 0.3s var(--ease);
    cursor: pointer;
}
.industry:hover {
    border-color: rgba(237, 195, 79, 0.45);
    color: var(--yellow-soft);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px -24px var(--yellow-glow);
}

/* ---------- Process (timeline) ---------- */
.process {
    padding: 8rem 0;
    border-top: 1px solid var(--border);
}
.process__timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    padding-top: 3rem;
}
.process__line {
    position: absolute;
    top: 3.8rem;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(237, 195, 79, 0.72), transparent);
    opacity: 0.32;
}
.process__step {
    text-align: center;
    position: relative;
    padding: 0 0.25rem;
}
.process__dot {
    width: 54px;
    height: 54px;
    margin: 0 auto 1.5rem;
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--yellow);
    background: var(--bg-elevated);
    border: 1px solid rgba(237, 195, 79, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.4s var(--ease);
}
.process__step:hover .process__dot {
    background: var(--yellow);
    color: #090807;
    border-color: var(--yellow);
    box-shadow: 0 16px 32px -24px var(--yellow-glow);
    transform: scale(1.08);
}
.process__step h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    letter-spacing: 0;
}
.process__step p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.55;
    padding: 0 0.5rem;
}

/* ---------- CTA ---------- */
.cta {
    padding: 6rem 0 8rem;
}
/* ---------- Author Bio (article-only) ---------- */
.author-bio {
    padding: 4rem 0 0;
}
.author-bio__card {
    max-width: 880px;
    margin: 0 auto;
    padding: 2rem 2.25rem;
    background:
        linear-gradient(180deg, rgba(255, 248, 237, 0.035), rgba(255, 248, 237, 0.015)),
        var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.author-bio__name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0.4rem 0 0.75rem;
    color: var(--text);
    letter-spacing: 0;
}
.author-bio__title {
    font-weight: 400;
    color: var(--text-mute);
    font-size: 0.95rem;
}
.author-bio__text {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 1rem;
}
.author-bio__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}
.author-bio__links a {
    color: var(--yellow);
    border-bottom: 1px solid rgba(237, 195, 79, 0.3);
}
.author-bio__links a:hover { border-bottom-color: var(--yellow); }
.author-bio + .cta { padding-top: 3rem; }
.cta__card {
    position: relative;
    padding: 4.5rem 3rem;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(237, 195, 79, 0.08), rgba(255, 248, 237, 0.02) 44%, rgba(17, 16, 13, 0.96)),
        var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 980px;
    margin: 0 auto;
}
.cta__glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(860px, 92%);
    height: 190px;
    background:
        linear-gradient(180deg, rgba(237, 195, 79, 0.12), rgba(237, 195, 79, 0.035) 45%, transparent 100%),
        repeating-linear-gradient(
            90deg,
            rgba(237, 195, 79, 0.08) 0,
            rgba(237, 195, 79, 0.08) 1px,
            transparent 1px,
            transparent 32px
        );
    border-radius: 0 0 999px 999px;
    filter: blur(0.4px);
    background-size: 100% 100%, 160px 100%;
    animation: ctaSignalShimmer 12s linear infinite, ctaSignalPulse 6s ease-in-out infinite;
    pointer-events: none;
}
@keyframes ctaSignalShimmer {
    from { background-position: 0 0, 0 0; }
    to { background-position: 0 0, 160px 0; }
}
@keyframes ctaSignalPulse {
    0%, 100% { opacity: 0.44; }
    50% { opacity: 0.68; }
}
.cta__card > * { position: relative; z-index: 2; }
.cta__card h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0.5rem 0 1.25rem;
}
.cta__card p {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 620px;
    margin: 0 auto 2.5rem;
}
.cta__buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.cta__note {
    font-size: 0.9rem;
    color: var(--text-mute);
    margin-top: 1rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Footer ---------- */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
    background: rgba(8, 8, 7, 0.7);
}
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer__brand p {
    color: var(--text-dim);
    font-size: 0.92rem;
    margin-top: 1rem;
    max-width: 320px;
    line-height: 1.6;
}
.footer h4 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--yellow);
    margin-bottom: 1.25rem;
}
.footer ul li {
    margin-bottom: 0.65rem;
}
.footer ul a {
    color: var(--text-dim);
    font-size: 0.92rem;
}
.footer ul a:hover { color: var(--yellow); }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-mute);
}
.footer__legal {
    display: flex;
    gap: 1.5rem;
}
.footer__legal a:hover { color: var(--yellow); }

/* ---------- Reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children by delay */
.services__grid .service.reveal:nth-child(1) { transition-delay: 0.05s; }
.services__grid .service.reveal:nth-child(2) { transition-delay: 0.1s; }
.services__grid .service.reveal:nth-child(3) { transition-delay: 0.15s; }
.services__grid .service.reveal:nth-child(4) { transition-delay: 0.2s; }
.services__grid .service.reveal:nth-child(5) { transition-delay: 0.25s; }
.services__grid .service.reveal:nth-child(6) { transition-delay: 0.3s; }
.services__grid .service.reveal:nth-child(7) { transition-delay: 0.35s; }
.services__grid .service.reveal:nth-child(8) { transition-delay: 0.4s; }

.automation__list li.reveal:nth-child(1) { transition-delay: 0.05s; }
.automation__list li.reveal:nth-child(2) { transition-delay: 0.1s; }
.automation__list li.reveal:nth-child(3) { transition-delay: 0.15s; }
.automation__list li.reveal:nth-child(4) { transition-delay: 0.2s; }
.automation__list li.reveal:nth-child(5) { transition-delay: 0.25s; }
.automation__list li.reveal:nth-child(6) { transition-delay: 0.3s; }
.automation__list li.reveal:nth-child(7) { transition-delay: 0.35s; }
.automation__list li.reveal:nth-child(8) { transition-delay: 0.4s; }

.industries__grid .industry.reveal:nth-child(1) { transition-delay: 0.03s; }
.industries__grid .industry.reveal:nth-child(2) { transition-delay: 0.08s; }
.industries__grid .industry.reveal:nth-child(3) { transition-delay: 0.13s; }
.industries__grid .industry.reveal:nth-child(4) { transition-delay: 0.18s; }
.industries__grid .industry.reveal:nth-child(5) { transition-delay: 0.23s; }
.industries__grid .industry.reveal:nth-child(6) { transition-delay: 0.28s; }
.industries__grid .industry.reveal:nth-child(7) { transition-delay: 0.33s; }
.industries__grid .industry.reveal:nth-child(8) { transition-delay: 0.38s; }

.process__step.reveal:nth-child(2) { transition-delay: 0.1s; }
.process__step.reveal:nth-child(3) { transition-delay: 0.2s; }
.process__step.reveal:nth-child(4) { transition-delay: 0.3s; }
.process__step.reveal:nth-child(5) { transition-delay: 0.4s; }
.process__step.reveal:nth-child(6) { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .service,
    .service--featured { grid-column: auto; }
    .industries__grid { grid-template-columns: repeat(3, 1fr); }
    .why__grid { grid-template-columns: repeat(2, 1fr); }
    .solutions__grid { grid-template-columns: repeat(2, 1fr); }
    .solution--wide { grid-column: span 2; }
    .process__timeline { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
    .process__line { display: none; }
}

@media (max-width: 900px) {
    .nav__links, .nav__cta { display: none; }
    .nav__toggle { display: flex; align-items: flex-end; }
    .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
    .hero__copy { padding-top: 0; }
    .hero__stack { align-items: flex-start; }
    .hero__visual { min-height: 360px; height: auto; }
    .hero__visual--system { justify-content: flex-start; }
    .workflow-constellation {
        max-width: 560px;
        min-height: 470px;
    }
    .orb { width: 240px; height: 240px; }
    .code-float--1, .code-float--2, .code-float--3 { font-size: 0.7rem; min-width: 140px; }
    .code-float--1 { left: 0; }
    .code-float--2 { right: 0; }
    .automation__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .why__grid { grid-template-columns: 1fr; }
    .solutions__grid { grid-template-columns: 1fr; }
    .solution--wide { grid-column: span 1; }
    .industries__grid { grid-template-columns: repeat(2, 1fr); }
    .section-header--split { grid-template-columns: 1fr; align-items: start; }
    .selected-work__grid { grid-template-columns: 1fr; }
    .work-panel,
    .work-panel--wide { grid-column: auto; min-height: 280px; }
}

@media (max-width: 640px) {
    .container, .nav__container { padding: 0 1.25rem; }

    /* ── Hero: mobile-first stacked layout ── */
    .hero {
        padding: 6rem 1.25rem 3.5rem;
        min-height: auto;
        text-align: left;
    }
    .hero__inner { gap: 2.5rem; }
    .hero__copy,
    .hero__stack {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .hero__eyebrow::before { width: 20px; }
    .hero__badge { margin: 0 0 1.5rem; }
    .hero__subtitle { max-width: 100%; }

    /* Compact visual — auto height so logo isn't oversized */
    .hero__visual {
        height: auto;
        min-height: 0;
        padding: 0;
        justify-content: flex-start;
    }
    .hero__visual--system { display: none; }
    .workflow-constellation { display: none; }
    .hero__logo-showcase {
        width: min(300px, 84%);
        padding: 0.9rem;
    }

    /* Hide floating code cards — too cramped at phone width */
    .code-float { display: none; }

    /* Stats: 3-column row instead of stacked column */
    .hero__stats {
        flex-direction: row;
        gap: 0;
        justify-content: center;
        align-items: flex-start;
        flex-wrap: nowrap;
    }
    .stat {
        flex: 1;
        padding-left: 0;
        align-items: center;
        text-align: center;
        padding: 0 0.5rem;
        border-left: 1px solid rgba(237, 195, 79, 0.18);
    }
    .stat:first-child { border-left: none; }
    .stat::before { display: none; }
    .stat__num { font-size: 1.7rem; }
    .stat__suffix { font-size: 1.2rem; }
    .stat__label { font-size: 0.72rem; max-width: 90px; }

    /* Rest of page */
    .services__grid { grid-template-columns: 1fr; }
    .service,
    .service--featured { grid-column: auto; }
    .automation__list { grid-template-columns: 1fr; }
    .cta__card { padding: 3.5rem 1.5rem; }
    .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .footer__grid { grid-template-columns: 1fr; }
    .intro, .services, .automation, .solutions, .selected-work, .why, .industries, .process, .cta {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    .section-header { margin-bottom: 3rem; }
}

@media (max-width: 430px) {
    .hero {
        padding-top: 5.5rem;
        padding-bottom: 3rem;
    }
    .hero__inner { gap: 1.25rem; }
    .hero__badge {
        font-size: 0.7rem;
        padding: 0.45rem 0.75rem;
        margin-bottom: 1.2rem;
    }
    .hero__title {
        font-size: clamp(1.95rem, 9vw, 2.65rem);
        line-height: 1.04;
        margin-bottom: 1.1rem;
    }
    .hero__subtitle {
        font-size: 1rem;
        line-height: 1.55;
        margin-bottom: 1.5rem;
    }
    .hero__cta {
        width: 100%;
        max-width: 340px;
        margin-left: 0;
        margin-right: 0;
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    .hero__cta .btn {
        width: 100%;
        justify-content: center;
    }
    .hero__logo-showcase {
        width: min(270px, 82%);
        padding: 0.75rem;
        border-radius: 20px;
    }
    .hero__logo-showcase::before {
        inset: -10px;
        border-radius: 18px;
    }
    .hero__stats {
        flex-direction: column;
        gap: 0.85rem;
        align-items: stretch;
    }
    .stat {
        border-left: none;
        border-top: 1px solid rgba(237, 195, 79, 0.18);
        padding-top: 0.85rem;
    }
    .stat:first-child {
        border-top: none;
        padding-top: 0;
    }
    .stat__label {
        max-width: none;
        font-size: 0.76rem;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
    body::before,
    .bg-grid,
    .bg-grid::after,
    .bg-glow,
    #particle-canvas {
        transition: none !important;
    }
    .workflow-constellation *,
    .workflow-constellation *::before,
    .workflow-constellation *::after {
        animation: none !important;
    }
}

/* ============================================================
   INNER PAGE STYLES (added for multi-page site)
   ============================================================ */

/* Active nav link */
.nav__links a.is-active { color: var(--yellow); }
.nav__links a.is-active::after { width: 100%; }

/* Breadcrumbs */
.breadcrumbs {
    padding: 7.5rem 0 0;
    position: relative;
    z-index: 2;
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-mute);
    letter-spacing: 0.04em;
}
.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.breadcrumbs a {
    color: var(--text-dim);
    transition: color 0.25s var(--ease);
}
.breadcrumbs a:hover { color: var(--yellow); }
.breadcrumbs__sep { color: var(--text-mute); opacity: 0.5; }
.breadcrumbs [aria-current="page"] { color: var(--yellow); }

/* Page header (inner pages) */
.page-header {
    padding: 3.5rem 0 5.5rem;
    position: relative;
    z-index: 2;
}
.page-header .section-label { margin-bottom: 1.25rem; }
.page-header__title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: 0;
    margin-bottom: 1.5rem;
    max-width: 900px;
}
.page-header__intro {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 720px;
    line-height: 1.65;
    margin-bottom: 2rem;
}
.page-header__meta {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-mute);
    margin-top: 1rem;
}
.page-header__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

/* Prose / inner-page sections */
.prose {
    padding: 4.5rem 0;
    border-top: 1px solid var(--border);
}
.prose:first-of-type { border-top: none; padding-top: 1rem; }
.prose .container { max-width: 880px; }
.prose h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0;
    margin-bottom: 1.25rem;
    color: var(--text);
}
.prose h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.75rem 0 0.6rem;
    color: var(--text);
    letter-spacing: 0;
}
.prose p,
.prose li {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.prose ul, .prose ol {
    margin: 0 0 1.25rem 1.25rem;
    list-style: disc;
}
.prose ol { list-style: decimal; }
.prose ul li, .prose ol li { margin-bottom: 0.5rem; }
.prose ul li::marker { color: var(--yellow); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--yellow); border-bottom: 1px solid rgba(237, 195, 79, 0.3); }
.prose a:hover { border-bottom-color: var(--yellow); }

/* Two-column feature grid for inner pages */
.feature-grid {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}
.feature-grid__head {
    max-width: 720px;
    margin: 0 auto 1rem;
    text-align: center;
}
.feature-grid__head .section-sub {
    margin-left: auto;
    margin-right: auto;
}
.feature-grid__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}
.feature-grid__inner--3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid__intro {
    color: var(--text-dim);
    max-width: 760px;
    margin-top: 0.75rem;
}
.feature-card {
    padding: 1.75rem;
    background:
        linear-gradient(180deg, rgba(255, 248, 237, 0.032), rgba(255, 248, 237, 0.012)),
        var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s var(--ease);
}
.feature-card:hover {
    border-color: rgba(237, 195, 79, 0.24);
    transform: translateY(-3px);
}
.feature-card--featured {
    border-color: rgba(237, 195, 79, 0.35);
    box-shadow: inset 0 1px 0 rgba(237, 195, 79, 0.08);
}
.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
    letter-spacing: 0;
}
.feature-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}
.feature-card .tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--yellow);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border: 1px solid rgba(237, 195, 79, 0.3);
    border-radius: 999px;
    margin-bottom: 0.85rem;
}
.feature-card__meta {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-mute);
    margin-top: 0.75rem;
}
.feature-card__action {
    margin-top: 1rem;
}
.feature-card .service__link {
    display: inline-block;
    margin-top: 1rem;
}
.section-action {
    text-align: center;
    margin-top: 3rem;
}
.case-media {
    margin: 2.5rem 0 0;
    padding: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.case-media--spaced { margin-top: 3rem; }
.case-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: calc(var(--radius) - 4px);
}
.case-media figcaption {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-mute);
    letter-spacing: 0.04em;
    text-align: center;
    margin-top: 0.85rem;
}
.case-callout {
    border-left: 3px solid var(--yellow);
    padding: 1rem 1.25rem;
    margin: 2rem 0;
    background: var(--bg-card);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-dim);
    font-size: 1.05rem;
}
.schema-sample {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-mute);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    line-height: 1.7;
}
.feature-card__list {
    margin-top: 0.5rem;
    padding-left: 1.1rem;
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
    list-style: disc;
}
.feature-card__list li::marker { color: var(--yellow); }

.case-study-brief {
    padding: 2rem 0 4rem;
    border-top: 1px solid var(--border);
}
.case-study-brief .container {
    display: grid;
    gap: 2rem;
}
.case-study-brief__note {
    max-width: 880px;
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.75;
}
.case-study-brief__note em {
    color: var(--text);
}
.case-metrics {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.case-metric {
    padding: 1.25rem;
    min-height: 132px;
    background:
        linear-gradient(180deg, rgba(255, 248, 237, 0.035), rgba(255, 248, 237, 0.012)),
        var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.case-metric__value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1;
    color: var(--yellow);
    margin-bottom: 0.65rem;
}
.case-metric__label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 0.5rem;
}
.case-metric p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.5;
}
.case-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 2rem 0;
}
.case-fact {
    padding: 1rem 1.1rem;
    background: rgba(255, 248, 237, 0.028);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.case-fact dt {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 0.45rem;
}
.case-fact dd {
    color: var(--text-dim);
    line-height: 1.55;
}

/* Stack chips */
.stack-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}
.stack-chips--compact { margin-top: 1rem; }
.stack-chips li {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-dim);
    padding: 0.45rem 0.9rem;
    background: rgba(255, 248, 237, 0.035);
    border: 1px solid var(--border);
    border-radius: 999px;
    margin: 0;
}
/* Override .prose ul disc bullets when stack-chips is used inside a prose section */
.prose ul.stack-chips {
    list-style: none;
    margin-left: 0;
}
.prose ul.stack-chips li {
    margin-bottom: 0;
}
.prose ul.stack-chips li::marker { content: ""; }

/* FAQ (using <details>) */
.faq-list {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}
.faq-list .container { max-width: 880px; }
.faq-list details {
    background:
        linear-gradient(180deg, rgba(255, 248, 237, 0.03), rgba(255, 248, 237, 0.01)),
        var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    transition: border-color 0.25s var(--ease);
}
.faq-list details[open] { border-color: rgba(237, 195, 79, 0.3); }
.faq-list summary {
    list-style: none;
    cursor: pointer;
    padding: 1.25rem 1.5rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: '+';
    font-family: var(--font-mono);
    color: var(--yellow);
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 0.25s var(--ease);
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list .faq-answer {
    padding: 0 1.5rem 1.4rem;
    color: var(--text-dim);
    line-height: 1.7;
    font-size: 0.98rem;
}
.faq-list .faq-answer p { margin-bottom: 0.75rem; }
.faq-list .faq-answer p:last-child { margin-bottom: 0; }

/* Lead-in summary section above prose */
.lead {
    padding: 3rem 0 1rem;
}
.lead .container { max-width: 880px; }
.lead p {
    font-size: 1.2rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* Insights coming-soon styling */
.coming-soon {
    padding: 4rem 0;
    text-align: center;
}
.coming-soon .container { max-width: 720px; }
.coming-soon ul {
    display: grid;
    gap: 0.75rem;
    margin: 2rem 0 0;
    text-align: left;
}
.coming-soon ul li {
    padding: 1rem 1.25rem;
    background:
        linear-gradient(180deg, rgba(255, 248, 237, 0.032), rgba(255, 248, 237, 0.012)),
        var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-dim);
}

/* 404 */
.notfound {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 8rem 1.5rem 4rem;
}
.notfound__panel {
    max-width: 640px;
    padding: 3rem;
    background:
        radial-gradient(circle at 50% 0%, rgba(237, 195, 79, 0.12), transparent 44%),
        linear-gradient(180deg, rgba(255, 248, 237, 0.04), rgba(255, 248, 237, 0.014)),
        var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}
.notfound__code {
    font-family: var(--font-mono);
    font-size: clamp(5rem, 14vw, 9rem);
    font-weight: 500;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}
.notfound h1 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin: 1rem 0 1rem;
}
.notfound p { color: var(--text-dim); margin-bottom: 2rem; max-width: 480px; }
.notfound .btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* Contact page */
.contact-grid {
    padding: 3rem 0 5rem;
}
.contact-grid .container {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: start;
}
.contact-card {
    padding: 2.5rem;
    background:
        linear-gradient(180deg, rgba(255, 248, 237, 0.035), rgba(255, 248, 237, 0.015)),
        var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.contact-card h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.contact-card__intro {
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}
.contact-list {
    color: var(--text-dim);
    margin: 1rem 0 1.5rem 1.25rem;
    list-style: disc;
    line-height: 1.8;
}
.contact-list li::marker { color: var(--yellow); }
.contact-list--compact { margin-bottom: 0; }
.contact-card__note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-mute);
}
.contact-card .mail-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1rem 1.5rem;
    background: var(--yellow);
    color: #090807;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.contact-card .mail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -22px var(--yellow-glow);
}

@media (max-width: 900px) {
    .feature-grid__inner,
    .feature-grid__inner--3 { grid-template-columns: 1fr; }
    .contact-grid .container { grid-template-columns: 1fr; }
    .case-metrics { grid-template-columns: repeat(2, 1fr); }
    .case-facts { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .notfound__panel { padding: 2rem 1.25rem; }
    .case-metrics { grid-template-columns: 1fr; }
}
