/* Materials Page Specific Styles */
body.materials {
    --terracotta: #C9A661;
    --forest: #3E5641;
    --gold: #C9A661;
    --gold-rgb: 201, 166, 97;
    --stone: #9B8F7E;
}

body.materials .icon {
    color: var(--gold);
}
.page-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--ink);
    isolation: isolate;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero::after {
    content: none;
}

.page-hero-content {
    position: relative;
    z-index: 10;
    max-width: 1100px;
    padding: 0 2rem;
    margin-bottom: 0;
}

.page-hero .hero-label {
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out 0.3s both;
}

.page-hero h1 {
    color: var(--cream);
    font-size: clamp(3rem, 9vw, 7.25rem);
    line-height: 1.04;
    letter-spacing: -2.2px;
    font-weight: 900;
    margin-bottom: 2.5rem;
    animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.page-hero .hero-tagline {
    color: rgba(255, 248, 240, 0.8);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 3.5rem;
    animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.materials-hero::before {
    background:
        linear-gradient(135deg, rgba(13, 17, 23, 0.55) 0%, rgba(13, 17, 23, 0.85) 100%),
        url("images/cover9.webp") center/cover no-repeat,
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(var(--gold-rgb), 0.03) 10px,
            rgba(var(--gold-rgb), 0.03) 11px
        );
    animation: subtleShift 20s ease-in-out infinite;
}


/* Comparison Table Section */
.comparison-section {
    padding: 7rem 2rem;
    background: var(--ink);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.comparison-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(var(--gold-rgb), 0.06), transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(13, 17, 23, 0.45), transparent 55%);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--ink);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--slate);
}

.comparison-section .section-header h2 {
    color: var(--cream);
}

.comparison-section .section-header p {
    color: rgba(255, 248, 240, 0.65);
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    border: 0;
    position: relative;
    z-index: 1;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
    min-width: 700px;
    border-top: 1px solid rgba(255, 248, 240, 0.15);
    border-bottom: 1px solid rgba(255, 248, 240, 0.15);
}

.comparison-table-head {
    border-bottom: 1px solid rgba(255, 248, 240, 0.12);
    border-radius: 0;
}

.comparison-table-toggle {
    width: 100%;
    min-width: 700px;
    border: 0;
    background: transparent;
    border-top: 1px solid rgba(255, 248, 240, 0.12);
    border-bottom: 1px solid rgba(255, 248, 240, 0.12);
    color: var(--cream);
    padding: 1.6rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    text-transform: uppercase;
}

.toggle-arrow {
    width: 18px;
    height: 18px;
    border-right: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
    transform: rotate(45deg);
    transition: transform 0.4s ease;
}

.comparison-table-wrapper.is-open .toggle-arrow {
    transform: rotate(-135deg);
}

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

.comparison-table-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    border-radius: 0;
    transition: max-height 0.6s ease, opacity 0.3s ease;
}

.comparison-table-wrapper.is-open .comparison-table-body {
    opacity: 1;
}

.col-spec {
    width: 34%;
}

.col-material {
    width: 22%;
}

.comparison-table thead {
    background: transparent;
}

.comparison-table th {
    padding: 2rem 1.5rem;
    text-align: center;
    color: var(--cream);
    vertical-align: top;
}

.comparison-table th.featured {
    background: transparent;
    position: relative;
}

.table-header-content {
    display: grid;
    grid-template-rows: 1.1rem auto;
    row-gap: 0.35rem;
    justify-items: center;
    align-items: end;
    min-height: 4rem;
}

.table-header-content--spec .material-name {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.table-header-content .material-name {
    display: inline-block;
    margin-top: 0;
    line-height: 1;
}

.material-badge {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--ink);
    padding: 0.25rem 0.75rem;
    border-radius: 0;
    font-weight: 700;
    line-height: 1;
}

.material-badge.placeholder {
    visibility: hidden;
}

.material-badge.value {
    background: var(--gold);
    color: white;
}

.material-name {
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--cream);
}

.comparison-table tbody tr:nth-child(even) {
    background: transparent;
}

.comparison-table td {
    padding: 1.25rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 248, 240, 0.08);
    color: rgba(255, 248, 240, 0.75);
}

.comparison-table td.spec-label {
    text-align: left;
    font-weight: 600;
    color: var(--cream);
}

.comparison-table td.featured {
    background: transparent;
    font-weight: 600;
    color: var(--gold);
}

