@charset "UTF-8";

/* ==========================================================================
   診断図ギャラリー / ds-ai-coding-skills
   テーマカラー: #F26649 (redtea)
   ========================================================================== */

:root {
  --brand: #f26649;
  --brand-strong: #d8452a;
  --brand-ink: #8f2b17;
  --brand-soft: rgba(242, 102, 73, 0.10);
  --brand-line: rgba(242, 102, 73, 0.28);
  --teal: #2c7a6d;

  --bg: #fbf8f6;
  --bg-alt: #f3ede9;
  --surface: #ffffff;
  --surface-2: #f7f2ef;
  --border: #e7ded8;
  --border-strong: #d6c9c1;

  --text: #1d1714;
  --text-mid: #55483f;
  --text-dim: #857468;

  --ok: #2c7a4f;
  --ok-soft: rgba(44, 122, 79, 0.12);
  --check: #a06a07;
  --check-soft: rgba(160, 106, 7, 0.13);
  --act: var(--brand-strong);
  --act-soft: rgba(242, 102, 73, 0.14);

  --shadow-sm: 0 1px 2px rgba(29, 23, 20, 0.05), 0 2px 8px rgba(29, 23, 20, 0.04);
  --shadow-md: 0 4px 12px rgba(29, 23, 20, 0.07), 0 16px 40px rgba(29, 23, 20, 0.07);
  --shadow-lg: 0 24px 70px rgba(29, 23, 20, 0.30);

  --radius: 14px;
  --radius-sm: 9px;
  --sidebar-w: 268px;
  --maxw: 980px;

  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    "Yu Gothic Medium", "Yu Gothic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "SF Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas,
    "Noto Sans Mono CJK JP", monospace;
}

:root[data-theme="dark"] {
  --brand: #ff7f63;
  --brand-strong: #f26649;
  --brand-ink: #ffb3a1;
  --brand-soft: rgba(242, 102, 73, 0.16);
  --brand-line: rgba(255, 127, 99, 0.34);
  --teal: #5cc0ae;

  --bg: #14110f;
  --bg-alt: #191512;
  --surface: #1e1a17;
  --surface-2: #262019;
  --border: #352d27;
  --border-strong: #4a3f37;

  --text: #f4efec;
  --text-mid: #c4b7ae;
  --text-dim: #9b8b80;

  --ok: #5fc98c;
  --ok-soft: rgba(95, 201, 140, 0.14);
  --check: #e3b25b;
  --check-soft: rgba(227, 178, 91, 0.14);
  --act: #ff8e75;
  --act-soft: rgba(255, 142, 117, 0.16);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35), 0 16px 40px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.65);
}

/* --------------------------------------------------------------- base --- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* 見出しへジャンプしたときヘッダーに隠れないように */
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: anywhere;
}

body.is-locked { overflow: hidden; }

a { color: var(--brand-strong); text-decoration-color: var(--brand-line); text-underline-offset: 3px; }
a:hover { color: var(--brand); }

code, kbd, samp {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.1em 0.38em;
}

h1, h2, h3, h4 { line-height: 1.45; font-weight: 700; letter-spacing: 0.01em; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ------------------------------------------------------------- topbar --- */

.topbar {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar::before {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, #f2a649 48%, var(--teal) 100%);
}
.topbar__inner {
  max-width: 1360px; margin-inline: auto; padding: 10px 22px;
  display: flex; align-items: center; gap: 14px;
}
.brandmark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-width: 0; }
.brandmark__dot {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-strong) 100%);
  box-shadow: 0 2px 10px var(--brand-soft);
  position: relative;
}
.brandmark__dot::after {
  content: ""; position: absolute; inset: 8px 8px auto auto;
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.92);
}
.brandmark__text { font-weight: 700; font-size: 0.94rem; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brandmark__text span { color: var(--text-dim); font-weight: 500; }

.topbar__spacer { flex: 1 1 auto; }

.btn {
  display: inline-flex; align-items: center; gap: 7px;
  font: inherit; font-size: 0.84rem; font-weight: 600; line-height: 1;
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.15s;
}
.btn:hover { border-color: var(--brand); color: var(--brand-strong); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.btn--brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }
.btn--icon { padding: 9px 11px; }
.btn svg { width: 15px; height: 15px; flex: none; }

.nav-toggle { display: none; }

/* ---------------------------------------------------------------- hero --- */

.hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(900px 420px at 8% -10%, var(--brand-soft) 0%, transparent 62%),
    radial-gradient(700px 380px at 92% 0%, rgba(44, 122, 109, 0.10) 0%, transparent 60%),
    var(--bg-alt);
}
.hero::after {
  /* 薄いドットの地紋 */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(currentColor 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--text);
  opacity: 0.045;
}
.hero__inner { position: relative; z-index: 1; max-width: 1180px; margin-inline: auto; padding: 66px 22px 52px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand-strong); background: var(--brand-soft);
  border: 1px solid var(--brand-line); border-radius: 999px; padding: 6px 14px;
}

