:root {
    --indus-navy: #10324a;
    --indus-teal: #2f6f73;
    --indus-gold: #c99b46;
    --indus-sand: #f3efe7;
    --indus-ink: #1f2933;
    --indus-muted: #667085;
    --indus-border: #d9e1e8;
}

body.site-body {
    color: var(--indus-ink);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    font-family: Arial, Helvetica, sans-serif;
}

.contact-form-alert {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(220, 231, 244, 0.22);
    border-radius: 1rem;
    color: var(--text, #eef4fb);
    background:
        linear-gradient(135deg, rgba(21, 34, 53, 0.96), rgba(8, 17, 29, 0.94)),
        rgba(16, 28, 45, 0.94);
    box-shadow: 0 18px 45px rgba(6, 17, 31, 0.22);
    animation: contactAlertIn 0.28s ease both;
}

.contact-form-alert-success {
    border-color: rgba(80, 200, 140, 0.34);
}

.contact-form-alert-danger {
    border-color: rgba(220, 100, 100, 0.38);
}

.contact-form-alert-icon {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 999px;
    color: #082015;
    background: linear-gradient(135deg, #8df0b7, #4fc884);
    font-weight: 950;
    box-shadow: 0 8px 22px rgba(80, 200, 140, 0.2);
}

.contact-form-alert-danger .contact-form-alert-icon {
    color: #300d0d;
    background: linear-gradient(135deg, #ffb4a8, #ef7469);
}

.contact-form-alert-icon svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-form-alert-copy {
    color: inherit;
    font-size: 0.95rem;
    font-weight: 850;
    line-height: 1.45;
}

.contact-form-alert-close {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid rgba(220, 231, 244, 0.18);
    border-radius: 999px;
    color: currentColor;
    background: rgba(255, 255, 255, 0.06);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.contact-form-alert-close:hover {
    transform: scale(1.05);
    border-color: rgba(220, 231, 244, 0.34);
    background: rgba(255, 255, 255, 0.12);
}

.contact-form-alert.is-hiding {
    animation: contactAlertOut 0.26s ease forwards;
}

html[data-theme="light"] .contact-form-alert {
    color: #14253a;
    border-color: rgba(23, 38, 58, 0.12);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 237, 0.94)),
        #fff8ed;
    box-shadow: 0 18px 45px rgba(67, 54, 38, 0.13);
}

@keyframes contactAlertIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes contactAlertOut {
    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}

.site-header .navbar {
    background: linear-gradient(90deg, var(--indus-navy), #163d57);
    box-shadow: 0 8px 24px rgba(16, 50, 74, 0.14);
}

.navbar-brand,
.navbar .nav-link {
    letter-spacing: 0.02em;
}

.navbar .nav-link.active,
.navbar .nav-link:hover,
.footer-links a:hover {
    color: var(--indus-gold) !important;
}

.hero-section,
.page-hero {
    background: radial-gradient(circle at top right, rgba(47, 111, 115, 0.15), transparent 35%), linear-gradient(135deg, #fdfefe, #eef4f7);
}

.section-label {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(16, 50, 74, 0.08);
    color: var(--indus-navy);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-title,
.hero-section h1,
.page-hero h1,
.site-footer h2 {
    color: var(--indus-navy);
}

.section-title {
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-intro {
    max-width: 760px;
    color: var(--indus-muted);
}

.feature-card,
.mini-stat,
.team-card,
.portfolio-card,
.contact-panel,
.contact-form {
    background: #fff;
    border: 1px solid var(--indus-border);
    border-radius: 1.25rem;
    box-shadow: 0 10px 25px rgba(16, 50, 74, 0.06);
}

.feature-card,
.mini-stat,
.contact-panel {
    padding: 1.5rem;
}

.feature-card h3,
.mini-stat h3,
.portfolio-card h3,
.team-card h3,
.contact-panel h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--indus-navy);
}

.section-alt {
    background: var(--indus-sand);
}

.hero-image-card img,
.portfolio-card img {
    width: 100%;
    object-fit: cover;
}

.team-card {
    padding: 1.5rem;
    text-align: center;
}

.team-card h4 {
    font-size: 0.95rem;
    color: var(--indus-teal);
    margin-bottom: 1rem;
}

.team-avatar {
    width: 124px;
    height: 124px;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid rgba(16, 50, 74, 0.08);
}

.portfolio-card {
    padding: 1rem;
}

.portfolio-card h4 {
    font-size: 0.95rem;
    color: var(--indus-teal);
    margin-bottom: 0.75rem;
}

.contact-form {
    padding: 1.5rem;
}

.form-control,
.form-select {
    border-radius: 0.9rem;
    border-color: var(--indus-border);
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.btn-primary {
    background: var(--indus-navy);
    border-color: var(--indus-navy);
}

.btn-primary:hover {
    background: #0c2434;
    border-color: #0c2434;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.65);
}

.site-footer {
    background: #0f2433;
    color: #dce6ee;
}

.site-footer h2,
.site-footer a {
    color: #f8fafc;
}

.footer-links a {
    text-decoration: none;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 991.98px) {
    .hero-section .display-5,
    .page-hero .display-6 {
        font-size: calc(1.3rem + 2vw);
    }
}

/* Premium redesign system */
:root {
    --ink: #06111f;
    --panel: #101c2d;
    --panel-soft: #152235;
    --line: rgba(202, 214, 230, 0.16);
    --text: #eef4fb;
    --muted: #a9b6c8;
    --mist: #dce7f4;
    --steel: #6f8aa6;
    --copper: #b9905c;
    --green: #5c8f7b;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.site-body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(110deg, rgba(92, 143, 123, 0.06), transparent 28%), linear-gradient(180deg, #071423 0%, #0a1728 48%, #081221 100%);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

body.site-body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px), radial-gradient(circle at 20% 10%, rgba(111, 138, 166, 0.12), transparent 30%), radial-gradient(circle at 80% 40%, rgba(185, 144, 92, 0.08), transparent 26%);
    opacity: 0.38;
    animation: textileDrift 18s ease-in-out infinite alternate;
    z-index: -1;
}

img { max-width: 100%; }
a { color: inherit; }

.site-header {
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.site-header .navbar {
    min-height: 78px;
    background: rgba(6, 17, 31, 0.86);
    box-shadow: none;
}

.navbar-brand {
    color: var(--text) !important;
    font-size: 1.65rem;
    letter-spacing: 0;
}

.brand-lockup,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 0.75rem;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.24));
}

.navbar-brand.brand-lockup {
    line-height: 1;
}

.footer-brand {
    margin-bottom: 1rem;
}

.navbar-nav { gap: 1rem; }

.navbar .nav-link {
    position: relative;
    color: var(--muted) !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding-inline: 0.2rem !important;
    transition: color 0.25s ease, transform 0.25s ease;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0.2rem;
    right: 0.2rem;
    bottom: 0.15rem;
    height: 2px;
    background: linear-gradient(90deg, var(--mist), var(--copper));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--text) !important;
    transform: translateY(-1px);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    transform: scaleX(1);
}

.btn {
    border-radius: 0.65rem;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn-nav,
.btn-premium {
    color: #071423;
    background: linear-gradient(135deg, #f4f8ff, #b8c8dd);
    border: 1px solid rgba(255, 255, 255, 0.65);
}

.btn-nav { padding: 0.7rem 1.55rem; }
.btn-premium { padding: 0.95rem 1.55rem; }

.btn-ghost {
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.95rem 1.55rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
}

.text-link {
    color: var(--mist);
    font-weight: 800;
    text-decoration: none;
    border-bottom: 1px solid rgba(220, 231, 244, 0.55);
}

.hero {
    position: relative;
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-media,
.hero-media::after {
    position: absolute;
    inset: 0;
}

.hero-media {
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: heroImageIn 1.7s ease forwards;
}

.hero-media::after {
    content: "";
    background: linear-gradient(90deg, rgba(6, 17, 31, 0.93), rgba(6, 17, 31, 0.48) 54%, rgba(6, 17, 31, 0.78)), linear-gradient(180deg, transparent 66%, #071423 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 4.25rem;
    padding-bottom: 5.75rem;
}

.hero-title {
    max-width: 780px;
    color: var(--text);
    font-size: clamp(3rem, 7vw, 6.6rem);
    line-height: 0.96;
    font-weight: 900;
    letter-spacing: 0;
}

.hero-title.compact {
    font-size: clamp(2.7rem, 5vw, 5.1rem);
    max-width: 780px;
}

.hero-copy {
    max-width: 690px;
    margin-top: 1.45rem;
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.2rem;
}

.hero-slider {
    isolation: isolate;
    min-height: 560px;
    height: min(560px, calc(100vh - 78px));
    max-height: 560px;
    background:
        radial-gradient(circle at 18% 20%, rgba(185, 144, 92, 0.18), transparent 28%),
        radial-gradient(circle at 78% 70%, rgba(92, 143, 123, 0.16), transparent 32%),
        linear-gradient(120deg, #071423 0%, #0d1d31 52%, #07111f 100%);
}

.hero-slider-track,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slider-track {
    z-index: 0;
}

.hero-slide {
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateX(3.5rem) scale(1.015);
    transition: opacity 0.75s ease, transform 0.9s ease, visibility 0.75s ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    z-index: 1;
}

.hero-slide-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(210px, 0.82fr) minmax(320px, 1fr) minmax(210px, 0.82fr);
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2.6rem);
    min-height: 100%;
}

.hero-slider::before {
    content: "";
    position: absolute;
    inset: 1.4rem clamp(1rem, 4vw, 4.5rem);
    border: 1px solid rgba(220, 231, 244, 0.1);
    border-radius: 2.2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 28px 70px rgba(0, 0, 0, 0.22);
    pointer-events: none;
}

.hero-slider .hero-image-card {
    position: relative;
    min-height: 330px;
    height: clamp(300px, 34vw, 390px);
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(220, 231, 244, 0.17);
    border-radius: 1.65rem;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.hero-slider .hero-image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(6, 17, 31, 0.24));
    pointer-events: none;
}

.hero-slider .hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.06) contrast(1.03) brightness(1.02);
    transform: scale(1.02);
    transition: transform 1.1s ease, filter 0.45s ease;
}

.hero-slide.is-active .hero-image-card img {
    transform: scale(1);
}

.hero-image-card-left {
    transform: rotate(-2deg) translateY(0.5rem);
}

.hero-image-card-right {
    transform: rotate(2deg) translateY(-0.45rem);
}

.hero-slider .hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    text-align: center;
}

.hero-slider .hero-title {
    max-width: 610px;
    margin-inline: auto;
    font-size: clamp(2.25rem, 4vw, 4rem);
    line-height: 1;
}

.hero-slider .hero-copy {
    max-width: 520px;
    margin-inline: auto;
    font-size: 1.05rem;
    line-height: 1.62;
}

.hero-slider .hero-actions {
    justify-content: center;
    margin-top: 1.65rem;
}

.hero-slider .hero-content .scroll-cue {
    position: static;
    left: auto;
    bottom: auto;
    z-index: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    transform: none;
    margin-top: clamp(1.9rem, 3vw, 2.45rem);
}

.hero-slider .eyebrow {
    margin-bottom: 1.1rem;
}

.hero-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: inline-grid;
    width: 3.35rem;
    height: 3.35rem;
    place-items: center;
    color: var(--text);
    border: 1px solid rgba(220, 231, 244, 0.22);
    border-radius: 999px;
    background: rgba(6, 17, 31, 0.42);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
    font-size: 2.2rem;
    line-height: 1;
    transform: translateY(-50%);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.hero-slider-arrow:hover,
.hero-slider-arrow:focus-visible {
    border-color: rgba(209, 178, 124, 0.62);
    background: rgba(16, 28, 45, 0.76);
    transform: translateY(-50%) scale(1.07);
    outline: none;
}

.hero-slider-arrow-prev {
    left: clamp(1rem, 3vw, 2.25rem);
}

.hero-slider-arrow-next {
    right: clamp(1rem, 3vw, 2.25rem);
}

.hero-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 2.25rem;
    z-index: 4;
    display: flex;
    gap: 0.5rem;
    transform: translateX(-50%);
}

.hero-slider-dots button {
    width: 2.1rem;
    height: 0.3rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(220, 231, 244, 0.32);
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-slider-dots button.is-active {
    width: 3rem;
    background: linear-gradient(90deg, var(--mist), var(--copper));
}

.trust-feature-strip {
    position: relative;
    padding: 2.35rem 0 2.15rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025)),
        rgba(7, 20, 35, 0.42);
}

.trust-feature-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(0.85rem, 2vw, 1.35rem);
    align-items: stretch;
}

.trust-feature-item {
    display: grid;
    place-items: center;
    gap: 0.7rem;
    min-height: 116px;
    padding: 0.85rem 0.6rem;
    text-align: center;
    border-radius: 1.1rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.018);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.trust-feature-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.04);
}

.trust-feature-icon {
    display: inline-grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    color: var(--mist);
}

.trust-feature-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trust-feature-item h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(0.86rem, 1.1vw, 1rem);
    font-weight: 850;
    line-height: 1.25;
}

.eyebrow,
.section-kicker {
    color: var(--steel);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    background: rgba(255, 255, 255, 0.03);
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 3rem;
    z-index: 2;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.scroll-cue::after {
    content: "";
    display: block;
    width: 1px;
    height: 36px;
    margin: 0.6rem auto 0;
    background: linear-gradient(var(--muted), transparent);
    animation: scrollPulse 1.5s ease infinite;
}

.sub-hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(120deg, rgba(111, 138, 166, 0.1), transparent 45%), linear-gradient(180deg, #071423, #09182a);
    border-bottom: 1px solid var(--line);
}

.sub-hero.minimal { padding-bottom: 4rem; }
.sub-hero.centered { text-align: center; }
.sub-hero.centered .hero-copy,
.section-heading.mx-auto { max-width: 760px; }

.team-hero {
    padding-bottom: 5rem;
    overflow: hidden;
}

.team-hero .hero-title.compact {
    max-width: 700px;
}

.team-hero-visual {
    position: relative;
    max-width: 590px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    background: rgba(16, 28, 45, 0.7);
    box-shadow: var(--shadow);
    animation: teamFloat 6.5s ease-in-out infinite;
}

.team-hero-visual::before {
    content: "";
    position: absolute;
    inset: -2rem;
    background: radial-gradient(circle, rgba(111, 138, 166, 0.24), transparent 64%);
    filter: blur(10px);
    z-index: -1;
}

.team-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(6, 17, 31, 0.08), rgba(6, 17, 31, 0.78));
    pointer-events: none;
}

.team-hero-visual img {
    display: block;
    width: 100%;
    aspect-ratio: 1.18 / 1;
    object-fit: cover;
    border-radius: inherit;
    filter: saturate(0.86) contrast(1.08) brightness(0.82);
}

.team-hero-badge {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 2;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    background: rgba(16, 28, 45, 0.86);
    backdrop-filter: blur(12px);
}

.team-hero-badge span {
    display: block;
    color: var(--steel);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.team-hero-badge strong {
    display: block;
    margin-top: 0.25rem;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.35;
}

.portfolio-hero {
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 16px), linear-gradient(180deg, #071423, #09182a);
}

.portfolio-hero {
    padding: 4.75rem 0 3.75rem;
    overflow: hidden;
}

.portfolio-hero + .section-block {
    padding-top: 3.5rem;
}

.portfolio-hero .hero-title.compact {
    max-width: 620px;
    margin-inline: 0;
    font-size: clamp(2.8rem, 4.6vw, 4.8rem);
}

.portfolio-hero .hero-copy {
    margin-bottom: 0;
}

.portfolio-hero-visual {
    position: relative;
    max-width: 760px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    overflow: hidden;
    background: rgba(16, 28, 45, 0.7);
    box-shadow: var(--shadow);
    animation: portfolioFloat 7s ease-in-out infinite;
}

.portfolio-hero-visual::before {
    content: "";
    position: absolute;
    inset: -2.25rem;
    background: radial-gradient(circle, rgba(185, 144, 92, 0.18), transparent 60%);
    filter: blur(10px);
    z-index: -1;
}

.portfolio-hero-visual img {
    display: block;
    width: 100%;
    aspect-ratio: 1.45 / 1;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.08) brightness(0.78);
    transform: scale(1.02);
    transition: transform 0.7s ease, filter 0.7s ease;
}

.portfolio-hero-visual:hover img {
    transform: scale(1.07);
    filter: saturate(1.05) contrast(1.12) brightness(0.84);
}