.comparison-accordion {
    display: none;
    max-width: 900px;
    margin: 2.5rem auto 0;
    border-top: 1px solid rgba(255, 248, 240, 0.12);
}

.comparison-accordion-item {
    border-bottom: 1px solid rgba(255, 248, 240, 0.12);
}

.comparison-accordion-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cream);
}

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

.comparison-accordion-item summary::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--gold);
    transition: transform 0.35s ease;
}

.comparison-accordion-item[open] summary::after {
    transform: rotate(45deg);
}

.comparison-accordion-content {
    padding: 0 0 1.5rem;
    display: grid;
    gap: 0.5rem;
    border-top: 1px solid rgba(255, 248, 240, 0.12);
}

.comparison-accordion-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1.5rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 248, 240, 0.12);
    font-size: 0.98rem;
    color: rgba(255, 248, 240, 0.7);
}

.comparison-accordion-row:last-child {
    border-bottom: 0;
}

.comparison-accordion-row.is-featured .comparison-value {
    color: var(--gold);
    font-weight: 700;
}

.comparison-material {
    color: var(--cream);
    font-weight: 600;
}

.comparison-accordion-cta {
    padding: 2rem 0 0;
    text-align: center;
}

.btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
}

.comparison-table td .btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 11.5rem;
    min-height: 3.25rem;
    padding: 0.8rem 0.9rem;
    line-height: 1.2;
    letter-spacing: 1px;
    text-align: center;
    white-space: normal;
    word-break: keep-all;
}

.btn-ghost-dark {
    border: 2px solid rgba(255, 248, 240, 0.7);
    color: var(--cream);
    background: transparent;
}

.btn-ghost-dark:hover {
    background: var(--cream);
    color: var(--ink);
}

/* Material Detail Sections */
.materials-detail-section {
    background: var(--cream);
    padding: 6rem 0;
    position: relative;
    overflow: visible;
    isolation: isolate;
}

.materials-detail-section::before {
    content: none;
}

.materials-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.materials-detail-header h2 {
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    color: var(--ink);
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
}

.materials-detail-header p {
    font-size: 1.1rem;
    color: rgba(13, 17, 23, 0.72);
    margin: 0;
}

.carousel-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    position: absolute;
    top: -3rem;
    right: 0;
    z-index: 4;
}

.materials-carousel {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
}

.materials-track {
    position: relative;
    padding: 0 0 2rem;
    grid-row: 2;
    margin-top: -1px;
    border-top: 1px solid rgba(13, 17, 23, 0.14);
}

.materials-track .material-detail {
    min-width: 100%;
    width: 100%;
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    margin-bottom: 0;
    transition: opacity 0.3s ease;
}

.materials-track .material-detail.is-active {
    position: relative;
    inset: auto;
    opacity: 1;
    pointer-events: auto;
}

.carousel-arrow {
    position: static;
    width: 40px;
    height: 40px;
    border-radius: 0;
    background: rgba(13, 17, 23, 0.04);
    color: var(--ink);
    border: 1px solid rgba(13, 17, 23, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.carousel-arrow:hover {
    background: var(--gold);
    border-color: rgba(var(--gold-rgb), 0.7);
    color: var(--ink);
}

.carousel-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.carousel-dots {
    display: flex;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-bottom: -1px;
    padding-left: 0;
    grid-row: 1;
    align-items: flex-end;
    z-index: 2;
    border-bottom: 1px solid rgba(13, 17, 23, 0.18);
}

.carousel-dot {
    width: auto;
    height: auto;
    border-radius: 0;
    border: 1px solid rgba(13, 17, 23, 0.18);
    border-bottom: 0;
    background: var(--cream);
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    padding: 0.55rem 1.1rem;
    font-size: 0.72rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(13, 17, 23, 0.72);
    position: relative;
    margin-bottom: -1px;
}

.carousel-dot.active {
    background: var(--gold);
    border-color: rgba(var(--gold-rgb), 0.9);
    color: var(--ink);
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.material-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(320px, 34vw, 460px);
    gap: 2.5rem;
    margin-bottom: 0;
    align-items: stretch;
    position: relative;
    z-index: 1;
    padding: 2.5rem 0;
    background: transparent;
    border: 0;
}

.material-detail:first-of-type {
    border-top: 0;
}


.material-detail-content {
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    min-width: 0;
}

.material-tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--ink);
    border: 1px solid rgba(var(--gold-rgb), 0.6);
    padding: 0.5rem 1rem;
    border-radius: 0;
    font-weight: 700;
    margin-bottom: 1rem;
}

