/* =============================================================
   World Panel — Frontend Stylesheet
   Aesthetic: Editorial / Luxury Industrial
   Palette:   Deep Ocean Navy · Warm Teak · Bone Cream
   Type:      Fraunces (display) · DM Sans (body) · JetBrains Mono (technical)
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=DM+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    /* === Palette === */
    --ink:        #0d1f2d;        /* Deep ocean navy */
    --ink-soft:   #1a3142;
    --ink-mute:   #4a5d6e;
    --teak:       #b07641;        /* Warm wood */
    --teak-dark:  #8a5a30;
    --teak-light: #d29a6e;
    --bone:       #f4efe7;        /* Warm paper */
    --bone-dark:  #e6dfd2;
    --paper:      #fbf9f5;
    --line:       #d8d2c5;
    --line-soft:  #e8e2d4;
    --text:       #1a1814;
    --text-mute:  #6b6961;
    --white:      #ffffff;
    --black:      #0a0a08;
    --shadow:     0 1px 2px rgba(13,31,45,0.04), 0 4px 12px rgba(13,31,45,0.06);
    --shadow-lg:  0 4px 24px rgba(13,31,45,0.08), 0 16px 64px rgba(13,31,45,0.12);

    /* === Type === */
    --serif:  'Fraunces', 'Georgia', serif;
    --sans:   'DM Sans', -apple-system, system-ui, sans-serif;
    --mono:   'JetBrains Mono', ui-monospace, monospace;

    /* === Layout === */
    --container: 1320px;
    --gutter:    24px;
    --radius:    2px;
    --header-h:  88px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--teak); }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--ink);
    margin: 0 0 .5em;
    font-variation-settings: "opsz" 96;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

::selection { background: var(--ink); color: var(--bone); }

/* === Container === */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.container-narrow {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* === Eyebrow === */
.eyebrow {
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teak);
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
}
.eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--teak);
    display: inline-block;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
    padding: 16px 32px;
    border: 1px solid transparent;
    background: var(--ink);
    color: var(--bone);
    font-family: var(--sans);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: all .25s ease;
    border-radius: var(--radius);
    line-height: 1;
}
.btn:hover { background: var(--teak); color: var(--white); transform: translateY(-1px); }
.btn-light {
    background: var(--bone);
    color: var(--ink);
    border-color: var(--ink);
}
.btn-light:hover { background: var(--ink); color: var(--bone); }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bone); }
.btn-arrow::after {
    content: '→';
    transition: transform .25s ease;
}
.btn-arrow:hover::after { transform: translateX(4px); }
.btn-block { display: flex; width: 100%; justify-content: center; }
.btn-sm { padding: 10px 20px; font-size: 0.84rem; }

/* === Top bar (very thin) === */
.topbar {
    background: var(--ink);
    color: var(--bone);
    font-size: 0.78rem;
    padding: 8px 0;
    letter-spacing: 0.04em;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.topbar a { color: var(--bone); opacity: 0.85; }
.topbar a:hover { opacity: 1; color: var(--teak-light); }
.topbar-left { display: flex; gap: 24px; align-items: center; }
.topbar-right { display: flex; gap: 18px; align-items: center; }
.lang-switch a {
    padding: 0 6px;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
}
.lang-switch a.active { color: var(--teak-light); font-weight: 500; }

/* === Header === */
.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line-soft);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(251, 249, 245, 0.92);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}
.logo {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 0.4em;
}
.logo-mark {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: var(--ink);
    color: var(--bone);
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    font-size: 0.75rem;
    font-family: var(--mono);
    letter-spacing: 0;
    margin-right: 8px;
}
.logo span.tag {
    font-family: var(--mono);
    font-size: 0.62rem;
    color: var(--text-mute);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 400;
}

/* === Main nav === */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.main-nav > ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
}
.main-nav > ul > li {
    position: relative;
}
.main-nav > ul > li > a {
    display: block;
    padding: 30px 18px;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.01em;
    position: relative;
}
.main-nav > ul > li > a::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 22px;
    height: 1px;
    background: var(--teak);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.main-nav > ul > li:hover > a::after,
.main-nav > ul > li.active > a::after { transform: scaleX(1); }

.main-nav > ul > li.has-children > a::before {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    opacity: 0.5;
}

/* Mega-dropdown */
.mega {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 8px);
    background: var(--paper);
    min-width: 280px;
    padding: 16px 0;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line-soft);
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility 0s .25s;
}
.main-nav > ul > li:hover .mega,
.main-nav > ul > li:focus-within .mega {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
    transition: opacity .25s ease, transform .25s ease;
}
.mega li a {
    display: block;
    padding: 10px 24px;
    font-size: 0.86rem;
    color: var(--ink);
    transition: background .2s ease, color .2s ease, padding .2s ease;
    white-space: nowrap;
}
.mega li a:hover {
    background: var(--bone);
    color: var(--teak);
    padding-left: 30px;
}

