:root {
    --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-serif: "Newsreader", ui-serif, Georgia, serif;

    /* Warm, editorial base (Aesop-ish) */
    --bg: #faf9f6;
    --bg-soft: rgba(255,255,255,0.78);
    --card: rgba(255,255,255,0.72);
    --card-strong: rgba(255,255,255,0.9);
    --border: rgba(25,24,23,0.10);

    /* Warm charcoals */
    --text: #191817;
    --muted: #5b5853;
    --soft: #8a847c;

    /* Accent kept calm */
    --accent: #4b59c9;
    --accent-2: #7b86e6;
    --glow: rgba(75,89,201,0.08);

    --shadow: 0 18px 46px rgba(25,24,23,0.08);
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1160px;

    /* Motion (one language, everywhere) */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --dur-1: 140ms;
    --dur-2: 220ms;
    --dur-3: 420ms;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

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

/* Keyboard polish */
:where(a, button, input, textarea, [tabindex]):focus-visible {
    outline: 2px solid rgba(75,89,201,0.38);
    outline-offset: 3px;
    border-radius: 12px;
}

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

button,
input,
textarea {
    font: inherit;
}

.bg-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(140px);
    opacity: .26; /* give the orbs a bit more presence */
    pointer-events: none;
    z-index: 0;
}

.bg-orb-1 {
    width: 360px;
    height: 360px;
    top: -140px;
    left: -140px;
    background: radial-gradient(circle, rgba(229, 219, 203, 0.55), rgba(229, 219, 203, 0));
}

.bg-orb-2 {
    width: 420px;
    height: 420px;
    right: -180px;
    top: 260px;
    background: radial-gradient(circle, rgba(196,205,255,0.28), rgba(196,205,255,0));
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(25,24,23,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(25,24,23,0.02) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, rgba(250,249,246,0.92), transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.site-header,
main,
.site-footer {
    position: relative;
    z-index: 1;
}

.site-header .container,
.site-footer .container {
    transform: translateX(-20px);
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.section {
    padding: 88px 0;
}

.hero.section {
    padding-top: 72px;
    padding-bottom: 76px;
}

.hero-text-studio {
    margin-top: 14px;
    max-width: 640px;
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.75;
}

.hero-sleeptight-visual {
    position: relative;
    padding: 28px 24px 22px;
    text-align: center;
    background: radial-gradient(circle at 50% 20%, rgba(181, 192, 255, 0.35), rgba(255, 255, 255, 0.92));
    border: 1px solid rgba(75, 89, 201, 0.12);
    overflow: hidden;
}

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

.hero-sleeptight-glow {
    position: absolute;
    width: 70%;
    height: 55%;
    left: 50%;
    top: 18%;
    transform: translateX(-50%);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(75, 89, 201, 0.18), transparent 70%);
    pointer-events: none;
    filter: blur(24px);
}

.hero-sleeptight-device {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    will-change: transform;
    animation: hero-visual-float 8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .hero-sleeptight-device {
        animation: none;
    }
}

.hero-sleeptight-phone {
    width: min(280px, 78vw);
    height: auto;
    border-radius: 28px;
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.14);
}

.hero-sleeptight-device .hero-promo-video {
    display: block;
    aspect-ratio: 9 / 19.5;
    object-fit: cover;
    background: #0b0d12;
}

.hero-sleeptight-device .hero-promo-fallback {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .hero-sleeptight-device .hero-promo-video {
        display: none;
    }
    .hero-sleeptight-device .hero-promo-fallback {
        display: block;
    }
}

.hero-sleeptight-caption {
    position: relative;
    z-index: 1;
    margin: 18px 0 0;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Homepage: philosophy hero + product visual anchor */
.hero-product-strip {
    position: relative;
    z-index: 1;
    padding: 36px 0 48px;
    border-top: 1px solid rgba(22, 24, 35, 0.06);
    border-bottom: 1px solid rgba(22, 24, 35, 0.06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(244, 244, 247, 0.35));
}

.hero-product-strip-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 32px;
    align-items: center;
}

.hero-product-strip-visual {
    padding: 24px 20px 18px;
    text-align: center;
    max-width: 360px;
    margin: 0 auto;
}

.hero-product-strip-copy .eyebrow {
    margin-bottom: 10px;
}

.hero-product-strip-title {
    margin: 0 0 8px;
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text);
}

.hero-product-strip-status {
    margin: 0 0 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
}

.hero-product-strip-lead {
    margin-bottom: 18px;
}

.hero-strip-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.hero-totalcross-visual {
    position: relative;
    padding: 48px 24px;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    overflow: hidden;
}

