/* Media kit (great-media-kit.php). Same language as the About page: pale sky hero, Bubblegum titles,
   Cabin copy, white cards with the grey line, orange accent. Mobile first. */

.mk-page {
    --mk-ink: #14272c;
    --mk-muted: #5f686b;
    --mk-line: #c7d3d8;
    --mk-soft: #f3f6f7;
    --mk-paper: #fff;
    --mk-accent: #f37720;
    --mk-accent-deep: #d9640f;
    --mk-accent-soft: #fff3e9;
    --mk-blue: #206c83;
    --mk-green: #219653;
    --mk-red: #c0392b;
    --mk-hero-sky: #99d2e4; /* the top edge of assets/images/media-kit/hero-*.webp */
    --mk-radius: 24px;
    --mk-radius-sm: 14px;
    --mk-border: 4px solid var(--mk-line);
    --mk-focus: 0 0 0 3px var(--mk-paper), 0 0 0 5px #d9650f;
    --mk-ease: 160ms ease;
    display: block;
    background: var(--mk-paper);
    color: var(--mk-ink);
    font-family: "Cabin", sans-serif;
}
.mk-page .container { max-width: 1200px; }
.mk-page h1,
.mk-page h2 {
    margin: 0 0 12px;
    font-family: "Bubblegum Sans", cursive;
    font-weight: 400;
    line-height: 1.08;
    color: var(--mk-ink);
}
.mk-page h3 { margin: 0; font-family: "Cabin", sans-serif; }
.mk-page p { margin: 0 0 12px; font-size: 17px; line-height: 1.55; }
.mk-page ul { margin: 0; padding: 0; list-style: none; }
.mk-page li::before { content: none; }
.mk-page a { color: var(--mk-blue); }
.mk-page [hidden] { display: none !important; }
.mk-page :is(a, button):focus-visible { outline: none; box-shadow: var(--mk-focus); }
.mk-page button { font: inherit; }

/* ---------- Hero ---------- */
/* The illustration is anchored to the bottom of the band and sized to its width; the band is only as tall
   as the text plus the visible landscape (from the volcano top, 43 % of the picture, to 92 %: the last 8 %
   of foreground rock is cut off). Whatever sky the band doesn't need is cropped off the top, and if the
   band is taller than the picture its top colour carries on: no seam either way. */
.mk-hero {
    --_land: 113px; /* phone: 49 % of the 230px-high picture */
    position: relative;
    padding: 112px 0 calc(var(--_land) + 24px);
    background: var(--mk-hero-sky);
    overflow: clip;
}
.mk-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    padding: 24px 20px 0;
    text-align: center;
}
.mk-hero h1 { font-size: clamp(38px, 10.5vw, 48px); text-wrap: balance; }
.mk-hl { color: var(--mk-accent); white-space: nowrap; }
.mk-page .mk-intro { max-width: 600px; margin: 0 auto; font-size: 18px; text-wrap: balance; }
/* phone: a strip anchored on the right, so the van, the crater, the puffin and the sun still fit */
.mk-hero-art {
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: -18px;
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: 100% 100%;
}

/* ---------- Files ---------- */
/* Desktop: a sticky index on the left and the files on the right. One filter (the language of the
   banners), sections with room between them and light cards: the banner, its flag and two quiet links. */
.mk-assets { padding: 40px 0 72px; }
.mk-page .mk-title { margin: 0; font-size: clamp(32px, 8vw, 44px); }
.mk-side { display: none; }

.mk-main-head { max-width: 640px; }
.mk-page .mk-lead { margin: 8px 0 0; font-size: 18px; color: var(--mk-muted); }
.mk-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* the toolbar: one row with what acts on the files below. The language (a segmented control on a grey
   track) on the left, the ZIP that follows it on the right; on a phone they stack */
