:root {
    --color-ink: #15171a;
    --color-muted: #5b6470;
    --color-line: #d8dee5;
    --color-soft: #f4f6f8;
    --color-panel: #ffffff;
    --color-charcoal: #22262b;
    --color-red: #c83a2a;
    --color-red-dark: #9f2d22;
    --color-teal: #0f766e;
    --color-amber: #d89b27;
    --shadow: 0 18px 45px rgba(20, 24, 29, 0.12);
    --radius: 8px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-ink);
    background: var(--color-panel);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--color-red);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.12;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(2.7rem, 7vw, 5.4rem);
    max-width: 980px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
    font-size: 1.15rem;
}

p {
    color: var(--color-muted);
}

.skip-link,
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.skip-link:focus {
    z-index: 1000;
    top: 1rem;
    left: 1rem;
    width: auto;
    height: auto;
    padding: 0.75rem 1rem;
    clip: auto;
    color: #fff;
    background: var(--color-red);
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(21, 23, 26, 0.08);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 2rem, var(--max));
    min-height: 74px;
    margin: 0 auto;
    gap: 1.25rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-ink);
    text-decoration: none;
}

.brand__mark {
    display: grid;
    grid-template-columns: repeat(3, 0.42rem);
    align-items: end;
    gap: 0.16rem;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.55rem;
    background: var(--color-ink);
    border-radius: 4px;
}

.brand__mark span {
    display: block;
    width: 100%;
    background: #fff;
}

.brand__mark span:nth-child(1) {
    height: 0.62rem;
}

.brand__mark span:nth-child(2) {
    height: 1rem;
}

.brand__mark span:nth-child(3) {
    height: 1.32rem;
    background: var(--color-red);
}

.brand__text {
    display: grid;
    line-height: 1;
}