.portfolio-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 17, 31, 0.14), rgba(6, 17, 31, 0.72));
    pointer-events: none;
}

.portfolio-hero-card {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 2;
    max-width: 330px;
    padding: 1.15rem;
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    background: rgba(16, 28, 45, 0.88);
    backdrop-filter: blur(12px);
}

.portfolio-hero-card span {
    display: block;
    color: var(--steel);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.portfolio-hero-card strong {
    display: block;
    margin-top: 0.25rem;
    color: var(--text);
    font-size: 1.45rem;
    line-height: 1.15;
}

.portfolio-hero-card p {
    margin: 0.45rem 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.section-block { padding: 6.5rem 0; }

.section-contrast {
    background: rgba(16, 28, 45, 0.78);
    border-block: 1px solid var(--line);
}

.section-deep { background: rgba(5, 13, 24, 0.64); }
.section-heading { margin-bottom: 2.5rem; }

.section-heading h2,
.statement-card h2,
.cta-panel h2 {
    color: var(--text);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.08;
}

.section-heading p,
.lead-soft,
.process-card p,
.image-card p,
.portfolio-tile p,
.team-profile p,
.mini-panel p,
.contact-card p,
.case-feature p,
.faq-list p {
    color: var(--muted);
    line-height: 1.7;
}

.split-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.split-heading > p,
.split-heading > .text-link { max-width: 470px; }

.line-heading {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.line-heading::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.collection-grid,
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.collection-grid {
    align-items: stretch;
    grid-auto-rows: auto;
}

.portfolio-grid {
    align-items: stretch;
    grid-auto-rows: auto;
}

.image-card,
.portfolio-tile,
.team-profile,
.process-card,
.statement-card,
.mini-panel,
.contact-card,
.premium-form,
.case-feature,
.faq-list details {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(21, 34, 53, 0.92), rgba(12, 24, 39, 0.92));
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.image-card,
.portfolio-tile,
.team-profile,
.case-feature {
    position: relative;
    overflow: hidden;
    border-radius: 0.85rem;
}

.image-card { min-height: 0; }
.image-card.tall { min-height: 0; }

.collection-grid .image-card,
.collection-grid .image-card.tall {
    height: 100%;
    min-height: 0;
}

.collection-grid .image-card > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.collection-grid .image-card p {
    margin-bottom: 0;
}

.image-card img,
.portfolio-tile img,
.team-profile img,
.case-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.image-card::after,
.portfolio-tile::after,
.case-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(6, 17, 31, 0.94));
}

.image-card > div,
.portfolio-tile > div,
.case-feature > div {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.35rem;
    z-index: 2;
}

.image-card h3,
.portfolio-tile h3,
.team-profile h3,
.process-card h3,
.mini-panel h3,
.portfolio-overlay h3,
.case-feature h3,
.faq-list h3 {
    color: var(--text);
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.image-card:hover,
.portfolio-tile:hover,
.team-profile:hover,
.process-card:hover,
.mini-panel:hover,
.contact-card:hover,
.portfolio-showcase:hover {
    transform: translateY(-8px);
    border-color: rgba(220, 231, 244, 0.38);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

.image-card:hover img,
.portfolio-tile:hover img,
.team-profile:hover img,
.case-feature:hover img,
.portfolio-showcase:hover img {
    transform: scale(1.08);
    filter: saturate(1.12) contrast(1.05);
}

.fabric-video-banner {
    background:
        radial-gradient(circle at 50% 10%, rgba(209, 178, 124, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(6, 17, 31, 0.98), rgba(9, 22, 36, 0.98));
    padding-top: clamp(3.5rem, 7vw, 6.5rem);
    padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
}

.fabric-video-panel {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: clamp(1.4rem, 3vw, 2.6rem);
    border: 1px solid rgba(220, 231, 244, 0.18);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        rgba(13, 28, 45, 0.92);
    box-shadow: 0 32px 110px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.fabric-video-panel-link {
    color: inherit;
    text-decoration: none;
    transition: transform 0.42s ease, border-color 0.42s ease, box-shadow 0.42s ease;
}

.fabric-video-panel-link:hover {
    transform: translateY(-6px);
    border-color: rgba(209, 178, 124, 0.38);
    box-shadow: 0 38px 120px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(209, 178, 124, 0.12);
}

.fabric-video-panel-link:focus-visible {
    outline: 3px solid rgba(209, 178, 124, 0.82);
    outline-offset: 7px;
}

.fabric-video-media {
    position: relative;
    min-height: clamp(18rem, 46vw, 34rem);
    isolation: isolate;
}

.fabric-video-media video,
.fabric-video-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.08) brightness(0.72);
    transform: scale(1.01);
}

.fabric-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 50% 45%, rgba(209, 178, 124, 0.08), transparent 34%),
        linear-gradient(90deg, rgba(4, 12, 23, 0.28), rgba(4, 12, 23, 0.04), rgba(4, 12, 23, 0.28)),
        linear-gradient(180deg, rgba(4, 12, 23, 0.02), rgba(4, 12, 23, 0.22));
}

.fabric-video-copy {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: clamp(18rem, 46vw, 34rem);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 5rem);
    text-align: center;
}

.fabric-video-copy h2 {
    color: #f4f8ff;
    font-size: clamp(2.15rem, 5vw, 5rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
    margin-bottom: 1rem;
    text-shadow: 0 18px 58px rgba(0, 0, 0, 0.45);
}

.fabric-video-copy p:not(.section-kicker) {
    color: rgba(230, 238, 249, 0.84);
    max-width: 620px;
    margin: 0;
    font-size: clamp(1rem, 1.8vw, 1.22rem);
    line-height: 1.75;
}

.fabric-video-copy .section-kicker {
    color: rgba(209, 178, 124, 0.98);
    background: rgba(7, 17, 30, 0.56);
    border-color: rgba(209, 178, 124, 0.28);
    backdrop-filter: blur(14px);
}

.section-tailored {
    background:
        radial-gradient(circle at 18% 15%, rgba(209, 178, 124, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(9, 22, 36, 0.98), rgba(6, 17, 31, 0.98));
}

.tailored-carousel {
    position: relative;
    overflow: hidden;
    padding: 1rem 0 1.35rem;
    --tailored-gap: 1.65rem;
    --tailored-item-width: 190px;
    --tailored-shift: calc((var(--tailored-item-width) + var(--tailored-gap)) * -1);
}

.tailored-carousel::before,
.tailored-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 3;
    width: min(12vw, 8rem);
    pointer-events: none;
}

.tailored-carousel::before {
    left: 0;
    background: linear-gradient(90deg, rgba(6, 17, 31, 0.98), transparent);
}

.tailored-carousel::after {
    right: 0;
    background: linear-gradient(270deg, rgba(6, 17, 31, 0.98), transparent);
}

.tailored-track {
    display: flex;
    gap: var(--tailored-gap);
    width: max-content;
    will-change: transform;
    animation: tailoredSlide 2.6s linear infinite;
}

.tailored-carousel:hover .tailored-track {
    animation-play-state: paused;
}

.tailored-card {
    flex: 0 0 var(--tailored-item-width);
    text-align: center;
    color: var(--text);
    text-decoration: none;
    transform: scale(0.9);
    opacity: 0.72;
    transition: transform 0.45s ease, opacity 0.45s ease;
}

.tailored-card:focus-visible {
    outline: 3px solid rgba(209, 178, 124, 0.72);
    outline-offset: 6px;
    border-radius: 999px;
}

.tailored-card.is-center {
    transform: scale(1.08);
    opacity: 1;
}

.tailored-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 1px solid rgba(220, 231, 244, 0.22);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38), inset 0 0 0 8px rgba(255, 255, 255, 0.02);
    filter: saturate(0.86) contrast(1.08) brightness(0.84);
    transition: transform 0.45s ease, filter 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

.tailored-card h3 {
    font-size: 1.03rem;
    font-weight: 850;
    margin: 0;
}

.tailored-card:hover img {
    transform: translateY(-8px) scale(1.04);
    filter: saturate(1.05) contrast(1.08) brightness(0.94);
    border-color: rgba(209, 178, 124, 0.48);
    box-shadow: 0 28px 74px rgba(0, 0, 0, 0.52), 0 0 0 8px rgba(209, 178, 124, 0.08);
}

.tailored-card.is-center img {
    border-color: rgba(209, 178, 124, 0.55);
    box-shadow: 0 30px 82px rgba(0, 0, 0, 0.52), 0 0 0 9px rgba(209, 178, 124, 0.09);
}

@keyframes tailoredSlide {
    to {
        transform: translateX(var(--tailored-shift));
    }
}

.best-seller-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.best-seller-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 0.95rem;
    background: linear-gradient(180deg, rgba(21, 34, 53, 0.94), rgba(10, 21, 35, 0.96));
    box-shadow: var(--shadow);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.best-seller-card img {
    width: 100%;
    aspect-ratio: 1.35 / 1;
    object-fit: cover;
    filter: saturate(0.82) contrast(1.08) brightness(0.8);
    transition: transform 0.65s ease, filter 0.65s ease;
}

.best-seller-card > div {
    padding: 1.35rem;
}

.best-seller-card span {
    display: inline-block;
    margin-bottom: 0.55rem;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.best-seller-card h3 {
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 0.45rem;
}

.best-seller-card p {
    color: var(--soft);
    margin-bottom: 0;
}

.best-seller-card:hover {
    transform: translateY(-8px);
    border-color: rgba(209, 178, 124, 0.38);
    box-shadow: 0 30px 82px rgba(0, 0, 0, 0.5);
}

.best-seller-card:hover img {
    transform: scale(1.07);
    filter: saturate(1.02) contrast(1.08) brightness(0.9);
}

.process-grid,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.process-card,
.statement-card,
.mini-panel,
.contact-card {
    border-radius: 0.85rem;
    padding: 1.6rem;
}

.process-card span,
.contact-card span {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 1.35rem;
    border-radius: 50%;
    color: var(--mist);
    background: rgba(111, 138, 166, 0.18);
    font-weight: 900;
}

.framed-image {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.framed-image img {
    width: 100%;
    min-height: 430px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.framed-image:hover img { transform: scale(1.05); }

.check-list p {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--mist);
}

.check-list p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--steel), var(--copper));
    box-shadow: 0 0 18px rgba(111, 138, 166, 0.65);
}

.stats-band {
    padding: 3rem 0;
    background: linear-gradient(90deg, rgba(92, 143, 123, 0.18), rgba(185, 144, 92, 0.12));
    border-block: 1px solid var(--line);
}

.stats-grid div { text-align: center; }

.stats-grid strong {
    display: block;
    color: var(--text);
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1;
}

.stats-grid span {
    color: var(--muted);
    font-weight: 800;
}

.timeline {
    position: relative;
    display: grid;
    gap: 2rem;
    max-width: 980px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 1rem;
    bottom: 1rem;
    left: 50%;
    width: 1px;
    background: linear-gradient(transparent, var(--steel), transparent);
}

.timeline article {
    width: calc(50% - 2rem);
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.timeline article:nth-child(even) { margin-left: calc(50% + 2rem); }
.timeline span { color: var(--steel); font-weight: 900; }

.team-profile { padding: 1rem; }

.team-profile img {
    height: 260px;
    border-radius: 0.6rem;
    margin-bottom: 1rem;
}

.team-profile h4 {
    color: var(--steel);
    font-size: 0.9rem;
    font-weight: 900;
    text-transform: uppercase;
}

.metric-image { overflow: visible; }

.metric-badge {
    position: absolute;
    right: -2rem;
    bottom: -2rem;
    padding: 1.2rem 1.6rem;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, #dce7f4, #9db1c9);
    color: #071423;
    box-shadow: var(--shadow);
}

.metric-badge strong {
    display: block;
    font-size: 2.2rem;
    line-height: 1;
}

.metric-badge span {
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.feature-image { min-height: 0; }

.creative-intelligence-layout {
    align-items: stretch !important;
}

.creative-intelligence-layout > [class*="col"] {
    display: flex;
    flex-direction: column;
}

.creative-intelligence-layout .feature-image {
    min-height: 0;
    height: auto;
}

.creative-intelligence-layout .feature-image > div {
    min-height: 0;
}

.creative-intelligence-layout .feature-image h3 {
    font-size: 1.2rem;
}

.creative-intelligence-layout .feature-image p {
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.creative-intelligence-layout > .col-lg-6:last-child {
    justify-content: center;
}

.creative-intelligence-cards {
    align-items: stretch;
}

.creative-intelligence-cards > [class*="col"] {
    display: flex;
}

.creative-intelligence-cards .mini-panel {
    width: 100%;
    min-height: 154px;
    padding: 1.15rem 1.2rem;
}

.creative-intelligence-cards .mini-panel.wide {
    min-height: 146px;
}

.creative-intelligence-cards .mini-panel h3 {
    font-size: 1.18rem;
    margin-bottom: 0.45rem;
}

.creative-intelligence-cards .mini-panel p {
    font-size: 1rem;
    line-height: 1.55;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: flex-end;
}

.filter-btn {
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.55rem 1.1rem;
    font-weight: 900;
    transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
    color: #071423;
    background: var(--mist);
}

.portfolio-showcase {
    position: relative;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    background: var(--panel);
    transition: opacity 0.25s ease, transform 0.3s ease, border-color 0.3s ease;
}

.portfolio-showcase.is-hidden { display: none; }

.portfolio-showcase img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-overlay {
    position: absolute;
    inset: auto 0 0;
    min-height: 150px;
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(16, 28, 45, 0.72), rgba(16, 28, 45, 0.97));
    transform: translateY(1.8rem);
    transition: transform 0.3s ease;
}

.portfolio-showcase:hover .portfolio-overlay { transform: translateY(0); }

.portfolio-overlay span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--steel);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.portfolio-overlay h3,
.portfolio-overlay p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portfolio-overlay h3 {
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.portfolio-overlay p {
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.usage-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 1rem;
    color: var(--text);
    text-decoration: none;
    background:
        linear-gradient(180deg, rgba(21, 34, 53, 0.88), rgba(8, 17, 29, 0.96)),
        var(--panel);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.usage-card-media {
    display: block;
    position: relative;
    overflow: hidden;
    background: rgba(220, 231, 244, 0.06);
}

.usage-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 17, 31, 0.02) 35%, rgba(6, 17, 31, 0.42) 100%),
        linear-gradient(135deg, rgba(201, 155, 70, 0.08), transparent 45%);
    pointer-events: none;
}

.usage-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.15;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.usage-card-body {
    display: grid;
    gap: 0.45rem;
    padding: 1rem 1.05rem 1.15rem;
}

.usage-card-kicker {
    color: var(--steel);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    line-height: 1;
    text-transform: uppercase;
}