/* CTA in nav */
.nav-cta {
    margin-left: 20px;
    padding: 12px 24px !important;
    background: var(--ink) !important;
    color: var(--bone) !important;
    font-size: 0.82rem !important;
    border-radius: var(--radius);
    transition: all .25s ease;
}
.nav-cta:hover { background: var(--teak) !important; }
.nav-cta::after { display: none; }

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--ink);
    transition: transform .3s ease;
}

/* === Hero === */
.hero {
    position: relative;
    background: var(--ink);
    color: var(--bone);
    padding: clamp(96px, 14vw, 200px) 0 clamp(96px, 14vw, 200px);
    overflow: hidden;
    isolation: isolate;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    opacity: 0.45;
    z-index: -2;
    transform: scale(1.05);
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(13,31,45,0.55) 0%, rgba(13,31,45,0.85) 100%),
        radial-gradient(ellipse at top right, rgba(176,118,65,0.2), transparent 60%);
    z-index: -1;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 1080px;
}
.hero h1 {
    color: var(--bone);
    font-weight: 400;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 1.02;
    margin: 0 0 .5em;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.hero h1 em {
    font-style: italic;
    color: var(--teak-light);
    font-weight: 400;
}
.hero p.lead {
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    line-height: 1.55;
    color: rgba(244, 239, 231, 0.78);
    max-width: 56ch;
    margin: 0 0 2em;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn-light { background: var(--teak); color: var(--white); border-color: var(--teak); }
.hero-actions .btn-light:hover { background: var(--white); color: var(--ink); }
.hero-actions .btn-ghost { color: var(--bone); border-color: rgba(244, 239, 231, 0.3); }
.hero-actions .btn-ghost:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.hero-meta {
    position: absolute;
    bottom: 32px;
    right: 32px;
    font-family: var(--mono);
    font-size: 0.7rem;
    color: rgba(244, 239, 231, 0.5);
    letter-spacing: 0.15em;
    text-align: right;
    line-height: 1.7;
}
.hero-meta strong { color: var(--teak-light); font-weight: 500; }

/* === Section spacing === */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 48px;
    margin-bottom: clamp(48px, 6vw, 80px);
    flex-wrap: wrap;
}
.section-head h2 {
    margin: 0.4em 0 0;
    max-width: 18ch;
}
.section-head .subtitle {
    flex: 1;
    max-width: 480px;
    color: var(--text-mute);
    font-size: 1rem;
    margin: 0;
}

/* === Category grid (homepage) === */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}
.cat-card {
    background: var(--paper);
    padding: 40px 32px;
    grid-column: span 4;
    position: relative;
    text-decoration: none;
    color: var(--ink);
    transition: background .35s ease;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.cat-card:nth-child(1) { grid-column: span 6; min-height: 380px; }
.cat-card:nth-child(2) { grid-column: span 6; min-height: 380px; }
.cat-card:nth-child(3) { grid-column: span 4; }
.cat-card:nth-child(4) { grid-column: span 4; }
.cat-card:nth-child(5) { grid-column: span 4; }
.cat-card:nth-child(6) { grid-column: span 6; }
.cat-card:nth-child(7) { grid-column: span 6; }
.cat-card .num {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--teak);
    letter-spacing: 0.2em;
}
.cat-card h3 {
    font-size: clamp(1.4rem, 2vw, 2rem);
    margin: 0;
    font-weight: 400;
}
.cat-card .desc {
    color: var(--text-mute);
    font-size: 0.92rem;
    line-height: 1.55;
    max-width: 38ch;
    margin: 12px 0 0;
}
.cat-card .arrow {
    align-self: flex-start;
    margin-top: 24px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .35s ease;
}
.cat-card:hover { background: var(--bone); }
.cat-card:hover .arrow { background: var(--ink); color: var(--bone); transform: rotate(-45deg); }
.cat-card:hover h3 { color: var(--ink); }

/* === Product grid === */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}
.product-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease;
}
.product-card .img-wrap {
    aspect-ratio: 4 / 5;
    background: var(--bone);
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
}
.product-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.product-card:hover .img-wrap img { transform: scale(1.04); }
.product-card .meta {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--teak);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.product-card h3 {
    font-size: 1.12rem;
    font-weight: 500;
    margin: 0 0 6px;
    line-height: 1.3;
    color: var(--ink);
}
.product-card .desc {
    font-size: 0.86rem;
    color: var(--text-mute);
    line-height: 1.5;
    margin: 0;
}
.product-card .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--ink);
    color: var(--bone);
    font-family: var(--mono);
    font-size: 0.62rem;
    padding: 4px 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* === Why-us strip === */
