/* ============================================================
   介護と支援の相談どころ そよぎ - 公式サイト共通スタイル
   カラー: 明るい緑 / 水色 / 白 / 黒 (そよぎブランド4色)
   ============================================================ */

:root {
  --green: #85CF78;
  --aqua: #6FD2F0;
  --green-soft: #EAF7E6;
  --aqua-soft: #E9F7FC;
  --green-ink: #2E7D44;
  --aqua-ink: #17708F;
  --ink: #20261F;
  --muted: #5A665C;
  --paper: #FFFFFF;
  --paper-warm: #FAFCF9;
  --line: #E2EAE0;
  --radius: 14px;
  --maxw: 100%; /* 幅固定をやめ、ブラウザ幅に追従(ヒロさん指示2026-08-28) */
  --shadow: 0 2px 14px rgba(32, 38, 31, 0.06);
  --serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

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

a { color: var(--aqua-ink); text-underline-offset: 3px; }
a:hover { color: var(--green-ink); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.5; letter-spacing: 0.02em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.4em; margin-bottom: 1em; }
li { margin-bottom: 0.35em; }

/* ---- ページ遷移(穏やかなフェード) ---- */
@view-transition { navigation: auto; }

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out 0.26s ease both; }
  ::view-transition-new(root) { animation: vt-in 0.55s ease both; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
/* View Transitions 未対応ブラウザには読み込み時フェードで代替 */
@supports not (view-transition-name: root) {
  @media (prefers-reduced-motion: no-preference) {
    main { animation: vt-in 0.55s ease both; }
  }
}

/* ---- スクロールでふわっと現れる(JS有効時のみ) ---- */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- ヘッダー ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  /* 上下の余白は詰める。ヘッダーは画面に貼りつくので、高いほど本文の見える面積が減る */
  padding: 5px 14px 4px;
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* 折り返したときの行間(4px)と、要素どうしの間隔(14px)。横を詰めるとメニューが折り返しにくくなる */
  gap: 4px 14px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-name { display: flex; flex-direction: column; line-height: 1.3; }
.brand-sub { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.05em; }
.brand-main { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.14em; }

.site-nav { display: flex; flex-wrap: wrap; gap: 2px 2px; margin-left: auto; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.86rem;
  /* 🔴縦の6pxは押しやすさのために据え置き(高さを削らない)。横だけ詰めて折り返しを減らす */
  padding: 6px 8px;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}
.site-nav a:hover { background: var(--green-soft); color: var(--green-ink); }
.site-nav a[aria-current="page"] { background: var(--green); color: var(--ink); font-weight: 500; }

.lang-switch {
  margin-left: 4px;
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--aqua-ink);
  border: 1.5px solid var(--aqua);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
  transition: background 0.25s ease;
}
.lang-switch:hover { background: var(--aqua-soft); color: var(--aqua-ink); }

/* ---- 文字サイズ切替(小・中・大) ---- */
/* 小=これまでの普通(16px基準) / 中=19px / 大=22px */
html[data-fs="mid"] { font-size: 19px; }
html[data-fs="big"] { font-size: 22px; }
html[data-fs="mid"] body { font-size: 19.5px; }
html[data-fs="big"] body { font-size: 22.5px; }

.fs-group {
  display: flex;
  margin-left: 4px;
  border: 1.5px solid var(--green);
  border-radius: 999px;
  overflow: hidden;
  flex: none;
}
.fs-group button {
  border: none;
  background: var(--paper);
  color: var(--green-ink);
  font-size: 0.8rem;
  font-family: var(--sans);
  padding: 5px 11px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.fs-group button + button { border-left: 1px solid var(--line); }
.fs-group button:hover { background: var(--green-soft); }
.fs-group button[aria-pressed="true"] { background: var(--green); color: var(--ink); font-weight: 600; }

/* ---- レイアウト ---- */
main { display: block; }
.section { padding: 56px clamp(20px, 4vw, 72px); }
.section-alt { background: var(--paper-warm); }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-narrow { max-width: var(--maxw); margin: 0 auto; }

.section h2 {
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  margin-bottom: 1.2em;
  padding-left: 14px;
  border-left: 5px solid var(--green);
}
.section h3 { font-size: 1.1rem; margin: 1.6em 0 0.7em; color: var(--green-ink); }

.lead { color: var(--muted); }
.note { font-size: 0.86rem; color: var(--muted); }

/* ---- ヒーロー ---- */
.hero { padding: 64px clamp(20px, 4vw, 72px) 24px; text-align: center; background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%); }
.hero-inner { max-width: var(--maxw); margin: 0 auto; }
.hero h1 {
  font-size: clamp(1.45rem, 4.6vw, 2.25rem);
  margin-bottom: 0.9em;
}
.hero .catch { font-size: clamp(1rem, 2.6vw, 1.2rem); font-family: var(--serif); margin-bottom: 0.4em; }
.hero .lead { max-width: 620px; margin: 0 auto 1.4em; }