.brand__text strong {
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.brand__text small {
    margin-top: 0.25rem;
    color: var(--color-muted);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__list a {
    color: var(--color-ink);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.site-nav__list a:hover {
    color: var(--color-red);
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.78rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.header-cta,
.button--primary {
    color: #fff;
    background: var(--color-red);
}

.header-cta:hover,
.button--primary:hover {
    color: #fff;
    background: var(--color-red-dark);
    transform: translateY(-1px);
}

.button--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
}

.button--ghost:hover {
    color: #fff;
    border-color: #fff;
}

.button--light {
    color: var(--color-ink);
    background: #fff;
}

.button--small {
    min-height: 2.4rem;
    padding: 0.62rem 0.85rem;
    font-size: 0.9rem;
}

.nav-toggle {
    display: none;
    width: 2.6rem;
    height: 2.6rem;
    padding: 0.58rem;
    border: 1px solid var(--color-line);
    background: #fff;
    border-radius: 4px;
}

.nav-toggle__bar {
    display: block;
    height: 2px;
    margin: 0.28rem 0;
    background: var(--color-ink);
}

.hero {
    position: relative;
    display: grid;
    min-height: min(760px, calc(100vh - 74px));
    overflow: hidden;
    color: #fff;
    background: var(--color-charcoal);
}

.hero__media {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(15, 17, 19, 0.9), rgba(15, 17, 19, 0.56), rgba(15, 17, 19, 0.18)),
        url("../img/cable-hero.svg");
    background-position: center;
    background-size: cover;
}

.hero__content {
    position: relative;
    width: min(100% - 2rem, var(--max));
    margin: auto;
    padding: 5rem 0 6rem;
}

.hero__lead {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.08rem, 2vw, 1.42rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.hero__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 720px;
    margin: 3rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.hero__metrics div {
    padding: 1.1rem 1.1rem 0 0;
}

.hero__metrics dt {
    font-size: 1.55rem;
    font-weight: 900;
}

.hero__metrics dd {
    margin: 0.1rem 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.eyebrow {
    margin-bottom: 0.7rem;
    color: var(--color-red);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero .eyebrow,
.cta-band .eyebrow {
    color: #ffb19e;
}

.section,
.page-hero {
    width: min(100% - 2rem, var(--max));
    margin: 0 auto;
    padding: 5.5rem 0;
}

.section--tight {
    padding-top: 4rem;
}

.section__head {
    max-width: 820px;
    margin-bottom: 2rem;
}

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

.product-card,
.industry-card,
.resource-card,
.quality-stack article,
.catalog-item,
.rfq-form,
.check-panel {
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
}

.product-card a,
.industry-card,
.resource-card {
    display: block;
    height: 100%;
    padding: 1.35rem;
    text-decoration: none;
}

.product-card h3,
.industry-card h3,
.industry-card h2,
.resource-card h2 {
    margin-bottom: 0.7rem;
}

.product-card p,
.industry-card p,
.resource-card p {
    margin-bottom: 0;
}

.product-card__icon {
    display: block;
    width: 2.4rem;
    height: 2.4rem;
    margin-bottom: 1rem;
    border: 7px solid var(--color-line);
    border-top-color: var(--color-red);
    border-right-color: var(--color-teal);
    border-radius: 50%;
}

.section-link {
    margin-top: 1.4rem;
    font-weight: 800;
}

.finder-band,
.cta-band {
    display: grid;
    grid-template-columns: 1.2fr 1.1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 3rem max(1rem, calc((100vw - var(--max)) / 2));
    color: #fff;
    background: var(--color-charcoal);
}

.finder-band h2,
.cta-band h2 {
    margin-bottom: 0;
}

.finder-band p,
.finder-band li,
.cta-band p {
    color: rgba(255, 255, 255, 0.78);
}

.finder-band ul {
    margin: 0;
    padding-left: 1.2rem;
}

.section--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    align-items: center;
    gap: 3rem;
}

.section--alt {
    width: 100%;
    max-width: none;
    padding-right: max(1rem, calc((100vw - var(--max)) / 2));
    padding-left: max(1rem, calc((100vw - var(--max)) / 2));
    background: var(--color-soft);
}

.check-panel {
    padding: 1.4rem;
    box-shadow: var(--shadow);
}

.check-list {
    display: grid;
    gap: 0.78rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 1.55rem;
    color: var(--color-muted);
}

.check-list li::before {
    content: "";
    position: absolute;
    top: 0.55rem;
    left: 0;
    width: 0.7rem;
    height: 0.7rem;
    background: var(--color-teal);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px #fff;
}

.check-list--large {
    gap: 1rem;
}

.cta-band {
    grid-template-columns: 1fr auto;
    background:
        linear-gradient(90deg, rgba(34, 38, 43, 0.94), rgba(34, 38, 43, 0.72)),
        url("../img/offshore-cable.svg") center / cover;
}

.cta-band .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -1.2rem;
}

.page-hero {
    padding-top: 6.2rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--color-line);
}

.page-hero h1 {
    color: var(--color-ink);
}

.page-hero p {
    max-width: 800px;
    font-size: 1.16rem;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.catalog-nav {
    position: sticky;
    top: 96px;
    padding: 1rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-soft);
}

.catalog-nav h2 {
    margin-bottom: 0.85rem;
    font-size: 1rem;
}

.catalog-nav ul {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.catalog-nav a {
    color: var(--color-muted);
    font-weight: 700;
    text-decoration: none;
}

.catalog-list {
    display: grid;
    gap: 1rem;
}

.catalog-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 1.5rem;
    padding: 1.35rem;
    scroll-margin-top: 98px;
}

.catalog-item__panel {
    padding: 1rem;
    border-left: 3px solid var(--color-red);
    background: var(--color-soft);
    border-radius: 4px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1rem;
    margin: 1rem 0 0;
    padding-left: 1.2rem;
    color: var(--color-muted);
}

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

.industry-card a {
    color: var(--color-red);
    font-weight: 800;
}

.visual-panel {
    min-height: 430px;
    border-radius: var(--radius);
    background-color: var(--color-charcoal);
    background-position: center;
    background-size: cover;
    box-shadow: var(--shadow);
}

.visual-panel--fiber {
    background-image: url("../img/fiber-bundle.svg");
}

.visual-panel--plant {
    background-image: url("../img/cable-hero.svg");
}

.quality-stack {
    display: grid;
    gap: 1rem;
}

.quality-stack article {
    padding: 1.2rem;
}

.section--faq {
    padding-top: 1rem;
}

details {
    padding: 1.1rem 0;
    border-top: 1px solid var(--color-line);
}

details:last-child {
    border-bottom: 1px solid var(--color-line);
}

summary {
    cursor: pointer;
    font-weight: 900;
}

.section--contact {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 2rem;
    align-items: start;
}

.rfq-form {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

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

label {
    display: grid;
    gap: 0.4rem;
    color: var(--color-ink);
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 2.8rem;
    padding: 0.72rem 0.8rem;
    border: 1px solid var(--color-line);
    border-radius: 4px;
    color: var(--color-ink);
    background: #fff;
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(15, 118, 110, 0.18);
    border-color: var(--color-teal);
}

.form-status {
    margin: 0;
    padding: 0.8rem 1rem;
    border-radius: 4px;
    font-weight: 800;
}

.form-status--success {
    color: #07584f;
    background: #dff6f2;
}

.form-status--error {
    color: #862319;
    background: #ffe2dc;
}

.single-content .entry-content {
    width: min(100% - 2rem, 820px);
    margin: 0 auto;
    padding: 4rem 0 6rem;
}

.site-footer {
    color: #fff;
    background: #15171a;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 2rem;
    width: min(100% - 2rem, var(--max));
    margin: 0 auto;
    padding: 4rem 0 3rem;
}

.site-footer h2 {
    margin-bottom: 0.85rem;
    color: #fff;
    font-size: 1rem;
}

.site-footer p,
.site-footer a {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer ul {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.brand--footer .brand__mark {
    background: #fff;
}

.brand--footer .brand__mark span {
    background: var(--color-ink);
}

.brand--footer .brand__mark span:nth-child(3) {
    background: var(--color-red);
}

.brand--footer .brand__text small {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    width: min(100% - 2rem, var(--max));
    margin: 0 auto;
    padding: 1.2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__bottom p {
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 980px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 74px;
        right: 1rem;
        left: 1rem;
        display: none;
        padding: 1rem;
        border: 1px solid var(--color-line);
        background: #fff;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav__list {
        display: grid;
        gap: 0.8rem;
    }

    .header-cta {
        margin-left: auto;
    }

    .product-grid,
    .industry-grid,
    .resource-grid,
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .finder-band,
    .cta-band,
    .section--split,
    .section--contact,
    .catalog-layout,
    .catalog-item {
        grid-template-columns: 1fr;
    }

    .catalog-nav {
        position: static;
    }
}

@media (max-width: 700px) {
    .site-header__inner {
        min-height: 66px;
    }

    .brand__text small,
    .header-cta {
        display: none;
    }

    .site-nav {
        top: 66px;
    }

    .hero {
        min-height: 680px;
    }

    .hero__content {
        padding: 4rem 0 4.5rem;
    }

    .hero__metrics,
    .product-grid,
    .industry-grid,
    .resource-grid,
    .form-grid,
    .feature-list,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .section,
    .page-hero {
        padding: 4rem 0;
    }

    .finder-band,
    .cta-band {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .visual-panel {
        min-height: 280px;
    }

    .site-footer__bottom {
        display: grid;
    }
}
