/*
Theme Name: Eontyre
Description: Eontyre marketing templates and editorial pages.
Version: 1.0.0
Requires PHP: 8.3
Text Domain: eontyre
*/

:root {
    color-scheme: dark;
    --background: #080808;
    --surface: #151515;
    --border: #242424;
    --text: #f4f4f4;
    --muted: #b8b8b8;
    --accent: #ff803d;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font: 1rem/1.65 Inter, system-ui, sans-serif;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
img { height: auto; max-width: 100%; }
.eontyre-wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.eontyre-header { border-bottom: 1px solid var(--border); }
.eontyre-nav, .eontyre-footer .eontyre-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-block: 20px;
}
.eontyre-logo { display: block; width: 120px; }
.eontyre-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.eontyre-links a { color: var(--muted); text-decoration: none; }
.eontyre-links a:hover { color: var(--text); }
.eontyre-button {
    background: #ff6601;
    color: #080808;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 650;
    text-decoration: none;
}
.eontyre-main { min-height: 65vh; padding-block: clamp(48px, 8vw, 104px); }
.eontyre-main h1 {
    margin: .25em 0;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 650;
    letter-spacing: -.055em;
    line-height: 1.05;
    text-wrap: balance;
}
.eontyre-main h2 { line-height: 1.2; letter-spacing: -.025em; }
.eontyre-intro, .eontyre-card p { color: var(--muted); }
.eontyre-intro { max-width: 62ch; font-size: 1.15rem; }
.eontyre-eyebrow { color: var(--accent); font-size: .9rem; font-weight: 600; }
.eontyre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    gap: 20px;
    margin-block: 40px;
}
.eontyre-card {
    display: block;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    text-decoration: none;
}
.eontyre-card:hover { border-color: var(--accent); }
.eontyre-card img { width: 100%; display: block; aspect-ratio: 1.7; object-fit: cover; }
.eontyre-card div { padding: 20px; }
.eontyre-card h2 { margin: .3em 0 .45em; }
.eontyre-card p { margin: 0; }
.eontyre-article { width: min(760px, 100%); margin-inline: auto; }
.eontyre-article img { display: block; border-radius: 16px; }
.eontyre-article > img { margin-block: 32px; width: 100%; }
.eontyre-content { font-size: 1.08rem; }
.eontyre-content h2 { margin-top: 1.6em; }
.eontyre-content a { color: var(--accent); }
.eontyre-footer { border-top: 1px solid var(--border); color: var(--muted); }
@media (max-width: 600px) {
    .eontyre-wrap { width: calc(100% - 32px); }
    .eontyre-nav .eontyre-links { order: 1; width: 100%; }
}