.hero h1 {
  margin: 20px 0 0;
  font-size: clamp(2rem, 5.2vw, 3.05rem);
  line-height: 1.28; letter-spacing: 0.005em;
}
.hero h1 em { font-style: normal; color: var(--brand-strong); }

.hero__lead {
  margin: 18px 0 0; max-width: 62ch;
  font-size: 1.04rem; color: var(--text-mid);
}
.hero__lead strong { color: var(--text); font-weight: 700; }

.stats {
  display: grid; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  max-width: 760px;
}
.stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 13px 14px; box-shadow: var(--shadow-sm);
}
.stat__num { font-size: 1.62rem; font-weight: 800; line-height: 1.15; color: var(--brand-strong); font-variant-numeric: tabular-nums; }
.stat__label { font-size: 0.76rem; color: var(--text-dim); font-weight: 600; letter-spacing: 0.04em; }

/* -------------------------------------------------------------- layout --- */

.layout {
  max-width: 1360px; margin-inline: auto;
  display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  gap: 40px; padding: 0 22px 80px;
}

/* ------------------------------------------------------------- sidebar --- */

.sidebar { position: relative; }
.sidebar__inner {
  position: sticky; top: 74px;
  max-height: calc(100vh - 96px);
  overflow-y: auto; overscroll-behavior: contain;
  padding: 26px 0 30px;
  scrollbar-width: thin;
}
.sidebar__title {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-dim); margin: 0 0 12px; padding-left: 13px;
}
.toc { list-style: none; margin: 0; padding: 0; font-size: 0.875rem; }
.toc a {
  display: block; padding: 5px 12px; border-left: 2px solid var(--border);
  color: var(--text-mid); text-decoration: none; line-height: 1.5;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.toc a:hover { color: var(--brand-strong); border-left-color: var(--brand-line); background: var(--brand-soft); }
.toc a.is-active { color: var(--brand-strong); border-left-color: var(--brand); font-weight: 700; background: var(--brand-soft); }
.toc__group { margin-top: 16px; }
.toc__group > a { font-weight: 700; color: var(--text); }
.toc__sub { list-style: none; margin: 2px 0 0; padding: 0; }
.toc__sub a { padding-left: 26px; font-size: 0.83rem; color: var(--text-dim); }
.toc__num {
  display: inline-block; min-width: 1.7em; font-variant-numeric: tabular-nums;
  color: var(--brand-strong); font-weight: 700;
}

/* ---------------------------------------------------------------- main --- */

.main { min-width: 0; padding-top: 26px; }
.main > section { scroll-margin-top: 84px; }

.prose { max-width: var(--maxw); }
.prose p { margin: 0 0 1.05em; color: var(--text-mid); }
.prose p strong { color: var(--text); }
.prose > h2 {
  margin: 0 0 6px; font-size: 1.5rem;
}
.prose ul { padding-left: 1.25em; color: var(--text-mid); }
.prose li { margin-bottom: 0.4em; }
.prose li strong { color: var(--text); }

.section-intro { padding: 30px 0 8px; }

.lede {
  font-size: 1.02rem; color: var(--text-mid);
}

/* ---------------------------------------------------------- note block --- */

.note {
  border: 1px solid var(--border); border-left: 3px solid var(--brand);
  background: var(--surface); border-radius: var(--radius-sm);
  padding: 16px 20px; margin: 22px 0; box-shadow: var(--shadow-sm);
}
.note--quiet { border-left-color: var(--border-strong); background: var(--surface-2); }
.note__title { font-weight: 700; font-size: 0.93rem; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.note p { margin: 0; font-size: 0.93rem; color: var(--text-mid); }
.note p + p { margin-top: 0.7em; }

/* -------------------------------------------------------------- legend --- */

.legend { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 22px 0 0; padding: 0; list-style: none; }
.legend__item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 15px 17px; box-shadow: var(--shadow-sm);
}
.legend__item p { margin: 8px 0 0; font-size: 0.87rem; color: var(--text-mid); line-height: 1.7; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.73rem; font-weight: 800; letter-spacing: 0.06em;
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  border: 1px solid transparent;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--ok { color: var(--ok); background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 32%, transparent); }
.badge--check { color: var(--check); background: var(--check-soft); border-color: color-mix(in srgb, var(--check) 32%, transparent); }
.badge--act { color: var(--act); background: var(--act-soft); border-color: color-mix(in srgb, var(--act) 40%, transparent); }

/* --------------------------------------------------------------- skill --- */

.skill { margin-top: 64px; scroll-margin-top: 84px; }

.skill__head {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start;
  padding-bottom: 20px; border-bottom: 2px solid var(--brand-line);
}
.skill__num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #fff; font-size: 1.32rem; font-weight: 800; font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 18px var(--brand-soft);
}
.skill__titles { min-width: 0; }
.skill__titles h2 { margin: 0; font-size: 1.62rem; }
.skill__slug {
  display: inline-block; margin-top: 6px;
  font-family: var(--mono); font-size: 0.78rem; color: var(--text-dim);
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 2px 8px;
}
.skill__desc { margin: 14px 0 0; color: var(--text-mid); max-width: 70ch; }