.mk-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: 28px;
}
.mk-toolbar-filter { min-width: 0; max-width: 100%; }
.mk-langs {
    display: flex;
    gap: 2px;
    max-width: 100%;
    padding: 4px;
    border-radius: 999px;
    background: var(--mk-soft);
    overflow-x: auto;
    scrollbar-width: none;
}
.mk-langs::-webkit-scrollbar { display: none; }
.mk-page .mk-lang {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 14px 0 9px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--mk-muted);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color var(--mk-ease), color var(--mk-ease), box-shadow var(--mk-ease);
}
.mk-lang .mk-flag { width: 20px; height: 20px; }
.mk-page .mk-lang[aria-pressed="true"] { background: var(--mk-paper); color: var(--mk-ink); box-shadow: 0 1px 3px rgba(20, 39, 44, .14); }
@media (hover: hover) {
    .mk-page .mk-lang[aria-pressed="false"]:hover { color: var(--mk-ink); }
}
.mk-page .mk-lang:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px #d9650f; }
.mk-toolbar-dl { flex: none; }
.mk-page .mk-zip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 6px 22px 6px 16px;
    border-radius: 999px;
    background: var(--mk-accent);
    color: #fff;
    text-decoration: none;
    transition: background-color var(--mk-ease);
}
.mk-zip svg { flex: none; }
.mk-zip-text { display: grid; line-height: 1.2; }
.mk-zip-title { font-size: 15px; font-weight: 700; }
.mk-zip-meta { font-size: 12px; opacity: .9; white-space: nowrap; }
@media (hover: hover) {
    .mk-page .mk-zip:hover { background: var(--mk-accent-deep); color: #fff; }
}
@media (max-width: 767px) {
    .mk-toolbar-filter,
    .mk-toolbar-dl,
    .mk-page .mk-zip { width: 100%; justify-content: center; }
}
/* round flags, as in the language menu (mega-menu.css .mm-flag) */
.mk-flag { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(20, 39, 44, .12); }
.mk-flag--all { box-shadow: none; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* the drawings of where each size goes: the orange block is the banner */
.mk-ico { flex: none; display: block; width: 40px; height: 30px; }
.mk-ico-line { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mk-ico-text { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; opacity: .3; }
.mk-ico-dot { fill: currentColor; opacity: .6; }
.mk-ico-ad { fill: var(--mk-accent); }
.mk-ico-ink { fill: var(--mk-ink); }
.mk-ico-sand { fill: #ebe1bd; stroke: var(--mk-paper); stroke-width: 1.5; }
.mk-ico-dash { stroke-dasharray: 3 3; }
.mk-ico-type { font-family: "Bubblegum Sans", cursive; font-size: 24px; fill: currentColor; }

/* sections: a thin line, then the title with room above and below */
.mk-groups { margin-top: 8px; }
.mk-group {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid #dde6ea;
    scroll-margin-top: 16px;
}
.mk-group-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.mk-group-ico {
    flex: none;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--mk-soft);
    color: var(--mk-ink);
}
.mk-group-ico .mk-ico { width: 40px; height: 30px; }
.mk-group-ico .mk-ico--van { width: 28px; height: 32px; }
.mk-group-copy { min-width: 0; }
.mk-page .mk-group-title {
    margin: 0;
    font-family: "Bubblegum Sans", cursive;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.1;
}
.mk-group-size { margin-left: 4px; font-family: "Cabin", sans-serif; font-size: 15px; font-weight: 700; color: var(--mk-muted); white-space: nowrap; }
.mk-page .mk-group-note { margin: 4px 0 0; font-size: 15px; color: var(--mk-muted); }

.mk-grid {
    --_min: 250px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--_min)), 1fr));
    gap: 32px 20px;
}
.mk-group--logos .mk-grid { --_min: 240px; }
.mk-group--square .mk-grid,
.mk-group--tall .mk-grid { --_min: 140px; }
.mk-group--wide .mk-grid { --_min: 100%; gap: 28px; }
.mk-card { display: flex; flex-direction: column; gap: 14px; }
.mk-preview {
    --_h: 220px;
    display: grid;
    place-items: center;
    height: var(--_h);
    padding: 18px;
    border-radius: 20px;
    background: var(--mk-soft);
}
/* a faint checkerboard behind the logos so transparent reads as transparent */
.mk-group--logos .mk-preview {
    background-image: conic-gradient(#e9eef0 25%, transparent 0 50%, #e9eef0 0 75%, transparent 0);
    background-size: 20px 20px;
}
.mk-group--logos .mk-preview--dark { background: var(--mk-ink); }
.mk-group--square .mk-preview { --_h: 200px; }
.mk-group--wide .mk-preview { --_h: auto; height: auto; padding: 20px; }
.mk-group--tall .mk-preview { --_h: 300px; padding: 14px; }
.mk-preview img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(var(--_h) - 36px); /* a % height doesn't resolve inside the grid cell */
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(20, 39, 44, .1);
}
.mk-group--wide .mk-preview img { max-height: none; }
.mk-group--logos .mk-preview img { box-shadow: none; border-radius: 0; max-height: 110px; }
.mk-group--logos .mk-preview img[width="1000"] { max-height: 140px; }
.mk-card-body { display: flex; flex-direction: column; gap: 6px; padding: 0 4px; }
.mk-page .mk-card-title { display: flex; align-items: center; gap: 8px; margin: 0; font-family: "Cabin", sans-serif; font-size: 17px; font-weight: 700; line-height: 1.3; }
.mk-card-title .mk-flag { width: 20px; height: 20px; }
.mk-page .mk-card-note { margin: 0; font-size: 14px; line-height: 1.45; color: var(--mk-muted); }
/* two quiet links instead of two buttons per card */
.mk-card-actions { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.mk-page .mk-dl,
.mk-page .mk-copy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 32px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--mk-ink);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: color var(--mk-ease);
}
.mk-page .mk-copy { color: var(--mk-muted); }
.mk-dl svg,
.mk-copy svg,
.mk-zip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mk-zip svg { width: 20px; height: 20px; }
.mk-dl-meta { font-size: 13px; font-weight: 400; color: var(--mk-muted); white-space: nowrap; }
@media (hover: hover) {
    .mk-page .mk-dl:hover { color: var(--mk-accent-deep); }
    .mk-page .mk-copy:hover { color: var(--mk-ink); }
}