.material-detail h2 {
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.material-subtitle {
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.material-description {
    font-size: 1rem;
    color: rgba(13, 17, 23, 0.78);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.material-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
}

.material-detail-grid .material-footer {
    grid-column: 1 / -1;
}

.material-features,
.material-specs-detail,
.material-care,
.material-ideal {
    margin-bottom: 0;
}

.material-features h3,
.material-specs-detail h3,
.material-care h3,
.material-ideal h3 {
    font-size: 1.3rem;
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.features-list {
    list-style: none;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.features-list li {
    padding: 0.65rem 0;
    padding-left: 1.75rem;
    color: rgba(13, 17, 23, 0.8);
    position: relative;
    border-bottom: 1px solid rgba(13, 17, 23, 0.12);
    break-inside: avoid;
}

.features-list li:last-child {
    border-bottom: 0;
}

.features-list li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.spec-item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-areas:
        "icon title"
        "icon data";
    gap: 0.15rem 0.6rem;
    padding: 0.85rem 0.9rem;
    background: rgba(255, 248, 240, 0.95);
    border-radius: 0;
    border: 1px solid rgba(13, 17, 23, 0.08);
    box-shadow: none;
    min-width: 0;
}

.spec-icon {
    grid-area: icon;
    font-size: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: var(--gold);
}

.spec-title {
    grid-area: title;
    font-size: 0.72rem;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-data {
    grid-area: data;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--ink);
}

.material-care p,
.material-ideal p {
    color: rgba(13, 17, 23, 0.75);
    line-height: 1.65;
    font-size: 0.98rem;
}

.material-care-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.material-care-list li {
    position: relative;
    padding-left: 1.1rem;
    color: rgba(13, 17, 23, 0.75);
    line-height: 1.65;
    font-size: 0.98rem;
}

.material-care-list li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

.material-ideal p strong {
    color: var(--gold);
}

.material-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    border-top: 1px solid rgba(13, 17, 23, 0.12);
    padding-top: 1.5rem;
}

.material-care,
.material-ideal {
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
}

.material-ideal {
    order: 1;
}

.material-care {
    order: 2;
}

.material-care h3,
.material-ideal h3 {
    font-size: 1.05rem;
}

.material-detail-image {
    height: 100%;
    min-height: 380px;
    background: var(--slate);
    border-radius: 0;
    box-shadow: none;
    background-size: cover;
    background-position: center 40%;
    margin-top: 0;
    overflow: hidden;
    min-width: 0;
    position: relative;
    top: auto;
    align-self: stretch;
    border: 1px solid rgba(13, 17, 23, 0.14);
    background-image: var(--material-image);
    background-repeat: no-repeat;
}

.material-surface-labels {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.material-surface-label {
    position: absolute;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.85rem, 1.15vw, 1.1rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
    color: rgba(255, 248, 240, 0.96);
    text-shadow: 0 1px 12px rgba(13, 17, 23, 0.32);
    opacity: 0.92;
    padding: 0.6rem 0.8rem;
    background: rgba(13, 17, 23, 0.42);
    border: 1px solid rgba(255, 248, 240, 0.18);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.material-surface-label.is-back {
    top: 7%;
    right: 7%;
}

.material-surface-label.is-front {
    left: 7%;
    bottom: 7%;
}

@media (hover: hover) {
    .material-detail-image:hover .material-surface-labels {
        opacity: 0;
        transform: translateY(4px);
    }
}

.stamoid-heavy-img {
    --material-image: url("images/stanheavy.JPG");
}

.stamoid-light-img {
    --material-image: url("images/stanlight.JPG");
}

.covermax-img {
    --material-image: url("images/covermax.JPG");
}

/* Samples Section */
.samples-section {
    padding: 6rem 2rem;
    background: var(--ink);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.samples-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
    opacity: 0;
    z-index: 0;
}

.samples-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
    opacity: 0;
    z-index: 0;
}

.samples-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.samples-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--cream);
    margin-bottom: 1.5rem;
}

.samples-text p {
    font-size: 1.15rem;
    color: rgba(255, 248, 240, 0.8);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.samples-list {
    list-style: none;
    margin: 0;
}

.samples-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    color: rgba(255, 248, 240, 0.9);
    position: relative;
    font-size: 1.05rem;
}

.samples-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
    font-size: 1.25rem;
}

