/* Jeffrium - shared styles */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --bg: #f7f6f3;
    --bg-alt: #efeee9;
    --bg-card: #ffffff;
    --text: #1a1c22;
    --text-dim: #5c6270;
    --accent: #ff6b35;
    --accent-2: #e2551f;
    --on-accent: #1c1206;
    --border: rgba(20, 22, 30, 0.1);
    --shadow: 0 10px 30px rgba(20, 22, 30, 0.06);
    --shadow-hover: 0 16px 40px rgba(20, 22, 30, 0.1);
    --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* The [hidden] attribute must always win, even against a class like
   .calc-layout that sets display:grid at equal specificity, since author
   styles beat the UA default [hidden]{display:none} regardless of source order. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

a { color: inherit; }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }

/* Background grid texture */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(20, 22, 30, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 22, 30, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

/* Header / Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(247, 246, 243, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

nav {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 2rem;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text);
    text-decoration: none;
}

.logo span { color: var(--accent); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-links a.cta {
    color: var(--on-accent);
    background: var(--accent);
    padding: 0.55rem 1.2rem;
    border-radius: 30px;
}

.nav-links a.cta:hover { background: var(--accent-2); color: #fff; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Page hero (non-home pages) */
.page-hero {
    padding: 10rem 2rem 3.5rem;
    max-width: var(--max);
    margin: 0 auto;
}

.eyebrow {
    display: inline-block;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.page-hero h1 { font-size: 2.6rem; margin-bottom: 1rem; }
.page-hero p { color: var(--text-dim); font-size: 1.1rem; max-width: 640px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 107, 53, 0.28); background: var(--accent-2); color: #fff; }

.btn-outline { border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero (home) */
.hero-bleed {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bleed-photo {
    position: absolute;
    inset: 0;
}

.hero-bleed-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) contrast(1.1) brightness(0.85);
}

.hero-bleed-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, #14161c 0%, #14161cd9 32%, #14161c99 48%, rgba(20, 22, 28, 0.35) 62%, rgba(20, 22, 28, 0.15) 100%);
}

.hero-bleed .hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--max);
    padding: 11rem 2rem 5rem 4rem;
    margin: 0 auto;
}

.hero-bleed .hero-content-inner { max-width: 560px; }