.page-title { padding: 46px 20px 8px; text-align: center; }
.page-title h1 { font-size: clamp(1.4rem, 4vw, 1.9rem); }
.page-title .lead { margin-top: 0.6em; }

/* ---- 公式キャラクター「そよそよ」(見出しの右隣) ---- */
.title-row {
  display: flex;
  flex-wrap: wrap;   /* 横幅が足りない画面では見出しの下に回り込む */
  justify-content: center;
  align-items: center;
  gap: 12px clamp(16px, 3vw, 36px);
}
.title-row h1 { margin-bottom: 0; }
.hero .title-row { margin-bottom: 0.9em; }
.title-chara {
  height: clamp(110px, 14vw, 150px);
  width: auto;
  flex: 0 0 auto;
  user-select: none;
  -webkit-user-drag: none;
}
.hero .title-chara { height: clamp(150px, 20vw, 230px); }

/* ---- 波のアート ---- */
.wave-art { width: 100%; max-width: 900px; height: auto; margin: 12px auto 4px; display: block; }
.wave-art path { fill: none; stroke-width: 5; stroke-linecap: round; }
.wave-art .w-aqua { stroke: var(--aqua); }
.wave-art .w-green { stroke: var(--green); }
.wave-art .w-ripple { opacity: 0; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .wave-art.animate path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: wave-draw 3s ease-out forwards;
  }
  /* 緑は0秒から3秒かけて、水色は0.8秒遅れて5秒かけて上に重ねて描く */
  .wave-art.animate .w-aqua { animation-duration: 5s; animation-delay: 0.8s; }
  /* 波紋のリング(2本が重なる時刻ちょうどに出て1秒で消える) */
  .wave-art.animate .w-ripple { animation: wave-ripple 1s ease-out forwards; }
  .wave-art.animate .ripple-1 { animation-delay: 1.59s; }
  .wave-art.animate .ripple-2 { animation-delay: 2.93s; }
}
@keyframes wave-draw { to { stroke-dashoffset: 0; } }
@keyframes wave-ripple {
  0% { opacity: 0; transform: scale(0.2); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: scale(2.4); }
}


/* ---- 歌詞ページ ---- */
.song-index { display: flex; flex-wrap: wrap; gap: 8px 10px; justify-content: center; margin: 0 auto 4px; padding: 0; list-style: none; max-width: 46rem; }
.song-index a {
  display: inline-block; text-decoration: none; color: var(--aqua-ink);
  border: 2px solid var(--aqua); border-radius: 999px; padding: 5px 15px; font-size: 0.95rem; font-weight: 700;
}
.song-index a:hover { background: var(--aqua-soft); color: var(--aqua-ink); }
.song-block { max-width: 33rem; margin: 0 auto; padding-top: 8px; }
.song-block + .song-block { margin-top: 12px; }
.song-block h2 { font-size: 1.4rem; margin: 0 0 2px; }
.song-block .song-en { font-size: 0.95rem; color: var(--green-ink); margin: 0 0 20px; font-weight: 700; }
.lyrics p { line-height: 2.05; margin: 0 0 1.75em; }
.lyrics p:last-child { margin-bottom: 0; }
.lyrics .spoken { color: #5a615a; font-size: 0.94em; }

.footer-wave { width: 100%; height: 46px; display: block; }
.footer-wave path { fill: none; stroke-width: 4; stroke-linecap: round; }

/* ---- ボタン ---- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: var(--ink); }
.btn-green:hover { background: #93d987; color: var(--ink); }
.btn-aqua { background: var(--aqua); color: var(--ink); }
.btn-aqua:hover { background: #85dbf4; color: var(--ink); }
.btn-ghost { background: var(--paper); border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 1.6em 0 0.4em; }

/* ---- カード ---- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.card-accent-green { border-top: 4px solid var(--green); }
.card-accent-aqua { border-top: 4px solid var(--aqua); }

.badge {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green-ink);
  border-radius: 999px;
  padding: 2px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-right: 6px;
}
.badge-aqua { background: var(--aqua-soft); color: var(--aqua-ink); }

/* ---- 表 ---- */
.table-wrap { overflow-x: auto; }
table.info {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.95rem;
}
table.info th, table.info td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.info tr:last-child th, table.info tr:last-child td { border-bottom: none; }
table.info th { background: var(--paper-warm); font-weight: 500; white-space: nowrap; width: 9em; }

/* ---- 沿革タイムライン ---- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--aqua), var(--green));
  border-radius: 2px;
}
.timeline li { position: relative; padding: 0 0 26px 34px; margin: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 4px solid var(--green);
}
.timeline li:nth-child(odd)::before { border-color: var(--aqua); }
.timeline .t-date { display: block; font-family: var(--serif); font-weight: 600; color: var(--green-ink); font-size: 0.95rem; }
.timeline .t-body { display: block; }

/* ---- お客様の声 ---- */
.voice-card { border-left: 4px solid var(--aqua); }
.voice-card .voice-meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.5em; }

