/* ============ ORGANIZE AGAINST THE MACHINE · oatmpod.com ============
   Palette + devices lifted from the cover art (cover.jpg):
   red field, cyan highlighter block, pale-blue slab type, hatched offset
   shadows, hand-drawn boxes.
*/

:root {
    --red:      #EA2828;   /* sampled from cover.jpg */
    --red-deep: #B81B1B;
    --cyan:     #00E5FF;   /* sampled from cover.jpg */
    --cyan-deep:#00B4CC;
    --pale:     #B2E5F6;   /* sampled from cover.jpg */
    --ink:      #0B0B0F;
    --bone:     #F4EEE7;
    --bone-dim: #CFC6BA;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 19px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--red);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--cyan); color: var(--ink); }

/* print-grain overlay, matches the distressed texture on the artwork */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9;
    opacity: 0.10;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ============ TYPE HELPERS ============ */
.slab {
    font-family: 'Roboto Slab', Rockwell, Georgia, serif;
    font-weight: 900;
    letter-spacing: -0.015em;
    line-height: 1.02;
    text-transform: lowercase;
}
.type {
    font-family: 'Courier Prime', 'IBM Plex Mono', monospace;
    font-weight: 700;
}
.label {
    font-family: 'Courier Prime', 'IBM Plex Mono', monospace;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

/* cyan highlighter block, hand-torn edges — the "organize" treatment */
.mark {
    position: relative;
    display: inline-block;
    isolation: isolate;
    padding: 0 .16em;
}
.mark::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0.10em -0.10em 0.04em -0.10em;
    background: var(--cyan);
    transform: rotate(-0.7deg);
    clip-path: polygon(0.4% 6%, 99.6% 0%, 100% 92%, 0.8% 100%);
}

/* hatched offset shadow behind display type */
.hatch { position: relative; display: inline-block; isolation: isolate; }
.hatch::before {
    content: attr(data-text);
    position: absolute;
    left: 0.085em;
    top: 0.075em;
    z-index: -1;
    color: transparent;
    background-image: repeating-linear-gradient(
        -45deg,
        var(--ink) 0 2px,
        transparent 2px 6px
    );
    -webkit-background-clip: text;
    background-clip: text;
    white-space: nowrap;
}
/* the stripes have to contrast with whatever the section sits on */
.sec-ink .hatch::before {
    background-image: repeating-linear-gradient(-45deg, var(--cyan) 0 2px, transparent 2px 6px);
}
.sec-bone .hatch::before {
    background-image: repeating-linear-gradient(-45deg, var(--red) 0 2px, transparent 2px 6px);
}
.sec-red .hatch::before {
    background-image: repeating-linear-gradient(-45deg, var(--cyan) 0 2px, transparent 2px 6px);
}

/* the boxed "ai" from the cover */
.aibox {
    display: inline-block;
    background: var(--cyan);
    color: #fff;
    padding: 0.02em 0.16em 0.06em;
    border: 2.5px solid var(--ink);
    border-radius: 8px 10px 7px 11px / 10px 7px 11px 8px;
    box-shadow: 3px 3px 0 var(--ink);
    line-height: 1;
    text-transform: lowercase;
    font-family: 'Roboto Slab', Rockwell, Georgia, serif;
    font-weight: 900;
    transform: rotate(-1deg);
    margin: 0 0.14em 0 0.04em;
    vertical-align: -0.06em;
}

/* hand-drawn double rule, like the one under "machine" */
.scribble {
    display: block;
    width: 190px;
    height: 14px;
    margin: 22px 0 0;
    overflow: visible;
}
.scribble line { stroke-width: 2.4; stroke-linecap: round; fill: none; }

/* hand-drawn frame */
.sketch {
    border: 3px solid var(--ink);
    border-radius: 255px 14px 225px 15px / 15px 225px 14px 255px;
}

/* ============ NAV ============ */
.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--red);
    border-bottom: 3px solid var(--ink);
}
.nav-in {
    max-width: 1120px;
    margin: 0 auto;
    padding: 13px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.nav-mark {
    font-family: 'Courier Prime', monospace;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.06em;
    color: var(--ink);
    text-decoration: none;
}
.nav-mark .hl { background: var(--cyan); padding: 2px 5px; }
.nav-short { display: none; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { white-space: nowrap; }
.nav-links a {
    font-family: 'Courier Prime', monospace;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}
.nav-links a:hover { border-bottom-color: var(--ink); }

/* ============ HERO ============ */
.hero { padding: 68px 0 66px; }
.hero-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 60px;
    align-items: center;
}
.hero-grid > * { min-width: 0; }
.art {
    position: relative;
}
.art img {
    border: 4px solid var(--ink);
    border-radius: 2px;
    box-shadow: 14px 14px 0 rgba(11,11,15,0.30);
}
.art::after {
    /* cyan sketch outline peeking out behind the artwork */
    content: "";
    position: absolute;
    inset: 14px -16px -16px 14px;
    border: 3px solid var(--cyan);
    z-index: -1;
    transform: rotate(-0.8deg);
    border-radius: 255px 14px 225px 15px / 15px 225px 14px 255px;
}

.kicker {
    color: var(--ink);
    display: inline-block;
    margin-bottom: 24px;
    background: var(--pale);
    padding: 6px 12px;
    border: 2.5px solid var(--ink);
    transform: rotate(-1.2deg);
}
.deck {
    font-family: 'Roboto Slab', Rockwell, Georgia, serif;
    font-weight: 700;
    font-size: clamp(27px, 3.3vw, 40px);
    line-height: 1.18;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.deck em { font-style: normal; color: #fff; }
.sub {
    margin-top: 26px;
    font-size: 20px;
    line-height: 1.55;
    color: rgba(11,11,15,0.88);
    max-width: 34em;
}
.sub strong { color: var(--ink); }

/* ============ BUTTONS ============ */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: 'Courier Prime', monospace;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 22px;
    border: 3px solid var(--ink);
    background: var(--cyan);
    color: var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    transition: transform .08s ease, box-shadow .08s ease;
}
.btn:hover { transform: translate(2px,2px); box-shadow: 3px 3px 0 var(--ink); }
.btn:active { transform: translate(5px,5px); box-shadow: 0 0 0 var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ink { background: var(--cyan); color: var(--ink); border-color: var(--cyan); box-shadow: 5px 5px 0 var(--red); }
.btn-ink:hover { box-shadow: 3px 3px 0 var(--red); }
.btn-ink:active { box-shadow: 0 0 0 var(--red); }

/* ============ HATCH BAND divider ============ */
.band {
    height: 26px;
    background-image: repeating-linear-gradient(
        -45deg, var(--ink) 0 6px, transparent 6px 14px
    );
    border-top: 3px solid var(--ink);
    border-bottom: 3px solid var(--ink);
}

/* ============ SECTIONS ============ */
section { position: relative; }
.sec { padding: 92px 0; }
.sec-ink { background: var(--ink); color: var(--bone); }
.sec-bone { background: var(--bone); color: var(--ink); }

.sec-head { margin-bottom: 52px; }
.sec-head h2 {
    font-family: 'Roboto Slab', Rockwell, Georgia, serif;
    font-weight: 900;
    text-transform: lowercase;
    font-size: clamp(38px, 5.4vw, 66px);
    line-height: 1.0;
    letter-spacing: -0.02em;
}
.sec-ink .sec-head h2 { color: var(--pale); }
.sec-ink .scribble line { stroke: var(--cyan); }
.sec-bone .scribble line { stroke: var(--ink); }
.hero .scribble line, .sec-red .scribble line { stroke: var(--ink); }

/* premise cards */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.card {
    border: 3px solid var(--cyan);
    padding: 30px 26px 34px;
    background: rgba(255,255,255,0.03);
    border-radius: 255px 14px 225px 15px / 15px 225px 14px 255px;
}
.card h3 {
    font-family: 'Roboto Slab', Rockwell, Georgia, serif;
    font-weight: 900;
    text-transform: lowercase;
    font-size: 25px;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 14px;
}
.card p { font-size: 17px; line-height: 1.6; color: var(--bone-dim); }
.card .n {
    font-family: 'Courier Prime', monospace;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.2em;
    color: var(--cyan);
    display: block;
    margin-bottom: 16px;
}

/* hosts */
.hosts { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.host {
    background: #fff;
    border: 3px solid var(--ink);
    padding: 34px 30px 36px;
    box-shadow: 9px 9px 0 var(--red);
}
.host:nth-child(2) { box-shadow: 9px 9px 0 var(--cyan); }
.host h3 {
    font-family: 'Roboto Slab', Rockwell, Georgia, serif;
    font-weight: 900;
    font-size: 30px;
    line-height: 1.05;
    margin-bottom: 6px;
}
.host .role {
    font-family: 'Courier Prime', monospace;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red-deep);
    margin-bottom: 18px;
}
.host p { font-size: 17.5px; line-height: 1.58; color: #2c2c2c; }
.host p + p { margin-top: 13px; }
.host .links { margin-top: 20px; display: flex; gap: 16px; flex-wrap: wrap; }
.host .links a {
    font-family: 'Courier Prime', monospace;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-bottom: 2px solid var(--cyan);
    padding-bottom: 1px;
}
.host .links a:hover { background: var(--cyan); }

/* listen */
.sec-red { background: var(--red); }
.platforms {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 40px;
}
.plat {
    border: 3px solid var(--ink);
    background: var(--bone);
    padding: 26px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
    transition: transform .08s ease, box-shadow .08s ease;
}
.plat:hover { transform: translate(2px,2px); box-shadow: 4px 4px 0 var(--ink); }
.plat .name {
    font-family: 'Roboto Slab', serif;
    font-weight: 900;
    font-size: 19px;
    display: block;
}
.plat .state {
    font-family: 'Courier Prime', monospace;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7b7268;
    display: block;
    margin-top: 8px;
}
/* the one card that actually goes somewhere */
.plat:not([aria-disabled]) .state { color: var(--red-deep); }
.plat[aria-disabled="true"] { cursor: default; opacity: 0.94; }
.plat[aria-disabled="true"]:hover { transform: none; box-shadow: 6px 6px 0 var(--ink); }

.signup {
    border: 3px solid var(--ink);
    background: var(--ink);
    color: var(--bone);
    padding: 40px 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    flex-wrap: wrap;
    box-shadow: 9px 9px 0 rgba(11,11,15,0.35);
}
.signup h3 {
    font-family: 'Roboto Slab', serif;
    font-weight: 900;
    text-transform: lowercase;
    font-size: clamp(26px, 3.2vw, 36px);
    line-height: 1.06;
    color: var(--pale);
}
.signup p { margin-top: 10px; color: var(--bone-dim); font-size: 17px; max-width: 30em; }

/* footer */
.foot {
    background: var(--ink);
    color: var(--bone-dim);
    padding: 54px 0 60px;
    border-top: 3px solid var(--cyan);
}
.foot-in { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-end; }
.foot .type { color: var(--pale); font-size: 15px; letter-spacing: 0.04em; }
.foot small { display: block; margin-top: 12px; font-size: 13.5px; line-height: 1.6; }
.foot a { color: var(--cyan); text-decoration: none; border-bottom: 1px solid rgba(0,229,255,0.4); }
.foot a:hover { border-bottom-color: var(--cyan); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .art { width: min(460px, 100%); }
    .cards { grid-template-columns: 1fr; }
    .hosts { grid-template-columns: 1fr; gap: 30px; }
    .platforms { grid-template-columns: repeat(2, 1fr); }
    .nav-links { gap: 15px; }
    .sec { padding: 68px 0; }
    .hero { padding: 52px 0 64px; }
}
@media (max-width: 560px) {
    body { font-size: 18px; }
    .wrap { padding: 0 20px; }
    .nav-in { padding: 11px 20px; gap: 12px; }
    .nav-links { gap: 13px; }
    .nav-links a { font-size: 11px; letter-spacing: 0.05em; }
    .nav-mark { font-size: 13px; letter-spacing: 0.08em; }
    .nav-long { display: none; }
    .nav-short { display: inline; }
    .deck { font-size: 26px; }
    .btn { padding: 12px 16px; font-size: 12.5px; letter-spacing: 0.07em; }
    .btn-row { gap: 10px; }
    .platforms { grid-template-columns: 1fr; }
    .signup { padding: 30px 24px; }
    .host { padding: 26px 22px 28px; }
    .hatch::before { display: none; }
}
