:root {
    --paper: #fffaf0;
    --paper-strong: #f6eddc;
    --ink: #2d2720;
    --muted: #746a58;
    --green: #335f45;
    --green-soft: #dbead4;
    --soil: #8a5c37;
    --soil-soft: #eadac5;
    --sun: #d89d37;
    --aqua: #3d8c8a;
    --line: rgba(71, 58, 42, 0.16);
    --shadow: 0 22px 60px rgba(64, 43, 24, 0.14);
    --max: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(216, 157, 55, 0.18), transparent 32rem),
        linear-gradient(180deg, #fffdf6 0%, var(--paper) 42%, #f4ead8 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
    line-height: 1.8;
    letter-spacing: 0;
}

main > section {
    position: relative;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(61, 140, 138, 0.55);
    outline-offset: 4px;
}

button,
input {
    font: inherit;
}

.ambient-stage {
    position: fixed;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0.46;
    mix-blend-mode: screen;
}

.ambient-stage canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.command-trigger,
.sound-toggle {
    position: fixed;
    right: clamp(14px, 3vw, 28px);
    z-index: 35;
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 250, 240, 0.42);
    border-radius: 50%;
    color: #fffaf0;
    background: rgba(45, 39, 32, 0.72);
    box-shadow: 0 18px 42px rgba(35, 26, 16, 0.22);
    backdrop-filter: blur(14px);
    cursor: pointer;
}

.command-trigger {
    bottom: 22px;
    font-size: 0.78rem;
    font-weight: 900;
}

.sound-toggle {
    bottom: 84px;
    font-size: 1.25rem;
}

.sound-toggle[aria-pressed="true"] {
    color: #1d3d2e;
    background: rgba(246, 207, 118, 0.9);
}

.command-trigger:hover,
.sound-toggle:hover {
    transform: translateY(-2px);
}

.command-shell[hidden] {
    display: none;
}

.command-shell {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: start center;
    padding: clamp(72px, 12vh, 110px) 16px 24px;
}

.command-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(13, 18, 18, 0.44);
    cursor: pointer;
}

.command-panel {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: min(680px, calc(100svh - 120px));
    overflow: hidden;
    border: 1px solid rgba(255, 250, 240, 0.24);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255, 250, 240, 0.94), rgba(246, 237, 220, 0.88)),
        radial-gradient(circle at top right, rgba(61, 140, 138, 0.28), transparent 42%);
    box-shadow: 0 34px 96px rgba(16, 18, 14, 0.38);
    backdrop-filter: blur(24px);
}

.command-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 22px 22px 10px;
    border-bottom: 1px solid var(--line);
}

.command-kicker {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--sun);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.command-head h2 {
    font-size: clamp(1.45rem, 4vw, 2.2rem);
}

.command-head button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--green);
    background: rgba(255, 253, 247, 0.76);
    cursor: pointer;
}

.command-input-wrap {
    display: grid;
    gap: 8px;
    padding: 18px 22px;
}

.command-input-wrap span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.command-input-wrap input {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(51, 95, 69, 0.24);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--ink);
    background: rgba(255, 253, 247, 0.9);
}

.command-results {
    display: grid;
    gap: 8px;
    max-height: 360px;
    overflow-y: auto;
    padding: 0 22px 22px;
}

.command-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(71, 58, 42, 0.12);
    border-radius: 8px;
    color: var(--ink);
    text-align: left;
    background: rgba(255, 253, 247, 0.72);
    cursor: pointer;
}

.command-item:hover,
.command-item.is-active {
    border-color: rgba(61, 140, 138, 0.42);
    background: rgba(219, 234, 212, 0.72);
}

.command-item strong {
    display: block;
    line-height: 1.4;
}

