/* Hormel × Know More Stress Less presentation suite
   Tokens derived from brand.hormel.yaml v1.2.0 — registry wins on conflict. */
:root {
    --paper: oklch(96.5% 0.013 80);
    --paper-deep: oklch(93.5% 0.02 80);
    --surface: oklch(98.6% 0.008 85);
    --ink: oklch(27% 0.015 160);
    --ink-soft: oklch(46% 0.02 160);
    --line: oklch(88% 0.018 80);
    --canvas: oklch(37% 0.072 215);
    --canvas-deep: oklch(29% 0.06 222);
    --on-canvas: oklch(96.5% 0.015 85);
    --on-canvas-soft: oklch(96.5% 0.015 85 / 0.72);
    --teal: oklch(70% 0.1 210);
    --teal-deep: oklch(42% 0.08 220);
    --teal-tint: oklch(93.5% 0.032 205);
    --green: oklch(56% 0.125 135);
    --green-tint: oklch(93% 0.05 135);
    --gold: oklch(83% 0.125 88);
    --accent: oklch(68% 0.155 55);
    --accent-deep: oklch(52% 0.135 48);
    --accent-tint: oklch(94% 0.045 62);
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 24px 60px oklch(28% 0.03 200 / 0.14);
    --shadow-soft: 0 10px 28px oklch(28% 0.02 160 / 0.07);
    --font-ui: "Atkinson Hyperlegible", system-ui, sans-serif;
    --font-display: "Fraunces", Georgia, serif;
    --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: var(--font-ui);
    font-size: 16px;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.55;
    min-height: 100vh;
    background-image:
        radial-gradient(
            ellipse 80% 50% at 75% -10%,
            oklch(70% 0.1 210 / 0.08),
            transparent
        ),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
}
:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 2px;
}
a {
    color: var(--teal-deep);
}

/* Preview ribbon — stays until client_validated + official wordmark */
.preview-ribbon {
    background: var(--canvas-deep);
    color: var(--on-canvas-soft);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    padding: 0.45rem 1rem;
}
.preview-ribbon b {
    color: var(--gold);
}

.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 6rem;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(168deg, var(--canvas), var(--canvas-deep));
    color: var(--on-canvas);
    border-radius: var(--radius-lg);
    padding: 3.2rem 3rem 2.8rem;
    box-shadow: var(--shadow);
}
.hero .art {
    position: absolute;
    right: -30px;
    bottom: -16px;
    width: 320px;
    opacity: 0.22;
    pointer-events: none;
}
.hero .art svg {
    width: 100%;
    display: block;
}
.cobrand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
}
.cobrand .program {
    font-size: 0.95rem;
    font-weight: 700;
}
.cobrand .program em {
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
}
.wordmark-chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    align-self: flex-start;
    background: var(--surface);
    border-radius: 10px;
    padding: 0.4rem 0.75rem;
}
.wordmark-chip img {
    height: 30px;
    display: block;
}
.logo-slot {
    font-size: 0.55rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: oklch(96.5% 0.015 85 / 0.4);
    padding: 0.35rem 0.6rem;
    border: 1px dashed oklch(96.5% 0.015 85 / 0.4);
    border-radius: 7px;
    line-height: 1.35;
}
.hero h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.1rem, 5vw, 3.1rem);
    line-height: 1.04;
    letter-spacing: -0.01em;
    max-width: 17ch;
}
.hero h1 em {
    font-style: italic;
    color: var(--gold);
}
.hero p {
    margin-top: 1.1rem;
    font-size: 1.02rem;
    color: var(--on-canvas-soft);
    max-width: 56ch;
    line-height: 1.6;
}
.hero .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.6rem;
}
.hero .chip {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.45rem 0.85rem;
    border-radius: 99px;
    background: oklch(100% 0 0 / 0.11);
    border: 1px solid oklch(100% 0 0 / 0.2);
}