.whyus {
    background: var(--ink);
    color: var(--bone);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}
.whyus::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(176,118,65,0.15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(176,118,65,0.1), transparent 50%);
}
.whyus .container { position: relative; }
.whyus h2 { color: var(--bone); }
.whyus .eyebrow { color: var(--teak-light); }
.whyus .eyebrow::before { background: var(--teak-light); }

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    background: rgba(244, 239, 231, 0.15);
    border: 1px solid rgba(244, 239, 231, 0.15);
    margin-top: 48px;
}
.stat {
    background: var(--ink);
    padding: 40px 32px;
    text-align: left;
}
.stat .num {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
    color: var(--teak-light);
    line-height: 1;
    font-variation-settings: "opsz" 144;
    margin-bottom: 12px;
}
.stat .label {
    font-size: 0.85rem;
    color: rgba(244, 239, 231, 0.75);
    line-height: 1.4;
    max-width: 26ch;
}

/* === Cert strip === */
.certs {
    padding: 56px 0;
    background: var(--bone);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}
.certs-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}
.certs-label {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: var(--text-mute);
    text-transform: uppercase;
    max-width: 200px;
}
.certs-list {
    display: flex;
    align-items: center;
    gap: 56px;
    flex: 1;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.certs-list .cert {
    font-family: var(--serif);
    font-size: 1rem;
    color: var(--ink);
    letter-spacing: 0.04em;
    opacity: 0.7;
    transition: opacity .25s ease;
}
.certs-list .cert:hover { opacity: 1; }
.certs-list img { max-height: 48px; opacity: 0.7; }

/* === About teaser === */
.about-teaser {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 8vw, 120px);
    align-items: center;
}
.about-teaser .text h2 { max-width: 14ch; }
.about-teaser .text p {
    font-size: 1.08rem;
    color: var(--ink-mute);
    line-height: 1.6;
}
.about-teaser .img {
    aspect-ratio: 4/5;
    background: var(--bone-dark) url('/assets/img/placeholder.svg') center/cover;
    position: relative;
}
.about-teaser .img::after {
    content: '';
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 100px;
    height: 100px;
    background: var(--teak);
    z-index: -1;
}

/* === Articles strip === */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.article-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.article-card .img-wrap {
    aspect-ratio: 16/10;
    background: var(--bone);
    overflow: hidden;
    margin-bottom: 20px;
}
.article-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.article-card:hover img { transform: scale(1.05); }
.article-card .date {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--teak);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.article-card h3 {
    font-size: 1.4rem;
    margin: 0 0 12px;
    color: var(--ink);
    font-weight: 400;
}
.article-card .excerpt {
    font-size: 0.95rem;
    color: var(--text-mute);
    margin: 0;
    line-height: 1.55;
}

/* === Big CTA === */
.cta-strip {
    position: relative;
    padding: clamp(96px, 12vw, 160px) 0;
    background: var(--teak);
    color: var(--white);
    overflow: hidden;
    isolation: isolate;
}
.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--cta-bg);
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    z-index: -2;
    mix-blend-mode: multiply;
}
.cta-strip::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(176,118,65,0.85), rgba(138,90,48,0.95));
    z-index: -1;
}
.cta-strip h2 {
    color: var(--white);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 400;
    max-width: 22ch;
    margin: 0 0 .5em;
}
.cta-strip p {
    color: rgba(255,255,255,0.85);
    max-width: 50ch;
    font-size: 1.1rem;
    margin: 0 0 2em;
}
.cta-strip .btn { background: var(--ink); color: var(--bone); }
.cta-strip .btn:hover { background: var(--white); color: var(--ink); transform: none; }

/* === Footer === */
.site-footer {
    background: var(--ink);
    color: var(--bone);
    padding: 96px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}
.footer-brand h3 {
    color: var(--bone);
    font-size: 1.6rem;
    margin: 0 0 16px;
    font-weight: 400;
}
.footer-brand p {
    color: rgba(244, 239, 231, 0.65);
    font-size: 0.92rem;
    line-height: 1.55;
    max-width: 32ch;
}
.footer-col h4 {
    color: var(--bone);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: var(--mono);
    font-weight: 500;
    margin: 0 0 24px;
}
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
    color: rgba(244, 239, 231, 0.7);
    font-size: 0.9rem;
}
.footer-col ul a:hover { color: var(--teak-light); }