/* ---- 7つのルール ---- */
.rule-card { border-top: 3px solid var(--aqua); }
.rule-card h3 { color: var(--aqua-ink); font-size: 1rem; }

/* ---- アプリ一覧 ---- */
.app-list { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.app-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
}
.app-item .app-icon { width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--line); flex: none; object-fit: cover; background: var(--paper); }
.app-item .app-body { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.app-item .app-name { font-weight: 700; font-size: 0.98rem; }
.app-item .app-desc { font-size: 0.84rem; color: var(--muted); line-height: 1.65; margin: 0; }
.app-links { display: flex; flex-wrap: wrap; gap: 8px; }
.app-links a {
  font-size: 0.82rem;
  text-decoration: none;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.app-links a.link-play { border-color: var(--green); background: var(--green-soft); color: var(--green-ink); }
.app-links a.link-web { border-color: var(--aqua); background: var(--aqua-soft); color: var(--aqua-ink); }
.app-links a:hover { background: var(--paper-warm); }

/* ---- 動画 ---- */
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--ink); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame-vertical { aspect-ratio: 9 / 16; max-width: 320px; margin: 0 auto; }

/* ---- メディア掲載 ---- */
.press-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
.press-grid figure { margin: 0; }
.press-grid img { border-radius: 10px; box-shadow: var(--shadow); border: 1px solid var(--line); max-height: 560px; width: auto; max-width: 100%; margin: 0 auto; }
.press-grid figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 8px; line-height: 1.6; }

/* ---- 規程・ポリシー本文 ---- */
.doc-body h3 { margin-top: 2em; }
.doc-body .doc-preamble { background: var(--paper-warm); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 1.6em; }

/* ---- フッター ---- */
.site-footer { background: var(--paper-warm); border-top: 1px solid var(--line); margin-top: 40px; }
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  /* 右150px=右下に固定表示のBGMボタン(停止時: 右16px+幅126px)の列を空ける。
     下72px+キャラを文字ブロックの上端揃えにすることで、再生中(◀◀▶▶+音量行つき・高さ最大117px・幅最大383px)でも足がボタンにかからない(実測) */
  padding: 30px 150px 72px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 48px);
  text-align: center;
}
.footer-text { flex: 0 1 auto; min-width: 0; max-width: 800px; }   /* ナビ10本が1行に並ぶ幅(約1000px)まで広がると文字が左に寄りキャラが離れるため上限を置く */
.footer-chara {
  height: clamp(130px, 13vw, 170px);
  width: auto;
  flex: 0 0 auto;
  align-self: flex-start;
  user-select: none;
  -webkit-user-drag: none;
}
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; object-fit: contain; }
.footer-brand span { font-family: var(--serif); font-weight: 600; letter-spacing: 0.08em; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-bottom: 14px; font-size: 0.88rem; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--green-ink); text-decoration: underline; }
.footer-contact { font-size: 0.86rem; color: var(--muted); margin-bottom: 14px; }
.footer-contact a { color: var(--aqua-ink); }
.copyright { font-size: 0.8rem; color: var(--muted); }