.usage-card strong,
.usage-card-copy {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.usage-card strong {
    color: var(--text);
    font-size: 1.02rem;
    font-weight: 950;
    line-height: 1.22;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.usage-card-copy {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.usage-card:hover {
    transform: translateY(-8px);
    border-color: rgba(220, 231, 244, 0.34);
    color: var(--text);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.usage-card:hover img {
    transform: scale(1.045);
    filter: saturate(1.08) contrast(1.04);
}

.case-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
}

.case-feature { min-height: 0; }

.case-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.case-stack .mini-panel:first-child { grid-column: span 2; }

.contact-list {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-list p {
    color: var(--mist);
    margin: 0;
    padding-left: 1.2rem;
    border-left: 2px solid var(--steel);
}

.contact-list span {
    display: block;
    color: var(--steel);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

@media (min-width: 992px) {
    .contact-hero .row.align-items-center {
        align-items: flex-start !important;
    }
}

.premium-form {
    border-radius: 0.85rem;
    padding: 1.7rem;
}

.form-label {
    color: var(--muted);
    font-weight: 800;
}

.form-control,
.form-select {
    color: var(--text);
    background-color: rgba(6, 17, 31, 0.7);
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    padding: 0.9rem 1rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.form-control::placeholder { color: rgba(220, 231, 244, 0.58); }

.form-control:focus,
.form-select:focus {
    color: var(--text);
    background-color: rgba(6, 17, 31, 0.9);
    border-color: var(--steel);
    box-shadow: 0 0 0 0.25rem rgba(111, 138, 166, 0.18);
    transform: translateY(-1px);
}

.contact-card a,
.map-card a {
    color: var(--mist);
    font-weight: 900;
    text-decoration: none;
}

.map-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 1rem;
    min-height: 0;
    box-shadow: var(--shadow);
}

.map-panel img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    filter: saturate(0.75) brightness(0.55);
}

.map-card {
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    max-width: 360px;
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    background: rgba(16, 28, 45, 0.92);
}

.faq-list { max-width: 880px; }

.faq-list details {
    padding: 1.1rem 1.3rem;
    margin-bottom: 1rem;
    border-radius: 0.75rem;
}

.faq-list summary {
    display: flex;
    cursor: pointer;
    list-style: none;
}

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

.faq-list summary::after {
    content: "+";
    margin-left: auto;
    color: var(--steel);
    font-size: 1.5rem;
    line-height: 1;
}

.faq-list details[open] summary::after { content: "-"; }

.faq-list h3 {
    margin: 0;
    font-size: 1.08rem;
}

.faq-list p { margin: 1rem 0 0; }

.cta-section { padding: 6.5rem 0; }

.cta-panel {
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(111, 138, 166, 0.16), rgba(185, 144, 92, 0.1)), var(--panel);
    box-shadow: var(--shadow);
    text-align: center;
}

.fabric-range-section {
    padding: 4.5rem 0;
    background: rgba(5, 13, 24, 0.72);
    border-top: 1px solid var(--line);
}

.fabric-range-panel {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 2rem;
    align-items: start;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(16, 28, 45, 0.92), rgba(6, 17, 31, 0.92));
    box-shadow: var(--shadow);
}

.fabric-range-intro h2 {
    color: var(--text);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.06;
    margin: 0 0 1rem;
}

.fabric-range-intro p:not(.section-kicker) {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
}

.fabric-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.fabric-category-card {
    position: relative;
    overflow: hidden;
    min-height: 170px;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    background:
        linear-gradient(145deg, rgba(220, 231, 244, 0.055), transparent 48%),
        rgba(255, 255, 255, 0.03);
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.fabric-category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, rgba(220, 231, 244, 0.045) 0 1px, transparent 1px 11px);
    opacity: 0.45;
    pointer-events: none;
}

.fabric-category-card-wide {
    grid-column: span 2;
    min-height: 150px;
}

.fabric-category-icon {
    position: relative;
    z-index: 1;
    display: inline-block;
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background:
        linear-gradient(90deg, transparent 42%, rgba(220, 231, 244, 0.75) 42% 48%, transparent 48%),
        linear-gradient(0deg, transparent 42%, rgba(185, 144, 92, 0.75) 42% 48%, transparent 48%),
        rgba(111, 138, 166, 0.16);
    box-shadow: inset 0 0 0 1px var(--line), 0 12px 28px rgba(0, 0, 0, 0.22);
}

.fabric-category-card h3 {
    position: relative;
    z-index: 1;
    color: var(--text);
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 0.65rem;
}

.fabric-category-card p {
    position: relative;
    z-index: 1;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

.fabric-category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(220, 231, 244, 0.36);
    background:
        linear-gradient(145deg, rgba(111, 138, 166, 0.14), transparent 52%),
        rgba(255, 255, 255, 0.045);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.site-footer {
    color: var(--muted);
    background: #050d18;
    border-top: 1px solid var(--line);
}

.site-footer h2 {
    color: var(--text);
    letter-spacing: 0.08em;
}

.footer-links a {
    color: var(--muted);
    display: inline-block;
    margin-bottom: 0.45rem;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover {
    color: var(--text);
    transform: translateX(4px);
}

.footer-divider { border-color: var(--line); }

[data-reveal],
.reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

[data-reveal].is-visible,
.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-up:nth-child(2) { transition-delay: 0.1s; }
.reveal-up:nth-child(3) { transition-delay: 0.2s; }
.reveal-up:nth-child(4) { transition-delay: 0.3s; }

@keyframes heroImageIn {
    to { transform: scale(1); }
}

@keyframes textileDrift {
    from { background-position: 0 0, 0 0, 0 0; }
    to { background-position: 80px 40px, 0 0, 0 0; }
}

@keyframes scrollPulse {
    50% {
        transform: translateY(8px);
        opacity: 0.45;
    }
}

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

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

@media (max-width: 1199.98px) {
    .collection-grid,
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid,
    .stats-grid,
    .usage-grid { grid-template-columns: repeat(2, 1fr); }
    .tailored-carousel {
        --tailored-item-width: 170px;
        --tailored-gap: 1.25rem;
    }
    .best-seller-grid { grid-template-columns: repeat(2, 1fr); }
    .collection-grid { grid-auto-rows: auto; }
    .portfolio-grid { grid-auto-rows: auto; }
    .collection-grid .image-card,
    .collection-grid .image-card.tall {
        height: 100%;
        min-height: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse { padding: 1rem 0; }
    .btn-nav {
        margin-top: 1rem;
        width: 100%;
    }
    .hero { min-height: 760px; }
    .hero-home.hero-slider {
        min-height: 520px;
        height: min(520px, calc(100vh - 68px));
        max-height: 520px;
    }
    .hero-slide-layout {
        grid-template-columns: 0.72fr 1fr;
        gap: 1.35rem;
    }
    .hero-image-card-right {
        display: none;
    }
    .hero-image-card-left {
        transform: rotate(-1.5deg);
    }
    .hero-slider .hero-image-card {
        min-height: 280px;
        height: 330px;
    }
    .hero-slider .hero-content {
        align-items: flex-start;
        padding: 0;
        text-align: left;
    }
    .hero-slider .hero-title {
        margin-inline: 0;
        font-size: clamp(2.2rem, 6vw, 3.65rem);
    }
    .hero-slider .hero-copy {
        margin-inline: 0;
    }
    .hero-slider .hero-actions {
        justify-content: flex-start;
    }
    .hero-slider .hero-content .scroll-cue {
        margin-top: 2rem;
    }
    .hero-slider-arrow {
        width: 2.9rem;
        height: 2.9rem;
        font-size: 1.9rem;
    }
    .trust-feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .split-heading,
    .case-grid { display: block; }
    .filter-bar {
        justify-content: flex-start;
        margin-top: 1.5rem;
    }
    .case-stack { margin-top: 1.5rem; }
    .metric-badge {
        right: 1rem;
        bottom: 1rem;
    }

    .team-hero-visual {
        margin: 1rem auto 0;
    }

    .portfolio-hero {
        padding: 4.25rem 0 3.25rem;
    }

    .portfolio-hero + .section-block {
        padding-top: 3.25rem;
    }

    .portfolio-hero-visual {
        margin: 1rem auto 0;
    }
}

@media (max-width: 767.98px) {
    .site-header .navbar { min-height: 68px; }
    .section-block,
    .cta-section { padding: 4.5rem 0; }
    .sub-hero { padding: 5.5rem 0 4rem; }
    .team-hero { padding: 4.5rem 0 3.5rem; }
    .team-hero-visual img { aspect-ratio: 1 / 0.82; }
    .team-hero-badge {
        left: 0.85rem;
        right: 0.85rem;
        bottom: 0.85rem;
    }
    .portfolio-hero { padding: 4rem 0 3rem; }
    .portfolio-hero + .section-block { padding-top: 3rem; }
    .portfolio-hero .hero-title.compact { font-size: clamp(2.25rem, 12vw, 3.4rem); }
    .portfolio-hero-visual img { aspect-ratio: 1 / 0.82; }
    .portfolio-hero-card {
        left: 0.85rem;
        right: 0.85rem;
        bottom: 0.85rem;
        max-width: none;
    }
    .hero-content {
        padding-top: 3.5rem;
        padding-bottom: 4.25rem;
    }
    .hero-copy { font-size: 1.03rem; }
    .hero-home.hero-slider {
        min-height: 460px;
        height: auto;
        max-height: none;
        padding: 2.25rem 0 5.25rem;
    }
    .hero-slider::before {
        inset: 0.8rem;
        border-radius: 1.35rem;
    }
    .hero-slide {
        position: relative;
        min-height: 0;
    }
    .hero-slider-track,
    .hero-slide {
        inset: auto;
    }
    .hero-slider-track {
        position: relative;
        min-height: 0;
        overflow: hidden;
    }
    .hero-slide:not(.is-active) {
        position: absolute;
        inset: 0;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-slide.is-active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-slide-layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        width: 100%;
        max-width: 100%;
        padding-inline: 0.35rem;
        overflow: hidden;
    }
    .hero-slider .hero-content {
        order: -1;
        align-items: center;
        padding: 0 0.4rem;
        max-width: 100%;
        overflow: hidden;
        text-align: center;
    }
    .hero-slider .hero-title {
        margin-inline: auto;
        font-size: clamp(2rem, 10vw, 3rem);
    }
    .hero-slider .hero-copy {
        margin-inline: auto;
        width: 100%;
        max-width: calc(100vw - 2rem);
        font-size: 0.98rem;
        line-height: 1.55;
        margin-top: 1rem;
        overflow-wrap: anywhere;
    }
    .hero-slider .hero-actions {
        justify-content: center;
        margin-top: 1.35rem;
    }
    .hero-slider .hero-content .scroll-cue {
        margin-top: 1.9rem;
    }
    .hero-slider .hero-image-card {
        width: min(100%, 320px);
        min-height: 0;
        height: 190px;
        margin-inline: auto;
        border-radius: 1.15rem;
    }
    .hero-image-card-left,
    .hero-image-card-right {
        transform: none;
    }
    .hero-slider-arrow {
        top: auto;
        bottom: 4.2rem;
        transform: none;
    }
    .hero-slider-arrow:hover,
    .hero-slider-arrow:focus-visible {
        transform: scale(1.06);
    }
    .hero-slider-dots {
        bottom: 1.2rem;
    }
    .trust-feature-strip {
        padding: 1.65rem 0;
    }
    .trust-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }
    .trust-feature-item {
        min-height: 104px;
        padding: 0.75rem 0.5rem;
    }
    .trust-feature-icon {
        width: 2.55rem;
        height: 2.55rem;
    }
    .collection-grid,
    .portfolio-grid,
    .process-grid,
    .stats-grid,
    .usage-grid,
    .case-stack { grid-template-columns: 1fr; }
    .tailored-carousel {
        --tailored-item-width: 140px;
        --tailored-gap: 1rem;
    }
    .best-seller-grid { grid-template-columns: 1fr; }
    .collection-grid { grid-auto-rows: auto; }
    .portfolio-grid { grid-auto-rows: auto; }
    .collection-grid .image-card,
    .collection-grid .image-card.tall {
        height: 100%;
        min-height: 0;
    }
    .timeline::before { left: 0; }
    .timeline article,
    .timeline article:nth-child(even) {
        width: auto;
        margin-left: 1.5rem;
    }
    .team-profile img,
    .framed-image img,
    .map-panel img {
        min-height: 0;
        height: auto;
    }
    .map-card {
        position: static;
        max-width: none;
        border-radius: 0;
        border-inline: 0;
        border-bottom: 0;
    }

    .fabric-range-section {
        padding: 3rem 0;
    }

    .fabric-range-panel {
        grid-template-columns: 1fr;
        padding: 1.35rem;
    }

    .fabric-category-grid {
        grid-template-columns: 1fr;
    }

    .fabric-category-card-wide {
        grid-column: auto;
    }
}

/* Portfolio CMS extensions */
.portfolio-applications,
.portfolio-certifications,
.portfolio-markets {
    position: relative;
    overflow: hidden;
}

.portfolio-application-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.portfolio-application-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 1.35rem;
    background: linear-gradient(145deg, rgba(21, 34, 53, 0.96), rgba(10, 24, 40, 0.94));
}

.portfolio-application-card img {
    width: 100%;
    aspect-ratio: 1.35 / 1;
    object-fit: cover;
}

.portfolio-application-card > div {
    padding: 1.35rem;
}

.portfolio-application-card h3,
.portfolio-compliance-grid h3,
.portfolio-capacity-grid h3,
.portfolio-market-grid h3,
.portfolio-process-list h3 {
    margin: 0 0 0.55rem;
    color: var(--text);
    font-size: 1.08rem;
}

.portfolio-application-card p,
.portfolio-compliance-grid p,
.portfolio-capacity-grid p,
.portfolio-market-grid p,
.portfolio-process-list p {
    margin: 0 0 0.8rem;
    color: var(--muted);
}

.portfolio-process-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    margin: 3rem 0 0;
    padding: 0;
    list-style: none;
}

.portfolio-process-list::before {
    content: "";
    position: absolute;
    top: 4.4rem;
    right: 7%;
    left: 7%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--copper) 12%, var(--steel) 88%, transparent);
}

.portfolio-process-list li {
    position: relative;
    z-index: 1;
    padding: 0 0.75rem;
    text-align: center;
}

.portfolio-process-list img {
    display: block;
    width: 6.5rem;
    height: 6.5rem;
    margin: 0 auto 1.2rem;
    border: 0.55rem solid var(--panel);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px var(--line), 0 16px 35px rgba(0, 0, 0, 0.28);
}

.portfolio-process-number {
    position: absolute;
    top: -0.75rem;
    left: calc(50% + 2rem);
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    color: var(--ink);
    background: var(--copper);
    font-size: 0.72rem;
    font-weight: 900;
}

.portfolio-compliance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.portfolio-compliance-grid article {
    padding: 1.1rem;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    background: rgba(16, 28, 45, 0.78);
}

.portfolio-compliance-grid img {
    width: 4.5rem;
    height: 4.5rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    object-fit: cover;
}

.portfolio-compliance-grid small {
    display: block;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line);
    color: var(--steel);
    line-height: 1.55;
}

.portfolio-capacity-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.8rem;
}

.portfolio-capacity-grid article {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    background: rgba(6, 17, 31, 0.72);
}

.portfolio-capacity-grid img {
    width: 100%;
    height: 8.5rem;
    object-fit: cover;
    opacity: 0.76;
}

.portfolio-capacity-grid strong,
.portfolio-capacity-grid h3,
.portfolio-capacity-grid p {
    display: block;
    margin-right: 1rem;
    margin-left: 1rem;
}

.portfolio-capacity-grid strong {
    margin-top: 1rem;
    color: var(--copper);
    font-size: 1.5rem;
}

.portfolio-capacity-grid p {
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

.portfolio-market-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.portfolio-market-grid article {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    background: linear-gradient(135deg, rgba(21, 34, 53, 0.92), rgba(7, 20, 35, 0.9));
}

.portfolio-market-grid img {
    width: 100%;
    height: 100%;
    min-height: 9rem;
    object-fit: cover;
}

.portfolio-market-grid article > div {
    align-self: center;
    padding: 1.1rem;
}

.portfolio-production-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 15rem;
    gap: 0.8rem;
}

.portfolio-production-grid button {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    color: var(--text);
    background: var(--panel);
    cursor: zoom-in;
}

.portfolio-production-grid button:nth-child(5n + 1),
.portfolio-production-grid button:nth-child(5n + 4) {
    grid-row: span 2;
}

.portfolio-production-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.portfolio-production-grid button:hover img {
    transform: scale(1.035);
}

.portfolio-production-grid span {
    position: absolute;
    right: 0.65rem;
    bottom: 0.65rem;
    left: 0.65rem;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.75rem;
    background: rgba(6, 17, 31, 0.82);
    backdrop-filter: blur(12px);
    font-size: 0.86rem;
    font-weight: 800;
    text-align: left;
}

.portfolio-lightbox {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 4rem 1.5rem 1.5rem;
    background: rgba(2, 8, 15, 0.92);
    backdrop-filter: blur(18px);
}

.portfolio-lightbox[hidden] {
    display: none;
}

.portfolio-lightbox figure {
    max-width: min(90vw, 75rem);
    max-height: 84vh;
    margin: 0;
    text-align: center;
}

.portfolio-lightbox figure img {
    max-width: 100%;
    max-height: 76vh;
    border-radius: 1rem;
    object-fit: contain;
}

.portfolio-lightbox figcaption {
    padding-top: 0.8rem;
    color: var(--mist);
}

.portfolio-lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    padding: 0.65rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    background: var(--panel);
}

.portfolio-inquiry-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-image: linear-gradient(90deg, rgba(6, 17, 31, 0.97) 20%, rgba(6, 17, 31, 0.72)), var(--portfolio-cta-image);
    background-position: center;
    background-size: cover;
}

