/*
Theme Name: Zenon GeneratePress Child
Description: Zenon Optics editorial site on GeneratePress.
Template: generatepress
Version: 0.2.1
Text Domain: zenon-generatepress-child
*/

.zenon-site {
    --zenon-black: #000;
    --zenon-surface: #111114;
    --zenon-line: #2a2a2f;
    --zenon-red: #e60012;
    --zenon-text: #fff;
    --zenon-muted: #b9b9c1;
    --zenon-display: Manrope, "Arial Black", Helvetica, Arial, sans-serif;
    background: var(--zenon-black);
    color: var(--zenon-text);
    font-family: Inter, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

.zenon-site a { color: inherit; }
.zenon-site a:focus-visible { outline: 2px solid #ff565f; outline-offset: 4px; }
.zenon-container { width: min(1200px, calc(100% - 4rem)); margin-inline: auto; }
.zenon-header { background: #070708; border-bottom: 1px solid var(--zenon-line); }
.zenon-header-inner,
.zenon-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.zenon-header-inner { min-height: 74px; }
.zenon-brand { display: inline-flex; gap: .65rem; align-items: center; text-decoration: none; white-space: nowrap; font: 800 1.2rem/1.2 var(--zenon-display); }
.zenon-brand img { display: block; object-fit: cover; }
.zenon-brand strong { color: #ff3d47; }
.zenon-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem clamp(.65rem, 1.7vw, 1.65rem); list-style: none; margin: 0; padding: 0; }
.zenon-nav a { display: inline-flex; align-items: center; min-height: 42px; text-decoration: none; color: #dfdfe4; font-size: .84rem; font-weight: 700; }
.zenon-nav a:hover, .zenon-nav [aria-current] { color: #ff4d57; }
.zenon-skip { position: absolute; z-index: 100; top: .5rem; left: .5rem; translate: 0 -175%; padding: .65rem .9rem; background: #161619; }
.zenon-skip:focus { translate: 0 0; }

.zenon-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: min(90svh, 900px);
    padding-block: clamp(4.25rem, 12vw, 9rem);
    overflow: hidden;
}
.zenon-hero-media, .zenon-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.zenon-hero-media { z-index: -2; object-fit: cover; object-position: 67% 50%; }
.zenon-hero-video { opacity: 0; pointer-events: none; }
.zenon-hero-video.zenon-frame-ready { opacity: 1; }
.zenon-hero::after { z-index: -1; content: ""; background: linear-gradient(90deg, rgba(0,0,0,.90) 0%, rgba(0,0,0,.68) 62%, rgba(0,0,0,.40) 100%); }
.zenon-motion {
    position: absolute;
    inset: auto 2rem 2rem auto;
    padding: .6rem .85rem;
    background: #151518;
    color: #f6f6f6;
    border: 1px solid #767680;
    font: inherit;
    font-size: .82rem;
    cursor: pointer;
}
.zenon-motion[hidden] { display: none; }
.zenon-motion:focus-visible { outline: 2px solid #ff565f; outline-offset: 4px; }
.zenon-hero h1, .zenon-page-hero h1 {
    max-width: 15ch;
    margin: 0 0 1.25rem;
    font: 850 clamp(2.3rem, 6.5vw, 5.3rem)/1.02 var(--zenon-display);
    letter-spacing: -.045em;
    text-transform: uppercase;
    overflow-wrap: break-word;
}
.zenon-hero h1 { max-width: 18ch; }
.zenon-hero h1 span { color: #ff3c48; }
.zenon-hero p, .zenon-page-hero p { max-width: 52ch; margin: 0 0 2rem; color: #e9e9eb; font-size: clamp(1rem, 1.6vw, 1.25rem); }
.zenon-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.zenon-site .zenon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .75rem 1.4rem;
    min-height: 48px;
    background: var(--zenon-red);
    border: 1px solid var(--zenon-red);
    color: #fff;
    font-weight: 750;
    text-decoration: none;
    text-align: center;
}
.zenon-site .zenon-button:hover { background: #ba0312; border-color: #ba0312; }
.zenon-site .zenon-button-outline { background: transparent; border-color: #e2e2e7; }
.zenon-site .zenon-button-outline:hover { background: #222228; border-color: #fff; }

.zenon-section, .zenon-prose { padding-block: clamp(3rem, 7vw, 6rem); }
.zenon-section h2 { font: 800 clamp(1.8rem, 3vw, 2.7rem)/1.13 var(--zenon-display); margin-bottom: 1.7rem; }
.zenon-lab-summary { background: var(--zenon-surface); border-bottom: 1px solid var(--zenon-line); }
.zenon-lab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 7rem); align-items: center; }
.zenon-lab-grid p { max-width: 44ch; color: var(--zenon-muted); }
.zenon-lab-grid ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--zenon-line); }
.zenon-lab-grid li { padding: .95rem .85rem; border-bottom: 1px solid var(--zenon-line); border-inline-start: 3px solid var(--zenon-red); font-weight: 700; }
.zenon-section-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; gap: 1px; background: var(--zenon-line); border: 1px solid var(--zenon-line); }
.zenon-section-list a { display: flex; justify-content: space-between; gap: 1rem; background: var(--zenon-surface); min-height: 72px; padding: 1.2rem; align-items: center; font-weight: 700; text-decoration: none; }
.zenon-section-list a:hover { background: #232326; }
.zenon-section-list span { color: #ff4d57; }
.zenon-page-hero { padding-block: clamp(3.5rem, 8vw, 7rem); background: var(--zenon-surface); border-bottom: 1px solid var(--zenon-line); }
.zenon-page-hero h1::after { display: block; width: 3.5rem; height: 3px; margin-top: 1.35rem; background: var(--zenon-red); content: ""; }
.zenon-page-hero p { margin-bottom: 0; color: var(--zenon-muted); }
.zenon-prose > * { max-width: 70ch; }
.zenon-prose h2 { font: 800 clamp(1.35rem, 2.5vw, 2rem)/1.2 var(--zenon-display); margin: 2.25rem 0 .75rem; }
.zenon-prose h2:first-child { margin-top: 0; }
.zenon-prose p, .zenon-prose li { color: #d4d4db; }
.zenon-prose a { color: #ff626c; text-underline-offset: .18em; }
.zenon-footer { border-top: 1px solid var(--zenon-line); color: var(--zenon-muted); padding-block: 2rem; }
.zenon-footer-inner { align-items: flex-start; }
.zenon-footer p { margin: .45rem 0 0; }

@media (prefers-reduced-motion: reduce), (max-width: 820px) {
    .zenon-hero-video, .zenon-motion { display: none !important; }
}

@media (max-width: 820px) {
    .zenon-container { width: calc(100% - 2rem); }
    .zenon-header-inner, .zenon-footer-inner { align-items: flex-start; flex-direction: column; gap: .4rem; }
    .zenon-header-inner { padding-top: .55rem; padding-bottom: .45rem; }
    .zenon-section-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zenon-lab-grid { grid-template-columns: 1fr; }
}

@media (max-width: 490px) {
    .zenon-hero { min-height: min(78svh, 680px); }
    .zenon-hero::after { background: rgba(0,0,0,.67); }
    .zenon-actions { align-items: stretch; flex-direction: column; }
    .zenon-section-list { grid-template-columns: 1fr; }
    .zenon-nav a { font-size: .76rem; }
}