/* ---- BGMボタン ---- */
.bgm-btn { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.bgm-row { display: flex; align-items: center; gap: 7px; }
.bgm-vol {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  box-shadow: var(--shadow);
}
.bgm-vol .vol-icon { font-size: 0.8rem; }
.bgm-vol input[type="range"] { width: 140px; accent-color: var(--green-ink); cursor: pointer; }
@media (max-width: 640px) {
  .bgm-vol input[type="range"] { width: 110px; }
}
.bgm-btn .bgm-skip {
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 0.72rem;
  font-family: var(--sans);
  letter-spacing: -0.08em;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.bgm-btn .bgm-skip:hover { border-color: var(--green); transform: translateY(-1px); }
.bgm-btn button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-family: var(--sans);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.bgm-btn button:hover { border-color: var(--green); transform: translateY(-1px); }
.bgm-btn button[aria-pressed="true"] { border-color: var(--green); background: var(--green-soft); }
.bgm-btn .bgm-title { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 長い曲名の流れる表示(bgm.jsが必要な時だけ.scrollを付ける) */
.bgm-btn .bgm-marq { display: inline-flex; gap: 28px; white-space: nowrap; }
.bgm-btn .bgm-marq.scroll { animation: bgm-marquee 10s linear infinite; }
@keyframes bgm-marquee { to { transform: translateX(calc(-50% - 14px)); } }
@media (prefers-reduced-motion: reduce) {
  .bgm-btn .bgm-marq.scroll { animation: none; }
}
@media (max-width: 640px) {
  .bgm-btn { right: 10px; bottom: 10px; }
  .bgm-btn .bgm-title { max-width: 100px; }
}

/* ---- 細部 ---- */
.center { text-align: center; }
.mt-1 { margin-top: 1em; }
.mt-2 { margin-top: 2em; }
.divider { border: none; border-top: 1px solid var(--line); margin: 2.5em 0; }

::selection { background: var(--aqua-soft); }

:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: 4px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 44px 16px; }
  .hero { padding-top: 44px; }
  .site-nav { margin-left: 0; }
  /* スマホでは右に並べると文字が細くなりすぎるので縦積み。キャラは文字の上(波線のすぐ下)に置く=
     再生中のBGMボタン(ほぼ全幅・高さ最大117px)が下端を覆っても届かない */
  .footer-inner { flex-direction: column; padding: 30px 20px 64px; gap: 18px; }
  .footer-chara { height: 120px; order: -1; align-self: center; }
}

/* ---- 狭い画面ではメニューを畳む(768px以下) ----
   ヘッダーは画面に貼りつくので、メニューが2〜4行に折り返すと本文の見える面積がその分減る。
   🔴JSが動くときだけ畳む(html.js-nav)。JSが動かない環境では、これまでどおり全部並んだまま=どこへも行ける。 */
.nav-toggle { display: none; }

@media (max-width: 768px) {
  .js-nav .site-nav {
    display: none;
    order: 5;              /* 開いたときはヘッダーの最後の行に、全幅で出す */
    flex: 0 0 100%;
    margin-left: 0;
  }
  .js-nav .site-nav.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 4px;
    border-top: 1px solid var(--line);
    max-height: 70vh;      /* 項目が多くても画面からあふれない */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .js-nav .site-nav.open a {
    padding: 13px 10px;    /* 指で押しやすい高さ(46px前後)を確保する */
    border-radius: 8px;
    border-bottom: 1px solid var(--line);
  }
  .js-nav .site-nav.open a:last-child { border-bottom: none; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    min-height: 40px;
    padding: 7px 14px;
    font-size: 0.86rem;
    font-family: inherit;
    color: var(--ink);
    background: var(--paper);
    border: 1.5px solid var(--green);
    border-radius: 999px;
    cursor: pointer;
  }
  .nav-toggle[aria-expanded="true"] { background: var(--green-soft); }
  /* 3本線。開いているときは×に変える */
  .nav-toggle-bars {
    position: relative;
    width: 17px;
    height: 2px;
    background: var(--green-ink);
    border-radius: 2px;
    transition: background 0.2s ease;
  }
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 17px;
    height: 2px;
    background: var(--green-ink);
    border-radius: 2px;
    transition: transform 0.2s ease;
  }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after { transition: none; }
}