.portfolio-inquiry-panel {
    max-width: 54rem;
    padding: clamp(2rem, 6vw, 4.5rem);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.6rem;
    background: rgba(8, 22, 38, 0.76);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.portfolio-inquiry-panel h2 {
    max-width: 13ch;
}

.portfolio-inquiry-panel > p:not(.section-kicker) {
    max-width: 48rem;
    color: var(--muted);
}

.portfolio-inquiry-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

@media (max-width: 1199.98px) {
    .portfolio-process-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 0; }
    .portfolio-process-list::before { display: none; }
    .portfolio-capacity-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .portfolio-application-grid,
    .portfolio-compliance-grid,
    .portfolio-market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .portfolio-production-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
    .portfolio-application-grid,
    .portfolio-compliance-grid,
    .portfolio-capacity-grid,
    .portfolio-market-grid,
    .portfolio-process-list,
    .portfolio-production-grid { grid-template-columns: 1fr; }
    .portfolio-production-grid { grid-auto-rows: 17rem; }
    .portfolio-production-grid button:nth-child(n) { grid-row: span 1; }
    .portfolio-market-grid article { grid-template-columns: 6.5rem 1fr; }
    .portfolio-inquiry-actions .btn { width: 100%; }
}

html[data-theme="light"] .portfolio-application-card,
html[data-theme="light"] .portfolio-compliance-grid article,
html[data-theme="light"] .portfolio-capacity-grid article,
html[data-theme="light"] .portfolio-market-grid article {
    background: rgba(255, 255, 255, 0.92);
}

html[data-theme="light"] .portfolio-application-card h3,
html[data-theme="light"] .portfolio-compliance-grid h3,
html[data-theme="light"] .portfolio-capacity-grid h3,
html[data-theme="light"] .portfolio-market-grid h3,
html[data-theme="light"] .portfolio-process-list h3 {
    color: var(--text);
}

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

/* Compact fabric range section */
.fabric-range-section {
    padding: 3rem 0;
}

.fabric-range-panel {
    display: block;
    padding: clamp(1.35rem, 3vw, 2rem);
    text-align: center;
}

.fabric-range-heading {
    max-width: 760px;
    margin: 0 auto 1.4rem;
}

.fabric-range-heading h2 {
    color: var(--text);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    line-height: 1.08;
    margin: 0.25rem 0 0.6rem;
}