.samples-contact {
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

.samples-contact h3 {
    font-size: 1.75rem;
    color: var(--cream);
    margin-bottom: 1.5rem;
}

.samples-contact p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 248, 240, 0.78);
    margin-bottom: 1.75rem;
}

.samples-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}

.samples-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.samples-contact .samples-note {
    margin-top: 1.5rem;
    margin-bottom: 0;
    font-size: 0.95rem;
    color: rgba(255, 248, 240, 0.62);
}

.samples-contact .btn-ghost {
    background: transparent;
    color: var(--cream);
    border-color: rgba(255, 248, 240, 0.32);
}

/* Competitor Comparison */
.competitor-comparison-section {
    padding: 6rem 2rem;
    background: var(--cream);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.competitor-comparison-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 15%, rgba(var(--gold-rgb), 0.04), transparent 50%),
        radial-gradient(circle at 85% 40%, rgba(13, 17, 23, 0.02), transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.comparison-footer {
    text-align: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: 0;
    position: relative;
    z-index: 1;
}

.comparison-footer p {
    font-size: 1.15rem;
    color: var(--ink);
    margin: 0;
}

.comparison-footer.compact {
    padding: 0;
    margin-top: 1.25rem;
}


/* Option B - Metric Cards */
.metric-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 2rem;
    border-top: 1px solid rgba(13, 17, 23, 0.12);
    border-bottom: 1px solid rgba(13, 17, 23, 0.12);
    position: relative;
}

.metric-card-grid::before {
    content: "VS";
    position: absolute;
    top: -0.9rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 0.6rem;
    background: var(--cream);
    border: 1px solid rgba(13, 17, 23, 0.12);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--slate);
}

.metric-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 2rem 1.75rem 1.75rem;
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.metric-card + .metric-card {
    border-left: 1px solid rgba(13, 17, 23, 0.12);
}

.metric-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--ink);
}

.metric-card.featured {
    background: rgba(var(--gold-rgb), 0.06);
    color: var(--ink);
    box-shadow: none;
    padding-top: 2.4rem;
}

.metric-card.featured h3 {
    color: var(--ink);
    margin-top: -0.2rem;
}

.metric-badge {
    position: absolute;
    top: -0.65rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--ink);
    padding: 0.4rem 1.2rem;
    border-radius: 0;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
    display: inline-flex;
    border: 1px solid rgba(13, 17, 23, 0.12);
}

.metric-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 1.2rem;
    margin-bottom: 0;
}

.metric-chips span {
    padding: 0 0 0.4rem 0;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid rgba(13, 17, 23, 0.12);
    font-size: 0.82rem;
    color: var(--slate);
    background: transparent;
    font-weight: 600;
}

.metric-card.featured .metric-chips span {
    color: var(--slate);
    border-color: transparent;
    background: transparent;
}

.metric-notes {
    list-style: none;
    margin: 0;
    padding: 0;
}

.metric-notes li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--slate);
    border-bottom: 1px solid rgba(13, 17, 23, 0.08);
}

.metric-notes li:last-child {
    border-bottom: 0;
}

.metric-card.featured .metric-notes li {
    color: var(--slate);
}

.metric-notes li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

.metric-outcome {
    display: inline-flex;
    padding: 0 0 0.3rem 0;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
    border-bottom: 2px solid transparent;
    margin-top: auto;
}

.metric-outcome-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.metric-outcome-row .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    border-radius: 0;
    background: var(--cream);
    color: var(--ink);
    border: 1px solid rgba(255, 248, 240, 0.6);
    margin-left: 0.25rem;
}

.metric-outcome.negative {
    color: var(--stone);
    border-bottom-color: rgba(155, 143, 126, 0.7);
}

.metric-outcome.neutral {
    color: var(--stone);
    border-bottom-color: rgba(155, 143, 126, 0.7);
}

.metric-outcome.positive {
    color: var(--ink);
    border-bottom-color: rgba(var(--gold-rgb), 0.65);
}

.metric-card.featured .metric-outcome.positive {
    color: var(--ink);
    border-bottom-color: rgba(var(--gold-rgb), 0.9);
}

