:root {
    color-scheme: dark;
    --ink: #101311;
    --night: #070b0b;
    --paper: #f2eee4;
    --muted: #aeb3a8;
    --line: rgba(242, 238, 228, .18);
    --acid: #d8f224;
    --blue: #315cff;
    --clay: #c88c57;
    --coral: #f06f54;
    --teal: #2cc7a0;
    --max: 1180px;
}

@font-face {
    font-family: "Soth Serif";
    src: url("/assets/fonts/Lora.ttf") format("truetype");
    font-display: swap;
}

* {
    box-sizing: border-box;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--night);
    color: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
[role="button"],
input[type="button"],
input[type="submit"],
input[type="reset"],
.button {
    cursor: pointer;
}

button:disabled,
input:disabled,
[aria-disabled="true"] {
    cursor: not-allowed;
}

.site-header {
    position: absolute;
    z-index: 80;
    inset: 0 0 auto;
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-header--solid {
    position: relative;
}

.brand,
.site-nav,
.hero__actions,
.site-footer nav {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 780;
    letter-spacing: .02em;
}

.brand > span:last-child {
    white-space: nowrap;
}

.brand__mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(216, 242, 36, .45);
    border-radius: 50%;
    color: var(--acid);
    font-weight: 840;
}

.site-nav {
    gap: 22px;
    color: rgba(242, 238, 228, .82);
    font-size: 13px;
    font-weight: 720;
}

.nav-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    display: none;
    place-items: center;
    border: 1px solid rgba(216, 242, 36, .32);
    border-radius: 50%;
    background: rgba(7, 11, 11, .72);
    color: var(--paper);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
    backdrop-filter: blur(16px);
}

.nav-toggle__icon {
    width: 17px;
    height: 12px;
    position: relative;
    display: block;
}

.nav-toggle__icon span {
    position: absolute;
    right: 0;
    width: 17px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transition: top .22s ease, transform .22s ease;
}

.nav-toggle__icon span:first-child {
    top: 2px;
}

.nav-toggle__icon span:last-child {
    top: 9px;
}

.site-header.is-nav-open .nav-toggle__icon span:first-child {
    top: 5.5px;
    transform: rotate(45deg);
}

.site-header.is-nav-open .nav-toggle__icon span:last-child {
    top: 5.5px;
    transform: rotate(-45deg);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    letter-spacing: .08em;
}