/* ── Sections ───────────────────────────────────────────────── */
section {
    scroll-margin-top: 80px;
}
.section-label {
    margin: 3rem 0 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-deep);
}
.section-sub {
    font-size: 0.95rem;
    color: var(--ink-soft);
    max-width: 70ch;
    margin-bottom: 1.3rem;
    line-height: 1.6;
}
.section-sub b {
    color: var(--ink);
}

/* Story: editorial, not cards */
.story {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem 2.2rem;
    box-shadow: var(--shadow-soft);
}
.beats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}
@media (max-width: 860px) {
    .beats {
        grid-template-columns: 1fr;
    }
}
.beat {
    border-top: 3px solid var(--gold);
    padding-top: 0.9rem;
}
.beat b {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.55rem;
    color: var(--teal-deep);
    display: block;
    line-height: 1.15;
}
.beat .head {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--green);
    margin: 0.3rem 0 0.5rem;
}
.beat p {
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.55;
}
.pull {
    background: var(--canvas);
    color: var(--on-canvas);
    border-radius: var(--radius);
    padding: 1.5rem 1.8rem;
    margin-top: 1.6rem;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.55;
}
.pull .accent {
    color: var(--gold);
}
.pull cite {
    display: block;
    margin-top: 0.7rem;
    font-family: var(--font-ui);
    font-style: normal;
    font-size: 0.75rem;
    opacity: 0.75;
}

/* Today / next panels */
.gap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}
@media (max-width: 860px) {
    .gap {
        grid-template-columns: 1fr;
    }
}
.panel {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.8rem;
    box-shadow: var(--shadow-soft);
}
.panel h3 {
    font-size: 1.08rem;
    margin-bottom: 0.8rem;
}
.panel.now h3 {
    color: var(--ink-soft);
}
.panel.next {
    background: var(--green-tint);
}
.panel.next h3 {
    color: var(--green);
}
.panel ul {
    list-style: none;
}
.panel li {
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.55rem;
    font-size: 0.9rem;
    color: var(--ink);
    line-height: 1.5;
}
.panel li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--line);
}
.panel.next li::before {
    background: var(--green);
}

/* Module cards (demos, decks, kit) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.1rem;
}
.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: var(--shadow-soft);
    transition:
        transform 0.25s var(--ease-out),
        box-shadow 0.25s var(--ease-out);
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.card .k {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-deep);
}
.card h3 {
    font-size: 1.15rem;
    line-height: 1.25;
}
.card p {
    font-size: 0.86rem;
    color: var(--ink-soft);
    flex: 1;
    line-height: 1.55;
}
.card a {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--teal-deep);
    text-decoration: none;
}
.card a:hover {
    text-decoration: underline;
}
.card .langs {
    font-size: 0.8rem;
    color: var(--ink-soft);
}

/* Road to OE: vertical rail timeline */
.road {
    position: relative;
    padding-left: 2rem;
}
.road::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 6px;
    bottom: 6px;
    width: 3px;
    border-radius: 2px;
    background: var(--line);
}
.stop {
    position: relative;
    padding: 0 0 1.5rem 1rem;
}
.stop::before {
    content: "";
    position: absolute;
    left: -1.62rem;
    top: 0.28em;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--surface);
    border: 3.5px solid var(--teal-deep);
}
.stop.hot::before {
    border-color: var(--accent);
    background: var(--accent-tint);
}
.stop b {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-deep);
    display: block;
    margin-bottom: 0.15rem;
}
.stop h3 {
    font-size: 1.02rem;
    margin-bottom: 0.2rem;
}
.stop p {
    font-size: 0.88rem;
    color: var(--ink-soft);
    max-width: 62ch;
    line-height: 1.55;
}

.footer-note {
    margin-top: 3.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
    font-size: 0.76rem;
    color: var(--ink-soft);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

@media print {
    .preview-ribbon {
        display: none;
    }
}