/* -------------------------------------------------------------- method --- */

.method {
  margin-top: 30px; scroll-margin-top: 84px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: opacity 0.2s, filter 0.2s;
}
.method.is-dimmed { display: none; }

.method__head {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
}
.method__titleline { display: flex; align-items: baseline; gap: 11px; flex-wrap: wrap; }
.method__num {
  font-family: var(--mono); font-size: 0.8rem; font-weight: 700;
  color: var(--brand-strong); background: var(--brand-soft);
  border: 1px solid var(--brand-line); border-radius: 6px; padding: 1px 7px;
}
.method__titleline h3 { margin: 0; font-size: 1.2rem; }
.method__ref {
  font-family: var(--mono); font-size: 0.75rem; color: var(--text-dim);
  margin-left: auto;
}
.method__meta {
  margin: 12px 0 0; display: grid; gap: 4px;
  font-size: 0.87rem; color: var(--text-mid);
}
.method__meta dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; margin: 0; }
.method__meta dt {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em; color: var(--text-dim);
  padding-top: 0.28em; white-space: nowrap;
}
.method__meta dd { margin: 0; }

.method__body { padding: 20px 24px 24px; }
.method__body > p { margin: 0 0 1em; color: var(--text-mid); font-size: 0.95rem; }
.method__body > p:last-child { margin-bottom: 0; }
.method__body strong { color: var(--text); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.tags li {
  font-family: var(--mono); font-size: 0.72rem; color: var(--text-dim);
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 2px 9px;
}

/* -------------------------------------------------------------- figure --- */

.fig { margin: 20px 0 0; }
.fig__frame {
  display: block; position: relative;
  background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  overflow: hidden; cursor: zoom-in; line-height: 0;
  transition: border-color 0.16s, box-shadow 0.16s, transform 0.16s;
}
.fig__frame:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.fig__frame:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.fig__frame img { display: block; width: 100%; height: auto; }
.fig__frame::after {
  content: "拡大"; position: absolute; right: 10px; bottom: 10px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; line-height: 1;
  color: #fff; background: rgba(29, 23, 20, 0.74); padding: 6px 10px; border-radius: 999px;
  opacity: 0; transition: opacity 0.16s;
}
.fig__frame:hover::after, .fig__frame:focus-visible::after { opacity: 1; }

.fig figcaption {
  margin-top: 10px; font-size: 0.855rem; color: var(--text-mid); line-height: 1.75;
}
.fig figcaption b { color: var(--text); }
.fig figcaption .fig__file {
  display: inline-block; font-family: var(--mono); font-size: 0.72rem;
  color: var(--text-dim); margin-right: 8px;
}

.fig-grid { display: grid; gap: 16px; margin-top: 20px; }
.fig-grid--2 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.fig-grid--3 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.fig-grid .fig { margin: 0; }

.stage {
  margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--border-strong);
}
.stage__label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 4px;
  font-size: 0.95rem; font-weight: 700;
}
.stage__label span {
  font-family: var(--mono); font-size: 0.75rem; font-weight: 700;
  color: #fff; background: var(--brand-strong); border-radius: 5px; padding: 1px 7px;
}
.stage__note { margin: 0 0 4px; font-size: 0.9rem; color: var(--text-mid); }