.hero-totalcross-mark {
    position: relative;
    z-index: 1;
    width: min(320px, 78vw);
    height: auto;
    display: block;
    animation: hero-visual-float 8s ease-in-out infinite;
}

.hero-totalcross-mark .tc-cell {
    fill: #FFFFFF;
    stroke: #14110D;
    stroke-width: 4;
}

.hero-totalcross-mark .tc-cell-shared {
    fill: #D7321F;
    stroke: #14110D;
    stroke-width: 4;
}

.hero-totalcross-mark .tc-letter {
    fill: #14110D;
    font-family: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: 62px;
    text-anchor: middle;
    dominant-baseline: central;
    letter-spacing: -1px;
}

@media (prefers-reduced-motion: reduce) {
    .hero-totalcross-mark {
        animation: none;
    }
}

.hero-totalcross-visual .hero-sleeptight-caption {
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .hero-product-strip-inner {
        grid-template-columns: 1fr;
    }

    .hero-product-strip-visual {
        max-width: 320px;
        order: -1;
    }

    .hero-totalcross-visual {
        min-height: 360px;
        padding: 36px 20px;
    }
}

.products-showcase {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.product-sleeptight-featured {
    margin-top: 0;
    padding: 0;
    border: 1px solid rgba(75, 89, 201, 0.22);
    box-shadow:
        var(--shadow),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset,
        0 0 48px rgba(75, 89, 201, 0.08);
}

.product-sleeptight-featured::before {
    background: radial-gradient(circle at 0% 0%, rgba(75, 89, 201, 0.16), transparent 55%);
}

.product-featured-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 0;
    align-items: stretch;
    min-height: 0;
}

.product-featured-media {
    position: relative;
    padding: 28px 20px 28px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(165deg, rgba(181, 192, 255, 0.22), rgba(244, 244, 247, 0.5));
}

.product-featured-media img {
    width: min(260px, 42vw);
    max-height: 420px;
    height: auto;
    object-fit: contain;
    border-radius: 22px;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
}

.product-featured-copy {
    position: relative;
    z-index: 1;
    padding: 36px 36px 36px 28px;
    display: flex;
    flex-direction: column;
}

.featured-tag {
    display: inline-block;
    align-self: flex-start;
    margin: 0 0 10px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.product-sleeptight-featured .featured-chips {
    margin: 18px 0 20px;
}

.product-sleeptight-featured .split-actions {
    margin-top: auto;
    padding-top: 8px;
}

.products-secondary-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.products-secondary-row-single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
}

.product-card-secondary {
    margin-top: 0;
    padding: 26px 28px;
}

.product-card-secondary .featured-title {
    font-size: 1.65rem;
}

.product-card-secondary .section-text {
    font-size: 0.98rem;
}

.philosophy-section.section {
    padding-top: 30px; /* pull Philosophy up closer to the hero */
    padding-bottom: 50px;
}

#about-studio {
    padding-top: 5px;
    padding-bottom: 5px;
}

#studio {
    padding-top: 50px;
    padding-bottom: 50px;
}

#products {
    padding-top: 50px;
    padding-bottom: 50px;
}

.card {
    background: linear-gradient(180deg, var(--card-strong), var(--card));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.03);
    backdrop-filter: blur(16px);
}

/* Subtle lift on hover (premium, not "floaty") */
@media (hover: hover) and (pointer: fine) {
    .card {
        transition:
            transform var(--dur-2) var(--ease-out),
            box-shadow var(--dur-2) var(--ease-out),
            border-color var(--dur-2) var(--ease-out);
    }

    .card:hover {
        transform: translateY(-2px);
        border-color: rgba(25,24,23,0.14);
        box-shadow:
            0 22px 58px rgba(25,24,23,0.10),
            inset 0 1px 0 rgba(255,255,255,0.05);
    }
}

.eyebrow {
    margin: 0 0 14px;
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}

.section-header {
    max-width: 760px;
    margin-bottom: 44px;
}

.left-align {
    margin-bottom: 24px;
}

.section-title,
.hero h1,
.hero-card h2 {
    font-family: var(--font-serif);
    letter-spacing: -0.03em;
    line-height: 1.02;
}