.footer-bottom {
    border-top: 1px solid rgba(244, 239, 231, 0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.78rem;
    color: rgba(244, 239, 231, 0.5);
    font-family: var(--mono);
    letter-spacing: 0.05em;
}
.footer-bottom a { color: rgba(244, 239, 231, 0.6); }
.footer-bottom a:hover { color: var(--teak-light); }
.footer-social {
    display: flex;
    gap: 16px;
    align-items: center;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(244, 239, 231, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}
.footer-social a:hover { background: var(--teak); border-color: var(--teak); color: var(--white); }

/* === Breadcrumb === */
.breadcrumb {
    padding: 24px 0;
    background: var(--bone);
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.84rem;
}
.breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-mute);
}
.breadcrumb li:not(:last-child)::after { content: '/'; opacity: 0.4; margin-left: 4px; }
.breadcrumb a { color: var(--ink); }
.breadcrumb a:hover { color: var(--teak); }

/* === Page hero (category, product) === */
.page-hero {
    padding: clamp(72px, 10vw, 120px) 0 clamp(48px, 6vw, 72px);
    background: var(--bone);
    border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 {
    margin: 16px 0 24px;
    max-width: 18ch;
}
.page-hero .lead {
    max-width: 60ch;
    font-size: 1.1rem;
    color: var(--ink-mute);
    line-height: 1.55;
}

/* === Sub-categories === */
.subcats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 48px;
}
.subcat-pill {
    padding: 10px 20px;
    border: 1px solid var(--line);
    background: var(--paper);
    font-size: 0.84rem;
    color: var(--ink);
    transition: all .25s ease;
    border-radius: 999px;
}
.subcat-pill:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }

/* === Product detail === */
.product-detail {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: start;
    padding: clamp(48px, 6vw, 80px) 0;
}
.product-gallery {
    position: sticky;
    top: 120px;
}
.product-gallery .main-img {
    aspect-ratio: 1;
    background: var(--bone);
    overflow: hidden;
    margin-bottom: 16px;
}
.product-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery .thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.product-gallery .thumbs img {
    aspect-ratio: 1;
    background: var(--bone);
    object-fit: cover;
    cursor: pointer;
    border: 1px solid var(--line);
}
.product-info h1 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin: 0 0 16px;
    font-weight: 400;
}
.product-info .sku {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--text-mute);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}
.product-info .short {
    font-size: 1.1rem;
    color: var(--ink-mute);
    line-height: 1.55;
    margin-bottom: 32px;
}
.product-section {
    border-top: 1px solid var(--line);
    padding: 32px 0;
}
.product-section h3 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: var(--mono);
    color: var(--teak);
    margin: 0 0 16px;
    font-weight: 500;
}
.product-section .specs {
    font-family: var(--mono);
    font-size: 0.86rem;
    line-height: 1.9;
    white-space: pre-line;
    color: var(--ink);
}
.product-section .applications,
.product-section .description-body {
    font-size: 0.96rem;
    line-height: 1.65;
    color: var(--text);
}
.cert-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-tag {
    padding: 6px 12px;
    background: var(--bone);
    border: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--ink);
}
.product-cta {
    margin-top: 32px;
    padding: 32px;
    background: var(--ink);
    color: var(--bone);
}
.product-cta h4 {
    color: var(--bone);
    margin: 0 0 8px;
    font-size: 1.2rem;
}
.product-cta p {
    color: rgba(244, 239, 231, 0.7);
    font-size: 0.9rem;
    margin: 0 0 20px;
}
.product-cta .btn { background: var(--teak); color: var(--white); border-color: var(--teak); }
.product-cta .btn:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* === Forms === */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; }
.field label {
    font-size: 0.78rem;
    color: var(--text-mute);
    margin-bottom: 8px;
    letter-spacing: 0.04em;
    font-weight: 500;
}
.field input,
.field select,
.field textarea {
    padding: 14px 16px;
    border: 1px solid var(--line);
    background: var(--paper);
    font-family: inherit;
    font-size: 0.96rem;
    color: var(--ink);
    transition: border-color .2s ease;
    border-radius: 0;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.flash {
    padding: 14px 18px;
    margin-bottom: 24px;
    border-left: 3px solid var(--teak);
    background: var(--bone);
    font-size: 0.95rem;
}
.flash.success { border-color: #2d8a4f; background: #e8f5ed; color: #1a5530; }
.flash.error   { border-color: #c14545; background: #fbecec; color: #6f1a1a; }

/* === Contact page === */
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-info { padding-top: 32px; }
.contact-info h3 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: var(--mono);
    color: var(--teak);
    font-weight: 500;
    margin: 0 0 12px;
}
.contact-info .warehouse {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line);
}
.contact-info .warehouse h4 {
    font-size: 1.2rem;
    margin: 0 0 12px;
    color: var(--ink);
    font-weight: 500;
}
.contact-info p {
    margin: 0 0 6px;
    font-size: 0.95rem;
    color: var(--ink-mute);
}
.contact-info a { color: var(--ink); border-bottom: 1px solid currentColor; }

/* === FAQ === */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 28px 0;
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
    font-size: 1.15rem;
    font-weight: 500;
    margin: 0;
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.4;
}
.faq-item .toggle {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
    font-size: 1.1rem;
    line-height: 1;
}
.faq-item[open] .toggle { background: var(--ink); color: var(--bone); transform: rotate(45deg); }
.faq-item .answer {
    margin-top: 18px;
    color: var(--ink-mute);
    line-height: 1.65;
    max-width: 70ch;
}