.command-item small {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

.command-item > span {
    align-self: center;
    color: var(--green);
    font-size: 0.8rem;
    font-weight: 900;
}

.command-empty {
    margin: 0;
    padding: 14px;
    color: var(--muted);
    border: 1px dashed rgba(51, 95, 69, 0.22);
    border-radius: 8px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px clamp(16px, 4vw, 40px);
    background: rgba(255, 250, 240, 0.88);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
    color: var(--green);
    font-weight: 800;
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
    display: none;
}

.site-nav a {
    min-width: max-content;
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.site-nav a:hover {
    color: var(--green);
    background: rgba(51, 95, 69, 0.08);
}

.hero {
    min-height: calc(100svh - 69px);
    position: relative;
    display: grid;
    align-items: center;
    padding: clamp(72px, 12vw, 140px) clamp(18px, 6vw, 80px) clamp(88px, 12vw, 132px);
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(13, 18, 18, 0.9) 0%, rgba(28, 28, 23, 0.66) 44%, rgba(19, 24, 19, 0.24) 100%),
        url("images/omoken-main-visual.png") center center / cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(180deg, transparent, rgba(255, 250, 240, 0.92));
    z-index: -1;
}

.hero-copy {
    width: min(760px, 100%);
    color: #fffaf0;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.eyebrow,
.section-kicker {
    margin: 0 0 14px;
    color: var(--sun);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    max-width: 10.5em;
    font-size: clamp(2.55rem, 7.2vw, 5.35rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.hero-lead {
    width: min(590px, 100%);
    margin: 26px 0 0;
    font-size: clamp(1rem, 2.5vw, 1.16rem);
    font-weight: 700;
}

.hero-actions,
.join-actions,
.mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button,
.mini-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.93rem;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(35, 26, 16, 0.12);
}

.button.primary {
    color: #fffaf0;
    background: var(--green);
}

.button.ghost {
    color: #fffaf0;
    border-color: rgba(255, 250, 240, 0.62);
    background: rgba(255, 250, 240, 0.12);
    backdrop-filter: blur(8px);
}

.button.light,
.mini-links a {
    color: var(--green);
    border-color: rgba(51, 95, 69, 0.18);
    background: #fffdf7;
}

.button:hover,
.mini-links a:hover {
    transform: translateY(-2px);
}

.hero-note {
    position: absolute;
    right: clamp(18px, 5vw, 64px);
    bottom: clamp(22px, 5vw, 46px);
    margin: 0;
    color: rgba(255, 250, 240, 0.92);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.section-pad {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    padding: clamp(68px, 10vw, 116px) 0;
}

.intro {
    display: grid;
    grid-template-columns: 0.76fr 1.24fr;
    gap: clamp(30px, 7vw, 78px);
    align-items: center;
}

.intro-mark {
    display: grid;
    place-items: center;
}

.intro-mark img {
    width: min(260px, 70vw);
    border-radius: 50%;
    box-shadow: var(--shadow);
}

h2,
h3,
p {
    overflow-wrap: anywhere;
}

h2 {
    margin: 0;
    font-size: clamp(1.9rem, 5.4vw, 3.35rem);
    line-height: 1.18;
    letter-spacing: 0;
}

.intro-text p:not(.section-kicker),
.about-story p,
.base-copy p,
.join-inner p,
.section-lead {
    color: var(--muted);
    font-size: 1.02rem;
}

.section-heading {
    display: grid;
    gap: 6px;
    margin-bottom: clamp(28px, 5vw, 48px);
}

.about-grid,
.base-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: clamp(26px, 6vw, 64px);
    align-items: center;
}

.about-story {
    font-size: 1.02rem;
}

.thought-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 30px 0 0;
    list-style: none;
}

.thought-list li {
    position: relative;
    padding: 14px 16px 14px 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 253, 247, 0.72);
}

.thought-list li::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 18px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--aqua);
    box-shadow: 0 0 0 5px rgba(61, 140, 138, 0.12);
}

.media-frame,
.wide-visual {
    margin: 0;
}

.media-frame img,
.wide-visual img {
    width: 100%;
    border: 1px solid rgba(71, 58, 42, 0.12);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.media-frame img {
    background: #fff;
}

.media-frame.tall {
    max-width: 360px;
}

figcaption {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.6;
}

.activities {
    width: min(1180px, calc(100% - 32px));
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.activity-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 250, 240, 0.86)),
        radial-gradient(circle at top right, rgba(216, 157, 55, 0.16), transparent 50%);
    box-shadow: 0 16px 42px rgba(64, 43, 24, 0.08);
}

.activity-number {
    margin: 0 0 26px;
    color: var(--aqua);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.activity-card h3,
.base-copy h3 {
    margin: 0 0 14px;
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
    line-height: 1.35;
}

.activity-card p:not(.activity-number) {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.activity-card a {
    margin-top: auto;
    padding-top: 24px;
    color: var(--green);
    font-size: 0.92rem;
    font-weight: 900;
}

.activity-card a::after,
.site-footer a::after {
    content: " ->";
}

.map-section {
    width: min(1200px, calc(100% - 32px));
}

.section-lead {
    width: min(760px, 100%);
    margin: 0 0 28px;
}

.wide-visual {
    overflow-x: auto;
    padding-bottom: 4px;
}

.wide-visual img {
    min-width: min(760px, 100%);
}

.base {
    position: relative;
}

.base::before {
    content: "";
    position: absolute;
    inset: 8% 50% auto auto;
    width: 40vw;
    height: 40vw;
    max-width: 430px;
    max-height: 430px;
    border-radius: 50%;
    background: rgba(219, 234, 212, 0.5);
    z-index: -1;
}

.base-copy {
    padding: clamp(6px, 2vw, 22px) 0;
}

.news {
    width: min(1180px, calc(100% - 32px));
}

.news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(220px, 0.72fr));
    gap: 16px;
    align-items: stretch;
}