/* ------------------------------------------------------------ verdicts --- */

.verdicts {
  margin: 22px 0 0; padding: 16px 18px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.verdicts__title {
  margin: 0 0 11px; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--text-dim);
}
.verdicts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.verdicts li {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start;
  font-size: 0.885rem; color: var(--text-mid); line-height: 1.72;
}
.verdicts li > .badge { margin-top: 0.28em; }
.verdicts b { color: var(--text); font-weight: 700; }
.verdicts .v-next { color: var(--text-dim); }
.verdicts .v-next::before { content: " → "; color: var(--brand-strong); font-weight: 700; }

/* -------------------------------------------------------------- filter --- */

.filterbar {
  position: sticky; top: 58px; z-index: 40;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 26px 0 0; padding: 11px 16px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow-sm);
}
.filterbar__label { font-size: 0.78rem; font-weight: 700; color: var(--text-dim); letter-spacing: 0.05em; }
.chip {
  font: inherit; font-size: 0.8rem; font-weight: 600; line-height: 1;
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-mid);
  transition: all 0.15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand-strong); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.filterbar__count { font-size: 0.78rem; color: var(--text-dim); margin-left: auto; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ lightbox --- */

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: none; place-items: center;
  background: rgba(14, 11, 9, 0.93);
  padding: 20px;
}
.lightbox[open], .lightbox.is-open { display: grid; }
.lightbox__stage {
  max-width: min(1500px, 96vw); max-height: 88vh;
  display: flex; flex-direction: column; gap: 12px; min-height: 0;
}
.lightbox__img {
  max-width: 100%; max-height: 78vh; object-fit: contain;
  background: #fff; border-radius: 8px; box-shadow: var(--shadow-lg);
}
.lightbox__bar { display: flex; align-items: center; gap: 14px; color: #f4efec; font-size: 0.83rem; }
.lightbox__cap { flex: 1 1 auto; min-width: 0; line-height: 1.6; }
.lightbox__cap b { color: #fff; }
.lightbox__close {
  position: fixed; top: 18px; right: 20px;
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff; font-size: 1.3rem; line-height: 1; display: grid; place-items: center;
}
.lightbox__close:hover { background: var(--brand); border-color: var(--brand); }
.lightbox a { color: #ffb3a1; }

/* -------------------------------------------------------------- footer --- */

.footer {
  border-top: 1px solid var(--border); background: var(--bg-alt);
  padding: 44px 0 60px; font-size: 0.88rem; color: var(--text-dim);
}
.footer__grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); max-width: 1180px; margin-inline: auto; padding-inline: 22px; }
.footer h3 { margin: 0 0 8px; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mid); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 5px; line-height: 1.7; }
.footer code { font-size: 0.8em; }

/* ---------------------------------------------------------- responsive --- */

@media (max-width: 1080px) {
  .layout { grid-template-columns: 1fr; gap: 0; }
  .nav-toggle { display: inline-flex; }
  .sidebar {
    position: fixed; inset: 0 auto 0 0; z-index: 70; width: min(320px, 86vw);
    background: var(--surface); border-right: 1px solid var(--border);
    transform: translateX(-102%); transition: transform 0.24s ease;
    box-shadow: var(--shadow-md);
  }
  .sidebar.is-open { transform: none; }
  .sidebar__inner { position: static; max-height: 100%; height: 100%; padding: 22px 8px 40px; }
  .scrim {
    position: fixed; inset: 0; z-index: 65; background: rgba(14, 11, 9, 0.5);
    opacity: 0; pointer-events: none; transition: opacity 0.24s;
  }
  .scrim.is-open { opacity: 1; pointer-events: auto; }
  .main { padding-top: 8px; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap, .layout, .topbar__inner, .hero__inner, .footer__grid { padding-inline: 16px; }
  .hero__inner { padding-top: 44px; padding-bottom: 38px; }
  .method__head, .method__body { padding-inline: 16px; }
  .method__ref { margin-left: 0; width: 100%; }
  .skill__head { grid-template-columns: auto minmax(0, 1fr); gap: 13px; }
  .skill__num { width: 42px; height: 42px; border-radius: 12px; font-size: 1.1rem; }
  .skill__titles h2 { font-size: 1.3rem; }
  .filterbar { border-radius: var(--radius-sm); }
  .brandmark__text span { display: none; }
}
