:root {
    color-scheme: dark;
    --black: #090909;
    --panel: #121212;
    --line: #383838;
    --text: #f4f2ee;
    --muted: #b6b6b6;
    --soft: #888;
    --flag-red: #bc002d;
    --red-ink: #ff788f;
    --shell: 1420px;
}
html[data-theme="light"] {
    color-scheme: light;
    --black: #fff;
    --panel: #f7f7f7;
    --line: #d8d8d8;
    --text: #111;
    --muted: #4a4a4a;
    --soft: #666;
    --red-ink: #a10027;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--black);
    color: var(--text);
    font-family: var(--gh-font-body, -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif);
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red-ink); }
h1, h2, h3, h4, h5, h6 { font-family: var(--gh-font-heading, -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif); }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--red-ink); outline-offset: 4px; }
.site-shell { width: min(calc(100% - 52px), var(--shell)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 16px; background: var(--text); color: var(--black); }
.skip-link:focus { top: 12px; }

.site-header {
    border-bottom: 0;
    background: #090909 url("../images/header-hinomaru.png") center 63% / cover no-repeat;
    color: #f4f2ee;
}
.site-header__bar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.site-header__controls { display: flex; align-items: center; gap: 22px; }
.site-header__hero { min-height: 258px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding-bottom: 14px; text-align: center; }
.site-header__hero .site-brand { font-size: clamp(2.4rem, 4.5vw, 4.6rem); }
.site-header__hero .site-brand__logo { max-height: 80px; max-width: min(70vw, 500px); }
.site-header__tagline { margin: 0; color: #e4e0dc; font-size: clamp(.84rem, 1.2vw, 1.05rem); font-weight: 500; letter-spacing: .12em; }
.icon-button { appearance: none; border: 0; background: none; color: var(--text); padding: 8px; cursor: pointer; }
.site-header a, .site-header .icon-button { color: #f4f2ee; }
.site-header a:hover, .site-header .icon-button:hover { color: #ff788f; }
.site-header :focus-visible { outline-color: #ff788f; }
.icon-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.site-header__tools { display: flex; align-items: center; gap: 10px; }
.theme-toggle__moon { display: none; }
html[data-theme="light"] .theme-toggle__sun { display: none; }
html[data-theme="light"] .theme-toggle__moon { display: block; }
.site-brand { display: inline-flex; align-items: center; justify-self: center; gap: .28em; white-space: nowrap; font-family: Arial, Helvetica, sans-serif; font-size: clamp(1.45rem, 3.2vw, 2.85rem); font-weight: 900; letter-spacing: -.075em; line-height: 1; }
.site-brand:hover { color: var(--text); }
.site-header .site-brand:hover { color: #f4f2ee; }
.site-brand__logo { max-height: 64px; max-width: min(48vw, 420px); object-fit: contain; }
.site-brand__health { font-weight: 500; letter-spacing: -.065em; }
.site-brand__sun { align-self: center; width: .42em; height: .42em; margin-left: .08em; border-radius: 50%; background: var(--flag-red); }
.site-header__actions { display: flex; align-items: center; gap: 18px; font-size: .79rem; font-weight: 700; letter-spacing: .07em; }
.subscribe-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; background: var(--flag-red); color: white; }
.subscribe-button:hover { background: #d00738; color: white; }
.site-nav { min-width: 0; }
.site-nav .nav { display: flex; align-items: center; gap: clamp(16px, 2.1vw, 34px); margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.site-nav li { flex: 0 0 auto; }
.site-nav a { font: 600 .9rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.site-nav .nav-current a { color: #ff788f; }

.listing-page { padding-block: 48px 42px; }
.section-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); margin-bottom: 34px; padding-bottom: 13px; }
.section-bar h1 { margin: 0; font-size: 1rem; font-weight: 800; letter-spacing: .04em; }
.section-bar > span { color: var(--soft); font: 600 .69rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; }
.section-bar--archive { margin-bottom: 42px; }
.section-bar--archive h1 { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.03em; }

.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; row-gap: 56px; }
.story-card { min-width: 0; display: flex; flex-direction: column; }
.story-card__image { display: block; width: 100%; overflow: hidden; background: #202020; }
html[data-theme="light"] .story-card__image { background: #eee; }
.story-card__image img { width: 100%; height: auto; object-fit: contain; }
.story-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: #555; font: 900 clamp(2rem, 6vw, 5rem)/1 Arial, sans-serif; letter-spacing: -.1em; }
html[data-theme="light"] .story-card__placeholder { color: #aaa; }
.story-card__content { display: flex; flex-direction: column; flex: 1; align-items: start; padding-top: 17px; }
.story-card__category, .article__category { color: var(--red-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; font: 700 .73rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .045em; }
.story-card__category:hover, .article__category:hover { color: var(--text); }
.story-card__title { margin: 15px 0 12px; font-size: clamp(1.3rem, 1.55vw, 1.7rem); line-height: 1.44; font-weight: 750; letter-spacing: -.03em; overflow-wrap: anywhere; }
.story-card__excerpt { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.75; }
.story-card__read-more { margin-top: 16px; border-bottom: 1px solid var(--flag-red); padding-bottom: 4px; color: var(--text); font-size: .84rem; font-weight: 700; letter-spacing: .03em; }
.story-card__read-more span { margin-left: .3em; color: var(--red-ink); }
.story-card__meta, .article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .55em; margin-top: auto; padding-top: 18px; color: var(--soft); font: 500 .72rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .025em; text-transform: uppercase; }
.author-chip { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.author-chip__avatar { width: 27px; height: 27px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; object-fit: cover; }
.author-chip__avatar--article { width: 31px; height: 31px; }
.story-card--lead { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); align-items: start; padding-bottom: 58px; border-bottom: 1px solid var(--line); }
.story-card--lead .story-card__image { grid-column: 1; grid-row: 1; }
.story-card--lead .story-card__content { grid-column: 2; grid-row: 1; padding-top: 0; }
.story-card--lead .story-card__title { margin-block: 0 17px; font-size: clamp(1.7rem, 2.6vw, 3rem); line-height: 1.3; letter-spacing: -.02em; }
.story-card--lead .story-card__excerpt { font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.75; }
.story-card--lead .story-card__meta { padding-top: 24px; }
.story-grid--intro .story-card--lead { padding-bottom: 0; border-bottom: 0; }
.site-intro { grid-column: 1 / -1; position: relative; left: 50%; width: 100vw; min-height: 380px; display: flex; align-items: center; transform: translateX(-50%); background: #fff; color: #111; clip-path: polygon(0 38px, 100% 0, 100% calc(100% - 38px), 0 100%); }
.site-intro__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(32px, 7vw, 100px); padding-block: 82px; }
.site-intro__copy { max-width: 760px; }
.site-intro__label { margin: 0 0 20px; border-left: 3px solid var(--flag-red); padding-left: 12px; font: 700 .76rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .09em; }
.site-intro h2 { margin: 0 0 18px; font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1.3; letter-spacing: -.025em; }
.site-intro__copy > p:last-of-type { margin: 0 0 26px; font-size: clamp(1rem, 1.25vw, 1.16rem); line-height: 1.8; }
.site-intro__aside { align-self: center; justify-self: end; margin-right: 45px; }
.site-intro__mark { width: 160px; height: 160px; object-fit: cover; transform: translateY(3px); border-radius: 30px; background: #090909; }
.site-intro__link { display: inline-flex; align-items: center; gap: 24px; border-bottom: 2px solid var(--flag-red); padding-bottom: 3px; color: #111; font-size: 1rem; font-weight: 700; white-space: nowrap; }
.site-intro__link:hover { color: #a10027; }
.site-intro__link span { color: var(--flag-red); }
html body .site-intro.site-intro:not(#___never___),
html body .site-intro.site-intro *:not(#___never___) { color: #111 !important; }
html body .site-intro .site-intro__link:hover:not(#___never___) { color: #a10027 !important; }
html body .site-intro .site-intro__link span:not(#___never___) { color: #bc002d !important; }
.story-grid--archive .story-card--lead { display: flex; grid-column: auto; border: 0; padding: 0; }
.pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin-top: 78px; color: var(--muted); font: 600 .8rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.pagination .page-number { grid-column: 2; text-align: center; }
.pagination .newer-posts { grid-column: 1; grid-row: 1; }
.pagination .older-posts { grid-column: 3; grid-row: 1; justify-self: end; }
.pagination a { color: var(--text); }

@media (min-width: 701px) {
    .story-card--lead .story-card__content { transform: translateY(calc(-1 * clamp(4px, .5vw, 10px))); }
}

.article-page { padding-block: 66px 52px; }
.article { max-width: 1060px; margin-inline: auto; }
.article__header { max-width: 760px; margin-inline: auto; }
.article__header h1 { margin: 20px 0 22px; font-size: clamp(2.25rem, 4.4vw, 4.7rem); line-height: 1.28; font-weight: 750; letter-spacing: -.045em; overflow-wrap: anywhere; }
.article__dek { margin: 0; color: var(--muted); font-size: clamp(1.1rem, 1.75vw, 1.4rem); line-height: 1.75; }
.article__meta { margin-top: 18px; padding: 0; }
.article__hero { max-width: 760px; margin: 48px auto 0; }
.article__hero img { width: 100%; height: auto; object-fit: contain; }
.article__hero figcaption { margin-top: 10px; color: var(--soft); text-align: center; font-size: .8rem; }
.article__content { max-width: 760px; margin: 64px auto 0; font-size: 1.09rem; line-height: 1.95; letter-spacing: .015em; overflow-wrap: anywhere; }
.article__content > *:first-child { margin-top: 0; }
.article__content p { margin: 0 0 1.5em; }
.article__content h2 { margin: 2.4em 0 .8em; font-size: 1.65rem; line-height: 1.5; letter-spacing: -.025em; }
.article__content h3 { margin: 2em 0 .7em; font-size: 1.32rem; line-height: 1.5; }
.article__content a { color: var(--red-ink); text-decoration: underline; text-underline-offset: 3px; }
.article__content ul, .article__content ol { margin: 0 0 1.6em; padding-left: 1.6em; }
.article__content li { padding-left: .15em; margin: .35em 0; }
.article__content blockquote { margin: 2em 0; padding: .5em 0 .5em 1.2em; border-left: 3px solid var(--flag-red); color: var(--muted); }
.article__content figure { margin: 2.1em auto; }
.article__content img { max-width: 100%; height: auto; margin-inline: auto; }
.article__content figcaption { margin-top: 10px; color: var(--soft); text-align: center; font-size: .79em; }
.article__content hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.article__content table { border-collapse: collapse; display: block; overflow-x: auto; width: 100%; font-size: .85em; }
.article__content th, .article__content td { border-bottom: 1px solid var(--line); padding: .7em .9em; text-align: left; }
.article__content th { color: var(--text); }
.article__content .kg-width-wide { width: min(960px, calc(100vw - 52px)); max-width: none; position: relative; left: 50%; transform: translateX(-50%); }
.article__content .kg-width-full { width: 100vw; max-width: none; position: relative; left: 50%; transform: translateX(-50%); }
.article__content .kg-card { max-width: 100%; }
.article__content figure.kg-image-card,
.article__content figure.kg-gallery-card { width: 100%; max-width: 100%; position: static; left: auto; transform: none; }
.article__content p > img { width: 100%; max-width: 100%; height: auto; }
.article__content .kg-image-card img, .article__content .kg-gallery-card img { width: 100%; height: auto; }
.article__content .kg-callout-card { padding: 1.15em; background: var(--panel); border: 1px solid var(--line); border-radius: 0; }
.article__content .gh-post-upgrade-cta { background: var(--panel); border: 1px solid var(--line); color: var(--text); }
.article__tags { max-width: 760px; display: flex; flex-wrap: wrap; gap: 8px; margin: 36px auto 0; }
.article__tags a { padding: 7px 10px; border: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.article--page .article__content { margin-top: 54px; }

.site-footer { background: #090909 url("../images/footer-newsletter-v1.png") center bottom / cover no-repeat; color: #f4f2ee; font-family: Arial, Helvetica, sans-serif; }
.site-footer a { color: #f4f2ee; }
.site-footer a:hover { color: #ff788f; }
.site-footer__connect { min-height: 380px; display: flex; align-items: center; padding: 72px 0 82px; background: #fff; color: #111; clip-path: polygon(0 38px, 100% 0, 100% calc(100% - 38px), 0 100%); }
.site-footer__connect-inner { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(235px, .65fr); align-items: start; gap: clamp(42px, 8vw, 120px); }
.site-footer__connect-label { margin: 0 0 28px; border-left: 3px solid var(--flag-red); padding-left: 12px; font: 700 .76rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .09em; }
.site-footer__connect-mail h2 { max-width: 650px; margin: 0 0 12px; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.3; letter-spacing: .01em; }
.site-footer__connect-mail > p:not(.site-footer__connect-label) { margin: 0 0 26px; font-size: 1rem; line-height: 1.7; }
.site-footer__signup-form { width: min(560px, 100%); }
.site-footer__signup-row { min-height: 56px; display: flex; align-items: stretch; border: 1px solid #c9c9c9; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.site-footer__signup-row:focus-within { border-color: #bc002d; box-shadow: 0 0 0 2px rgba(188, 0, 45, .12); }
.site-footer__signup-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-footer__signup-input { min-width: 0; flex: 1; border: 0; padding: 0 20px; background: transparent; color: #111; font: 400 1rem/1.4 Arial, Helvetica, sans-serif; }
.site-footer__signup-input::placeholder { color: #888; opacity: 1; }
.site-footer__signup-input:focus { outline: 0; }
.site-footer__signup-button { min-width: 145px; margin: 5px; border: 0; padding: 0 20px; background: #bc002d; color: #fff; font-weight: 700; cursor: pointer; transition: background-color .2s ease; }
.site-footer__signup-button:hover { background: #980024; }
.site-footer__signup-button:disabled { cursor: wait; opacity: .7; }
.site-footer__signup-button span { margin-left: 8px; }
.site-footer__signup-status { display: none; margin: 12px 0 0 !important; font-size: .9rem !important; line-height: 1.6 !important; }
.site-footer__signup-form.loading .site-footer__signup-status.loading,
.site-footer__signup-form.success .site-footer__signup-status.success,
.site-footer__signup-form.error .site-footer__signup-status.error { display: block; }
.site-footer__signup-form.success .site-footer__signup-row { display: none; }
.site-footer__connect-follow { border-left: 1px solid #d3d3d3; padding-left: clamp(26px, 3vw, 45px); }
.site-footer__social { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.site-footer__social a { border-bottom: 1px solid currentColor; padding-bottom: 3px; color: #111; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.5; }
.site-footer__social a:hover { color: #a10027; }
.site-footer__social a span { color: #bc002d; font-size: .8em; }
html body .site-footer .site-footer__connect-label:not(#___never___),
html body .site-footer .site-footer__social a:not(#___never___),
html body .site-footer .site-footer__connect-mail h2:not(#___never___),
html body .site-footer .site-footer__connect-mail > p:not(.site-footer__connect-label):not(#___never___),
html body .site-footer .site-footer__signup-input:not(#___never___),
html body .site-footer .site-footer__signup-status:not(#___never___) { color: #111 !important; }
html body .site-footer .site-footer__social a:hover:not(#___never___) { color: #a10027 !important; }
html body .site-footer .site-footer__social a span:not(#___never___) { color: #bc002d !important; }
html body .site-footer .site-footer__signup-button:not(#___never___),
html body .site-footer .site-footer__signup-button span:not(#___never___) { color: #fff !important; }
.site-footer__inner { min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding-block: 32px 26px; text-align: center; }
.site-footer__ornament { width: min(250px, 65vw); display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 4px; }
.site-footer__ornament::before, .site-footer__ornament::after { content: ""; flex: 1; height: 1px; background: #bc002d; }
.site-footer__ornament span { width: 9px; height: 9px; border: 1px solid #bc002d; transform: rotate(45deg); }
.site-footer__thanks { margin: 0; font: 400 26px/1.16 Arial, Helvetica, sans-serif; letter-spacing: -.025em; }
.site-footer__name { color: #d71b46; font: 500 clamp(1.05rem, 1.7vw, 1.4rem)/1.3 Arial, Helvetica, sans-serif; letter-spacing: .04em; }
.site-footer__name-japan { font-weight: 900; }
html body .site-footer .site-footer__name:not(#___never___) { color: #d71b46 !important; }
html body .site-footer .site-footer__name .site-footer__name-japan:not(#___never___) { color: #d71b46 !important; }
.site-footer__topics { color: #ded9d4; font: 500 clamp(.68rem, .9vw, .8rem)/1.5 Arial, Helvetica, sans-serif; letter-spacing: .14em; }
.site-footer__subscribe { margin-top: 8px; border-bottom: 1px solid #bc002d; padding-bottom: 5px; font-size: .9rem; font-weight: 700; }
.site-footer__subscribe span { color: #ff788f; }
html body .site-footer .site-footer__subscribe span:not(#___never___) { color: #ff788f !important; }
.site-footer__links { display: flex; justify-content: center; padding-block: 22px 9px; transform: translateY(12px); }
.site-footer__links .nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.site-footer__links a { border-bottom: 1px solid rgba(224, 212, 212, .45); padding-bottom: 2px; color: #e0d4d4; font: 400 .78rem/1.5 Arial, Helvetica, sans-serif; }
.site-footer__links a:hover { border-color: #bc002d; color: #ff788f; }
.site-footer__bottom { min-height: 52px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; padding-block: 11px; color: #e0d4d4; text-align: center; font: 400 .76rem/1.5 Arial, Helvetica, sans-serif; }

@media (max-width: 1100px) {
    .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .story-card--lead { gap: 30px; }
}
@media (max-width: 700px) {
    .site-shell { width: min(calc(100% - 36px), var(--shell)); }
    .site-header { background-position: 70% 60%; }
    .site-header__bar { min-height: 60px; gap: 8px; }
    .site-header__controls { gap: 4px; }
    .site-header__hero { min-height: 155px; gap: 12px; padding-bottom: 8px; }
    .site-header__hero .site-brand { font-size: clamp(1.8rem, 7vw, 2.8rem); }
    .site-header__tagline { font-size: .76rem; letter-spacing: .08em; }
    .site-header__tools { gap: 0; }
    .site-header__tools .icon-button { padding: 5px; }
    .site-header__tools .icon-button svg { width: 19px; height: 19px; }
    .site-brand { font-size: clamp(1.06rem, 4.5vw, 1.6rem); }
    .site-brand__logo { max-height: 50px; max-width: 44vw; }
    .site-header__actions { gap: 8px; }
    .sign-in { display: none; }
    .subscribe-button { min-height: 36px; padding-inline: 10px; font-size: .68rem; letter-spacing: 0; }
    .site-nav .nav { gap: 14px; }
    .site-nav a { font-size: .76rem; }
    .listing-page { padding-block: 30px 34px; }
    .section-bar { margin-bottom: 28px; }
    .section-bar > span { display: none; }
    .story-grid { grid-template-columns: 1fr; row-gap: 42px; }
    .story-card--lead { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 42px; }
    .story-card--lead .story-card__content { padding-top: 25px; }
    .story-card--lead .story-card__title { font-size: clamp(1.6rem, 5.8vw, 2.35rem); margin-block: 14px; }
    .site-intro { min-height: 0; clip-path: polygon(0 24px, 100% 0, 100% calc(100% - 24px), 0 100%); }
    .site-intro__inner { grid-template-columns: 1fr; align-items: start; gap: 28px; padding-block: 72px; }
    .site-intro h2 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
    .site-intro__aside { align-self: start; justify-self: start; margin-right: 0; }
    .site-intro__mark { width: 88px; height: 88px; border-radius: 18px; }
    .site-intro__link { justify-self: start; }
    .story-card__title { font-size: 1.4rem; }
    .story-card__meta { margin-top: 0; }
    .article-page { padding-block: 42px 40px; }
    .article__header h1 { font-size: clamp(2rem, 7.4vw, 3rem); }
    .article__hero { margin-top: 32px; }
    .article__content { margin-top: 42px; font-size: 1.03rem; line-height: 1.9; }
    .article__content h2 { font-size: 1.4rem; }
    .article__content .kg-width-wide { width: calc(100vw - 36px); }
    .site-footer { background-position: left bottom; }
    .site-footer__connect { min-height: 0; padding: 66px 0 78px; clip-path: polygon(0 24px, 100% 0, 100% calc(100% - 24px), 0 100%); }
    .site-footer__connect-inner { grid-template-columns: 1fr; gap: 42px; }
    .site-footer__connect-label { margin-bottom: 20px; }
    .site-footer__signup-row { min-height: 0; flex-direction: column; gap: 10px; border: 0; background: transparent; }
    .site-footer__signup-row:focus-within { border-color: transparent; box-shadow: none; }
    .site-footer__signup-input { min-height: 54px; border: 1px solid #c9c9c9; padding-inline: 16px; background: #fff; }
    .site-footer__signup-input:focus { border-color: #bc002d; box-shadow: 0 0 0 2px rgba(188, 0, 45, .12); }
    .site-footer__signup-button { min-height: 52px; width: 100%; margin: 0; }
    .site-footer__connect-follow { border-left: 0; border-top: 1px solid #d3d3d3; padding: 25px 0 0; }
    .site-footer__social { flex-direction: row; flex-wrap: wrap; gap: 12px 24px; }
    .site-footer__inner { min-height: 270px; padding-block: 34px 28px; }
    .site-footer__thanks { font-size: 26px; }
    .site-footer__topics { letter-spacing: .06em; }
    .site-footer__links { padding-top: 16px; transform: translateY(8px); }
    .site-footer__links .nav { gap: 8px 16px; }
    .site-footer__bottom { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