/* === Blog === */
.blog-list .article-card { margin-bottom: 56px; }

.article-detail {
    max-width: 720px;
    margin: 0 auto;
    padding: 80px 0;
}
.article-detail h1 { font-size: clamp(2rem, 3.5vw, 3rem); }
.article-detail .meta-row {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--text-mute);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.article-detail .featured-img {
    aspect-ratio: 16/9;
    background: var(--bone);
    margin: 0 0 48px;
}
.article-detail .content {
    font-size: 1.08rem;
    line-height: 1.75;
}
.article-detail .content h2 { margin-top: 1.5em; }
.article-detail .content p { margin: 0 0 1.4em; }
.article-detail .content ul { padding-left: 1.5em; }

/* === Pagination === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 64px;
    list-style: none;
    padding: 0;
}
.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 0.86rem;
    font-family: var(--mono);
    transition: all .2s ease;
}
.pagination a:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.pagination .current { background: var(--ink); color: var(--bone); border-color: var(--ink); }

/* === 404 === */
.error-page {
    padding: 160px 0;
    text-align: center;
}
.error-page .code {
    font-family: var(--serif);
    font-size: clamp(8rem, 20vw, 16rem);
    color: var(--teak);
    line-height: 1;
    font-weight: 400;
    opacity: 0.7;
    font-variation-settings: "opsz" 144;
}
.error-page h1 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin: 16px 0 16px;
}
.error-page p { color: var(--text-mute); max-width: 50ch; margin: 0 auto 32px; }

/* === Mobile nav drawer === */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 100vw);
    background: var(--paper);
    z-index: 200;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    padding: 24px;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer .close {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 1.4rem;
    margin-left: auto;
    display: block;
}
.mobile-drawer ul {
    list-style: none;
    margin: 24px 0;
    padding: 0;
}
.mobile-drawer ul li { border-bottom: 1px solid var(--line-soft); }
.mobile-drawer ul li a {
    display: block;
    padding: 18px 0;
    font-size: 1.1rem;
    color: var(--ink);
    font-weight: 500;
}
.mobile-drawer ul ul { margin: 0 0 16px 0; }
.mobile-drawer ul ul li { border: none; }
.mobile-drawer ul ul li a {
    padding: 8px 0 8px 20px;
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--text-mute);
}
.scrim {
    position: fixed;
    inset: 0;
    background: rgba(13,31,45,0.4);
    backdrop-filter: blur(2px);
    z-index: 199;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility 0s .3s;
}
.scrim.open { opacity: 1; visibility: visible; transition: opacity .3s ease; }

/* === Responsive === */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid .footer-col:nth-child(n+4) { grid-column: span 1; }
    .footer-brand { grid-column: 1 / -1; }
    .product-detail { grid-template-columns: 1fr; gap: 48px; }
    .product-gallery { position: static; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-teaser { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 860px) {
    .main-nav { display: none; }
    .nav-toggle { display: flex; }
    .topbar-left { display: none; }
    .cat-grid { grid-template-columns: 1fr; }
    .cat-card,
    .cat-card:nth-child(n) { grid-column: span 1; min-height: 220px; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .hero-meta { display: none; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.7rem; }
    .btn { padding: 14px 24px; font-size: 0.86rem; }
    .product-grid { gap: 24px; }
    .product-grid { grid-template-columns: 1fr 1fr; }
    .product-card .img-wrap { aspect-ratio: 1; }
    .product-card h3 { font-size: 0.95rem; }
    .product-card .desc { display: none; }
}

/* === Print === */
@media print {
    .site-header, .site-footer, .topbar, .cta-strip, .nav-toggle { display: none; }
    body { background: white; color: black; }
}
