/*
Theme Name: Æther Facet
Description: WordPress theme for Æther Facet Design Bench.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: aether-facet
*/
:root {
    --paper:#f3ede4;
    --surface:#fffaf4;
    --line:#d7cab9;
    --ink:#211f1c;
    --muted:#675c50;
    --teal:#154c57;
    --dark:#17323b;
    --copper:#87482a;
}

* {
    box-sizing:border-box;
}

body {
    margin:0;
    color:var(--ink);
    font:16px/1.55 system-ui,sans-serif;
    background:linear-gradient(#154c570e 1px,transparent 1px),linear-gradient(90deg,#154c570b 1px,transparent 1px),var(--paper);
    background-size:48px 48px;
}

a {
    color:var(--teal);
}

.topbar {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    flex-wrap:wrap;
    min-height:76px;
    padding:12px clamp(16px,4vw,52px);
    background:var(--surface);
    border-bottom:1px solid var(--line);
}

.brand {
    display:flex;
    align-items:center;
    gap:16px;
    text-decoration:none;
    font-weight:800;
    color:var(--dark);
}

.brand-mark {
    display:grid;
    place-items:center;
    background:var(--teal);
    color:white;
    width:36px;
    height:36px;
    transform:rotate(45deg);
    margin:5px;
}

.brand-mark span {
    transform:rotate(-45deg);
    font:700 21px Georgia;
}

.topbar nav,.actions {
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    align-items:center;
}

.topbar nav a {
    text-decoration:none;
    padding:5px;
}

.topbar nav a:hover {
    text-decoration:underline;
}

.button {
    display:inline-block;
    border-radius:8px;
    background:var(--copper);
    color:white;
    padding:10px 16px;
    font-weight:700;
    text-decoration:none;
}

.button.secondary {
    background:var(--surface);
    border:1px solid var(--line);
    color:var(--dark);
}

.shell {
    width:min(1440px,100%);
    margin:auto;
    padding:clamp(22px,4vw,52px);
}

.hero {
    display:grid;
    grid-template-columns: .84fr 1.16fr;
    gap:clamp(24px,5vw,54px);
    align-items:center;
    min-height:calc(100vh - 76px);
}

h1,h2,h3 {
    color:var(--dark);
    line-height:1.13;
}

h1 {
    font:700 clamp(38px,6vw,82px)/.98 Georgia,serif;
    margin:0 0 20px;
}

h2 {
    margin-top:0;
}

.eyebrow {
    font-size:.76rem;
    text-transform:uppercase;
    color:var(--copper);
    font-weight:800;
}

.lead {
    font-size:clamp(18px,2vw,24px);
    color:var(--muted);
}

.panel,.cards article {
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:16px;
    padding:clamp(16px,3vw,30px);
}

.hero ol {
    list-style:none;
    padding:0;
    margin:0;
    counter-reset:steps;
}

.hero li {
    counter-increment:steps;
    padding:14px 0;
    border-top:1px solid var(--line);
    display:grid;
    grid-template-columns:42px 1fr;
    gap:8px;
}

.hero li:before {
    content:counter(steps,decimal-leading-zero);
    color:var(--copper);
    font-weight:800;
}

.hero li p {
    margin:3px 0;
    color:var(--muted);
}

.cards {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

.section {
    margin:40px 0;
}

.footer {
    border-top:1px solid var(--line);
    padding:24px clamp(16px,4vw,52px);
    color:var(--muted);
}

.skip {
    position:absolute;
    left:8px;
    top:-100px;
    background:var(--surface);
    padding:8px;
}

.skip:focus {
    top:8px;
    z-index:10;
}

.entry {
    max-width:75ch;
}

.entry img {
    max-width:100%;
    height:auto;
}

@media(max-width:800px) {
    .hero,.cards {
        grid-template-columns:1fr;
    }

    .hero {
        min-height:0;
    }

}
