/*
Theme Name: Watercolor Misfit
Theme URI: https://watercolormisfit.com/
Author: Watercolor Misfit
Description: A lightweight visual teaching theme for modern mixed-media watercolor beginners.
Version: 0.3.16
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: watercolor-misfit
*/

.wm-guide__header .wm-byline { font-size: 0.9375rem; line-height: 1.6; color: var(--wm-muted); text-transform: none; }
.wm-byline a { color: inherit; text-decoration: underline; }

:root {
  --wm-ink: #101b2f;
  --wm-muted: #596273;
  --wm-paper: #fffefa;
  --wm-white: #fff;
  --wm-aqua: #08a9c5;
  --wm-aqua-dark: #057e96;
  --wm-navy: #102341;
  --wm-pink: #e83e82;
  --wm-gold: #d49c2f;
  --wm-line: #dfe4e8;
  --wm-soft: #f5f5f1;
  --wm-surface: #fff;
  --wm-surface-subtle: #fbfbf8;
  --wm-copy: #303846;
  --wm-body-copy: #2c3440;
  --wm-quote: #4b5360;
  --wm-placeholder: #ecefea;
  --wm-header: rgba(255,255,255,.98);
  --wm-nav-link: #121924;
  --wm-footer: #101b2f;
  --wm-shadow: 0 18px 54px rgba(16, 35, 65, .12);
  --wm-wide: 1180px;
  --wm-content: 760px;
}

html[data-wm-theme="dim"] {
  --wm-ink: #edf2f7;
  --wm-muted: #adb7c5;
  --wm-paper: #151b24;
  --wm-white: #1c2531;
  --wm-aqua: #27b7cf;
  --wm-aqua-dark: #67d2e3;
  --wm-navy: #0d1a2e;
  --wm-pink: #ff79ad;
  --wm-gold: #e6b34c;
  --wm-line: #394657;
  --wm-soft: #1b2430;
  --wm-surface: #1c2531;
  --wm-surface-subtle: #202a36;
  --wm-copy: #d5dce5;
  --wm-body-copy: #d9e0e8;
  --wm-quote: #bec8d4;
  --wm-placeholder: #25303c;
  --wm-header: rgba(21,27,36,.98);
  --wm-nav-link: #edf2f7;
  --wm-footer: #0b111b;
  --wm-shadow: 0 18px 54px rgba(0, 0, 0, .3);
}