.hero h1 {
    margin: 0;
    font-size: clamp(3.0rem, 5.2vw, 4.25rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.06;
    max-width: 22ch;
}

.page-title {
    margin: 0 0 14px;
    font-family: var(--font-serif);
    font-size: clamp(2.9rem, 5vw, 4.0rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.07;
    max-width: 24ch;
}

.section-title {
    margin: 0 0 14px;
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.12;
}

.section-text,
.hero-text,
.card p,
.manifesto-grid p,
.clean-list li,
.contact-note {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.hero-text {
    max-width: 680px;
    margin: 24px 0 0;
    font-size: 1.08rem;
}

.site-header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(20px);
    background: rgba(250,249,246,0.86);
    border-bottom: 1px solid var(--border);
    z-index: 20;
    padding: 0;
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 0;
}

.brand-mark {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    transform: translateY(-4px);
    margin-left: -10px; /* slight optical shift left for logo */
}

.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: -0.03em;
    /* Remove the old pill box styling so the SVG looks like clean text */
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
}

.brand-icon img {
    display: block;
    height: 38px;
    width: auto;
}

.brand-copy {
    display: block;
    line-height: 1;
}

.brand-title {
    font-weight: 700;
    font-size: 1rem;
}

.brand-subtitle {
    font-size: .96rem;
    font-weight: 500;
    color: var(--soft);
    transform: translateY(3px);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-nav > a,
.nav-dropdown {
    display: flex;
    align-items: center;
}

.site-nav a {
    color: var(--muted);
    font-size: .96rem;
}

.site-nav a:hover,
.footer-links a:hover,
.social-row a:hover,
.text-link:hover {
    color: var(--text);
}

/* Products dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: none;
    border: none;
    color: var(--muted);
    font-size: .96rem;
    font-family: inherit;
    cursor: pointer;
}

.nav-dropdown-trigger:hover {
    color: var(--text);
}

.nav-dropdown-trigger::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 2px;
    transition: transform var(--dur-2) var(--ease-out);
}

.nav-dropdown.is-open .nav-dropdown-trigger::after {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 200px;
    padding: 10px 0;
    background: var(--card-strong);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 30;
}

.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(12px);
}

.nav-dropdown-menu a,
.nav-dropdown-item {
    display: block;
    padding: 12px 18px;
    color: var(--text);
    font-size: .95rem;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: rgba(15,23,42,0.04);
    color: var(--text);
}

.nav-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.66);
    color: var(--soft);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    vertical-align: 1px;
}

.nav-dropdown-item.coming-soon {
    color: var(--muted);
    cursor: default;
}

.nav-cta,
.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 16px;
    padding: 0 22px;
    transition:
        transform var(--dur-2) var(--ease-out),
        background var(--dur-2) var(--ease-out),
        border-color var(--dur-2) var(--ease-out),
        filter var(--dur-2) var(--ease-out);
}

.nav-cta,
.secondary-button {
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.72);
}

.primary-button {
    color: #ffffff;
    font-weight: 700;
    background: linear-gradient(135deg, #191817 0%, #2a2725 50%, #191817 100%);
    box-shadow: 0 14px 32px rgba(15,23,42,0.20);
}

.primary-button:hover,
.secondary-button:hover,
.nav-cta:hover {
    transform: translateY(-1px);
}

.secondary-button:hover,
.nav-cta:hover {
    background: rgba(255,255,255,1);
}

.hero-grid,
.split-grid,
.contact-shell {
    display: grid;
    gap: 34px;
    align-items: center;
}

.hero-grid {
    grid-template-columns: 1.2fr .8fr;
}

.hero-solo {
    display: flex;
    justify-content: center;
}

.hero-solo .hero-copy {
    max-width: 720px;
    text-align: center;
}

.hero-solo .hero-actions,
.hero-solo .hero-points {
    justify-content: center;
}

.hero-copy {
    transform: none;
}

.hero-actions,
.split-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hero-points span,
.status-pill {
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(25,24,23,0.10);
    background: radial-gradient(circle at 0 0, rgba(229,219,203,0.22), rgba(255,255,255,0.72));
    color: var(--text);
    font-size: .9rem;
}

.hero-card,
.product-card,
.contact-card,
.manifesto-card {
    padding: 34px;
}

.hero-card {
    position: relative;
    background: var(--card-strong);
}

.hero-card::before,
.product-card::before,
.manifesto-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 60px rgba(229,219,203,0.08);
}

.card-label {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: .82rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-card h2,
.product-card h3 {
    margin: 0 0 16px;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.principle-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.principle-item {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(25,24,23,0.02);
    border: 1px solid var(--border);
    color: var(--text);
}

.value-band {
    padding-top: 0;
}

.value-band-inner {
    padding: 26px 30px;
    text-align: center;
}

.value-band-inner p {
    margin: 0;
    font-size: 1.08rem;
    color: var(--muted);
}

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

.feature-card {
    padding: 34px 34px 32px;
}

.philosophy-section .feature-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.038), rgba(255,255,255,0.018));
}

.principle-icon {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    margin-bottom: 10px;
    display: grid;
    place-items: center;
    color: var(--accent);
    background: rgba(75,89,201,0.10);
    border: 1px solid rgba(75,89,201,0.16);
}

.feature-number {
    display: none;
}

.feature-card h2,
.feature-card h3 {
    font-family: var(--font-serif);
    margin: 0 0 12px;
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.split-grid {
    grid-template-columns: 1.1fr .9fr;
}

.clean-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    gap: 12px;
}

.clean-list li {
    position: relative;
    padding-left: 26px;
}

.clean-list li::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    left: 0;
    top: .55em;
    background: linear-gradient(135deg, #b5d5ff, #d2bcff);
    box-shadow: 0 0 0 6px rgba(181,213,255,0.08);
}

.status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0;
}

.text-link {
    color: var(--accent);
    font-weight: 600;
}

.contact-email {
    color: var(--text);
    font-weight: 600;
}

.contact-email:hover {
    color: var(--accent);
}

.contact-shell {
    grid-template-columns: 1fr .9fr;
}

.contact-email {
    display: inline-block;
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.contact-note {
    margin-top: 0;
}

.social-row,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

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

.featured-product .section-header {
    max-width: 640px;
}

.products-three-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.product-card-home {
    display: flex;
    flex-direction: column;
}

.product-card-home .split-actions {
    margin-top: auto;
    padding-top: 20px;
}

.product-card-coming-soon {
    opacity: 0.96;
}

.coming-soon-label {
    margin: 24px 0 0;
    font-size: .9rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.08em;
}

.products-page-grid {
    display: grid;
    gap: 28px;
    margin-top: 40px;
}

.product-block {
    padding: 34px;
}

.product-block-content .section-title {
    margin-bottom: 12px;
    font-size: 1.75rem;
}

.product-block-coming-soon {
    opacity: 0.96;
}

.products-cta {
    margin-top: 32px;
}

.featured-card {
    margin-top: 32px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.featured-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 100% 0%, rgba(75,89,201,0.12), transparent 60%);
    opacity: 1;
    pointer-events: none;
}

.featured-header {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.featured-title {
    margin: 0 0 16px;
    font-family: var(--font-serif);
    font-size: 2.1rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.featured-chips {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 24px;
}

.featured-chip {
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.66);
    color: var(--text);
    font-size: .9rem;
}

.studio-card {
    max-width: 840px;
    margin: 0 auto;
    padding: 34px 30px;
    text-align: left;
}

/* ----- Logo intro: hide main chrome until first session run completes ----- */
html.intro-pending:not(.intro-complete) body > .bg-orb,
html.intro-pending:not(.intro-complete) body > .bg-grid,
html.intro-pending:not(.intro-complete) body > .site-header,
html.intro-pending:not(.intro-complete) body > main,
html.intro-pending:not(.intro-complete) body > .site-footer {
    opacity: 0;
    pointer-events: none;
}

body > .bg-orb,
body > .bg-grid,
body > .site-header,
body > main,
body > .site-footer {
    transition: opacity 0.75s ease;
}

html.intro-complete body > .bg-orb,
html.intro-complete body > .bg-grid,
html.intro-complete body > .site-header,
html.intro-complete body > main,
html.intro-complete body > .site-footer {
    opacity: 1;
    pointer-events: auto;
}

/* ----- Split logo layout ----- */
.brand-logo {
    display: flex;
    align-items: flex-end;
    gap: 0;
}

.brand-logo img {
    display: block;
    width: auto;
    height: 72px;
}

.site-header .brand-logo--home img {
    height: 96px;
}

.site-footer .brand-logo img {
    height: 70px;
}

/* ----- Logo battery-jitter ----- */
@keyframes logo-battery-jitter {
    0%   { transform: translateX(0);    opacity: 1;    filter: brightness(1); }
    6%   { transform: translateX(-1px); opacity: 0.35; filter: brightness(0.45); }
    10%  { transform: translateX(1px);  opacity: 1;    filter: brightness(1); }
    16%  { transform: translateX(0);    opacity: 0.55; filter: brightness(0.65); }
    20%  { transform: translateX(-2px); opacity: 1;    filter: brightness(1); }
    26%  { transform: translateX(0);    opacity: 0.2;  filter: brightness(0.3); }
    30%  { transform: translateX(1px);  opacity: 0.9;  filter: brightness(1); }
    36%  { transform: translateX(-1px); opacity: 0.5;  filter: brightness(0.6); }
    40%  { transform: translateX(0);    opacity: 1;    filter: brightness(1); }
    46%  { transform: translateX(0);    opacity: 0.75; filter: brightness(0.85); }
    54%  { transform: translateX(0);    opacity: 1;    filter: brightness(1); }
    100% { transform: translateX(0);    opacity: 1;    filter: brightness(1); }
}

.logo-jitter {
    animation: logo-battery-jitter 580ms linear forwards;
}

/* ----- Logo intro (Three.js + GSAP) ----- */
.logo-intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse 120% 80% at 50% 45%, #0c1224 0%, #030308 55%, #010105 100%);
    opacity: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow: hidden;
}

/* Subtle broadcast / “24”-style scan texture (does not block WebGL canvas) */
.logo-intro-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10000;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.13) 2px,
        rgba(0, 0, 0, 0.13) 3px
    );
    opacity: 0.35;
    mix-blend-mode: overlay;
}