/* FAQ Section */
.faq-section {
    padding: 6rem 2rem;
    background: var(--cream);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.faq-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
    pointer-events: none;
    z-index: 0;
}

.faq-section h2 {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--ink);
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid rgba(13, 17, 23, 0.12);
    position: relative;
    z-index: 1;
}

.faq-item {
    background: transparent;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(13, 17, 23, 0.12);
    border-left: 3px solid transparent;
    transition: background 0.35s ease, border-color 0.35s ease;
}

.faq-item:hover {
    background: rgba(13, 17, 23, 0.02);
}

.faq-item.active {
    border-left-color: var(--gold);
    background: rgba(13, 17, 23, 0.035);
}

.faq-question {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 1.35rem;
    color: var(--ink);
    margin: 0;
    line-height: 1.4;
    text-align: left;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    cursor: pointer;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-question::after {
    content: "+";
    font-size: 1.6rem;
    color: var(--gold);
    transition: transform 0.35s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    color: var(--slate);
    line-height: 1.8;
    margin-top: 1rem;
    padding: 0 1.5rem;
    max-width: 60rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .materials-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .material-detail {
        grid-template-columns: 1fr;
    }

    .material-detail-image {
        height: 400px;
        order: -1;
        margin-top: 0;
        position: relative;
        top: auto;
    }

    .material-surface-label.is-back {
        top: 9%;
        right: 8%;
    }

    .material-surface-label.is-front {
        left: 9%;
        bottom: 11%;
    }

    .material-tag {
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
        font-size: 0.65rem;
        letter-spacing: 1.2px;
        padding: 0.45rem 0.85rem;
    }

    .material-detail-grid {
        grid-template-columns: 1fr;
    }

    .material-footer {
        grid-template-columns: 1fr;
    }

    .carousel-controls {
        display: none;
    }

    .carousel-dots {
        display: flex;
        gap: 0.6rem;
        overflow-x: auto;
        padding: 0 0 0.75rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .carousel-dots::-webkit-scrollbar {
        display: none;
    }

    .carousel-dot {
        white-space: nowrap;
        scroll-snap-align: start;
        padding: 0.45rem 0.9rem;
        font-size: 0.68rem;
        letter-spacing: 1.4px;
    }

    .materials-track {
        display: flex;
        gap: 0.8rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0.8rem;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        padding: 1rem 0 2rem;
    }

    .materials-track .material-detail {
        position: relative !important;
        inset: auto !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
        min-width: 95%;
        max-width: 95%;
        scroll-snap-align: start;
    }

    .materials-track .material-detail.is-active {
        position: relative;
    }

    .samples-content {
        grid-template-columns: 1fr;
    }

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

    .material-footer {
        grid-template-columns: 1fr;
    }

    .metric-card-grid {
        display: flex;
        gap: 1.5rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 1.5rem;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        padding: 1rem 0 1rem;
    }

    .metric-card {
        flex: 0 0 80%;
        scroll-snap-align: center;
        border-left: 0;
    }

    .metric-card + .metric-card {
        border-left: 0;
    }

    .metric-card.featured {
        order: -1;
    }

    .metric-card-grid::-webkit-scrollbar {
        display: none;
    }

    .metric-card-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 100vh;
        padding: 6rem 1.5rem;
    }

    .comparison-table-wrapper {
        display: none;
    }

    .material-surface-label {
        font-size: 0.72rem;
        letter-spacing: 0.1em;
        padding: 0.45rem 0.62rem;
    }

    .material-surface-label.is-back {
        top: 6%;
        right: 6%;
    }

    .material-surface-label.is-front {
        left: 6%;
        bottom: 6%;
    }

    .comparison-accordion {
        display: block;
        margin-top: 1.5rem;
    }

    .metric-card-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 1.5rem;
        overflow: visible;
        scroll-snap-type: none;
        padding: 0;
    }

    .metric-card-grid::before {
        position: static;
        transform: none;
        justify-self: center;
        align-self: center;
        grid-row: 2;
        margin: 0.25rem 0;
    }

    .metric-card {
        flex: initial;
        width: 100%;
        grid-column: 1;
    }

    .metric-card + .metric-card {
        border-left: 0;
    }

    .faq-grid {
        max-width: 100%;
    }

    .faq-item {
        padding: 1.5rem 0;
    }

    .faq-question,
    .faq-answer {
        padding: 0 0.75rem;
    }

    .faq-question {
        font-size: 1.15rem;
    }

}