.news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 240, 0.9)),
        radial-gradient(circle at top right, rgba(61, 140, 138, 0.13), transparent 52%);
    box-shadow: 0 16px 42px rgba(64, 43, 24, 0.08);
}

.news-card.featured {
    display: grid;
    grid-template-columns: minmax(190px, 0.62fr) minmax(260px, 1fr);
    gap: 20px;
    min-height: 430px;
}

.news-card-body {
    display: flex;
    flex-direction: column;
}

.news-label {
    display: inline-flex;
    width: max-content;
    margin-bottom: 18px;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--green);
    background: var(--green-soft);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.news-card h3 {
    margin: 0 0 18px;
    font-size: clamp(1.18rem, 2.2vw, 1.45rem);
    line-height: 1.45;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    max-width: 100%;
    margin-top: auto;
    color: var(--green);
    font-size: 0.94rem;
    font-weight: 900;
}

.news-card.featured .news-link {
    margin-top: 4px;
    margin-bottom: 14px;
}

.news-link::after {
    content: "↗";
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    border-radius: 50%;
    color: #fffaf0;
    background: var(--green);
    font-size: 0.82rem;
}

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

.facebook-embed {
    min-height: 320px;
    overflow: hidden;
    border: 1px solid rgba(71, 58, 42, 0.12);
    border-radius: 8px;
    background: #fff;
}

.facebook-embed iframe {
    width: 100%;
    max-width: 100%;
    min-height: 430px;
}

.instagram-slot {
    min-height: 118px;
    margin: auto 0 20px;
    border: 1px dashed rgba(51, 95, 69, 0.28);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(219, 234, 212, 0.52), rgba(234, 218, 197, 0.46)),
        radial-gradient(circle at 22% 24%, rgba(216, 157, 55, 0.22), transparent 38%);
}

.join {
    width: min(1180px, calc(100% - 32px));
}

.join-inner {
    position: relative;
    padding: clamp(34px, 7vw, 72px);
    border-radius: 8px;
    color: #fffaf0;
    background:
        linear-gradient(135deg, rgba(51, 95, 69, 0.96), rgba(61, 140, 138, 0.9)),
        url("images/omoken-main-visual.png") center center / cover no-repeat;
    box-shadow: var(--shadow);
}

.join-inner .section-kicker {
    color: #f6cf76;
}

.join-inner h2 {
    max-width: 760px;
}

.join-inner p {
    max-width: 760px;
    color: rgba(255, 250, 240, 0.88);
}

.relations {
    width: min(1180px, calc(100% - 32px));
}

.relation-view {
    position: relative;
    min-height: clamp(360px, 54vw, 540px);
    overflow: hidden;
    border: 1px solid rgba(71, 58, 42, 0.13);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 50%, rgba(61, 140, 138, 0.2), transparent 27%),
        radial-gradient(circle at 18% 18%, rgba(216, 157, 55, 0.22), transparent 28%),
        linear-gradient(135deg, rgba(255, 253, 247, 0.86), rgba(246, 237, 220, 0.72));
    box-shadow: var(--shadow);
}

.relation-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.relation-lines line {
    stroke: rgba(51, 95, 69, 0.26);
    stroke-width: 0.48;
    stroke-linecap: round;
}

.relation-lines line.is-active {
    stroke: rgba(216, 157, 55, 0.82);
    stroke-width: 0.86;
}