/* ---------- Brand basics ---------- */
/* inside the main column, after the files: its own title, then sections like the others */
.mk-part { margin-top: 88px; }
.mk-part > .mk-title { margin-bottom: 8px; }
.mk-part > .mk-group:first-of-type { margin-top: 32px; }
.mk-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 18px; }
.mk-swatch {
    display: grid;
    align-content: start; /* a two-line description doesn't push the rest of the card apart */
    gap: 2px;
    padding: 12px 12px 18px;
    border-radius: 20px;
    background: var(--mk-soft);
}
.mk-swatch-chip { display: block; height: 96px; margin-bottom: 10px; border-radius: var(--mk-radius-sm); background: var(--mk-swatch); }
.mk-swatch-name { font-size: 17px; font-weight: 700; }
/* the hex code with a copy icon: the whole pill copies; after a copy the icon turns into a tick */
.mk-page .mk-swatch-hex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 6px 0 4px;
    padding: 7px 10px 7px 12px;
    border: 1px solid #dde6ea;
    border-radius: 10px;
    background: var(--mk-paper);
    color: var(--mk-ink);
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 15px;
    cursor: pointer;
    transition: border-color var(--mk-ease), background-color var(--mk-ease);
}
.mk-swatch-ico { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mk-swatch-ico--copy { color: var(--mk-muted); }
.mk-swatch-ico--done { display: none; color: var(--mk-green); stroke-width: 2.6; }
.mk-swatch-hex[data-state="copied"] .mk-swatch-ico--copy { display: none; }
.mk-swatch-hex[data-state="copied"] .mk-swatch-ico--done { display: block; }
@media (hover: hover) {
    .mk-page .mk-swatch-hex:hover { border-color: var(--mk-line); }
    .mk-page .mk-swatch-hex:hover .mk-swatch-ico--copy { color: var(--mk-ink); }
}
.mk-swatch-use { font-size: 14px; color: var(--mk-muted); }

.mk-type { display: grid; gap: 18px; }
.mk-type-card {
    padding: 24px 26px;
    border-radius: 20px;
    background: var(--mk-soft);
}
.mk-page .mk-type-sample { margin: 0 0 10px; line-height: 1.15; }
.mk-page .mk-type-sample--display { font-family: "Bubblegum Sans", cursive; font-size: 44px; }
.mk-page .mk-type-sample--text { font-size: 22px; }
.mk-page .mk-type-name { margin: 0 0 2px; font-weight: 700; }
.mk-type-name span { margin-left: 6px; font-weight: 400; color: var(--mk-muted); }
.mk-type-card a { font-size: 15px; font-weight: 700; }

.mk-rules { display: grid; gap: 12px; }
.mk-rule {
    position: relative;
    padding: 14px 18px 14px 52px;
    border-radius: var(--mk-radius-sm);
    background: var(--mk-soft);
    font-size: 16px;
    line-height: 1.5;
}
.mk-page .mk-rule::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 16px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--_mark) center / 14px no-repeat, var(--_tone);
}
.mk-rule--do {
    --_tone: var(--mk-green);
    --_mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
}
.mk-rule--dont {
    --_tone: var(--mk-red);
    --_mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
}