#logo-canvas {
    display: block;
    width: 100%;
    height: 100%;
    flex: 1;
    min-height: 0;
    touch-action: none;
    position: relative;
    z-index: 0;
}

/* DOM layer above WebGL: countdown, split frames, hard flashes */
.logo-intro-broadcast {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.logo-intro-split {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 1;
}

.logo-intro-split-panel {
    flex: 1;
    height: 100%;
    opacity: 0;
    will-change: opacity, transform;
}

.logo-intro-split-panel--left {
    background: linear-gradient(100deg, rgba(255, 72, 0, 0.38) 0%, rgba(255, 72, 0, 0.06) 45%, transparent 78%);
}

.logo-intro-split-panel--right {
    background: linear-gradient(260deg, rgba(240, 248, 255, 0.12) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 82%);
}

.logo-intro-hardflash {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: overlay;
    will-change: opacity;
}

.logo-intro-countdown {
    position: absolute;
    top: clamp(64px, 11vh, 120px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    visibility: hidden;
    text-align: center;
}

.logo-intro-countdown-digits {
    display: inline-block;
    font-family: ui-monospace, "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;
    font-weight: 700;
    font-size: clamp(3.2rem, 16vw, 7.5rem);
    line-height: 0.95;
    letter-spacing: 0.06em;
    color: #ff4a14;
    text-shadow:
        0 0 2px rgba(0, 0, 0, 0.9),
        0 0 28px rgba(255, 85, 30, 0.85),
        0 0 64px rgba(255, 140, 60, 0.45);
    will-change: transform, opacity;
}

.logo-intro-skip {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10001;
    padding: 8px 14px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #e8e8f0;
    background: rgba(20, 22, 40, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.logo-intro-skip:hover,
.logo-intro-skip:focus-visible {
    background: rgba(40, 44, 70, 0.72);
    outline: none;
}

.logo-intro-labs {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    transform: translate(calc(-50% + min(22vw, 160px)), -50%);
    display: flex;
    align-items: baseline;
    gap: 0.02em;
    font-weight: 800;
    font-size: clamp(2.4rem, 9vw, 4.6rem);
    letter-spacing: 0.04em;
    color: #f2f4ff;
    visibility: hidden;
    pointer-events: none;
    font-family: "Inter", system-ui, sans-serif;
    line-height: 1;
}

.logo-intro-labs--glow .logo-intro-labs-char {
    text-shadow:
        0 0 20px rgba(255, 120, 50, 0.55),
        0 0 48px rgba(255, 180, 100, 0.28),
        0 0 2px rgba(255, 255, 255, 0.4);
}

.logo-intro-labs-char {
    display: inline-block;
    will-change: transform, opacity;
}

.site-footer {
    padding: 42px 0 46px;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(250,249,246,0.0), rgba(250,249,246,0.9));
}

.footer-shell {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

.footer-brand {
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.footer-copy {
    margin: 6px 0 0;
    color: var(--soft);
    font-size: .95rem;
    padding: 0;
    max-width: 520px;
}

.mobile-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.6);
    padding: 0;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    background: var(--text);
    transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-2) var(--ease-out);
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay {
    transition-delay: 80ms;
}

.reveal-delay-2 {
    transition-delay: 140ms;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    @media (hover: hover) and (pointer: fine) {
        .card {
            transition: none;
        }
        .card:hover {
            transform: none;
        }
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .split-grid,
    .contact-shell,
    .three-up-grid,
    .manifesto-grid,
    .products-three-grid,
    .products-secondary-row {
        grid-template-columns: 1fr;
    }

    .product-featured-split {
        grid-template-columns: 1fr;
    }

    .product-featured-media {
        padding: 24px 20px 8px;
    }

    .product-featured-copy {
        padding: 8px 24px 32px;
    }

    .product-featured-media img {
        width: min(240px, 72vw);
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        max-width: 100%;
    }

    .site-nav {
        position: absolute;
        right: 20px;
        top: calc(100% + 12px);
        width: min(320px, calc(100vw - 40px));
        background: rgba(11, 17, 30, 0.97);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 20px;
        padding: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity .2s ease, transform .2s ease;
    }

    .site-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-dropdown {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .nav-dropdown-trigger {
        color: rgba(255,255,255,0.9);
        justify-content: space-between;
        padding: 4px 0;
    }

    .nav-dropdown-trigger:hover {
        color: #fff;
    }

    .nav-dropdown-trigger::after {
        border-top-color: rgba(255,255,255,0.7);
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        min-width: auto;
        padding: 8px 0 8px 16px;
        margin-top: 4px;
        background: transparent;
        border: none;
        box-shadow: none;
        border-left: 2px solid rgba(255,255,255,0.2);
        opacity: 1;
        pointer-events: auto;
        display: none;
    }

    .nav-dropdown.is-open .nav-dropdown-menu {
        display: block;
        transform: none;
    }

    .nav-dropdown-menu a,
    .nav-dropdown-item {
        color: rgba(255,255,255,0.85);
        padding: 10px 0;
    }

    .nav-dropdown-menu a:hover {
        background: transparent;
        color: #fff;
    }

    .nav-dropdown-item.coming-soon em {
        color: rgba(255,255,255,0.5);
    }

    .mobile-toggle {
        display: block;
    }
}

@media (max-width: 720px) {
    .footer-shell {
        flex-direction: column;
        align-items: flex-start;
    }

    .bg-orb,
    .bg-grid {
        display: none;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(var(--container), calc(100% - 28px));
    }

    .nav-shell {
        min-height: 76px;
    }

    .section {
        padding: 72px 0;
    }

    .hero.section {
        padding-top: 60px;
        padding-bottom: 64px;
    }

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

    .page-title {
        font-size: 2.55rem;
    }

    .hero-card,
    .product-card,
    .contact-card,
    .manifesto-card,
    .feature-card {
        padding: 24px;
    }

    .hero-actions,
    .split-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-button,
    .secondary-button,
    .nav-cta {
        width: 100%;
    }

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

/* Responsive portfolio and accessible shared shell. */
html, body { overflow-x: visible; }
.bg-orb-1 { left: 0; width: min(360px, 100%); }
.bg-orb-2 { right: 0; width: min(420px, 100%); }
.site-header { z-index: 20; }
.site-header .container, .site-footer .container { transform: none; }
.brand-mark { margin-left: 0; }
.hero-solo .hero-copy { min-width: 0; width: 100%; }
.hero-product-strip-inner > *, .product-featured-split > *, .products-secondary-row > * { min-width: 0; }
:where(a,button,input,textarea,[tabindex]):focus-visible { outline: 3px solid #4b59c9; outline-offset: 4px; }
.skip-link { position: fixed; top: 12px; left: 12px; transform: translateY(-180%); z-index: 100; padding: 12px 20px; background: #fff; color: #171717; border: 2px solid #4b59c9; }
.skip-link:focus { transform: none; }
.nav-dropdown-menu { visibility: hidden; }
.nav-dropdown.is-open .nav-dropdown-menu { visibility: visible; }
.nav-dropdown-menu a { white-space: normal; }
.site-nav a, .nav-dropdown-trigger { min-height: 40px; display: flex; align-items: center; }
.product-block-split { display: grid; grid-template-columns: minmax(220px,.7fr) minmax(0,1.3fr); gap: 40px; align-items: center; }
.product-block-split .product-block-visual img, .product-block-split img { width: auto; max-width: 100%; max-height: 520px; object-fit: contain; margin: auto; border-radius: 20px; }
.sfv-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px 40px; padding: 32px; margin: 32px 0; align-items: center; }
.sfv-preview { max-height: 500px; aspect-ratio: 1/1.05; overflow: hidden; border-radius: 22px; background: #102937; }
.sfv-preview img { width: 100%; height: auto; }
.sfv-copy { min-width: 0; }
.sfv-copy h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.5rem,4.2vw,3.75rem); line-height: 1.08; letter-spacing: -.04em; margin: 14px 0; }
.sfv-copy p { color: var(--muted); }
.sfv-copy .sfv-lead { font-family: var(--font-serif); font-size: clamp(1.5rem,2.5vw,2rem); color: var(--text); line-height: 1.25; margin: 28px 0 16px; }
.sfv-button { background: #424ad7; margin-top: 24px; gap: 12px; }
.project-domain { display: block; width: fit-content; text-decoration: underline; color: var(--muted); margin-top: 12px; }
.sfv-note { grid-column: 1/-1; border-top: 1px solid var(--border); padding-top: 22px; margin: 0; color: var(--muted); font-size: .9rem; }
.lattice-card { background: linear-gradient(145deg,#f4f1fc,#fff); }
.mini-cube { font-size: 5rem; line-height: 1; color: #7064a8; margin: 14px 0 28px; }
@media(max-width:980px) {
 .site-nav { visibility: hidden; background: #faf9f6; border-color: #d9d6e4; z-index: 30; max-height: calc(100svh - 120px); overflow-y: auto; }
 .site-nav.is-open { visibility: visible; }
 .site-nav a, .nav-dropdown-trigger, .nav-dropdown-trigger:hover, .nav-dropdown-menu a, .nav-dropdown-item { color: #393641; }
 .nav-dropdown-trigger::after { border-top-color: currentColor; }
 .nav-dropdown-menu { border-left-color: #c5c0d2; }
 .sfv-card { gap: 28px; }
 .product-block-split { grid-template-columns: minmax(180px,.7fr) minmax(0,1.3fr); gap: 28px; }
}
@media(max-width:720px) {
 .sfv-card, .product-block-split { grid-template-columns: minmax(0,1fr); padding: 22px; }
 .sfv-preview { aspect-ratio: .83; max-height: 480px; }
 .sfv-copy h2 { font-size: 2.65rem; }
 .sfv-button { width: 100%; }
 .sfv-note { grid-column: 1; }
 .product-block-split img { max-height: 420px; }
 .footer-links { gap: 14px 20px; }
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.logo-jitter{animation:none!important}}

.sfv-preview { width: min(100%,410px); aspect-ratio: 390/475; max-height: none; margin-inline: auto; }

/* Shared portfolio rhythm; approved SFV content and preview crop retained. */
.hero { padding-bottom:36px; }
.portfolio-grid { display:grid;gap:32px; }
.portfolio-card { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px 40px;padding:32px;margin:0;align-items:stretch; }
.portfolio-media { aspect-ratio:390/475;width:min(100%,410px);margin-inline:auto;border-radius:22px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#f1f0f6,#faf9f6); }
.portfolio-media>img { width:100%;height:100%;max-height:500px;object-fit:contain;padding:18px; }
.portfolio-media>svg { width:72%;height:auto;max-height:80%; }
.portfolio-copy { display:flex;flex-direction:column;justify-content:center;min-width:0;padding:12px 0; }
.portfolio-copy .section-title { font-size:clamp(2rem,3.7vw,3rem); }
.portfolio-copy .split-actions { margin-top:auto;padding-top:28px; }
.portfolio-copy .section-text { margin-bottom:24px; }
.portfolio-copy .card-label { margin-bottom:14px; }
.portfolio-card .sfv-copy { display:flex;flex-direction:column;justify-content:center; }
.portfolio-card .sfv-button { margin-top:auto; }
.portfolio-card .sfv-copy .featured-chips { margin-bottom:24px; }
.portfolio-card .glass-scene { --glass-size:126px;--glass-depth:63px;width:230px;height:240px;margin:0; }
.portfolio-totalcross .portfolio-media { background:#f8f5eb; }
.study-preview { width:100%;height:100%;background:#111c1a;color:#b5dfba;padding:34px;display:flex;flex-direction:column;justify-content:space-between;font-family:monospace;font-size:12px; }
.study-preview strong { font-size:clamp(2rem,4vw,3rem);line-height:1.1;font-weight:500; }
.founder-note { padding:32px;margin:0 0 32px; }
@media(max-width:720px){.portfolio-card{grid-template-columns:minmax(0,1fr);padding:22px;gap:28px}.portfolio-copy{padding:0}.portfolio-copy .split-actions{padding-top:8px}.portfolio-copy .section-title{font-size:2.2rem}.portfolio-card .sfv-button{margin-top:0}.hero{padding-top:44px}.founder-note{padding:22px}}

/* MyHQ product icon: the ONLY reference to the icon file (ICON-SWAP). Replace
   /assets/images/hq-product/hq-icon.svg, or change this one URL, to swap the icon. */
.product-icon--myhq { background:url(/assets/images/hq-product/hq-icon.svg) center/contain no-repeat; }
.product-icon { display:block;width:min(46%,200px);aspect-ratio:1/1; }
.portfolio-myhq .portfolio-media { background:#f5f1e8; }
/* "Example data" badge on every sample visual */
.myhq-example { position:absolute;top:12px;left:12px;z-index:1;background:#17171a;color:#fff;font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:5px 10px;border-radius:999px; }
.portfolio-myhq-board .portfolio-media { position:relative;background:#f6f4ef; }
.portfolio-myhq-board .portfolio-media>a { display:block;width:100%;height:100%; }
.portfolio-myhq-board .portfolio-media img { display:block;width:100%;height:100%;object-fit:contain;padding:48px 18px 18px; }
.myhq-page .myhq-hero { display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:40px;align-items:center;margin-bottom:56px; }
.myhq-lockup { display:flex;align-items:center;gap:16px;margin-bottom:20px; }
.myhq-lockup .product-icon { width:64px; }
.myhq-shot { position:relative;margin:0;border-radius:20px;overflow:hidden;background:#f6f4ef;border:1px solid rgba(0,0,0,.08);box-shadow:0 2px 4px rgba(0,0,0,.05),0 10px 24px rgba(0,0,0,.08); }
.myhq-shot img { display:block;width:100%;height:auto; }
.myhq-shot--phone { max-width:340px;justify-self:center;width:100%; }
.myhq-shot figcaption { padding:12px 16px;background:#fff;font-size:.95rem;color:#5a5650; }
.myhq-shot figcaption strong { color:#17171a;margin-right:6px; }
.myhq-block { margin:0 0 56px; }
.myhq-block>.section-title { font-size:clamp(1.7rem,2.8vw,2.4rem);margin-bottom:12px; }
.myhq-tpls { list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px; }
.myhq-tpl { background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:20px;padding:20px;box-shadow:0 1px 2px rgba(0,0,0,.06); }
.myhq-tpl h3 { font-size:1.15rem;margin:0 0 6px; }
.myhq-tpl p { margin:0;color:#5a5650;font-size:.95rem;line-height:1.5; }
.myhq-layouts { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:20px; }
.myhq-schemes { list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 20px;padding:0; }
.myhq-schemes li { border:1px solid rgba(0,0,0,.12);border-radius:999px;padding:4px 14px;font-weight:600;font-size:.95rem; }
.myhq-scroll { overflow-x:auto; }
.myhq-scroll img { min-width:900px; }
.myhq-tellus { display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px 28px;margin:0 0 32px;text-decoration:none;color:inherit;font-size:1.15rem; }
.myhq-tellus:hover strong, .myhq-tellus:focus-visible strong { text-decoration:underline; }
.myhq-page .card { padding:28px;margin-bottom:24px; }
.myhq-page .card .section-title { font-size:clamp(1.6rem,2.6vw,2.2rem);margin-bottom:12px; }
.myhq-page .card ol, .myhq-page .card ul { margin:12px 0 0 1.2em;line-height:1.7; }
@media(max-width:900px){ .myhq-page .myhq-hero{grid-template-columns:minmax(0,1fr)} .myhq-layouts{grid-template-columns:minmax(0,1fr)} }

/* MyHQ card: CSS device frames (desktop behind, phone in front) with real
   example-data screens. No third-party device art. */
.portfolio-myhq-devices .portfolio-media { position:relative;display:block;background:#f6f4ef;container-type:inline-size; }
.portfolio-myhq-devices .myhq-example { z-index:3; }
.myhq-device { position:absolute;background:#17171a;box-shadow:0 2px 4px rgba(0,0,0,.08),0 14px 30px rgba(23,23,26,.18); }
.myhq-device picture, .myhq-device img { display:block;width:100%;height:auto; }
.myhq-device img { border-radius:inherit;background:#f6f4ef; }
.myhq-device--desktop { top:20%;left:5%;width:86%;padding:2.2cqi 2.2cqi 4.6cqi;border-radius:3.2cqi;z-index:1; }
.myhq-device--desktop img { border-radius:1.2cqi; }
.myhq-device--desktop::after { content:"";position:absolute;left:50%;bottom:-5.5cqi;width:26%;height:5.5cqi;transform:translateX(-50%);background:#2b2b30;clip-path:polygon(18% 0,82% 0,100% 100%,0 100%);border-radius:0 0 1cqi 1cqi; }
.myhq-device--phone { right:6%;bottom:5%;width:34%;padding:5cqi 1.8cqi 2.6cqi;border-radius:6.2cqi;z-index:2;box-shadow:0 0 0 1px rgba(255,255,255,.08) inset,0 4px 8px rgba(0,0,0,.12),0 18px 36px rgba(23,23,26,.28); }
.myhq-device--phone img { border-radius:4.6cqi; }
.myhq-device--phone::before { content:"";position:absolute;top:1.6cqi;left:50%;width:28%;height:1.9cqi;transform:translateX(-50%);background:#3a3a40;border-radius:999px;z-index:1; }
.myhq-card-title { display:flex;align-items:center;gap:14px;min-width:0; }
.myhq-card-title .section-title { margin:0;min-width:0; }
.myhq-card-icon { flex:none;width:44px;height:44px;border-radius:10px; }
.portfolio-myhq-devices .portfolio-copy .myhq-card-title { margin-bottom:16px; }
@media(max-width:720px){ .myhq-card-icon{width:40px;height:40px} .myhq-card-title{gap:12px} }

/* 404 page (moved from inline style attributes for the CSP) */
.notfound-actions { margin-top:18px; }
.notfound-links { list-style:none;margin:0;padding:0;display:grid;gap:12px; }