html[data-wm-theme="dim"] .site-branding img { filter: brightness(0) invert(1); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; color: var(--wm-ink); background: var(--wm-paper); font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; overflow-x: hidden; }
body.nav-open { overflow: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
iframe, embed, object { max-width: 100%; }
a { color: var(--wm-aqua-dark); text-underline-offset: .18em; }
a:hover { color: var(--wm-pink); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #f2b544; outline-offset: 3px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .7em; color: var(--wm-ink); font-family: "Montserrat", sans-serif; font-weight: 800; line-height: 1.06; letter-spacing: -.04em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.4vw, 5.3rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
p { margin: 0 0 1.25em; }
.wm-shell { width: min(calc(100% - 2.5rem), var(--wm-wide)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; top: 8px; left: 8px; width: auto; height: auto; padding: .75rem 1rem; clip: auto; background: #fff; color: #000; }

/* Header */
.site-header { position: relative; z-index: 50; border-bottom: 1px solid var(--wm-line); background: var(--wm-header); }
.site-header__inner { min-height: 82px; display: grid; grid-template-columns: minmax(210px, 300px) 1fr auto; align-items: center; gap: 1.5rem; }
.site-branding a { display: inline-flex; align-items: center; text-decoration: none; }
.site-branding img { width: auto; max-height: 45px; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 1.3rem; }
.site-nav ul { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.25rem); margin: 0; padding: 0; list-style: none; }
.site-nav a { color: var(--wm-nav-link); font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; }
.site-nav a:hover { color: var(--wm-aqua-dark); }
.site-search { display: flex; align-items: center; justify-content: flex-end; margin: 0; }
.site-search__field { width: 0; min-width: 0; height: 38px; padding: 0; border: 0; border-bottom: 1px solid var(--wm-line); background: var(--wm-surface); color: var(--wm-ink); font: inherit; font-size: .82rem; opacity: 0; transition: width .2s ease, opacity .2s ease, padding .2s ease; }
.site-search.is-open .site-search__field { width: 180px; padding: .45rem .65rem; opacity: 1; }
.site-search__submit { display: grid; width: 38px; height: 38px; padding: 0; place-items: center; border: 0; background: transparent; color: var(--wm-ink); cursor: pointer; }
.site-search__submit .dashicons { width: 22px; height: 22px; font-size: 22px; }
.site-search__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.wm-theme-toggle { display: inline-flex; min-width: 44px; min-height: 44px; padding: .45rem .65rem; align-items: center; justify-content: center; gap: .35rem; border: 1px solid var(--wm-line); border-radius: 999px; background: var(--wm-surface); color: var(--wm-ink); cursor: pointer; font: inherit; }
.wm-theme-toggle:hover { border-color: var(--wm-aqua-dark); color: var(--wm-aqua-dark); }
.wm-theme-toggle__icon { font-size: 1.15rem; line-height: 1; }
.wm-theme-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--wm-ink); padding: .6rem; cursor: pointer; }
.menu-toggle__lines, .menu-toggle__lines::before, .menu-toggle__lines::after { display: block; width: 25px; height: 2px; background: currentColor; border-radius: 2px; content: ""; }
.menu-toggle__lines { position: relative; }
.menu-toggle__lines::before { position: absolute; top: -8px; }
.menu-toggle__lines::after { position: absolute; top: 8px; }

/* Homepage: exact hierarchy from the approved visual, with real photographs. */
.wm-front-hero { width: min(100%, var(--wm-wide)); min-height: 470px; margin-inline: auto; display: grid; grid-template-columns: 43% 57%; background: var(--wm-surface); box-shadow: var(--wm-shadow); }
.wm-front-hero__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(2rem, 4vw, 3.25rem); }
.wm-eyebrow { margin: 0 0 1rem; color: var(--wm-aqua-dark); font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.wm-front-hero__copy .wm-eyebrow { display: none; }
.wm-front-hero h1 { max-width: 620px; margin-bottom: .25em; font-size: clamp(3.25rem, 4.55vw, 4rem); line-height: 1.01; }
.wm-front-hero h1 span { display: block; white-space: nowrap; }
.wm-front-hero__copy > p:not(.wm-eyebrow) { max-width: 500px; color: var(--wm-copy); font-size: clamp(.98rem, 1.4vw, 1.22rem); line-height: 1.55; }
.wm-cta { display: inline-flex; align-items: center; gap: .9rem; min-height: 50px; margin-top: .4rem; padding: .8rem 1.15rem; background: var(--wm-aqua); color: #fff; font-size: .79rem; font-weight: 800; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; box-shadow: 0 9px 24px rgba(8,169,197,.24); }
.wm-cta:hover { background: var(--wm-aqua-dark); color: #fff; }
.wm-cta span { font-size: 1.3em; }
.wm-front-hero__visual { min-width: 0; min-height: 470px; margin: 0; overflow: hidden; }
.wm-front-hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }

.wm-pathways { width: min(100%, var(--wm-wide)); margin-inline: auto; display: grid; grid-template-columns: repeat(3, 1fr); padding: 1.3rem 2rem; border: 1px solid var(--wm-line); border-top: 0; background: var(--wm-surface); }
.wm-pathways > a { display: grid; grid-template-columns: 58px 1fr; gap: .85rem; align-items: center; min-width: 0; padding: .35rem 1.45rem; color: var(--wm-ink); text-decoration: none; }
.wm-pathways > a + a { border-left: 1px solid #cdd4da; }
.wm-pathways img { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; }
.wm-pathways span { display: grid; gap: .18rem; }
.wm-pathways strong { font-size: .93rem; line-height: 1.25; }
.wm-pathways small { color: var(--wm-muted); font-size: .75rem; line-height: 1.45; }

.wm-experiments { width: min(100%, var(--wm-wide)); margin-inline: auto; padding: 1.6rem 2.25rem 1.25rem; border-inline: 1px solid var(--wm-line); background: var(--wm-surface); }
.wm-experiments header p, .wm-basics header p { margin: 0 0 1rem; font-size: .72rem; font-weight: 800; letter-spacing: .34em; text-align: center; text-transform: uppercase; }
.wm-experiments__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.wm-experiments__grid a { display: grid; justify-items: center; gap: .6rem; padding: .35rem 1rem .75rem; color: var(--wm-ink); text-align: center; text-decoration: none; }
.wm-experiments__grid a + a { border-left: 1px solid #d6dbe0; }
.wm-experiments__grid img { width: 92px; height: 70px; object-fit: cover; border-radius: 4px; }
.wm-experiments__grid strong { padding-bottom: .28rem; border-bottom: 3px solid var(--wm-aqua); font-size: .78rem; line-height: 1.25; }

.wm-basics { width: min(100%, var(--wm-wide)); margin-inline: auto; padding: 1.35rem 2.35rem 1.7rem; background: var(--wm-navy); color: #fff; }
.wm-basics header p { color: #fff; }
.wm-basics__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.wm-basics__grid a { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: center; padding: .55rem 1.15rem; color: #fff; text-decoration: none; }
.wm-basics__grid a + a { border-left: 1px solid rgba(255,255,255,.35); }
.wm-basics__grid span { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: #85dbea; font-size: .67rem; font-weight: 800; }
.wm-basics__grid strong { font-size: .83rem; line-height: 1.3; }
.wm-latest { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--wm-soft); }
.wm-section-heading { margin-bottom: 2rem; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; }
.post-card__image { display: block; overflow: hidden; aspect-ratio: 4/3; margin-bottom: 1rem; background: var(--wm-placeholder); }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card__image:hover img { transform: scale(1.02); }
.post-card__cats { margin-bottom: .5rem; color: var(--wm-aqua-dark); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.post-card h2 { margin-bottom: .5rem; font-size: 1.25rem; line-height: 1.18; }
.post-card h2 a { color: inherit; text-decoration: none; }
.post-card__excerpt { color: var(--wm-muted); font-size: .9rem; }

/* Article layout */
.wm-guide { background: var(--wm-surface); }
.wm-guide__header { width: min(calc(100% - 2.5rem), 930px); margin-inline: auto; padding: clamp(2.25rem, 5vw, 4rem) 0 1.65rem; }
.wm-breadcrumb { display: flex; flex-wrap: wrap; gap: .35rem .55rem; margin-bottom: 1.3rem; color: var(--wm-muted); font-size: .76rem; }
.wm-breadcrumb a { color: inherit; text-decoration: none; }
.wm-breadcrumb a:last-child { color: var(--wm-aqua-dark); font-weight: 700; }
.wm-guide__header h1 { max-width: 880px; font-size: clamp(2.35rem, 4.5vw, 4rem); }
.wm-guide__answer { max-width: 720px; margin: -.2rem 0 0; color: var(--wm-copy); font-size: clamp(1rem, 1.45vw, 1.2rem); line-height: 1.62; }
.wm-guide-rail { position: sticky; top: 0; z-index: 40; width: min(100%, 930px); margin-inline: auto; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--wm-aqua); box-shadow: 0 8px 18px rgba(16,35,65,.1); }
.wm-guide-rail a { padding: .9rem .7rem; color: #102341; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-align: center; text-decoration: none; text-transform: uppercase; }
.wm-guide-rail a + a { border-left: 1px solid rgba(255,255,255,.3); }
.wm-guide__image { width: min(100%, 930px); height: clamp(330px, 46vw, 620px); margin: 0 auto 3.5rem; overflow: hidden; background: var(--wm-placeholder); }
.wm-guide__image img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 4rem; align-items: start; padding-bottom: 5rem; }
.article-shell { min-width: 0; }
.page-article-shell { width: min(100%, 1100px); margin-inline: auto; }
.page-article-shell .entry-content > p,
.page-article-shell .entry-content > h2,
.page-article-shell .entry-content > h3,
.page-article-shell .entry-content > h4,
.page-article-shell .entry-content > ul,
.page-article-shell .entry-content > ol,
.page-article-shell .entry-content > blockquote,
.page-article-shell .entry-content > table,
.page-article-shell .entry-content > .wp-block-buttons {
  width: min(calc(100% - 2.5rem), var(--wm-content));
  margin-left: auto;
  margin-right: auto;
}
.page-article-shell .entry-content > figure { width: min(100%, 1100px); margin-left: auto; margin-right: auto; }
.wm-guide-card { margin-bottom: 2.4rem; padding: 1.3rem 1.45rem; border: 1px solid var(--wm-line); border-left: 5px solid var(--wm-aqua); background: var(--wm-surface-subtle); }
.wm-guide-card p { margin: 0 0 .7rem; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.wm-guide-card summary { cursor: pointer; padding-block: .65rem; font-size: .9rem; font-weight: 700; }
.wm-guide-card summary span { font-weight: 400; }
.wm-guide-card details[open] summary { margin-bottom: .65rem; }
.wm-guide-card .wm-outline-level-3 { margin-left: .75rem; }
.wm-carrie-intro { width: min(calc(100% - 3rem), 960px); margin: 3.5rem auto; display: grid; grid-template-columns: 200px 1fr; gap: 2.5rem; align-items: center; }
.wm-carrie-intro img { width: 200px; height: 200px; object-fit: contain; border-radius: 50%; }
.wm-carrie-intro h2 { font-size: 2rem; margin: .4rem 0 1rem; }
.wm-carrie-intro p { color: var(--wm-copy); line-height: 1.7; }
.wm-carrie-intro a { color: var(--wm-ink); text-underline-offset: .2em; }
.article-shell .wm-next-step { width: 100%; margin: 3rem 0 1rem; }
.wm-next-step .wm-back-to-path { display: block; font-size: .9rem; text-decoration: underline; padding-top: 0; }
.wm-resource-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; margin: 2rem 0; font-family: Montserrat,sans-serif; }
.wm-resource-card { border: 1px solid var(--wm-line); background: var(--wm-surface-subtle); padding: 1.5rem; }
.wm-resource-card h2 { margin-top: 0; font-size: 1.35rem; }
.wm-resource-card p { font-size: 1rem; }
.wm-resource-card img { width: 100%; max-height: 220px; object-fit: contain; }
@media (max-width: 650px) {
  .wm-carrie-intro { grid-template-columns: 1fr; gap: 1.25rem; }
  .wm-carrie-intro img { width: 160px; height: 160px; }
  .wm-resource-grid { grid-template-columns: 1fr; }
}
.wm-guide-card ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .5rem 1.4rem; margin: 0; padding-left: 1.1rem; }
.wm-guide-card a { color: var(--wm-ink); font-size: .86rem; font-weight: 600; text-decoration: none; }
.entry-content { color: var(--wm-body-copy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.05rem, 1.35vw, 1.17rem); line-height: 1.88; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.75em; font-family: "Montserrat", sans-serif; }
.entry-content a { font-weight: 600; overflow-wrap: break-word; }
.entry-content blockquote { margin: 2rem 0; padding: .35rem 0 .35rem 1.5rem; border-left: 4px solid var(--wm-gold); color: var(--wm-quote); font-style: italic; }
.entry-content figure { margin: 2.2rem 0; }
.entry-content img { margin-inline: auto; }
.entry-content .wm-art-gallery { width: min(calc(100% - 3rem), 1100px); margin: 2rem auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.entry-content .wm-art-card { min-width: 0; margin: 0; padding: 1rem; border: 1px solid var(--wm-line); border-radius: 6px; background: var(--wm-surface); }
.wm-art-card > a { display: block; }
.wm-art-card img { width: 100%; height: 300px; object-fit: contain; }
.wm-art-categories { display: block; margin-top: .35rem; font-size: .72rem; }
.wm-art-video { display: grid; align-content: center; min-height: 300px; text-align: center; }
@media (max-width: 900px) { .entry-content .wm-art-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .entry-content .wm-art-gallery { width: calc(100% - 2.25rem); grid-template-columns: 1fr; } }
.entry-content figcaption, .entry-content .wp-caption-text { margin-top: .55rem; color: var(--wm-muted); font-family: "Montserrat", sans-serif; font-size: .78rem; text-align: center; }
.entry-content .wp-caption { max-width: 100% !important; width: auto !important; }
.entry-content iframe, .entry-content embed, .entry-content object { max-width: 100% !important; }
.entry-content iframe[src*="youtube"] { display: block; width: 100% !important; height: auto !important; aspect-ratio: 16/9; margin: 2rem auto; border: 0; box-shadow: var(--wm-shadow); }
.entry-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-family: "Montserrat", sans-serif; font-size: .88rem; }
.entry-content th, .entry-content td { padding: .7rem; border: 1px solid var(--wm-line); text-align: left; }
.sidebar { min-width: 0; position: sticky; top: 4.5rem; }
.sidebar .widget { margin: 0 0 2rem; padding: 1.35rem; border: 1px solid var(--wm-line); background: var(--wm-paper); }
.sidebar .widget-title { margin: 0 0 1rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.sidebar ul { margin: 0; padding-left: 1.1rem; }
.sidebar .about-img { margin: 0 -1.35rem 1.1rem; overflow: hidden; }
.sidebar .about-img img { width: 100%; }
.sidebar .about-label { display: block; margin-bottom: .7rem; font-weight: 800; }
.wm-next-step { width: min(calc(100% - 2.5rem), 930px); margin: 0 auto 5rem; border-top: 1px solid var(--wm-line); border-bottom: 1px solid var(--wm-line); }
.wm-next-step a { display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; align-items: center; padding: 1.2rem 0; color: var(--wm-ink); text-decoration: none; }
.wm-next-step span { grid-column: 1; color: var(--wm-muted); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.wm-next-step strong { grid-column: 1; line-height: 1.3; }
.wm-next-step b { grid-column: 2; grid-row: 1/3; color: var(--wm-aqua); font-size: 1.6rem; }

/* Existing archive, search, page and utility templates. */
.archive-main, .home-main { padding: clamp(3.5rem,7vw,7rem) 0; }
.archive-main .post-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .45rem; }
.pagination .page-numbers { min-width: 42px; padding: .55rem .75rem; border: 1px solid var(--wm-line); text-align: center; text-decoration: none; }
.pagination .current { background: var(--wm-navy); color: #fff; }
.wm-page-hero { padding: clamp(3rem,7vw,6rem) 0; background: var(--wm-soft); }
.wm-page-hero__inner { width: min(calc(100% - 2.5rem), 900px); margin-inline: auto; }
.wm-featured-image { width: min(calc(100% - 2.5rem), 1100px); margin: -2rem auto 4rem; }
.comments-area { width: min(calc(100% - 2.5rem), var(--wm-content)); margin: 0 auto 5rem; }
.comment-form input:not([type="submit"]), .comment-form textarea, .search-form input[type="search"] { width: 100%; padding: .8rem; border: 1px solid var(--wm-line); background: var(--wm-surface); color: var(--wm-ink); font: inherit; }
.comment-form input[type="submit"], .search-form input[type="submit"] { padding: .75rem 1rem; border: 0; background: var(--wm-navy); color: #fff; font-weight: 800; cursor: pointer; }
.not-found { min-height: 65vh; display: grid; place-items: center; text-align: center; }
.not-found__inner { width: min(calc(100% - 2rem),660px); }

.site-footer { padding: 2.8rem 0; background: var(--wm-footer); color: #dfe6ed; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.site-footer a { color: #fff; }
.footer-menu { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; margin: 0; padding: 0; list-style: none; font-size: .75rem; text-transform: uppercase; }
.site-footer p { margin: 0; font-size: .76rem; }
.site-footer__legal { margin-top: 1.35rem; padding-top: .65rem; border-top: 1px solid rgba(255,255,255,.16); }
.site-footer__legal ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .9rem; margin: 0; padding: 0; list-style: none; }
.site-footer__legal a { display: inline-flex; min-height: 44px; align-items: center; color: #dfe6ed; font-size: .7rem; line-height: 1.3; text-decoration: underline; text-decoration-color: rgba(223,230,237,.45); text-underline-offset: .2em; }
.site-footer__legal a:hover, .site-footer__legal a:focus-visible { color: #fff; text-decoration-color: currentColor; }

@media (max-width: 820px) {
  .site-header__inner { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 0 0 0 auto; width: min(86vw,380px); padding: 6rem 2rem 2rem; display: block; visibility: hidden; background: var(--wm-surface); box-shadow: var(--wm-shadow); opacity: 0; transform: translateX(105%); transition: transform .25s ease, opacity .2s ease, visibility 0s linear .25s; }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: translateX(0); transition-delay: 0s; }
  .site-nav ul { display: grid; gap: 0; }
  .site-nav a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--wm-line); font-size: .88rem; }
  .site-search { width: 100%; margin-top: 1rem; padding: .3rem 0 1rem; border-bottom: 1px solid var(--wm-line); }
  .site-search__field, .site-search.is-open .site-search__field { flex: 1; width: 100%; height: 46px; padding: .6rem .2rem; border-bottom: 0; opacity: 1; }
  .site-search__submit { width: auto; min-width: 46px; height: 46px; }
  .site-search__label { position: static; width: auto; height: auto; margin-left: .4rem; overflow: visible; clip: auto; color: var(--wm-ink); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  .wm-theme-toggle { width: 100%; margin-top: 1rem; border-radius: 0; justify-content: flex-start; }
  .wm-theme-toggle__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  .menu-toggle { position: relative; z-index: 2; }
  .wm-front-hero { grid-template-columns: 1fr 1.08fr; min-height: 450px; }
  .wm-front-hero__visual { min-height: 450px; }
  .wm-pathways { padding-inline: .6rem; }
  .wm-pathways > a { grid-template-columns: 46px 1fr; padding-inline: .75rem; }
  .wm-pathways img { width: 46px; height: 46px; }
  .wm-pathways small { display: none; }
  .wm-experiments { padding-inline: .8rem; }
  .wm-experiments__grid a { padding-inline: .45rem; }
  .wm-basics { padding-inline: .7rem; }
  .wm-basics__grid a { grid-template-columns: 1fr; justify-items: center; padding-inline: .45rem; text-align: center; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
  .post-grid, .archive-main .post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 640px) {
  .wm-shell { width: min(calc(100% - 1.5rem), var(--wm-wide)); }
  .site-header__inner { min-height: 62px; }
  .site-branding img { max-width: 205px; max-height: 34px; }
  .wm-front-hero { grid-template-columns: 1fr; }
  .wm-front-hero__copy { min-height: 430px; padding: 2.5rem 1.4rem; }
  .wm-front-hero__copy .wm-eyebrow { display: block; }
  .wm-front-hero h1 { font-size: clamp(2.65rem,14vw,4.2rem); }
  .wm-front-hero__visual { min-height: 390px; }
  .wm-pathways { grid-template-columns: 1fr; padding: .4rem 1rem; }
  .wm-pathways > a { grid-template-columns: 56px 1fr; padding: .9rem .25rem; }
  .wm-pathways > a + a { border-top: 1px solid var(--wm-line); border-left: 0; }
  .wm-pathways img { width: 56px; height: 56px; }
  .wm-pathways small { display: block; }
  .wm-experiments { padding: 1.6rem 1rem; }
  .wm-experiments__grid { grid-template-columns: repeat(2,1fr); gap: 1rem .5rem; }
  .wm-experiments__grid a + a { border-left: 0; }
  .wm-experiments__grid a:last-child { grid-column: 1/-1; }
  .wm-experiments__grid img { width: 100%; height: 96px; }
  .wm-basics { padding: 1.5rem 1rem; }
  .wm-basics__grid { grid-template-columns: 1fr; }
  .wm-basics__grid a { grid-template-columns: 36px 1fr; justify-items: start; padding: .8rem .25rem; text-align: left; }
  .wm-basics__grid a + a { border-top: 1px solid rgba(255,255,255,.24); border-left: 0; }
  .post-grid, .archive-main .post-grid { grid-template-columns: 1fr; }
  .wm-guide__header { width: min(calc(100% - 2rem),930px); padding-top: 2rem; }
  .wm-guide__header h1 { font-size: 1.82rem; line-height: 1.08; }
  .wm-guide-rail { top: 0; }
  .wm-guide-rail a { padding: .78rem .35rem; font-size: .65rem; letter-spacing: .07em; }
  .wm-guide__image { height: 280px; margin-bottom: 1.5rem; }
  .article-layout { gap: 2rem; padding-bottom: 2.5rem; }
  .wm-guide-card { margin: 0 0 1.5rem; padding: 1rem; }
  .wm-guide-card ul { grid-template-columns: 1fr; }
  .entry-content { font-size: 1.125rem; line-height: 1.8; }
  .page-article-shell .entry-content > p,
  .page-article-shell .entry-content > h2,
  .page-article-shell .entry-content > h3,
  .page-article-shell .entry-content > h4,
  .page-article-shell .entry-content > ul,
  .page-article-shell .entry-content > ol,
  .page-article-shell .entry-content > blockquote,
  .page-article-shell .entry-content > table,
  .page-article-shell .entry-content > .wp-block-buttons { width: calc(100% - 2.25rem); }
  .sidebar { grid-template-columns: 1fr; }
  .wm-next-step { width: min(calc(100% - 2rem),930px); margin-bottom: 3rem; }
  .site-footer__inner { display: grid; }
  .site-footer__legal ul { justify-content: flex-start; }
}