/* ---------- Contact ---------- */
.mk-contact {
    margin-top: 88px;
    padding: 32px 20px 20px;
    border-radius: var(--mk-radius);
    background: var(--mk-ink);
    color: #fff;
}
.mk-contact-head { max-width: 520px; margin-bottom: 32px; }
.mk-page .mk-contact h2 { margin-bottom: 10px; font-size: clamp(30px, 7vw, 40px); color: #fff; }
.mk-page .mk-contact-lead { margin: 0; color: #c6d2d5; }
/* the two ways in, split by hairlines instead of boxes inside the box */
.mk-ways { display: grid; border-top: 1px solid rgba(255, 255, 255, .14); }
.mk-way { display: flex; flex-direction: column; padding: 24px 0 28px; }
.mk-way:last-child { padding-bottom: 8px; }
.mk-way + .mk-way { border-top: 1px solid rgba(255, 255, 255, .14); }
.mk-page .mk-way-title { margin-bottom: 6px; font-size: 19px; font-weight: 700; color: #fff; }
.mk-page .mk-way-text { margin-bottom: 20px; font-size: 16px; color: #c6d2d5; }
.mk-way-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; }
.mk-page .mk-way-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid var(--mk-accent);
    border-radius: 999px;
    background: var(--mk-accent);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color var(--mk-ease), border-color var(--mk-ease);
}
.mk-page .mk-way-btn--ghost { border-color: rgba(255, 255, 255, .35); background: transparent; }
.mk-page a.mk-way-btn[href^="mailto:"] { padding: 0 16px; font-size: 15px; }
.mk-way-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* the address is the button; the round one beside it copies it (the tick shows for a moment) */
.mk-page .mk-way-copy {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: border-color var(--mk-ease), background-color var(--mk-ease);
}
.mk-way-copy .mk-swatch-ico--copy { color: #c6d2d5; }
.mk-way-copy .mk-swatch-ico--done { color: #6fd39a; }
.mk-way-copy[data-state="copied"] .mk-swatch-ico--copy { display: none; }
.mk-way-copy[data-state="copied"] .mk-swatch-ico--done { display: block; }
@media (hover: hover) {
    .mk-page .mk-way-btn:hover { border-color: var(--mk-accent-deep); background: var(--mk-accent-deep); }
    .mk-page .mk-way-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
    .mk-page .mk-way-copy:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
    .mk-page .mk-way-copy:hover .mk-swatch-ico--copy { color: #fff; }
}
.mk-page .mk-way-btn:focus-visible,
.mk-page .mk-way-copy:focus-visible { outline: 0; box-shadow: 0 0 0 3px var(--mk-ink), 0 0 0 5px var(--mk-accent); }

/* ---------- Toast («Copied») ---------- */
.mk-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 1000;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--mk-ink);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    transform: translateX(-50%);
    box-shadow: 0 10px 28px rgba(20, 39, 44, .25);
}
@media (prefers-reduced-motion: no-preference) {
    .mk-toast:not([hidden]) { animation: mk-toast-in 200ms ease; }
    @keyframes mk-toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }
}

/* ---------- Tablet and up ---------- */
@media (min-width: 600px) {
    .mk-type { grid-template-columns: 1fr 1fr; }
    .mk-rules { grid-template-columns: 1fr 1fr; }
}
/* leaderboard and billboard: one row per language, the banner as close to its real size as fits */
@media (min-width: 768px) {
    /* the whole width: the picture is 42.4vw high, 8 % of it (3.4vw) hangs below, 49 % (20.8vw) is landscape */
    .mk-hero { --_land: 20.8vw; padding-bottom: calc(var(--_land) + 32px); }
    .mk-hero-art { bottom: -3.4vw; height: auto; }
    .mk-group--wide .mk-card { flex-direction: row; align-items: center; gap: 28px; }
    .mk-group--wide .mk-preview { flex: 1; min-width: 0; }
    .mk-group--wide .mk-card-body { flex: none; width: 180px; }
    .mk-group--wide .mk-card-actions { flex-direction: column; align-items: flex-start; }
    .mk-contact { padding: 48px 48px 40px; }
    .mk-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mk-way,
    .mk-way:last-child { padding: 32px 40px 8px 0; }
    .mk-way + .mk-way { padding-left: 40px; padding-right: 0; border-top: 0; border-left: 1px solid rgba(255, 255, 255, .14); }
    .mk-page a.mk-way-btn[href^="mailto:"] { padding: 0 20px; font-size: 16px; }
}
@media (min-width: 992px) {
    .mk-hero { padding-top: 140px; }
    .mk-hero h1 { font-size: 72px; }

    .mk-assets { padding: 56px 0 104px; }
    .mk-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; }
    .mk-side { display: block; position: sticky; top: 32px; padding-top: 10px; }
    .mk-page .mk-nav-label {
        margin: 0 0 8px 12px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--mk-muted);
    }
    .mk-nav-list + .mk-nav-label { margin-top: 28px; }
    .mk-nav-list { display: grid; gap: 2px; }
    .mk-page .mk-nav-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 8px 12px;
        border-radius: 12px;
        color: var(--mk-ink);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.2;
        text-decoration: none;
        transition: background-color var(--mk-ease);
    }
    .mk-nav-ico { flex: none; display: grid; place-items: center; width: 32px; }
    .mk-nav-ico .mk-ico { width: 32px; height: 24px; }
    .mk-nav-ico .mk-ico--van { width: 20px; height: 23px; }
    .mk-nav-size { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--mk-muted); }
    /* the section in view: soft background and an orange dot at the end of the row */
    .mk-page .mk-nav-link[aria-current="true"] { background: var(--mk-soft); }
    .mk-page .mk-nav-link[aria-current="true"]::after {
        content: "";
        flex: none;
        width: 8px;
        height: 8px;
        margin-left: auto;
        border-radius: 50%;
        background: var(--mk-accent);
    }
    .mk-group { margin-top: 72px; padding-top: 56px; }
    .mk-group:first-child { margin-top: 48px; }
    .mk-page .mk-group-title { font-size: 34px; }
    .mk-group-head { margin-bottom: 32px; }
    /* one column per language, so the row is always full */
    .mk-group--square .mk-grid,
    .mk-group--tall .mk-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 18px; }
    .mk-group--tall .mk-preview { --_h: 340px; }
}
}
@media (min-width: 992px) and (hover: hover) {
    .mk-page .mk-nav-link:hover { background: var(--mk-soft); }
}