.relation-node {
    position: absolute;
    display: grid;
    place-items: center;
    width: clamp(98px, 13vw, 146px);
    min-height: clamp(66px, 8vw, 88px);
    padding: 12px;
    border: 1px solid rgba(51, 95, 69, 0.24);
    border-radius: 8px;
    color: var(--green);
    background: rgba(255, 253, 247, 0.82);
    box-shadow: 0 18px 46px rgba(64, 43, 24, 0.13);
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.relation-node strong {
    font-size: clamp(0.82rem, 1.8vw, 1rem);
    line-height: 1.35;
}

.relation-node span {
    color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
}

.relation-node.is-core {
    color: #fffaf0;
    border-color: rgba(255, 250, 240, 0.34);
    background: linear-gradient(135deg, rgba(51, 95, 69, 0.98), rgba(61, 140, 138, 0.92));
}

.relation-node.is-active,
.relation-node:hover {
    border-color: rgba(216, 157, 55, 0.72);
    transform: translate(-50%, -50%) scale(1.04);
}

.relation-caption {
    width: min(800px, 100%);
    margin: 18px 0 0;
    color: var(--muted);
}

.data-overlay {
    position: absolute;
    right: 12px;
    bottom: 10px;
    z-index: 2;
    max-width: min(280px, calc(100% - 24px));
    color: rgba(51, 95, 69, 0.58);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-align: right;
    pointer-events: none;
}

.join-inner .data-overlay,
.hero .data-overlay {
    color: rgba(255, 250, 240, 0.55);
}

.system-status {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px clamp(16px, 4vw, 40px);
    border-top: 1px solid rgba(71, 58, 42, 0.16);
    color: rgba(45, 39, 32, 0.72);
    background:
        linear-gradient(90deg, rgba(51, 95, 69, 0.1), transparent),
        rgba(255, 250, 240, 0.86);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.system-status span {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border: 1px solid rgba(51, 95, 69, 0.14);
    border-radius: 999px;
    background: rgba(255, 253, 247, 0.62);
}

.system-status strong {
    color: var(--green);
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.link-grid a {
    display: grid;
    gap: 10px;
    min-height: 128px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 253, 247, 0.72);
    color: var(--green);
    font-size: 1.04rem;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(64, 43, 24, 0.08);
}

.link-grid a::after {
    content: "↗";
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fffaf0;
    background: var(--green);
    font-size: 0.88rem;
}

.link-grid a:hover {
    border-color: rgba(51, 95, 69, 0.36);
    transform: translateY(-2px);
}

.link-grid span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 28px clamp(16px, 4vw, 40px);
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: var(--green);
    font-weight: 900;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        width: 100%;
        padding-bottom: 2px;
    }

    .hero {
        min-height: calc(100svh - 113px);
        background-position: center center;
    }

    .intro,
    .about-grid,
    .base-grid {
        grid-template-columns: 1fr;
    }

    .intro-mark {
        order: 2;
    }

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

    .news-card.featured {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
    }

    .relation-view {
        min-height: 560px;
    }

    .media-frame.tall {
        max-width: 420px;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding-inline: 14px;
    }

    .site-nav a {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .hero {
        min-height: calc(100svh - 109px);
        padding: 64px 16px 96px;
        background-position: center center;
    }

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: rgba(22, 21, 16, 0.16);
    }

    .hero h1 {
        font-size: clamp(2.3rem, 12vw, 3.65rem);
    }

    .hero-lead {
        font-size: 0.98rem;
    }

    .hero-actions,
    .join-actions,
    .mini-links {
        align-items: stretch;
        flex-direction: column;
    }

    .button,
    .mini-links a {
        width: 100%;
    }

    .hero-note {
        left: 16px;
        right: 16px;
        bottom: 24px;
        font-size: 0.74rem;
    }

    .command-trigger,
    .sound-toggle {
        right: 14px;
        width: 46px;
        height: 46px;
    }

    .command-trigger {
        bottom: 14px;
    }

    .sound-toggle {
        bottom: 68px;
    }

    .command-shell {
        padding: 58px 12px 18px;
    }

    .command-panel {
        max-height: calc(100svh - 76px);
    }

    .section-pad {
        width: min(100% - 28px, var(--max));
        padding: 58px 0;
    }

    .activity-grid,
    .news-grid,
    .link-grid {
        grid-template-columns: 1fr;
    }

    .activity-card,
    .news-card {
        min-height: auto;
    }

    .news-card.featured {
        min-height: auto;
    }

    .facebook-embed {
        min-height: 360px;
    }

    .facebook-embed iframe {
        min-height: 360px;
    }

    .media-frame.tall {
        max-width: none;
    }

    .relation-view {
        min-height: 640px;
    }

    .relation-node {
        width: 112px;
        min-height: 64px;
    }

    .data-overlay {
        display: none;
    }

    .join-inner {
        padding: 30px 20px;
    }

    .site-footer {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .ambient-stage {
        display: none;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