.language-switcher button,
.footer-link {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.language-switcher button {
    position: relative;
    opacity: .46;
}

.language-switcher button::after {
    position: absolute;
    right: 0;
    bottom: -4px;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transition: transform .18s ease;
}

.language-switcher button:hover,
.language-switcher button.is-active {
    opacity: 1;
}

.language-switcher button.is-active::after {
    transform: scaleX(1);
}

.site-nav a:hover,
.site-footer a:hover,
.footer-link:hover {
    color: var(--acid);
}

.hero {
    min-height: 82svh;
    position: relative;
    display: grid;
    align-items: end;
    overflow: hidden;
    background: #050808;
}

.hero__media,
.hero__shade {
    position: absolute;
    inset: 0;
}

.hero__media {
    background-image: url("/assets/saying-of-the-hour-v5.png");
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero__shade {
    background:
        linear-gradient(90deg, rgba(5, 8, 8, .94) 0%, rgba(5, 8, 8, .73) 34%, rgba(5, 8, 8, .22) 74%),
        linear-gradient(0deg, rgba(5, 8, 8, .96) 0%, rgba(5, 8, 8, .18) 48%, rgba(5, 8, 8, .46) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    padding: 148px 0 84px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--acid);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 860px;
    margin-bottom: 24px;
    font-size: clamp(58px, 11vw, 142px);
    line-height: .9;
    font-weight: 850;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(36px, 5.8vw, 76px);
    line-height: .95;
    font-weight: 830;
}

.post-finder {
    width: min(var(--max), calc(100% - 40px));
    margin: 72px auto 0;
    padding: clamp(34px, 6vw, 70px);
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    gap: clamp(34px, 7vw, 92px);
    align-items: end;
    overflow: hidden;
    border: 1px solid rgba(216, 242, 36, .26);
    border-radius: 30px;
    background:
        radial-gradient(circle at 92% 5%, rgba(49, 92, 255, .2), transparent 38%),
        linear-gradient(135deg, rgba(216, 242, 36, .12), rgba(242, 238, 228, .055) 48%, rgba(240, 111, 84, .1));
}

.post-finder__copy h2 {
    max-width: 650px;
    font-family: "Soth Serif", Georgia, serif;
    font-weight: 700;
}

.post-finder__copy > p:last-child {
    max-width: 590px;
    margin: 24px 0 0;
    color: rgba(242, 238, 228, .7);
    font-size: 17px;
}

.post-finder__form {
    display: grid;
    gap: 11px;
}

.post-finder__form label {
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.post-finder__control {
    padding: 7px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    border: 1px solid rgba(242, 238, 228, .2);
    border-radius: 999px;
    background: rgba(5, 8, 8, .66);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 18px 44px rgba(0, 0, 0, .2);
}

.post-finder__control:focus-within {
    border-color: rgba(216, 242, 36, .78);
    box-shadow: 0 0 0 4px rgba(216, 242, 36, .1), 0 18px 44px rgba(0, 0, 0, .2);
}

.post-finder__control input {
    min-width: 0;
    padding: 8px 16px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--paper);
    font: 750 clamp(22px, 3vw, 31px)/1 Inter, ui-sans-serif, system-ui, sans-serif;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.post-finder__control input::placeholder {
    color: rgba(242, 238, 228, .34);
}

.post-finder__form small {
    color: rgba(242, 238, 228, .5);
    font-size: 12px;
}

.ig-lookup-page {
    min-height: 100svh;
    background:
        radial-gradient(circle at 15% 12%, rgba(216, 242, 36, .08), transparent 28%),
        radial-gradient(circle at 88% 22%, rgba(49, 92, 255, .12), transparent 34%),
        var(--night);
}

.ig-detail {
    width: min(940px, calc(100% - 40px));
    min-height: calc(100svh - 190px);
    margin: 0 auto;
    padding: 96px 0 86px;
}

.ig-detail__intro {
    position: relative;
}

.ig-code-pill {
    margin-bottom: 22px;
    padding: 7px 12px;
    display: inline-flex;
    border: 1px solid rgba(216, 242, 36, .35);
    border-radius: 999px;
    color: var(--acid);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .1em;
}

.ig-detail h1 {
    max-width: 900px;
    margin-bottom: 24px;
    font-family: "Soth Serif", Georgia, serif;
    font-size: clamp(48px, 8vw, 94px);
    line-height: .96;
    font-weight: 700;
}

.ig-detail__summary {
    max-width: 760px;
    margin-bottom: 22px;
    color: rgba(242, 238, 228, .72);
    font-size: clamp(17px, 2vw, 21px);
}

.ig-detail__meta {
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.ig-detail__meta span {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(242, 238, 228, .08);
    color: rgba(242, 238, 228, .68);
    font-size: 11px;
    font-weight: 760;
    text-transform: uppercase;
}

.recipe-web {
    margin-top: 58px;
    overflow: hidden;
    border: 1px solid rgba(242, 238, 228, .16);
    border-radius: 30px;
    background: #fff9ef;
    color: #2b2522;
    box-shadow: 0 34px 90px rgba(0, 0, 0, .22);
}

.recipe-web__actions {
    min-height: 82px;
    padding: 16px 20px 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(13, 17, 16, .98);
    color: var(--paper);
}

.recipe-web__actions > p {
    margin: 0;
    color: rgba(242, 238, 228, .65);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.recipe-web__actions > div {
    display: flex;
    gap: 8px;
}

.recipe-action {
    min-height: 46px;
    padding: 0 19px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: 800 12px/1 Inter, ui-sans-serif, system-ui, sans-serif;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.recipe-action:hover,
.recipe-action:focus-visible {
    outline: none;
    transform: translateY(-1px);
}

.recipe-action--primary {
    background: var(--acid);
    color: var(--ink);
}

.recipe-action--primary:hover,
.recipe-action--primary:focus-visible {
    background: #e7ff40;
}

.recipe-action--secondary {
    border-color: rgba(242, 238, 228, .2);
    background: rgba(242, 238, 228, .06);
    color: var(--paper);
}

.recipe-action--secondary:hover,
.recipe-action--secondary:focus-visible {
    border-color: rgba(216, 242, 36, .5);
    color: var(--acid);
}

.recipe-web__feature {
    margin: 0;
    aspect-ratio: 1;
    overflow: hidden;
    background: #191916;
}

.recipe-web__feature img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.recipe-web__sheet {
    padding: clamp(34px, 6vw, 66px);
}

.recipe-web__meta {
    padding-bottom: 34px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    border-bottom: 1px solid rgba(43, 37, 34, .17);
}

.recipe-web__meta span,
.recipe-web__nutrition span {
    display: grid;
    gap: 4px;
    font-size: 16px;
    font-weight: 760;
}

.recipe-web__meta small,
.recipe-web__nutrition small {
    color: #88766a;
    font-size: 10px;
    font-weight: 820;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.recipe-web__columns {
    padding-top: 46px;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(42px, 7vw, 76px);
}

.recipe-web__kicker {
    margin: 0 0 10px;
    color: #9d3c48;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.recipe-web h3 {
    margin: 0 0 28px;
    color: #251f1c;
    font: 700 clamp(34px, 4vw, 48px)/1 "Soth Serif", Georgia, serif;
}

.recipe-web__ingredients,
.recipe-web__instructions {
    margin: 0;
    color: #3a312d;
    font-size: 15px;
    line-height: 1.55;
}

.recipe-web__ingredients {
    padding: 0;
    list-style: none;
}

.recipe-web__ingredients li {
    padding: 11px 0;
    border-bottom: 1px solid rgba(43, 37, 34, .11);
}

.recipe-web__instructions {
    padding: 0;
    list-style: none;
    counter-reset: recipe-step;
}

.recipe-web__instructions li {
    position: relative;
    min-height: 54px;
    padding: 2px 0 22px 62px;
    counter-increment: recipe-step;
}

.recipe-web__instructions li::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #27211e;
    color: #fff9ef;
    content: counter(recipe-step);
    font-size: 13px;
    font-weight: 850;
}

.recipe-web__footer {
    margin-top: 46px;
    padding-top: 28px;
    border-top: 1px solid rgba(43, 37, 34, .17);
}

.recipe-web__nutrition {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
}

.recipe-web__source {
    margin: 24px 0 0;
    color: #76685e;
    font-size: 12px;
}

.recipe-web__source a {
    color: #8e3340;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.instagram-gate {
    margin-top: 68px;
    min-height: 490px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(242, 238, 228, .16);
    border-radius: 30px;
    background: rgba(242, 238, 228, .045);
}

.instagram-gate__consent {
    max-width: 700px;
    padding: clamp(34px, 7vw, 74px);
    text-align: center;
}

.instagram-gate__consent[hidden] {
    display: none;
}

.instagram-gate__mark {
    width: 72px;
    height: 72px;
    margin: 0 auto 28px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(216, 242, 36, .4);
    border-radius: 50%;
    color: var(--acid);
    font-size: 38px;
}

.instagram-gate h2 {
    font-family: "Soth Serif", Georgia, serif;
    font-size: clamp(37px, 6vw, 62px);
    font-weight: 700;
}

.instagram-gate__consent > p:not(.eyebrow) {
    max-width: 620px;
    margin: 22px auto 28px;
    color: rgba(242, 238, 228, .7);
}

.instagram-gate__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.instagram-gate__actions > a {
    color: rgba(242, 238, 228, .72);
    font-size: 13px;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.instagram-gate__host {
    width: 100%;
    padding: 30px 16px;
    display: grid;
    place-items: center;
}

.instagram-gate__host[hidden] {
    display: none;
}

.instagram-gate__loading {
    color: rgba(242, 238, 228, .64);
}

.instagram-gate__host .instagram-media {
    min-width: 280px !important;
    width: min(540px, 100%) !important;
    margin: 0 auto !important;
}

h3 {
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 1.1;
}

.hero__lead {
    max-width: 640px;
    margin-bottom: 32px;
    color: rgba(242, 238, 228, .82);
    font-size: clamp(18px, 2vw, 24px);
}

.hero__actions {
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 48px;
    padding: 13px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(242, 238, 228, .24);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    border-color: var(--acid);
    background: var(--acid);
    color: var(--ink);
}

.button--ghost {
    background: rgba(242, 238, 228, .08);
    color: var(--paper);
}

.intro-section,
.process-section,
.cta-section,
.site-footer {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.intro-section {
    padding: 72px 0 54px;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
    gap: 54px;
    align-items: end;
}

.section-copy {
    max-width: 720px;
}

.section-text {
    margin-bottom: 0;
    color: rgba(242, 238, 228, .72);
    font-size: 18px;
}

.content-grid {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.content-card {
    min-height: 290px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(242, 238, 228, .045);
}

.content-card span {
    width: fit-content;
    padding: 6px 9px;
    border-radius: 999px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.content-card p {
    margin-bottom: 0;
    color: rgba(242, 238, 228, .68);
    font-size: 14px;
}

.content-card--news span {
    background: var(--blue);
    color: white;
}

.content-card--quotes span {
    background: var(--acid);
}

.content-card--facts span {
    background: var(--teal);
}

.content-card--jokes span {
    background: var(--coral);
}

.process-section {
    padding: 104px 0 90px;
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(320px, 1.15fr);
    gap: 70px;
    align-items: start;
}

.process-list {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.process-list li {
    padding: 24px 0;
    display: grid;
    grid-template-columns: 56px 150px minmax(0, 1fr);
    gap: 20px;
    align-items: baseline;
    border-bottom: 1px solid var(--line);
}

.process-list span {
    color: var(--acid);
    font-size: 12px;
    font-weight: 850;
}

.process-list strong {
    font-size: 22px;
}

.process-list p {
    margin-bottom: 0;
    color: rgba(242, 238, 228, .68);
}

.cta-section {
    margin-bottom: 72px;
    padding: 56px;
    border: 1px solid rgba(216, 242, 36, .28);
    background: linear-gradient(135deg, rgba(216, 242, 36, .14), rgba(49, 92, 255, .14) 54%, rgba(240, 111, 84, .12));
}

.cta-section h2 {
    max-width: 850px;
    margin-bottom: 28px;
}

.site-footer {
    padding: 28px 0 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid var(--line);
    color: rgba(242, 238, 228, .62);
    font-size: 13px;
}

.site-footer p {
    margin-bottom: 0;
}

.site-footer nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
    font-weight: 740;
}

.archive-main {
    width: min(var(--max), calc(100% - 40px));
    min-height: calc(100svh - 180px);
    margin: 0 auto;
    padding: 74px 0 100px;
}

.archive-hero {
    max-width: 900px;
    margin-bottom: 58px;
}

.archive-hero h1 {
    max-width: 820px;
    margin: 12px 0 24px;
    font-family: "Soth Serif", Georgia, serif;
    font-size: clamp(58px, 8vw, 104px);
    line-height: .91;
}

.archive-hero > p:not(.eyebrow) {
    max-width: 720px;
    color: rgba(242, 238, 228, .7);
    font-size: clamp(17px, 2vw, 21px);
}

.archive-count {
    margin-top: 16px;
    padding: 7px 11px;
    display: inline-flex;
    border: 1px solid rgba(216, 242, 36, .3);
    border-radius: 999px;
    color: var(--acid);
    font-size: 11px;
    font-weight: 820;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.archive-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(242, 238, 228, .14);
    border-radius: 24px;
    background: rgba(242, 238, 228, .045);
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), border-color .2s ease, box-shadow .28s ease;
}

.archive-card:hover,
.archive-card:focus-within {
    border-color: rgba(216, 242, 36, .4);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .3);
    transform: translateY(-6px);
}

.archive-card > a {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.archive-card__media {
    position: relative;
    aspect-ratio: 1;
    margin: 0;
    overflow: hidden;
    background: #101311;
}

.archive-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1), filter .3s ease;
}

.archive-card:hover .archive-card__media img,
.archive-card:focus-within .archive-card__media img {
    filter: saturate(1.05) contrast(1.03);
    transform: scale(1.035);
}

.archive-card__code {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 7px 10px;
    border: 1px solid rgba(216, 242, 36, .44);
    border-radius: 999px;
    background: rgba(8, 11, 10, .84);
    color: var(--acid);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .26);
    backdrop-filter: blur(12px);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .08em;
}

.archive-card__body {
    padding: 22px 22px 24px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.archive-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: rgba(242, 238, 228, .48);
    font-size: 10px;
    font-weight: 780;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.archive-card__meta span {
    color: var(--acid);
}

.archive-card h2 {
    margin: 14px 0 11px;
    font-family: "Soth Serif", Georgia, serif;
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.03;
}

.archive-card p {
    margin: 0 0 22px;
    color: rgba(242, 238, 228, .66);
    font-size: 14px;
}

.archive-card__open {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--paper);
    font-size: 12px;
    font-weight: 820;
}

.archive-card__open span {
    color: var(--acid);
}

.archive-empty {
    padding: 48px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(242, 238, 228, .04);
}

.archive-empty h2 {
    margin-bottom: 10px;
    font-size: 36px;
}

.archive-empty p {
    margin: 0;
    color: rgba(242, 238, 228, .66);
}

.cookie-banner {
    position: fixed;
    z-index: 100;
    right: 16px;
    bottom: 16px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 14px 16px;
    width: min(calc(100vw - 32px), 500px);
    padding: 16px;
    border: 1px solid rgba(242, 238, 228, .18);
    border-radius: 18px;
    background: rgba(16, 19, 17, .94);
    box-shadow: 0 20px 64px rgba(0, 0, 0, .42);
    backdrop-filter: blur(20px) saturate(1.12);
    animation: cookie-in .45s .12s both;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner__mark {
    width: 44px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--acid);
    color: var(--ink);
    font-weight: 850;
}

.cookie-banner h2 {
    margin: 0 0 5px;
    font-size: 18px;
    line-height: 1.2;
}

.cookie-banner p {
    margin: 0;
    color: rgba(242, 238, 228, .72);
    font-size: 13px;
}

.cookie-banner p a {
    color: var(--paper);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-banner .button {
    grid-column: 2;
    justify-self: start;
}

.cookie-modal-backdrop {
    position: fixed;
    z-index: 110;
    inset: 0;
    padding: 22px;
    display: grid;
    place-items: center;
    background: rgba(5, 8, 8, .7);
    backdrop-filter: blur(8px);
}

.cookie-modal-backdrop[hidden] {
    display: none;
}

.cookie-modal {
    position: relative;
    width: min(590px, 100%);
    max-height: calc(100svh - 44px);
    padding: 34px;
    overflow: auto;
    border: 1px solid rgba(216, 242, 36, .25);
    border-radius: 24px;
    background: #111613;
    color: var(--paper);
    box-shadow: 0 35px 100px rgba(0, 0, 0, .52);
}

.cookie-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(242, 238, 228, .06);
    color: var(--paper);
    font-size: 22px;
    cursor: pointer;
}

.cookie-modal h2 {
    padding-right: 32px;
    font-size: clamp(34px, 7vw, 52px);
}

.cookie-modal > p:not(.eyebrow) {
    margin: 18px 0 24px;
    color: rgba(242, 238, 228, .7);
}

.cookie-setting {
    margin-top: 14px;
    padding: 17px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(242, 238, 228, .045);
}

.cookie-setting div {
    display: grid;
    gap: 4px;
}

.cookie-setting strong {
    font-size: 17px;
}

.cookie-setting div span {
    color: rgba(242, 238, 228, .66);
    font-size: 12px;
}

.cookie-setting--inactive {
    opacity: .62;
}

.status-pill {
    padding: 6px 9px;
    border: 1px solid rgba(216, 242, 36, .25);
    border-radius: 999px;
    color: var(--acid);
    font-size: 10px;
    font-weight: 850;
    white-space: nowrap;
    text-transform: uppercase;
}

.cookie-modal__actions {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-modal__actions > a {
    color: var(--acid);
    font-size: 12px;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@keyframes cookie-in {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
}

@media (max-width: 920px) {
    .intro-section,
    .process-section,
    .post-finder {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-list li {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .process-list p {
        grid-column: 2;
    }
}

@media (max-width: 640px) {
    .site-header {
        width: calc(100% - 28px);
        padding: 16px 0;
        align-items: center;
        gap: 14px;
    }

    .site-header.is-nav-open {
        z-index: 95;
    }

    .site-header.is-nav-ready .nav-toggle {
        display: grid;
    }

    .brand {
        font-size: 13px;
    }

    .brand__mark {
        width: 36px;
        height: 36px;
    }

    .site-header.is-nav-ready .site-nav {
        position: absolute;
        top: calc(100% - 6px);
        right: 0;
        width: min(310px, calc(100vw - 28px));
        padding: 10px;
        display: grid;
        align-items: stretch;
        gap: 3px;
        border: 1px solid rgba(242, 238, 228, .16);
        border-radius: 20px;
        background: rgba(11, 15, 13, .97);
        box-shadow: 0 24px 70px rgba(0, 0, 0, .48);
        backdrop-filter: blur(24px);
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        transform: translateY(-8px) scale(.98);
        transform-origin: top right;
        transition: none;
    }

    .site-header.is-nav-ready.is-nav-settled .site-nav {
        transition: opacity .18s ease, transform .22s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .22s;
    }

    .site-header.is-nav-ready.is-nav-open .site-nav {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transform: translateY(0) scale(1);
        transition-delay: 0s;
    }

    .site-header.is-nav-ready .site-nav > a {
        padding: 12px 14px;
        border-radius: 12px;
        font-size: 13px;
    }

    .site-header.is-nav-ready .site-nav > a:hover,
    .site-header.is-nav-ready .site-nav > a:focus-visible,
    .site-header.is-nav-ready .site-nav > a[aria-current="page"] {
        background: rgba(216, 242, 36, .1);
        color: var(--acid);
    }

    .site-header.is-nav-ready .language-switcher {
        margin-top: 4px;
        padding: 13px 14px 8px;
        justify-content: flex-start;
        border-top: 1px solid rgba(242, 238, 228, .12);
        color: rgba(242, 238, 228, .68);
    }

    .hero {
        min-height: 84svh;
    }

    .hero__media {
        background-position: 58% center;
    }

    .hero__shade {
        background:
            linear-gradient(90deg, rgba(5, 8, 8, .95), rgba(5, 8, 8, .58)),
            linear-gradient(0deg, rgba(5, 8, 8, .98), rgba(5, 8, 8, .15) 55%, rgba(5, 8, 8, .5));
    }

    .hero__content,
    .intro-section,
    .process-section,
    .cta-section,
    .site-footer,
    .content-grid,
    .post-finder,
    .ig-detail {
        width: calc(100% - 28px);
    }

    .archive-main {
        width: calc(100% - 28px);
        padding: 54px 0 72px;
    }

    .archive-hero {
        margin-bottom: 36px;
    }

    .archive-hero h1 {
        font-size: 54px;
    }

    .archive-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .archive-card {
        border-radius: 20px;
    }

    .hero__content {
        padding-bottom: 58px;
    }

    h1 {
        font-size: 58px;
    }

    h2 {
        font-size: 39px;
    }

    .button {
        width: 100%;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .content-card {
        min-height: 220px;
    }

    .post-finder {
        margin-top: 42px;
        padding: 32px 20px;
        border-radius: 22px;
    }

    .post-finder__control {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .post-finder__control .button {
        width: 100%;
    }

    .ig-detail {
        padding: 58px 0 64px;
    }

    .recipe-web {
        margin-top: 42px;
        border-radius: 22px;
    }

    .recipe-web__actions {
        padding: 15px;
        align-items: stretch;
        flex-direction: column;
    }

    .recipe-web__actions > div {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .recipe-action {
        width: 100%;
        padding: 0 12px;
    }

    .recipe-web__sheet {
        padding: 34px 22px 40px;
    }

    .recipe-web__meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 10px;
    }

    .recipe-web__columns {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .recipe-web h3 {
        font-size: 38px;
    }

    .instagram-gate {
        margin-top: 46px;
        min-height: 430px;
        border-radius: 22px;
    }

    .process-section {
        padding: 74px 0 64px;
    }

    .process-list li {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .process-list p {
        grid-column: auto;
    }

    .cta-section {
        padding: 34px 22px;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer nav {
        justify-content: flex-start;
    }

    .cookie-banner {
        right: 10px;
        bottom: 10px;
        left: 10px;
        width: auto;
        grid-template-columns: 1fr;
    }

    .cookie-banner .button {
        grid-column: 1;
        width: 100%;
    }

    .cookie-modal-backdrop {
        padding: 10px;
    }

    .cookie-modal {
        max-height: calc(100svh - 20px);
        padding: 30px 20px 24px;
        border-radius: 19px;
    }

    .cookie-setting {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .cookie-modal__actions {
        align-items: stretch;
        flex-direction: column-reverse;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

@media print {
    @page {
        size: A4;
        margin: 15mm;
    }

    :root {
        color-scheme: light;
    }

    body,
    .ig-lookup-page {
        background: #fff !important;
        color: #221d1a !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .site-header,
    .site-footer,
    .instagram-gate,
    .post-finder__form,
    .recipe-web__actions,
    .cookie-banner,
    .cookie-modal-backdrop {
        display: none !important;
    }

    .ig-detail {
        width: 100%;
        min-height: 0;
        margin: 0;
        padding: 0;
    }

    .ig-detail__intro {
        max-width: none;
        margin: 0 0 10mm;
    }

    .ig-detail__intro .eyebrow,
    .ig-detail__summary,
    .ig-detail__meta {
        color: #574b44 !important;
    }

    .ig-detail__intro h1 {
        max-width: none;
        margin: 5mm 0 3mm;
        color: #221d1a !important;
        font-size: 30pt;
    }

    .ig-code-pill {
        border: 1px solid #221d1a;
        background: #221d1a !important;
        color: #fff !important;
    }

    .recipe-web {
        margin: 0;
        overflow: visible;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .recipe-web__feature {
        width: 150mm;
        max-width: 100%;
        margin: 0 auto;
        break-after: page;
        page-break-after: always;
    }

    .recipe-web__sheet {
        padding: 0;
    }

    .recipe-web__columns {
        gap: 14mm;
    }

    .recipe-web__ingredients,
    .recipe-web__instructions {
        font-size: 10.5pt;
    }

    .recipe-web__ingredients li,
    .recipe-web__instructions li {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .recipe-web h3 {
        font-size: 25pt;
    }

    a {
        color: inherit !important;
        text-decoration: none !important;
    }
}