.fabric-range-heading p:not(.section-kicker) {
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

.fabric-range-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.fabric-range-grid span,
.fabric-range-grid a {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.48rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--mist);
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.fabric-range-grid span:hover,
.fabric-range-grid a:hover {
    transform: translateY(-2px);
    border-color: rgba(220, 231, 244, 0.34);
    color: var(--mist);
    background: rgba(111, 138, 166, 0.14);
}

@media (max-width: 767.98px) {
    .fabric-range-section {
        padding: 2.4rem 0;
    }

    .fabric-range-panel {
        padding: 1.15rem;
    }

    .fabric-range-grid {
        gap: 0.5rem;
    }

    .fabric-range-grid span,
    .fabric-range-grid a {
        font-size: 0.82rem;
        min-height: 2.05rem;
        padding: 0.42rem 0.72rem;
    }
}

/* Theme toggle and premium light mode */
html {
    color-scheme: dark;
}

html[data-theme="light"] {
    color-scheme: light;
    --ink: #f2eadf;
    --panel: #fff8ed;
    --panel-soft: #f5eadb;
    --line: rgba(48, 59, 76, 0.16);
    --text: #17263a;
    --muted: #657184;
    --mist: #243754;
    --steel: #376789;
    --copper: #b87945;
    --shadow: 0 24px 70px rgba(67, 54, 38, 0.14);
}

html,
body.site-body,
.site-header .navbar,
.site-footer,
.section-block,
.section-contrast,
.section-deep,
.sub-hero,
.fabric-range-section,
.image-card,
.portfolio-tile,
.team-profile,
.process-card,
.statement-card,
.mini-panel,
.contact-card,
.premium-form,
.case-feature,
.faq-list details,
.best-seller-card,
.fabric-range-panel,
.theme-toggle {
    transition:
        background-color 0.35s ease,
        background 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.theme-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.85rem;
    height: 2.2rem;
    padding: 0.16rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
        rgba(255, 255, 255, 0.03);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(255, 255, 255, 0.03);
    overflow: hidden;
    cursor: pointer;
    appearance: none;
}

.theme-toggle-track {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.theme-toggle-track::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(90deg, rgba(220, 231, 244, 0.03), transparent 35%, transparent 65%, rgba(185, 144, 92, 0.04)),
        rgba(255, 255, 255, 0.02);
}

.theme-toggle-thumb {
    position: absolute;
    top: 0.08rem;
    left: 0.08rem;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 1.84rem;
    height: 1.84rem;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.62) 36%, rgba(180, 195, 216, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        0 10px 20px rgba(6, 17, 31, 0.24),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.theme-toggle-icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: transparent;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.theme-toggle-icon svg {
    width: 0.96rem;
    height: 0.96rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.theme-toggle-icon-moon {
    color: #7d8ca3;
    opacity: 1;
}

.theme-toggle-icon-sun {
    color: #c98b43;
    opacity: 0;
}

.theme-toggle-icon-sun svg {
    fill: currentColor;
    stroke: currentColor;
}

.theme-toggle:hover {
    border-color: rgba(220, 231, 244, 0.36);
    transform: translateY(-1px);
    box-shadow:
        0 10px 24px rgba(6, 17, 31, 0.18),
        0 0 0 1px rgba(220, 231, 244, 0.08),
        0 0 18px rgba(185, 144, 92, 0.12);
}

.theme-toggle:hover .theme-toggle-thumb {
    box-shadow:
        0 12px 26px rgba(6, 17, 31, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 0 16px rgba(220, 231, 244, 0.12);
}

.theme-toggle:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(220, 231, 244, 0.18),
        0 10px 24px rgba(6, 17, 31, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="light"] .theme-toggle {
    background:
        linear-gradient(180deg, rgba(255, 250, 243, 0.82), rgba(238, 224, 206, 0.78)),
        rgba(255, 248, 237, 0.75);
    border-color: rgba(23, 38, 58, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(23, 38, 58, 0.04);
}

html[data-theme="light"] .theme-toggle-thumb {
    transform: translateX(2.61rem);
    background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.96), rgba(255, 238, 210, 0.9) 38%, rgba(219, 167, 104, 0.95) 100%);
    border-color: rgba(139, 79, 53, 0.2);
    box-shadow:
        0 10px 20px rgba(119, 88, 58, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.18),
        0 0 18px rgba(219, 167, 104, 0.18);
}

html[data-theme="light"] .theme-toggle-icon-moon {
    opacity: 0;
    transform: scale(0.7);
}

html[data-theme="light"] .theme-toggle-icon-sun {
    opacity: 1;
    transform: scale(1);
}

html[data-theme="dark"] .theme-toggle-icon-moon {
    opacity: 1;
    transform: scale(1);
}

html[data-theme="dark"] .theme-toggle-icon-sun {
    opacity: 0;
    transform: scale(0.7);
}

html[data-theme="light"] body.site-body {
    color: var(--text);
    background:
        radial-gradient(circle at 18% 8%, rgba(219, 167, 104, 0.22), transparent 30%),
        radial-gradient(circle at 82% 18%, rgba(55, 103, 137, 0.14), transparent 34%),
        linear-gradient(180deg, #f5ecdf 0%, #efe2cf 48%, #ead9c4 100%);
}

html[data-theme="light"] body.site-body::before {
    background:
        repeating-linear-gradient(135deg, rgba(23, 38, 58, 0.035) 0 1px, transparent 1px 18px),
        radial-gradient(circle at 50% 0%, rgba(255, 248, 237, 0.58), transparent 34%);
}

html[data-theme="light"] .site-header {
    border-bottom-color: rgba(23, 38, 58, 0.12);
}

html[data-theme="light"] .site-header .navbar {
    background: rgba(246, 235, 219, 0.88);
    box-shadow: 0 14px 40px rgba(67, 54, 38, 0.08);
}

html[data-theme="light"] .navbar-brand,
html[data-theme="light"] .navbar .nav-link:hover,
html[data-theme="light"] .navbar .nav-link.active {
    color: var(--text) !important;
}

html[data-theme="light"] .navbar .nav-link {
    color: var(--muted) !important;
}

html[data-theme="light"] .navbar .nav-link::after {
    background: linear-gradient(90deg, #8b4f35, #c99b46);
}

html[data-theme="light"] .navbar-toggler {
    border-color: rgba(23, 38, 58, 0.18);
    filter: invert(1);
}

html[data-theme="light"] .sub-hero,
html[data-theme="light"] .portfolio-hero {
    background:
        repeating-linear-gradient(135deg, rgba(23, 38, 58, 0.04) 0 1px, transparent 1px 16px),
        linear-gradient(180deg, #f2e6d6, #ead9c4);
}

html[data-theme="light"] .hero-home .hero-title,
html[data-theme="light"] .hero-home .hero-copy,
html[data-theme="light"] .hero-home .eyebrow {
    text-shadow: none;
}

html[data-theme="light"] .hero-home .hero-copy {
    color: #dce6ee;
}

html[data-theme="light"] .hero-home .hero-title {
    color: #f8fafc;
}

html[data-theme="light"] .hero-home .eyebrow {
    color: #b8c8dd;
    background: rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] .scroll-cue {
    color: #a9b6c8;
}

html[data-theme="light"] .btn-ghost {
    color: #14253a;
    background: rgba(255, 248, 237, 0.72);
    border-color: rgba(23, 38, 58, 0.18);
}

html[data-theme="light"] .hero-home .btn-ghost {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.24);
}

html[data-theme="light"] .hero-slider {
    background:
        radial-gradient(circle at 18% 20%, rgba(219, 167, 104, 0.24), transparent 30%),
        radial-gradient(circle at 78% 72%, rgba(55, 103, 137, 0.16), transparent 32%),
        linear-gradient(120deg, #f7ecd9 0%, #ead8be 52%, #d8c1a1 100%);
}

html[data-theme="light"] .hero-slider::before {
    border-color: rgba(23, 38, 58, 0.1);
    background: linear-gradient(135deg, rgba(255, 250, 243, 0.56), rgba(255, 255, 255, 0.22));
}

html[data-theme="light"] .hero-slider .hero-image-card {
    border-color: rgba(23, 38, 58, 0.14);
    background: rgba(255, 250, 243, 0.28);
    box-shadow: 0 26px 58px rgba(88, 62, 37, 0.22);
}

html[data-theme="light"] .hero-slider-arrow {
    color: #fff8ed;
    background: rgba(23, 38, 58, 0.42);
    border-color: rgba(255, 248, 237, 0.28);
}

html[data-theme="light"] .hero-slider-dots button {
    background: rgba(255, 248, 237, 0.42);
}

html[data-theme="light"] .hero-slider-dots button.is-active {
    background: linear-gradient(90deg, #fff8ed, #d9b08d);
}

html[data-theme="light"] .trust-feature-strip {
    border-color: rgba(23, 38, 58, 0.1);
    background:
        linear-gradient(90deg, rgba(255, 250, 243, 0.72), rgba(243, 231, 213, 0.86), rgba(255, 250, 243, 0.72)),
        rgba(255, 248, 237, 0.72);
}

html[data-theme="light"] .trust-feature-item {
    color: #14253a;
    background: rgba(255, 255, 255, 0.32);
}

html[data-theme="light"] .trust-feature-item:hover {
    background: rgba(255, 255, 255, 0.52);
}

html[data-theme="light"] .trust-feature-icon,
html[data-theme="light"] .trust-feature-item h2 {
    color: #14253a;
}

html[data-theme="light"] .section-contrast,
html[data-theme="light"] .section-deep,
html[data-theme="light"] .fabric-range-section {
    background: rgba(255, 248, 237, 0.58);
    border-color: rgba(23, 38, 58, 0.12);
}

html[data-theme="light"] .section-tailored {
    background:
        radial-gradient(circle at 18% 15%, rgba(139, 79, 53, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(242, 230, 214, 0.92), rgba(234, 217, 196, 0.92));
}

html[data-theme="light"] .image-card,
html[data-theme="light"] .portfolio-tile,
html[data-theme="light"] .team-profile,
html[data-theme="light"] .process-card,
html[data-theme="light"] .statement-card,
html[data-theme="light"] .mini-panel,
html[data-theme="light"] .contact-card,
html[data-theme="light"] .premium-form,
html[data-theme="light"] .case-feature,
html[data-theme="light"] .faq-list details,
html[data-theme="light"] .best-seller-card,
html[data-theme="light"] .fabric-range-panel {
    background:
        linear-gradient(180deg, rgba(255, 250, 243, 0.96), rgba(243, 231, 213, 0.96)),
        rgba(255, 248, 237, 0.85);
    border-color: rgba(23, 38, 58, 0.14);
}

html[data-theme="light"] .image-card::after,
html[data-theme="light"] .portfolio-tile::after,
html[data-theme="light"] .case-feature::after {
    background:
        linear-gradient(180deg, transparent 18%, rgba(255, 248, 237, 0.18) 48%, rgba(242, 230, 214, 0.92) 100%);
}

html[data-theme="light"] .image-card > div,
html[data-theme="light"] .portfolio-tile > div,
html[data-theme="light"] .case-feature > div {
    left: 1.15rem;
    right: 1.15rem;
    bottom: 1.05rem;
}

html[data-theme="light"] .image-card h3,
html[data-theme="light"] .portfolio-tile h3,
html[data-theme="light"] .case-feature h3,
html[data-theme="light"] .portfolio-overlay h3,
html[data-theme="light"] .mini-panel h3,
html[data-theme="light"] .contact-card h2,
html[data-theme="light"] .statement-card h2,
html[data-theme="light"] .best-seller-card h3,
html[data-theme="light"] .team-profile h3,
html[data-theme="light"] .team-hero-badge strong,
html[data-theme="light"] .portfolio-hero-card strong,
html[data-theme="light"] .map-card h3,
html[data-theme="light"] .cta-panel h2,
html[data-theme="light"] .section-heading h2 {
    color: #13263b;
}

html[data-theme="light"] .section-heading p,
html[data-theme="light"] .lead-soft,
html[data-theme="light"] .process-card p,
html[data-theme="light"] .image-card p,
html[data-theme="light"] .portfolio-tile p,
html[data-theme="light"] .team-profile p,
html[data-theme="light"] .mini-panel p,
html[data-theme="light"] .contact-card p,
html[data-theme="light"] .case-feature p,
html[data-theme="light"] .faq-list p,
html[data-theme="light"] .portfolio-overlay p,
html[data-theme="light"] .portfolio-hero-card p,
html[data-theme="light"] .team-hero-badge span,
html[data-theme="light"] .map-card p,
html[data-theme="light"] .contact-list p,
html[data-theme="light"] .best-seller-card p,
html[data-theme="light"] .best-seller-card span,
html[data-theme="light"] .team-profile h4,
html[data-theme="light"] .timeline span,
html[data-theme="light"] .stats-grid span,
html[data-theme="light"] .fabric-range-heading p:not(.section-kicker),
html[data-theme="light"] .fabric-range-grid span,
html[data-theme="light"] .fabric-range-grid a,
html[data-theme="light"] .fabric-category-card p {
    color: #4f5d70;
}

html[data-theme="light"] .portfolio-overlay {
    background: linear-gradient(180deg, rgba(255, 250, 243, 0.18), rgba(242, 230, 214, 0.95));
}

html[data-theme="light"] .portfolio-overlay span {
    color: #8b4f35;
}

html[data-theme="light"] .portfolio-overlay p {
    margin-bottom: 0;
}

html[data-theme="light"] .portfolio-showcase {
    background: linear-gradient(180deg, rgba(255, 250, 243, 0.94), rgba(242, 230, 214, 0.92));
    border-color: rgba(23, 38, 58, 0.14);
}

html[data-theme="light"] .portfolio-showcase img {
    filter: saturate(0.92) brightness(0.95) contrast(0.98);
}

html[data-theme="light"] .portfolio-showcase:hover img {
    filter: saturate(1.02) brightness(1) contrast(1);
}

html[data-theme="light"] .btn-premium {
    color: #fff8ed;
    background: linear-gradient(135deg, #17263a, #376789);
    border-color: rgba(23, 38, 58, 0.22);
}

html[data-theme="light"] .btn-ghost,
html[data-theme="light"] .filter-bar button,
html[data-theme="light"] .fabric-range-grid span,
html[data-theme="light"] .fabric-range-grid a,
html[data-theme="light"] .text-link {
    color: #14253a;
    background: rgba(255, 248, 237, 0.6);
    border-color: rgba(23, 38, 58, 0.16);
}

html[data-theme="light"] .text-link {
    background: transparent;
    border-bottom-color: rgba(139, 79, 53, 0.4);
}

html[data-theme="light"] .filter-btn:hover,
html[data-theme="light"] .filter-btn.active {
    color: #fff8ed;
    background: linear-gradient(135deg, #17263a, #8b4f35);
}

html[data-theme="light"] .form-control,
html[data-theme="light"] .form-select,
html[data-theme="light"] textarea {
    color: #14253a;
    background-color: rgba(255, 250, 243, 0.92);
    border-color: rgba(23, 38, 58, 0.18);
}

html[data-theme="light"] .form-control:focus,
html[data-theme="light"] .form-select:focus,
html[data-theme="light"] textarea:focus {
    color: #14253a;
    background-color: #fff8ed;
}

html[data-theme="light"] .form-control::placeholder {
    color: rgba(79, 93, 112, 0.72);
}

html[data-theme="light"] .form-label {
    color: #536275;
}

html[data-theme="light"] .contact-list p {
    color: #4f5d70;
    border-left-color: rgba(139, 79, 53, 0.5);
}

html[data-theme="light"] .contact-list span {
    color: #8b4f35;
}

html[data-theme="light"] .contact-card a,
html[data-theme="light"] .map-card a {
    color: #8b4f35;
}

html[data-theme="light"] .map-panel {
    border-color: rgba(23, 38, 58, 0.14);
}

html[data-theme="light"] .map-panel img {
    filter: saturate(0.84) brightness(0.7);
}

html[data-theme="light"] .map-card {
    background: rgba(255, 248, 237, 0.92);
    border-color: rgba(23, 38, 58, 0.14);
}

html[data-theme="light"] .faq-list details {
    background: linear-gradient(180deg, rgba(255, 250, 243, 0.96), rgba(243, 231, 213, 0.96));
    border-color: rgba(23, 38, 58, 0.14);
}

html[data-theme="light"] .faq-list summary::after {
    color: #8b4f35;
}

html[data-theme="light"] .cta-panel {
    background: linear-gradient(135deg, rgba(255, 250, 243, 0.96), rgba(234, 217, 196, 0.92));
    border-color: rgba(23, 38, 58, 0.14);
}

html[data-theme="light"] .best-seller-card {
    background: linear-gradient(180deg, rgba(255, 250, 243, 0.96), rgba(243, 231, 213, 0.96));
    border-color: rgba(23, 38, 58, 0.14);
}

html[data-theme="light"] .best-seller-card span {
    color: #8b4f35;
}

html[data-theme="light"] .best-seller-card p {
    color: #4f5d70;
}

html[data-theme="light"] .best-seller-card img {
    filter: saturate(0.88) contrast(1.02) brightness(0.96);
}

html[data-theme="light"] .team-profile {
    background: linear-gradient(180deg, rgba(255, 250, 243, 0.96), rgba(243, 231, 213, 0.96));
    border-color: rgba(23, 38, 58, 0.14);
}

html[data-theme="light"] .team-profile h4 {
    color: #8b4f35;
}

html[data-theme="light"] .team-hero-visual::after,
html[data-theme="light"] .portfolio-hero-visual::after {
    background: linear-gradient(180deg, rgba(255, 248, 237, 0.1), rgba(242, 230, 214, 0.35));
}

html[data-theme="light"] .team-hero-visual,
html[data-theme="light"] .portfolio-hero-visual {
    border-color: rgba(23, 38, 58, 0.14);
    background: rgba(255, 248, 237, 0.72);
}

html[data-theme="light"] .team-hero-visual img,
html[data-theme="light"] .portfolio-hero-visual img {
    filter: saturate(0.9) contrast(0.98) brightness(0.95);
}

html[data-theme="light"] .team-hero-badge,
html[data-theme="light"] .portfolio-hero-card {
    background: rgba(255, 248, 237, 0.94);
    border-color: rgba(23, 38, 58, 0.14);
}

html[data-theme="light"] .metric-badge {
    background: linear-gradient(135deg, #fff8ed, #d9b08d);
    color: #14253a;
}

html[data-theme="light"] .timeline article {
    background: linear-gradient(180deg, rgba(255, 250, 243, 0.96), rgba(243, 231, 213, 0.96));
    border-color: rgba(23, 38, 58, 0.14);
}

html[data-theme="light"] .timeline::before {
    background: linear-gradient(transparent, rgba(139, 79, 53, 0.85), transparent);
}

html[data-theme="light"] .section-tailored {
    background:
        radial-gradient(circle at 18% 15%, rgba(139, 79, 53, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(242, 230, 214, 0.92), rgba(234, 217, 196, 0.92));
}

html[data-theme="light"] .tailored-carousel::before {
    background: linear-gradient(90deg, rgba(242, 230, 214, 0.98), transparent);
}

html[data-theme="light"] .tailored-carousel::after {
    background: linear-gradient(270deg, rgba(242, 230, 214, 0.98), transparent);
}

html[data-theme="light"] .tailored-card {
    color: #14253a;
}

html[data-theme="light"] .tailored-card img {
    border-color: rgba(23, 38, 58, 0.12);
    filter: saturate(0.92) contrast(1.02) brightness(0.95);
}

html[data-theme="light"] .section-kicker,
html[data-theme="light"] .eyebrow {
    color: #8b4f35;
}

html[data-theme="light"] .section-heading h2,
html[data-theme="light"] .statement-card h2,
html[data-theme="light"] .cta-panel h2,
html[data-theme="light"] .hero-title,
html[data-theme="light"] .portfolio-hero-card strong,
html[data-theme="light"] .team-hero-badge strong,
html[data-theme="light"] .map-card h3 {
    text-shadow: 0 1px 0 rgba(255, 248, 237, 0.25);
}

html[data-theme="light"] .site-footer {
    color: #e8ddcf;
    background: #17263a;
    border-top-color: rgba(23, 38, 58, 0.18);
}

html[data-theme="light"] .site-footer p,
html[data-theme="light"] .site-footer span,
html[data-theme="light"] .site-footer a,
html[data-theme="light"] .footer-links a,
html[data-theme="light"] .site-footer .footer-brand h2 {
    color: #e8ddcf;
}

html[data-theme="light"] .site-footer a:hover,
html[data-theme="light"] .footer-links a:hover {
    color: #fff8ed;
}

html[data-theme="light"] .footer-divider {
    border-color: rgba(232, 221, 207, 0.18);
}

html[data-theme="light"] .team-hero-badge,
html[data-theme="light"] .portfolio-hero-card,
html[data-theme="light"] .map-card {
    background: rgba(255, 248, 237, 0.94);
    border-color: rgba(23, 38, 58, 0.14);
}

/* Equal card system */
.equal-card-grid,
.process-grid,
.stats-grid,
.usage-grid,
.best-seller-grid,
.case-stack {
    align-items: stretch;
}

.equal-card,
.row > [class*="col"] > .statement-card,
.row > [class*="col"] > .image-card,
.row > [class*="col"] > .portfolio-tile,
.row > [class*="col"] > .team-profile,
.row > [class*="col"] > .process-card,
.row > [class*="col"] > .mini-panel,
.row > [class*="col"] > .contact-card,
.process-grid > .process-card,
.stats-grid > div,
.best-seller-grid > .best-seller-card,
.case-stack > .mini-panel,
.faq-list details {
    height: auto;
}

.equal-card,
.statement-card,
.process-card,
.mini-panel,
.contact-card,
.team-profile,
.best-seller-card,
.faq-list details {
    display: flex;
    flex-direction: column;
}

.equal-card-body,
.best-seller-card > div,
.team-profile {
    flex: 0 0 auto;
}

.equal-card-media,
.team-profile img,
.best-seller-card img,
.portfolio-tile img,
.case-feature img,
.image-card img,
.usage-grid img {
    object-fit: cover;
}

.equal-clamp,
.statement-card p:not(.section-kicker),
.process-card p,
.mini-panel p,
.contact-card p,
.team-profile p,
.best-seller-card p,
.image-card p,
.portfolio-tile p,
.case-feature p,
.portfolio-overlay p,
.faq-list p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.statement-card p:not(.section-kicker),
.process-card p,
.mini-panel p,
.contact-card p,
.team-profile p,
.best-seller-card p,
.image-card p,
.portfolio-tile p,
.case-feature p {
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.team-profile h3,
.process-card h3,
.mini-panel h3,
.contact-card h2,
.best-seller-card h3,
.image-card h3,
.portfolio-tile h3,
.case-feature h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.statement-card {
    min-height: 0;
}

.process-card,
.mini-panel,
.contact-card {
    min-height: 0;
}

.contact-card a,
.process-card p:last-child,
.mini-panel p:last-child,
.statement-card p:last-child,
.best-seller-card p:last-child,
.team-profile p:last-child {
    margin-bottom: 0;
}

.contact-card a {
    margin-top: auto;
}

.process-card span,
.contact-card span {
    flex: 0 0 auto;
}

.team-profile {
    min-height: 0;
}

.team-profile img {
    flex: 0 0 auto;
    height: 280px;
}

.image-card,
.portfolio-tile,
.case-feature {
    height: 100%;
}

.row > [class*="col"] > .image-card:not(.feature-image),
.row > [class*="col"] > .portfolio-tile {
    min-height: 0;
}

.row > [class*="col"] > .image-card:not(.feature-image) > div,
.row > [class*="col"] > .portfolio-tile > div,
.case-feature > div {
    min-height: 0;
}

.best-seller-grid {
    grid-auto-rows: auto;
}

.best-seller-card img {
    flex: 0 0 auto;
}

.case-stack {
    grid-auto-rows: auto;
}

.case-grid {
    align-items: stretch;
}

.case-feature {
    min-height: 100%;
}

.usage-grid {
    grid-auto-rows: 1fr;
}

.usage-card {
    height: 100%;
}

@media (max-width: 1199.98px) {
    .team-profile {
        min-height: 520px;
    }

    .team-profile img {
        flex-basis: 290px;
        height: 290px;
    }
}

@media (max-width: 767.98px) {
    .statement-card,
    .process-card,
    .mini-panel,
    .contact-card,
    .team-profile {
        min-height: 0;
    }

    .team-profile img {
        flex-basis: auto;
        height: auto;
    }

    .row > [class*="col"] > .image-card:not(.feature-image),
    .row > [class*="col"] > .portfolio-tile {
        min-height: 320px;
    }
}

.about-manufacturing-section .manufacturing-capability-grid {
    align-items: flex-start !important;
}

.about-manufacturing-section .manufacturing-capability-grid > [class*="col"] {
    display: block !important;
}

.about-manufacturing-section .manufacturing-capability-grid > [class*="col"] > .manufacturing-capability-card.image-card {
    display: flex !important;
    flex-direction: column !important;
    height: 360px !important;
    max-height: 360px !important;
    min-height: 0 !important;
    overflow: hidden;
}

.about-manufacturing-section .manufacturing-capability-card.image-card img {
    flex: 0 0 210px !important;
    width: 100%;
    height: 210px !important;
    max-height: 210px !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: cover;
}

.about-manufacturing-section .manufacturing-capability-card.image-card::after {
    inset: 0 0 auto 0 !important;
    height: 210px !important;
    background: linear-gradient(180deg, rgba(6, 17, 31, 0.02), rgba(6, 17, 31, 0.38));
}

.about-manufacturing-section .manufacturing-capability-card.image-card > div {
    position: static !important;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0 !important;
    padding: 18px 20px 20px;
    background: linear-gradient(180deg, rgba(12, 24, 39, 0.98), rgba(9, 19, 32, 0.98));
}

.about-manufacturing-section .manufacturing-capability-card.image-card h3 {
    font-size: 20px !important;
    line-height: 1.18;
    margin-bottom: 8px;
}

.about-manufacturing-section .manufacturing-capability-card.image-card p {
    font-size: 15px !important;
    line-height: 1.55;
    margin-bottom: 0;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

@media (max-width: 991.98px) {
    .about-manufacturing-section .manufacturing-capability-grid > [class*="col"] > .manufacturing-capability-card.image-card {
        height: 330px !important;
        max-height: 330px !important;
    }

    .about-manufacturing-section .manufacturing-capability-card.image-card img,
    .about-manufacturing-section .manufacturing-capability-card.image-card::after {
        flex-basis: 190px !important;
        height: 190px !important;
        max-height: 190px !important;
    }
}

@media (max-width: 767.98px) {
    .about-manufacturing-section .manufacturing-capability-grid > [class*="col"] > .manufacturing-capability-card.image-card {
        height: auto !important;
        max-height: none !important;
    }

    .about-manufacturing-section .manufacturing-capability-card.image-card img,
    .about-manufacturing-section .manufacturing-capability-card.image-card::after {
        flex-basis: 170px !important;
        height: 170px !important;
        max-height: 170px !important;
    }
}

.creative-intelligence-layout .feature-image {
    min-height: 0;
}

.creative-intelligence-cards .mini-panel {
    min-height: 0;
}

.creative-intelligence-cards .mini-panel.wide {
    min-height: 0;
}

@media (max-width: 991.98px) {
    .creative-intelligence-layout .feature-image {
        min-height: 0;
    }
}

@media (max-width: 767.98px) {
    .creative-intelligence-layout .feature-image {
        min-height: 0;
    }

    .creative-intelligence-cards .mini-panel,
    .creative-intelligence-cards .mini-panel.wide {
        min-height: 0;
    }
}

.team-creative-section .creative-intelligence-layout {
    align-items: center !important;
}

.team-creative-section .creative-intelligence-layout > [class*="col"] {
    display: block !important;
}

.team-creative-section .creative-copy-column {
    align-self: center;
}

.team-creative-section .creative-image-card.image-card {
    display: flex !important;
    flex-direction: column !important;
    height: 420px !important;
    max-height: 420px !important;
    min-height: 0 !important;
    overflow: hidden;
}

.team-creative-section .creative-image-card.image-card img {
    flex: 0 0 320px !important;
    width: 100%;
    height: 320px !important;
    max-height: 320px !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: cover;
    object-position: center;
}

.team-creative-section .creative-image-card.image-card::after {
    inset: 0 0 auto 0 !important;
    height: 320px !important;
    background: linear-gradient(180deg, rgba(6, 17, 31, 0.03), rgba(6, 17, 31, 0.32));
}

.team-creative-section .creative-image-card.image-card > div {
    position: static !important;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    max-height: none;
    min-height: 0 !important;
    padding: 12px 18px 18px;
    background: linear-gradient(180deg, rgba(12, 24, 39, 0.98), rgba(9, 19, 32, 0.98));
}

.team-creative-section .creative-image-card.image-card h3 {
    font-size: 18px !important;
    line-height: 1.2;
    margin-bottom: 6px;
}

.team-creative-section .creative-image-card.image-card p {
    font-size: 14px !important;
    line-height: 1.45;
    margin-bottom: 0;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.team-creative-section .creative-copy-column h2 {
    margin-bottom: 1rem;
}

.team-creative-section .creative-intelligence-cards {
    align-items: stretch;
}

.team-creative-section .creative-intelligence-cards > [class*="col"] {
    display: flex;
}

.team-creative-section .creative-info-card.mini-panel {
    width: 100%;
    min-height: 122px !important;
    padding: 1rem 1.1rem;
}

.team-creative-section .creative-info-card-wide.mini-panel {
    min-height: 116px !important;
}

.team-creative-section .creative-info-card.mini-panel h3 {
    font-size: 1.08rem;
    line-height: 1.2;
    margin-bottom: 0.42rem;
}

.team-creative-section .creative-info-card.mini-panel p {
    font-size: 0.96rem;
    line-height: 1.48;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

@media (max-width: 991.98px) {
    .team-creative-section .creative-image-card.image-card {
        height: 360px !important;
        max-height: 360px !important;
    }

    .team-creative-section .creative-image-card.image-card img,
    .team-creative-section .creative-image-card.image-card::after {
        flex-basis: 260px !important;
        height: 260px !important;
        max-height: 260px !important;
    }
}

@media (max-width: 767.98px) {
    .team-creative-section .creative-image-card.image-card {
        height: auto !important;
        max-height: none !important;
    }

    .team-creative-section .creative-image-card.image-card img,
    .team-creative-section .creative-image-card.image-card::after {
        flex-basis: 260px !important;
        height: 260px !important;
        max-height: 260px !important;
    }

    .team-creative-section .creative-image-card.image-card > div {
        max-height: none;
    }

    .team-creative-section .creative-info-card.mini-panel,
    .team-creative-section .creative-info-card-wide.mini-panel {
        min-height: 0 !important;
    }
}
.collection-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.collection-card-link:hover,
.collection-card-link:focus-visible {
    color: inherit;
    text-decoration: none;
}

.collection-card-link:focus-visible {
    outline: 3px solid var(--steel);
    outline-offset: 4px;
}

.collection-detail-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    height: 380px;
    min-height: 380px;
    place-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.collection-detail-hero-image,
.collection-detail-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.collection-detail-hero-image {
    z-index: -2;
    object-fit: cover;
    filter: saturate(0.88) contrast(1.06);
}

.collection-detail-hero-overlay {
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(4, 12, 23, 0.48), rgba(4, 12, 23, 0.82)),
        radial-gradient(circle at center, transparent 0 18%, rgba(4, 12, 23, 0.3) 72%);
}

.collection-detail-hero-content {
    max-width: 1400px;
    width: 100%;
    padding-block: 2rem;
    padding-inline: clamp(1rem, 2vw, 1.5rem);
    color: #f4f7fb;
    text-align: center;
}

.collection-detail-hero-content .section-kicker {
    margin-bottom: 0.65rem;
}

.collection-detail-hero-content h1 {
    margin: 0;
    font-size: clamp(2.35rem, 5.5vw, 5.2rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.96;
    text-wrap: balance;
}

.collection-detail-hero-content p:last-child {
    max-width: 680px;
    margin: 1rem auto 0;
    color: rgba(244, 247, 251, 0.82);
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    line-height: 1.6;
}

.collection-products-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.35rem;
}

.collection-products-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.collection-products-heading > span {
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.035);
    font-weight: 800;
}

.collection-detail-shell {
    max-width: 1400px;
    width: 100%;
    padding-inline: clamp(1rem, 2vw, 1.5rem);
}

.collection-products-section {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
}

.new-arrivals-products {
    padding-top: clamp(2.25rem, 4vw, 4rem);
}

.new-arrivals-page-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.new-arrivals-page-head > div {
    max-width: 800px;
}

.new-arrivals-page-head h1 {
    margin: 0.25rem 0 0.65rem;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    line-height: 0.95;
}

.new-arrivals-page-head p:not(.section-kicker) {
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.8vw, 1.16rem);
    line-height: 1.65;
}

.new-arrivals-page-head > span {
    flex: 0 0 auto;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.035);
    font-weight: 800;
}

@media (max-width: 767.98px) {
    .new-arrivals-page-head {
        align-items: start;
        flex-direction: column;
        gap: 1rem;
    }
}

.collection-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
}

.collection-product-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    background: linear-gradient(180deg, rgba(21, 34, 53, 0.94), rgba(10, 21, 36, 0.96));
    box-shadow: var(--shadow);
    height: auto;
}

.collection-product-image {
    height: clamp(240px, 20vw, 280px);
    overflow: hidden;
    background: var(--panel);
}

.collection-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.collection-product-card:hover .collection-product-image img {
    transform: scale(1.045);
}

.collection-product-copy {
    padding: 0.85rem 1rem 1rem;
}

.collection-product-copy h2 {
    margin-bottom: 0.45rem;
    font-size: 1.05rem;
}

.collection-product-copy p {
    display: -webkit-box;
    margin-bottom: 0.8rem;
    color: var(--muted);
    line-height: 1.65;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.collection-product-copy span {
    display: inline-block;
    color: var(--mist);
    font-weight: 900;
}

.collection-products-empty {
    padding: clamp(2.5rem, 7vw, 5rem);
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(111, 138, 166, 0.1), rgba(185, 144, 92, 0.08)), var(--panel);
    text-align: center;
}

.collection-products-empty p {
    max-width: 560px;
    margin: 0.8rem auto 1.5rem;
    color: var(--muted);
}

html[data-theme="light"] .collection-product-card {
    background: linear-gradient(180deg, rgba(255, 250, 243, 0.98), rgba(243, 231, 213, 0.96));
}

@media (max-width: 991.98px) {
    .collection-detail-hero {
        height: 330px;
        min-height: 330px;
    }

    .collection-detail-hero-content {
        padding-block: 1.8rem;
    }

    .collection-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .collection-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .collection-detail-hero {
        height: auto;
        min-height: 290px;
    }

    .collection-detail-hero-content {
        padding-block: 1.7rem;
    }

    .collection-detail-hero-content h1 {
        font-size: clamp(2.15rem, 11vw, 3.25rem);
        line-height: 1;
    }

    .collection-detail-hero-content p:last-child {
        margin-top: 0.8rem;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .collection-products-heading {
        align-items: start;
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .collection-products-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive hardening pass */
html,
body.site-body {
    max-width: 100%;
    overflow-x: hidden;
}

.site-body main,
.site-footer,
.fabric-range-section {
    min-width: 0;
}

.site-body .container {
    max-width: min(1320px, calc(100% - 2rem));
}

.navbar > .container {
    gap: 0.75rem;
}

.navbar-collapse {
    min-width: 0;
}

.navbar-toggler {
    flex: 0 0 auto;
    border-color: var(--line);
    border-radius: 0.8rem;
}

.theme-toggle {
    flex: 0 0 auto;
}

.hero-slide-layout,
.collection-grid,
.portfolio-grid,
.best-seller-grid,
.process-grid,
.stats-grid,
.usage-grid,
.case-grid,
.case-stack,
.fabric-range-grid,
.collection-products-grid {
    min-width: 0;
}

.hero-title,
.section-heading h2,
.collection-products-heading h2,
.collection-product-copy h2,
.image-card h3,
.portfolio-tile h3,
.best-seller-card h3 {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .site-body .container {
        max-width: min(960px, calc(100% - 2rem));
    }

    .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.85rem;
        border: 1px solid var(--line);
        border-radius: 1rem;
        background: rgba(6, 17, 31, 0.94);
    }

    .navbar-nav {
        gap: 0.35rem;
    }

    .theme-toggle {
        margin-top: 0.65rem;
        margin-left: 0 !important;
    }

    .hero,
    .hero-home.hero-slider {
        min-height: auto;
    }

    .hero-home.hero-slider {
        height: auto;
        max-height: none;
        padding: 3rem 0 5rem;
    }

    .hero-slide-layout {
        grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr);
    }

    .collection-grid,
    .portfolio-grid,
    .best-seller-grid,
    .process-grid,
    .stats-grid,
    .usage-grid,
    .collection-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .collection-product-image {
        height: clamp(220px, 28vw, 260px);
    }

    .section-block,
    .cta-section {
        padding-block: 4.5rem;
    }
}

@media (max-width: 767.98px) {
    .site-body .container {
        max-width: calc(100% - 1.25rem);
        padding-inline: 0;
    }

    .site-header {
        position: sticky;
        top: 0;
    }

    .site-header .navbar {
        min-height: 64px;
        padding-block: 0.55rem;
    }

    .navbar-brand {
        min-width: 0;
        max-width: calc(100vw - 7rem);
        font-size: 1.15rem;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
        border-radius: 0.6rem;
    }

    .navbar-collapse {
        margin-top: 0.65rem;
        padding: 0.85rem;
        border: 1px solid var(--line);
        border-radius: 1rem;
        background: rgba(6, 17, 31, 0.96);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    }

    .navbar-nav {
        gap: 0.25rem;
    }

    .navbar .nav-link {
        padding: 0.55rem 0.35rem !important;
    }

    .theme-toggle {
        margin-top: 0.65rem;
        margin-left: 0 !important;
    }

    .section-heading,
    .split-heading {
        margin-bottom: 1.5rem;
    }

    .section-heading h2,
    .cta-panel h2 {
        font-size: clamp(1.65rem, 9vw, 2.45rem);
    }

    .hero-home.hero-slider {
        padding: 1.6rem 0 4.5rem;
    }

    .hero-slider .hero-title {
        max-width: calc(100vw - 2rem);
        font-size: clamp(1.65rem, 8.8vw, 2.35rem);
        line-height: 1.08;
    }

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

    .hero-slider .hero-actions .btn {
        width: 100%;
    }

    .hero-slider-arrow {
        bottom: 3.6rem;
        width: 2.45rem;
        height: 2.45rem;
        font-size: 1.5rem;
    }

    .hero-slider-arrow-prev {
        left: 0.75rem;
    }

    .hero-slider-arrow-next {
        right: 0.75rem;
    }

    .trust-feature-grid,
    .collection-grid,
    .portfolio-grid,
    .best-seller-grid,
    .process-grid,
    .stats-grid,
    .usage-grid,
    .case-stack,
    .fabric-range-grid,
    .collection-products-grid {
        grid-template-columns: 1fr;
    }

    .collection-grid,
    .portfolio-grid {
        grid-auto-rows: auto;
    }

    .image-card,
    .portfolio-tile,
    .case-feature,
    .best-seller-card,
    .collection-product-card {
        min-height: 0;
    }

    .image-card img,
    .portfolio-tile img,
    .case-feature img,
    .best-seller-card img {
        max-height: 280px;
    }

    .tailored-carousel {
        overflow-x: auto;
        padding-inline: 0.35rem;
        scrollbar-width: thin;
    }

    .tailored-track {
        animation: none;
        width: max-content;
    }

    .collection-detail-hero {
        min-height: 230px;
        height: 230px;
    }

    .collection-detail-hero-content h1 {
        font-size: clamp(1.85rem, 10vw, 2.7rem);
    }

    .collection-products-section {
        padding-top: 1.35rem;
        padding-bottom: 3rem;
    }

    .collection-products-grid {
        gap: 0.85rem;
    }

    .collection-product-image {
        height: min(240px, 62vw);
    }

    .fabric-range-panel,
    .cta-panel {
        padding: 1.2rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .collection-detail-hero {
        height: 300px;
        min-height: 300px;
    }

    .collection-products-section {
        padding-top: 1.65rem;
        padding-bottom: 3.25rem;
    }

    .collection-products-heading {
        margin-bottom: 1rem;
    }
}

@media (max-width: 374.98px) {
    .navbar-brand span {
        max-width: 9.5rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

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

    .collection-product-image {
        height: 210px;
    }
}

/* Strict equal-height card system */
:root {
    --indus-card-media-height: clamp(320px, 28vw, 390px);
    --indus-card-product-height: clamp(430px, 34vw, 520px);
    --indus-card-text-height: clamp(260px, 22vw, 300px);
    --indus-card-showcase-height: clamp(320px, 30vw, 400px);
}

.collection-grid > .image-card,
.row > [class*="col"] > .image-card:not(.feature-image),
.row > [class*="col"] > .portfolio-tile {
    height: var(--indus-card-media-height);
}

.collection-grid {
    grid-auto-rows: var(--indus-card-media-height);
}

.portfolio-grid > .portfolio-showcase {
    height: var(--indus-card-showcase-height);
}

.portfolio-grid {
    grid-auto-rows: var(--indus-card-showcase-height);
}

.best-seller-grid > .best-seller-card,
.collection-products-grid > .collection-product-card {
    height: var(--indus-card-product-height);
}

.process-grid > .process-card,
.case-stack > .mini-panel,
.row > [class*="col"] > .process-card,
.row > [class*="col"] > .mini-panel,
.row > [class*="col"] > .statement-card,
.row > [class*="col"] > .contact-card {
    height: var(--indus-card-text-height);
}

.collection-grid > .image-card,
.row > [class*="col"] > .image-card:not(.feature-image),
.portfolio-grid > .portfolio-showcase,
.row > [class*="col"] > .portfolio-tile,
.best-seller-grid > .best-seller-card,
.collection-products-grid > .collection-product-card,
.process-grid > .process-card,
.case-stack > .mini-panel,
.row > [class*="col"] > .process-card,
.row > [class*="col"] > .mini-panel,
.row > [class*="col"] > .statement-card,
.row > [class*="col"] > .contact-card {
    min-height: 0;
    overflow: hidden;
}

.best-seller-grid > .best-seller-card,
.collection-products-grid > .collection-product-card,
.process-grid > .process-card,
.case-stack > .mini-panel,
.row > [class*="col"] > .process-card,
.row > [class*="col"] > .mini-panel,
.row > [class*="col"] > .statement-card,
.row > [class*="col"] > .contact-card {
    display: flex;
    flex-direction: column;
}

.collection-grid > .image-card > img,
.row > [class*="col"] > .image-card:not(.feature-image) > img,
.portfolio-grid > .portfolio-showcase > img,
.row > [class*="col"] > .portfolio-tile > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.best-seller-grid > .best-seller-card img {
    height: clamp(210px, 18vw, 250px);
    width: 100%;
    object-fit: cover;
}

.collection-products-grid > .collection-product-card .collection-product-image {
    height: clamp(230px, 20vw, 280px);
}

.best-seller-grid > .best-seller-card > div,
.collection-products-grid > .collection-product-card > .collection-product-copy,
.process-grid > .process-card,
.case-stack > .mini-panel,
.row > [class*="col"] > .process-card,
.row > [class*="col"] > .mini-panel,
.row > [class*="col"] > .statement-card,
.row > [class*="col"] > .contact-card {
    min-height: 0;
}

.best-seller-grid > .best-seller-card > div,
.collection-products-grid > .collection-product-card > .collection-product-copy {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 0 0 auto;
}

.best-seller-grid > .best-seller-card h3,
.best-seller-grid > .best-seller-card p,
.collection-products-grid > .collection-product-card h2,
.collection-products-grid > .collection-product-card p,
.process-grid > .process-card h3,
.process-grid > .process-card p,
.case-stack > .mini-panel h3,
.case-stack > .mini-panel p,
.row > [class*="col"] > .process-card h3,
.row > [class*="col"] > .process-card p,
.row > [class*="col"] > .mini-panel h3,
.row > [class*="col"] > .mini-panel p,
.row > [class*="col"] > .statement-card h3,
.row > [class*="col"] > .statement-card p,
.row > [class*="col"] > .contact-card h2,
.row > [class*="col"] > .contact-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.best-seller-grid > .best-seller-card h3,
.collection-products-grid > .collection-product-card h2,
.process-grid > .process-card h3,
.case-stack > .mini-panel h3,
.row > [class*="col"] > .process-card h3,
.row > [class*="col"] > .mini-panel h3,
.row > [class*="col"] > .statement-card h3,
.row > [class*="col"] > .contact-card h2 {
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.best-seller-grid > .best-seller-card p,
.collection-products-grid > .collection-product-card p,
.process-grid > .process-card p,
.case-stack > .mini-panel p,
.row > [class*="col"] > .process-card p,
.row > [class*="col"] > .mini-panel p,
.row > [class*="col"] > .statement-card p,
.row > [class*="col"] > .contact-card p {
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.collection-grid > .image-card > div,
.row > [class*="col"] > .image-card:not(.feature-image) > div,
.portfolio-grid > .portfolio-showcase .portfolio-overlay,
.row > [class*="col"] > .portfolio-tile > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Best Seller Fabrics only */
.best-sellers .best-seller-grid {
    grid-auto-rows: auto;
}

.best-sellers .best-seller-grid > .best-seller-card {
    height: auto;
    min-height: 0;
}

.best-sellers .best-seller-grid > .best-seller-card img {
    height: 188px;
    width: 100%;
    aspect-ratio: auto;
    flex: 0 0 auto;
}

.best-sellers .best-seller-grid > .best-seller-card > div {
    padding: 0.8rem 1rem 1rem;
}

.best-sellers .best-seller-grid > .best-seller-card h3 {
    font-size: 1.02rem;
    line-height: 1.25;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.best-sellers .best-seller-grid > .best-seller-card p {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    line-height: 1.55;
}

.best-sellers .best-seller-grid > .best-seller-card span {
    margin-bottom: 0.45rem;
}

/* Product detail page */
.product-detail-shell {
    max-width: min(1200px, calc(100% - 1.5rem));
}

.product-detail-hero {
    padding-top: 1.8rem;
    padding-bottom: 2.4rem;
}

.product-detail-topline {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.product-detail-title {
    margin: 0.3rem 0 0;
    color: var(--text);
    font-size: clamp(2rem, 4.6vw, 3.8rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.product-detail-summary {
    max-width: 60ch;
    margin: 0.9rem 0 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: max-content minmax(320px, 1fr);
    gap: 1rem;
    align-items: start;
}

.product-detail-media,
.product-detail-panel,
.product-related-card {
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(21, 34, 53, 0.94), rgba(10, 21, 35, 0.96));
    box-shadow: var(--shadow);
}

.product-detail-media {
    justify-self: start;
    width: fit-content;
    max-width: 100%;
    padding: 0.75rem;
}

.product-detail-main-image,
.product-detail-main-image--contain {
    display: block;
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
    border-radius: 0.9rem;
    background: transparent;
}

.product-detail-main-image img,
.product-detail-main-image--contain img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
    padding: 0;
}

.product-detail-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 0.75rem;
}

.product-detail-gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0.7rem;
    border: 1px solid rgba(220, 231, 244, 0.1);
}

.product-detail-panel {
    padding: 0.9rem;
}

.product-detail-panel-inner {
    display: grid;
    gap: 1rem;
}

.product-detail-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.65rem;
}

.product-detail-price-row strong {
    color: var(--text);
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    font-weight: 900;
}

.product-detail-price-row span {
    color: var(--muted);
    font-size: 0.92rem;
}

.product-detail-copy {
    margin: 0;
    color: var(--muted);
    line-height: 1.72;
}

.product-detail-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.product-detail-trust-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.7rem;
}

.product-detail-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 0.8rem 0.55rem;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.03);
}

.product-detail-trust-icon {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    color: var(--mist);
}

.product-detail-trust-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-detail-trust-item strong {
    color: var(--text);
    font-size: 0.82rem;
    line-height: 1.25;
}

.product-detail-specs h2,
.product-detail-notes h2 {
    margin: 0 0 0.75rem;
    color: var(--text);
    font-size: 1rem;
    font-weight: 900;
}

.product-detail-spec-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.product-detail-spec-chips span {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    padding: 0.62rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.84rem;
}

.product-detail-spec-chips strong {
    color: var(--text);
}

.product-detail-notes ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
    line-height: 1.68;
}

.product-detail-fact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.product-detail-fact {
    min-height: 88px;
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.03);
}

.product-detail-fact span {
    display: block;
    color: var(--steel);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-detail-fact strong {
    display: block;
    margin-top: 0.4rem;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.55;
}

.product-detail-fact--wide {
    grid-column: 1 / -1;
}

.product-detail-note-text {
    margin: 0.85rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.product-detail-support {
    padding-top: 1.25rem;
    padding-bottom: 2rem;
}

.product-detail-accordion {
    display: grid;
    gap: 0.8rem;
}

.product-detail-accordion-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(21, 34, 53, 0.92), rgba(10, 21, 35, 0.96));
    box-shadow: var(--shadow);
}

.product-detail-accordion-item .accordion-button {
    color: var(--text);
    background: transparent;
    box-shadow: none;
    font-weight: 900;
}

.product-detail-accordion-item .accordion-button:not(.collapsed) {
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.product-detail-accordion-item .accordion-button:focus {
    box-shadow: none;
}

.product-detail-accordion-item .accordion-button::after {
    filter: brightness(1.2);
}

.product-detail-accordion-item .accordion-body {
    color: var(--muted);
    line-height: 1.72;
}

.product-detail-accordion-item .accordion-body p:last-child {
    margin-bottom: 0;
}

.product-detail-accordion-item .accordion-body ul {
    margin: 0.85rem 0 0;
    padding-left: 1.1rem;
}

.product-related-section {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.product-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.product-related-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 100%;
    text-decoration: none;
}

.product-related-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.product-related-card > div {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 0 0 auto;
    padding: 0.85rem 0.95rem 1rem;
}

.product-related-card h3 {
    margin: 0;
    color: var(--text);
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.product-related-card span,
.product-related-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.product-related-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.product-related-empty {
    margin-top: 0.25rem;
}

/* Keep all product/collection cards visually non-link-like */
.collection-product-card,
.collection-product-card *,
.product-related-card,
.product-related-card *,
.best-seller-card,
.best-seller-card *,
.portfolio-tile,
.portfolio-tile *,
.tailored-card,
.tailored-card *,
.image-card,
.image-card *,
.collection-card-link,
.collection-card-link * {
    text-decoration: none !important;
}

.collection-product-card:hover,
.collection-product-card:hover *,
.product-related-card:hover,
.product-related-card:hover *,
.best-seller-card:hover,
.best-seller-card:hover *,
.portfolio-tile:hover,
.portfolio-tile:hover *,
.tailored-card:hover,
.tailored-card:hover *,
.image-card:hover,
.image-card:hover *,
.collection-card-link:hover,
.collection-card-link:hover * {
    text-decoration: none !important;
}

html[data-theme="light"] .product-detail-media,
html[data-theme="light"] .product-detail-panel,
html[data-theme="light"] .product-related-card {
    background: linear-gradient(180deg, rgba(17, 29, 46, 0.94), rgba(10, 21, 35, 0.96));
}

@media (max-width: 767.98px) {
    :root {
        --indus-card-media-height: 280px;
        --indus-card-product-height: 360px;
        --indus-card-text-height: 240px;
        --indus-card-showcase-height: 280px;
    }

    .collection-grid > .image-card,
    .row > [class*="col"] > .image-card:not(.feature-image),
    .row > [class*="col"] > .portfolio-tile {
        height: var(--indus-card-media-height);
    }

    .collection-grid {
        grid-auto-rows: var(--indus-card-media-height);
    }

    .portfolio-grid > .portfolio-showcase {
        height: var(--indus-card-showcase-height);
    }

    .portfolio-grid {
        grid-auto-rows: var(--indus-card-showcase-height);
    }

    .best-seller-grid > .best-seller-card,
    .collection-products-grid > .collection-product-card {
        height: auto;
    }

    .best-sellers .best-seller-grid {
        grid-auto-rows: auto;
    }

    .best-sellers .best-seller-grid > .best-seller-card {
        height: auto;
    }

    .best-sellers .best-seller-grid > .best-seller-card img {
        height: 176px;
        flex-basis: 176px;
    }

    .product-detail-shell {
        max-width: calc(100% - 1rem);
    }

    .product-detail-topline,
    .product-detail-cta-row {
        align-items: stretch;
        flex-direction: column;
    }

    .product-detail-grid,
    .product-related-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .product-detail-trust-grid,
    .product-detail-fact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-detail-trust-item {
        padding: 0.7rem 0.5rem;
    }

    .product-related-card img {
        height: 190px;
    }

    .process-grid > .process-card,
    .case-stack > .mini-panel,
    .row > [class*="col"] > .process-card,
    .row > [class*="col"] > .mini-panel,
    .row > [class*="col"] > .statement-card,
    .row > [class*="col"] > .contact-card {
        height: auto;
    }
}

/* Page-specific closing narratives */
.page-signature-section {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 7vw, 6.5rem) 0;
    border-top: 1px solid rgba(147, 169, 198, 0.16);
    background:
        radial-gradient(circle at 85% 15%, rgba(201, 155, 70, 0.11), transparent 28rem),
        linear-gradient(145deg, #0d1929, #081321 72%);
}

.signature-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.65fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: end;
    margin-bottom: clamp(2.25rem, 5vw, 4rem);
}

.signature-heading h2 {
    max-width: 760px;
    margin: 0.35rem 0 0;
    color: var(--text);
    font-size: clamp(2.25rem, 5vw, 4.4rem);
    line-height: 0.98;
}

.signature-heading > p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.signature-heading-centered {
    grid-template-columns: 1fr;
    max-width: 850px;
    margin-inline: auto;
    text-align: center;
}

.signature-heading-centered h2 { margin-inline: auto; }

.signature-media {
    height: clamp(13rem, 24vw, 21rem);
    margin: -1rem 0 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(151, 177, 211, 0.17);
    border-radius: 1.25rem;
}

.signature-media img,
.signature-item-image,
.signature-stat-image,
.trend-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.signature-item-image {
    min-height: 3.25rem;
    border-radius: 0.75rem;
}

.assurance-layout,
.contact-network-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.7fr);
    gap: 1.25rem;
}

.assurance-credentials,
.office-list {
    display: grid;
    gap: 0.8rem;
}

.assurance-credentials article,
.office-list article {
    display: grid;
    grid-template-columns: 3.75rem 1fr;
    gap: 1.25rem;
    align-items: start;
    padding: 1.35rem;
    border: 1px solid rgba(151, 177, 211, 0.17);
    border-radius: 1rem;
    background: rgba(16, 30, 48, 0.78);
}

.assurance-credentials article > span,
.office-list article > span {
    display: grid;
    min-height: 3.25rem;
    place-items: center;
    border: 1px solid rgba(201, 155, 70, 0.4);
    border-radius: 0.75rem;
    color: #e5bd73;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.assurance-credentials h3,
.office-list h3 {
    margin: 0 0 0.35rem;
    color: var(--text);
    font-size: 1.15rem;
}

.assurance-credentials p,
.office-list p { margin: 0; color: var(--muted); line-height: 1.65; }

.reach-panel,
.export-markets-panel {
    padding: clamp(1.75rem, 4vw, 3rem);
    border: 1px solid rgba(201, 155, 70, 0.3);
    border-radius: 1.25rem;
    background: linear-gradient(160deg, rgba(201, 155, 70, 0.14), rgba(18, 34, 54, 0.88));
}

.reach-panel { display: flex; flex-direction: column; justify-content: center; }
.reach-panel > p { margin: 0 0 1rem; color: #e5bd73; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 900; }
.reach-panel > strong { color: var(--text); font-size: clamp(4.5rem, 10vw, 8rem); line-height: 0.8; }
.reach-panel > span { margin: 0.8rem 0 2rem; color: var(--muted); font-size: 1.05rem; }
.reach-panel > div { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.reach-panel b { padding: 0.45rem 0.7rem; border-radius: 999px; color: var(--text); background: rgba(255, 255, 255, 0.07); font-size: 0.75rem; }

.expertise-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid rgba(151, 177, 211, 0.18);
    border-radius: 1.25rem;
    overflow: hidden;
    background: rgba(14, 28, 45, 0.75);
}

.expertise-stat-grid article { min-height: 17rem; padding: 2rem; border-right: 1px solid rgba(151, 177, 211, 0.16); }
.expertise-stat-grid article:last-child { border-right: 0; }
.expertise-stat-grid strong { display: block; margin-bottom: 2.5rem; color: #e5bd73; font-size: clamp(3rem, 6vw, 5.25rem); line-height: 1; }
.expertise-stat-grid span { display: block; color: var(--text); font-size: 1.05rem; font-weight: 900; line-height: 1.35; }
.expertise-stat-grid small { display: block; margin-top: 0.75rem; color: var(--muted); line-height: 1.55; }
.signature-stat-image { height: 5rem; margin-bottom: 1.25rem; border-radius: 0.75rem; }

.export-markets-panel h3 { margin: 0.5rem 0 1.5rem; color: var(--text); font-size: clamp(1.6rem, 3vw, 2.35rem); }
.market-tags { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.market-tags span { padding: 0.55rem 0.8rem; border: 1px solid rgba(151, 177, 211, 0.23); border-radius: 999px; color: var(--muted); font-weight: 800; }
.export-markets-panel > a { display: inline-flex; gap: 0.55rem; margin-top: 2rem; color: #e5bd73; font-weight: 900; text-decoration: none; }

.textile-trend-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.textile-trend-grid article {
    position: relative;
    min-height: 18rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid rgba(151, 177, 211, 0.17);
    border-radius: 1.15rem;
    background: linear-gradient(145deg, rgba(20, 38, 60, 0.92), rgba(10, 23, 38, 0.9));
}

.textile-trend-grid article:nth-child(2),
.textile-trend-grid article:nth-child(3) { background: linear-gradient(145deg, rgba(53, 42, 39, 0.88), rgba(16, 27, 42, 0.94)); }
.trend-card-image { height: 8rem; margin-bottom: 1.25rem; border-radius: 0.8rem; }
.textile-trend-grid span { color: #e5bd73; font-size: 0.75rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.textile-trend-grid h3 { margin: 2.5rem 0 0.75rem; color: var(--text); font-size: clamp(1.65rem, 3vw, 2.5rem); }
.textile-trend-grid p { max-width: 36rem; margin: 0; color: var(--muted); line-height: 1.7; }
.textile-trend-grid b { position: absolute; right: 2rem; bottom: 1.75rem; color: rgba(222, 232, 245, 0.62); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }

html[data-theme="light"] .page-signature-section {
    background: radial-gradient(circle at 85% 15%, rgba(201, 155, 70, 0.14), transparent 26rem), #eef3f7;
}

html[data-theme="light"] .assurance-credentials article,
html[data-theme="light"] .office-list article,
html[data-theme="light"] .expertise-stat-grid,
html[data-theme="light"] .textile-trend-grid article { background: rgba(255, 255, 255, 0.82); }

@media (max-width: 991.98px) {
    .signature-heading,
    .assurance-layout,
    .contact-network-layout { grid-template-columns: 1fr; }
    .expertise-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .expertise-stat-grid article:nth-child(2) { border-right: 0; }
    .expertise-stat-grid article:nth-child(-n + 2) { border-bottom: 1px solid rgba(151, 177, 211, 0.16); }
}

@media (max-width: 575.98px) {
    .expertise-stat-grid,
    .textile-trend-grid { grid-template-columns: 1fr; }
    .expertise-stat-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(151, 177, 211, 0.16); }
    .expertise-stat-grid article:last-child { border-bottom: 0; }
    .assurance-credentials article,
    .office-list article { grid-template-columns: 3rem 1fr; padding: 1rem; }
    .assurance-credentials article > span,
    .office-list article > span { min-height: 2.75rem; }
    .textile-trend-grid b { position: static; display: block; margin-top: 2rem; }
}

/* Compact section spacing */
.section-block {
    padding: 4.5rem 0;
}

.section-heading {
    margin-bottom: 1.5rem;
}

.cta-section {
    padding: 4.5rem 0;
}

.sub-hero {
    padding: 5rem 0 4rem;
}

.team-hero {
    padding-bottom: 2.75rem;
}

.portfolio-hero {
    padding: 4rem 0 2.5rem;
}

.portfolio-hero + .section-block {
    padding-top: 2rem;
}

.team-profile {
    min-height: 0;
}

.team-profile img {
    height: 240px;
}

.framed-image img {
    min-height: 0;
}

.feature-image {
    min-height: 0;
}

.case-feature {
    min-height: 0;
}

.image-card {
    min-height: 0;
}

.portfolio-grid {
    grid-auto-rows: auto;
}

.collection-detail-hero {
    min-height: 320px;
}

.collection-products-section {
    padding-top: 1.75rem;
    padding-bottom: 2.75rem;
}

.product-detail-hero {
    padding-top: 1.25rem;
    padding-bottom: 1.75rem;
}

.product-related-section {
    padding-top: 1.5rem;
    padding-bottom: 2.25rem;
}

.product-detail-topline {
    margin-bottom: 1rem;
}

/* Tablet spacing */
@media (min-width: 768px) and (max-width: 1024px) {
    .section-block {
        padding: 3.5rem 0;
    }

    .cta-section {
        padding: 3.5rem 0;
    }

    .sub-hero {
        padding: 4.25rem 0 3.25rem;
    }

    .team-hero {
        padding-bottom: 2.25rem;
    }

    .portfolio-hero {
        padding: 3.25rem 0 2rem;
    }

    .portfolio-hero + .section-block {
        padding-top: 1.75rem;
    }

    .team-profile img {
        height: 270px;
    }

    .framed-image img {
        min-height: 0;
    }

    .feature-image {
        min-height: 0;
    }

    .case-feature {
        min-height: 0;
    }

    .image-card {
        min-height: 0;
    }

    .portfolio-grid {
        grid-auto-rows: auto;
    }

    .collection-detail-hero {
        min-height: 290px;
    }

    .collection-products-section {
        padding-top: 1.5rem;
        padding-bottom: 2.25rem;
    }

    .product-detail-hero {
        padding-top: 1rem;
        padding-bottom: 1.5rem;
    }

    .product-related-section {
        padding-top: 1.25rem;
        padding-bottom: 2rem;
    }
}

/* Mobile spacing */
@media (max-width: 767.98px) {
    .section-block {
        padding: 2.5rem 0;
    }

    .cta-section {
        padding: 2.5rem 0;
    }

    .sub-hero {
        padding: 3.25rem 0 2.5rem;
    }

    .team-hero {
        padding-bottom: 1.75rem;
    }

    .portfolio-hero {
        padding: 2.5rem 0 1.75rem;
    }

    .portfolio-hero + .section-block {
        padding-top: 1.25rem;
    }

    .section-heading {
        margin-bottom: 1.1rem;
    }

    .team-profile img {
        height: 240px;
    }

    .framed-image img {
        min-height: 0;
    }

    .feature-image {
        min-height: 0;
    }

    .case-feature {
        min-height: 0;
    }

    .image-card {
        min-height: 0;
    }

    .portfolio-grid {
        grid-auto-rows: auto;
    }

    .collection-detail-hero {
        min-height: 230px;
    }

    .collection-products-section {
        padding-top: 1.1rem;
        padding-bottom: 2rem;
    }

    .product-detail-hero {
        padding-top: 0.85rem;
        padding-bottom: 1.25rem;
    }

    .product-detail-trust-grid,
    .product-detail-fact-grid {
        grid-template-columns: 1fr;
    }

    .product-related-section {
        padding-top: 1rem;
        padding-bottom: 1.75rem;
    }
}

/* Fixed public navigation */
:root {
    --site-header-height: 78px;
    --site-header-compact-height: 64px;
}

body.site-body {
    padding-top: var(--site-header-height);
}

.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10000;
    background: rgba(6, 17, 31, 0.74);
    border-bottom: 1px solid rgba(174, 194, 220, 0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header .navbar {
    min-height: var(--site-header-height);
    padding-block: 0.75rem;
    background: transparent;
    box-shadow: none;
    transition: min-height 0.3s ease, padding 0.3s ease, background 0.3s ease;
}

.site-header .navbar-brand,
.site-header .brand-mark,
.site-header .nav-link,
.site-header .theme-toggle {
    transition: color 0.3s ease, font-size 0.3s ease, height 0.3s ease, width 0.3s ease, transform 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(5, 14, 26, 0.94);
    border-bottom-color: rgba(174, 194, 220, 0.2);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.site-header.is-scrolled .navbar {
    min-height: var(--site-header-compact-height);
    padding-block: 0.45rem;
}

.site-header.is-scrolled .navbar-brand {
    font-size: 1.45rem;
}

.site-header.is-scrolled .brand-mark {
    width: 36px;
    height: 36px;
}

html[data-theme="light"] .site-header {
    background: rgba(255, 255, 255, 0.78);
    border-bottom-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(15, 23, 42, 0.16);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.12);
}

@media (max-width: 991.98px) {
    .site-header .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.75rem 0 0.9rem;
        border-top: 1px solid rgba(174, 194, 220, 0.16);
    }

    html[data-theme="light"] .site-header .navbar-collapse {
        border-top-color: rgba(15, 23, 42, 0.12);
    }
}

@media (max-width: 767.98px) {
    :root {
        --site-header-height: 66px;
        --site-header-compact-height: 58px;
    }

    .site-header {
        position: fixed !important;
    }

    .site-header .navbar {
        min-height: var(--site-header-height);
        padding-block: 0.55rem;
    }

    .site-header.is-scrolled .navbar {
        min-height: var(--site-header-compact-height);
        padding-block: 0.38rem;
    }

    .site-header.is-scrolled .navbar-brand {
        font-size: 1.05rem;
    }

    .site-header.is-scrolled .brand-mark {
        width: 32px;
        height: 32px;
    }
}

/* Lightweight theme toggle */
.theme-toggle {
    width: 60px !important;
    height: 32px !important;
    padding: 0 !important;
    border: 1px solid rgba(220, 231, 244, 0.2) !important;
    border-radius: 999px !important;
    background: rgba(220, 231, 244, 0.08) !important;
    box-shadow: 0 8px 22px rgba(6, 17, 31, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    overflow: hidden;
    transform: none !important;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease !important;
}

.theme-toggle-track {
    position: relative;
    width: 100% !important;
    height: 100% !important;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(220, 231, 244, 0.08), rgba(55, 103, 137, 0.08)) !important;
}

.theme-toggle-track::before {
    display: none !important;
}

.theme-toggle-thumb {
    top: 3px !important;
    left: 4px !important;
    width: 24px !important;
    height: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.44) !important;
    background: rgba(226, 235, 246, 0.92) !important;
    box-shadow: 0 4px 12px rgba(6, 17, 31, 0.22) !important;
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.25s ease, box-shadow 0.25s ease !important;
}

.theme-toggle-icon {
    inset: 0 !important;
}

.theme-toggle-icon svg {
    width: 13px !important;
    height: 13px !important;
    stroke-width: 1.8 !important;
}

.theme-toggle:hover {
    border-color: rgba(220, 231, 244, 0.34) !important;
    background: rgba(220, 231, 244, 0.12) !important;
    box-shadow: 0 10px 24px rgba(6, 17, 31, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.theme-toggle:hover .theme-toggle-thumb {
    box-shadow: 0 5px 14px rgba(6, 17, 31, 0.24) !important;
}

.theme-toggle:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(201, 155, 70, 0.18), 0 8px 22px rgba(6, 17, 31, 0.16) !important;
}

html[data-theme="light"] .theme-toggle {
    border-color: rgba(15, 23, 42, 0.14) !important;
    background: rgba(255, 255, 255, 0.78) !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

html[data-theme="light"] .theme-toggle-track {
    background: linear-gradient(135deg, rgba(201, 155, 70, 0.11), rgba(55, 103, 137, 0.06)) !important;
}

html[data-theme="light"] .theme-toggle-thumb {
    transform: translateX(28px) !important;
    background: #fff7e8 !important;
    border-color: rgba(201, 155, 70, 0.24) !important;
    box-shadow: 0 4px 12px rgba(119, 88, 58, 0.16) !important;
}

/* Public navigation/detail clickability */
.hero-image-card,
.hero-title-link,
.content-heading-link,
.framed-image-link,
.trust-feature-item,
.process-card,
.stats-grid a,
.related-nav-card {
    color: inherit;
    text-decoration: none !important;
}

.hero-title-link:hover,
.content-heading-link:hover {
    color: var(--text);
    text-decoration: none !important;
}

.hero-image-card,
.framed-image-link,
.stats-grid a,
.related-nav-card {
    display: block;
}

.hero-image-card:focus-visible,
.framed-image-link:focus-visible,
.trust-feature-item:focus-visible,
.process-card:focus-visible,
.stats-grid a:focus-visible,
.related-nav-card:focus-visible {
    outline: 3px solid rgba(201, 155, 70, 0.45);
    outline-offset: 4px;
}

.stats-grid a {
    padding: 0 0.5rem;
    text-align: center;
    transition: transform 0.25s ease, color 0.25s ease;
}

.stats-grid a:hover {
    transform: translateY(-4px);
}

.detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.5rem;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.detail-breadcrumb a {
    color: var(--steel);
    text-decoration: none;
}

.detail-breadcrumb a:hover {
    color: var(--text);
}

.showcase-detail-hero,
.portfolio-detail-hero {
    padding-bottom: 4rem;
}

.showcase-detail-media {
    position: relative;
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    background: rgba(16, 28, 45, 0.9);
    box-shadow: var(--shadow);
}

.showcase-detail-media img {
    width: 100%;
    height: clamp(300px, 34vw, 460px);
    object-fit: cover;
    filter: saturate(0.96) contrast(1.04);
}

.showcase-detail-panel {
    max-width: 960px;
    padding: clamp(1.3rem, 3vw, 2.25rem);
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(21, 34, 53, 0.92), rgba(12, 24, 39, 0.92));
    box-shadow: var(--shadow);
}

.showcase-detail-panel h2 {
    color: var(--text);
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    font-weight: 900;
}

.showcase-detail-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.showcase-detail-list p {
    margin: 0;
    color: var(--muted);
    line-height: 1.72;
}

.portfolio-detail-gallery,
.related-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.portfolio-detail-gallery {
    margin-top: 1.25rem;
}

.portfolio-detail-gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
}

.related-nav-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(21, 34, 53, 0.92), rgba(12, 24, 39, 0.92));
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.related-nav-card:hover {
    transform: translateY(-8px);
    border-color: rgba(220, 231, 244, 0.38);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

.related-nav-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-nav-card > div {
    padding: 1rem 1.1rem 1.25rem;
}

.related-nav-card span {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--steel);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.related-nav-card h3 {
    margin-bottom: 0.45rem;
    color: var(--text);
    font-size: 1.12rem;
    font-weight: 900;
}

.related-nav-card p {
    display: -webkit-box;
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

html[data-theme="light"] .showcase-detail-panel,
html[data-theme="light"] .related-nav-card,
html[data-theme="light"] .showcase-detail-media {
    background: rgba(255, 248, 237, 0.94);
}

@media (max-width: 991.98px) {
    .portfolio-detail-gallery,
    .related-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .portfolio-detail-gallery,
    .related-card-grid {
        grid-template-columns: 1fr;
    }

    .showcase-detail-media img {
        height: 260px;
    }
}

/* Real card-level spacing compaction */
.collection-products-grid,
.best-seller-grid,
.process-grid,
.case-stack,
.creative-intelligence-cards,
.product-related-grid {
    grid-auto-rows: auto !important;
    align-items: stretch;
}

.row > [class*="col"] {
    min-height: 0;
}

.row > [class*="col"] > .process-card,
.row > [class*="col"] > .mini-panel,
.row > [class*="col"] > .statement-card,
.row > [class*="col"] > .contact-card,
.row > [class*="col"] > .team-profile,
.process-grid > .process-card,
.case-stack > .mini-panel,
.creative-intelligence-cards .mini-panel,
.collection-products-grid > .collection-product-card,
.best-seller-grid > .best-seller-card,
.product-related-grid > .product-related-card {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

.row > [class*="col"] > .process-card,
.row > [class*="col"] > .mini-panel,
.row > [class*="col"] > .statement-card,
.row > [class*="col"] > .contact-card,
.process-grid > .process-card,
.case-stack > .mini-panel,
.creative-intelligence-cards .mini-panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    padding: 1.25rem 1.35rem 1.35rem !important;
}

.row > [class*="col"] > .process-card span,
.process-grid > .process-card span {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}

.row > [class*="col"] > .process-card h3,
.row > [class*="col"] > .mini-panel h3,
.row > [class*="col"] > .statement-card h3,
.row > [class*="col"] > .contact-card h2,
.process-grid > .process-card h3,
.case-stack > .mini-panel h3,
.creative-intelligence-cards .mini-panel h3 {
    margin-bottom: 0.55rem !important;
}

.row > [class*="col"] > .process-card p,
.row > [class*="col"] > .mini-panel p,
.row > [class*="col"] > .statement-card p,
.row > [class*="col"] > .contact-card p,
.process-grid > .process-card p,
.case-stack > .mini-panel p,
.creative-intelligence-cards .mini-panel p {
    margin-bottom: 0 !important;
}

.team-creative-section .creative-intelligence-layout {
    align-items: start !important;
}

.team-creative-section .creative-copy-column {
    align-self: start !important;
}

.team-creative-section .creative-intelligence-cards > [class*="col"] {
    display: block !important;
}

.team-creative-section .creative-info-card.mini-panel,
.team-creative-section .creative-info-card-wide.mini-panel {
    width: 100%;
    min-height: 0 !important;
    padding: 1.1rem 1.2rem 1.25rem !important;
}

.collection-products-grid > .collection-product-card,
.best-seller-grid > .best-seller-card,
.product-related-grid > .product-related-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow: hidden;
}

.collection-products-grid > .collection-product-card .collection-product-image {
    flex: 0 0 auto !important;
    height: clamp(210px, 16vw, 250px) !important;
    min-height: 0 !important;
    max-height: 250px !important;
}

.collection-products-grid > .collection-product-card .collection-product-image img,
.best-seller-grid > .best-seller-card img,
.product-related-grid > .product-related-card img {
    width: 100% !important;
    object-fit: cover !important;
}

.collection-products-grid > .collection-product-card .collection-product-image img {
    height: 100% !important;
}

.collection-products-grid > .collection-product-card > .collection-product-copy,
.best-seller-grid > .best-seller-card > div,
.product-related-grid > .product-related-card > div {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

.collection-products-grid > .collection-product-card > .collection-product-copy {
    gap: 0.65rem !important;
    padding: 1rem 1.15rem 1.35rem !important;
}

.collection-products-grid > .collection-product-card h2 {
    margin: 0 !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
}

.collection-products-grid > .collection-product-card p {
    margin: 0 !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
}

.collection-products-grid > .collection-product-card span {
    margin-top: 0.15rem !important;
    line-height: 1.25 !important;
}

.best-seller-grid > .best-seller-card img {
    flex: 0 0 188px !important;
    height: 188px !important;
    min-height: 0 !important;
    max-height: 188px !important;
}

.best-seller-grid > .best-seller-card > div {
    gap: 0.45rem !important;
    padding: 0.85rem 1rem 1.25rem !important;
}

.best-seller-grid > .best-seller-card h3 {
    margin: 0 !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
}

.best-seller-grid > .best-seller-card p {
    margin: 0 !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
}

.product-related-grid {
    align-items: stretch;
}

.product-related-grid > .product-related-card img {
    flex: 0 0 160px !important;
    height: 160px !important;
    min-height: 0 !important;
    max-height: 160px !important;
}

.product-related-grid > .product-related-card > div {
    gap: 0.35rem !important;
    padding: 0.85rem 0.95rem 1.2rem !important;
}

.image-card:not(.feature-image),
.portfolio-tile,
.case-feature {
    min-height: 0 !important;
}

.case-grid {
    align-items: start !important;
}

.case-stack {
    align-self: start !important;
    grid-auto-rows: auto !important;
}

.case-stack .mini-panel:first-child {
    grid-column: span 2;
}

.row > [class*="col"] > .image-card:not(.feature-image) > div,
.row > [class*="col"] > .portfolio-tile > div,
.case-feature > div {
    min-height: 0 !important;
    padding-bottom: 1.35rem !important;
}

@media (min-width: 768px) {
    .row > [class*="col"] > .process-card,
    .row > [class*="col"] > .mini-panel,
    .row > [class*="col"] > .statement-card,
    .row > [class*="col"] > .contact-card,
    .process-grid > .process-card,
    .case-stack > .mini-panel,
    .creative-intelligence-cards .mini-panel {
        padding-bottom: 1.5rem !important;
    }
}

@media (max-width: 767.98px) {
    .collection-products-grid > .collection-product-card .collection-product-image {
        height: 190px !important;
        max-height: 190px !important;
    }

    .best-seller-grid > .best-seller-card img,
    .product-related-grid > .product-related-card img {
        flex-basis: 170px !important;
        height: 170px !important;
        max-height: 170px !important;
    }

    .row > [class*="col"] > .process-card,
    .row > [class*="col"] > .mini-panel,
    .row > [class*="col"] > .statement-card,
    .row > [class*="col"] > .contact-card,
    .process-grid > .process-card,
    .case-stack > .mini-panel,
    .creative-intelligence-cards .mini-panel {
        padding: 1.05rem 1.1rem 1.25rem !important;
    }
}

/* Homepage Portfolio Highlights compact cards */
.home-portfolio-highlights .row {
    align-items: stretch;
}

.home-portfolio-highlights .row > [class*="col"] {
    display: flex;
}

.home-portfolio-highlights .portfolio-tile {
    display: block !important;
    width: 100% !important;
    height: 320px !important;
    min-height: 0 !important;
    max-height: 320px !important;
    border-radius: 0.9rem;
    overflow: hidden;
}

.home-portfolio-highlights .portfolio-tile img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
}

.home-portfolio-highlights .portfolio-tile::after {
    background:
        linear-gradient(180deg, rgba(6, 17, 31, 0.02) 18%, rgba(6, 17, 31, 0.54) 58%, rgba(6, 17, 31, 0.96) 100%);
}

.home-portfolio-highlights .portfolio-tile > div {
    left: 1.15rem !important;
    right: 1.15rem !important;
    bottom: 1rem !important;
    min-height: 0 !important;
    padding: 0 !important;
}

.home-portfolio-highlights .portfolio-tile h3 {
    display: -webkit-box;
    margin: 0 0 0.35rem !important;
    color: #f2f6fc;
    font-size: 1.08rem;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.42);
}

.home-portfolio-highlights .portfolio-tile p {
    display: -webkit-box;
    margin: 0 !important;
    color: rgba(232, 239, 248, 0.84);
    font-size: 0.9rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .home-portfolio-highlights .portfolio-tile {
        height: 290px !important;
        max-height: 290px !important;
    }
}

@media (max-width: 767.98px) {
    .home-portfolio-highlights .portfolio-tile {
        height: 260px !important;
        max-height: 260px !important;
    }
}