.hero-bleed .eyebrow { color: #ff8a5c; }
.hero-bleed h1 { color: #f7f6f3; }
.hero-bleed h1 .accent { color: #ff8a5c; }
.hero-bleed p { color: #c7c9d1; }
.hero-bleed .btn-outline { border-color: rgba(247, 246, 243, 0.35); color: #f7f6f3; }
.hero-bleed .btn-outline:hover { border-color: #ff8a5c; color: #ff8a5c; }


.hero-content h1 {
    font-size: 3.4rem;
    margin-bottom: 1.2rem;
}

.hero-content .accent { color: var(--accent); }

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Stat strip */
.stat-strip {
    max-width: var(--max);
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat-strip div { text-align: center; }

.stat-strip .num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    color: var(--accent);
    font-weight: 700;
}

.stat-strip .label { color: var(--text-dim); font-size: 0.9rem; margin-top: 0.3rem; }

/* Section headers */
.section-head {
    max-width: 640px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-head h2 { font-size: 2.2rem; margin-bottom: 0.8rem; }
.section-head p { color: var(--text-dim); }

section.block { padding: 6rem 2rem; }
section.block.alt { background: var(--bg-alt); }

/* Services grid */
.services-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 107, 53, 0.35);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent);
    color: var(--on-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.service-icon svg { width: 22px; height: 22px; }

.service-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--text-dim); font-size: 0.95rem; }
.service-card a.more { display: inline-block; margin-top: 1rem; font-size: 0.9rem; color: var(--accent); text-decoration: none; }

/* Process steps */
.process {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.process-step {
    border-left: 2px solid var(--accent);
    padding-left: 1.2rem;
}

.process-step .step-num {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}

.process-step h3 { font-size: 1.1rem; margin: 0.4rem 0 0.5rem; }
.process-step p { color: var(--text-dim); font-size: 0.92rem; }

/* About */
.about-content {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.about-image img { transition: transform 0.4s ease; }
.about-image:hover img { transform: scale(1.04); }

.credentials {
    list-style: none;
    margin: 1.5rem 0;
    display: grid;
    gap: 0.7rem;
}

.credentials li {
    color: var(--text-dim);
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.credentials li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--accent);
}

.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.3rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 25px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.social-link:hover { border-color: var(--accent); color: var(--accent); }
.social-link svg { width: 18px; height: 18px; }

/* Contact */
.contact-layout {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
}

.contact-info h2 { font-size: 2rem; margin-bottom: 1rem; }
.contact-info p { color: var(--text-dim); margin-bottom: 1.5rem; }

.contact-detail { margin-bottom: 1.2rem; }
.contact-detail .k { font-size: 0.8rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-detail .v { font-size: 1.05rem; margin-top: 0.2rem; }

.contact-form { display: grid; gap: 1.2rem; }

.form-group { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group.full-width { grid-template-columns: 1fr; }

input, textarea {
    padding: 0.9rem 1rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

input:focus, textarea:focus { outline: none; border-color: var(--accent); }
input::placeholder, textarea::placeholder { color: var(--text-dim); }
textarea { resize: vertical; min-height: 130px; }

.submit-btn {
    padding: 0.9rem 1.8rem;
    background: var(--accent);
    color: var(--on-accent);
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    justify-self: start;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255, 107, 53, 0.28); background: var(--accent-2); color: #fff; }

/* Range sliders */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
}

input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 3px;
    background: var(--border);
}

input[type="range"]::-moz-range-track {
    height: 6px;
    border-radius: 3px;
    background: var(--border);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    margin-top: -7px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(20, 22, 30, 0.3);
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(20, 22, 30, 0.3);
    cursor: pointer;
}

input[type="range"]:focus { outline: none; }
input[type="range"]:focus::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.25); }

.form-note { font-size: 0.85rem; color: var(--text-dim); }
.hint-tag { font-weight: 400; color: var(--accent); font-size: 0.78rem; }

.insight-box {
    margin-top: 1.2rem;
    padding: 1rem 1.2rem;
    background: var(--bg-alt);
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--text-dim);
    text-align: left;
    line-height: 1.6;
}

.insight-box strong { color: var(--text); }
.insight-box .insight-band { color: var(--accent); font-weight: 600; }

/* Tools page */
.tools-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tool-card {
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: 14px;
    padding: 2rem;
    position: relative;
}

.tool-card .badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    border: 1px solid rgba(255, 107, 53, 0.4);
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
}

.tool-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; padding-right: 5rem; }
.tool-card p { color: var(--text-dim); font-size: 0.95rem; }

.tool-card-link {
    display: block;
    text-decoration: none;
    border-style: solid;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tool-card-link:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(255, 107, 53, 0.5); }

.tool-card .badge-live { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }

/* Sales-hook CTA (free tool -> custom work) */
.sales-hook {
    max-width: var(--max);
    margin: 3rem auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem 2.2rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.02));
    border: 1px solid rgba(255, 107, 53, 0.25);
}

.sales-hook h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.sales-hook p { color: var(--text-dim); font-size: 0.95rem; max-width: 480px; }
.sales-hook .btn { flex-shrink: 0; }

/* ---- WRC-1992 / Schaeffler tool ---- */

.calc-disclaimer {
    max-width: var(--max);
    margin: 0 auto 2.5rem;
    padding: 1.25rem 1.5rem;
    background: #fff7ed;
    border: 1px solid #f3b98a;
    border-left: 4px solid var(--accent);
    border-radius: 10px;
    color: #5c4326;
    font-size: 0.88rem;
}

.calc-disclaimer strong { color: #3d2c14; }
.calc-disclaimer .disclaimer-title {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: #3d2c14;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.calc-layout {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.alloy-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow);
}

.alloy-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.alloy-card-head input[type="text"] {
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
}

.alloy-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    white-space: nowrap;
}

.dilution-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.dilution-row label { font-size: 0.85rem; color: var(--text-dim); white-space: nowrap; }
.dilution-row input { max-width: 100px; }

.field-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.field-grid label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 0.3rem;
}

.field-grid input { width: 100%; padding: 0.6rem 0.7rem; font-size: 0.92rem; }

.alloy-fieldset[data-active="false"] { opacity: 0.4; pointer-events: none; }

.dilution-status {
    font-size: 0.85rem;
    margin: -0.5rem 0 1.5rem;
    padding: 0.6rem 1rem;
    border-radius: 8px;
}

.dilution-status.ok { color: #2f8a4a; background: rgba(60, 170, 100, 0.1); }
.dilution-status.warn { color: var(--accent-2); background: rgba(255, 107, 53, 0.1); }

.results-col { position: sticky; top: 6.5rem; }

.chart-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.chart-card h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.chart-card .chart-sub { color: var(--text-dim); font-size: 0.82rem; margin-bottom: 1rem; }
.chart-card .chart-source { color: var(--text-dim); font-size: 0.75rem; margin-top: 0.6rem; }

.chart-card svg {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--border);
}

/* Al-Cu cracking tool - controls bar + side-by-side chart row */
.alcu-controls {
    max-width: var(--max);
    margin: 0 auto 1.5rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.alcu-controls .alloy-card {
    flex: 1 1 320px;
    margin-bottom: 0;
}

.cracking-charts-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.cracking-charts-grid .chart-card { margin-bottom: 0; }

@media (max-width: 1100px) {
    .cracking-charts-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
    .alcu-controls { flex-direction: column; }
    .cracking-charts-grid { grid-template-columns: 1fr; }
}

.mode-result {
    text-align: center;
    padding: 1.5rem;
}

.mode-result .mode-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    color: var(--accent);
    font-weight: 700;
}

.mode-result .mode-ratio { color: var(--text-dim); font-size: 0.9rem; margin-top: 0.3rem; }

.mode-result-compact {
    padding: 0 0 1.2rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.mode-result-compact .mode-name { font-size: 1.4rem; }

/* Tabs - WRC-1992 / Schaeffler tool */
.tab-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: var(--bg-alt);
    padding: 0.35rem;
    border-radius: 12px;
}

.tab-btn {
    flex: 1;
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: var(--text-dim);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.tab-btn.active-tab {
    background: var(--bg-card);
    color: var(--text);
    box-shadow: var(--shadow);
}

.tab-panel[hidden] { display: none; }

.comp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.comp-table th, .comp-table td {
    padding: 0.5rem 0.4rem;
    text-align: right;
    border-bottom: 1px solid var(--border);
    color: var(--text-dim);
}

.comp-table th:first-child, .comp-table td:first-child { text-align: left; color: var(--text); }
.comp-table tr:last-child td { color: var(--text); font-weight: 600; border-bottom: none; }

@media (max-width: 960px) {
    .calc-layout { grid-template-columns: 1fr; }
    .results-col { position: static; }
    .field-grid { grid-template-columns: repeat(2, 1fr); }
}

.notify-form {
    max-width: 480px;
    margin: 3rem auto 0;
    display: flex;
    gap: 0.75rem;
}

.notify-form input { flex: 1; }

/* CTA band */
.cta-band {
    max-width: var(--max);
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.02));
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.cta-band h2 { font-size: 2rem; margin-bottom: 0.8rem; }
.cta-band p { color: var(--text-dim); margin-bottom: 1.8rem; }

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-inner .logo { font-size: 1.1rem; }
footer .footer-links { display: flex; gap: 1.5rem; list-style: none; }
footer .footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; }
footer .footer-links a:hover { color: var(--accent); }
footer .copyright { color: var(--text-dim); font-size: 0.85rem; width: 100%; margin-top: 1.5rem; text-align: center; }
footer .legal-note { color: var(--text-dim); font-size: 0.78rem; width: 100%; margin-top: 0.75rem; text-align: center; opacity: 0.85; }

/* Responsive */
@media (max-width: 860px) {
    .about-content, .contact-layout { grid-template-columns: 1fr; }
    .about-content { text-align: center; }
    .about-image { order: -1; }
    .hero-bleed .hero-content { padding-left: 2rem; }
    .hero-bleed-photo::after {
        background: linear-gradient(180deg, rgba(14, 16, 22, 0.55) 0%, rgba(14, 16, 22, 0.86) 55%, rgba(14, 16, 22, 0.93) 100%);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(247, 246, 243, 0.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 2rem;
        gap: 1.2rem;
        border-bottom: 1px solid var(--border);
        display: none;
    }

    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }

    .hero { padding-top: 8.5rem; }
    .hero-content h1 { font-size: 2.3rem; }
    .page-hero { padding-top: 8rem; }

    .stat-strip { grid-template-columns: 1fr; gap: 1.5rem; }
    .form-group { grid-template-columns: 1fr; }
    .notify-form { flex-direction: column; }
    .submit-btn { justify-self: stretch; }
    .sales-hook { flex-direction: column; align-items: flex-start; }
}
