/* LAUHP — front page (dark).
   One loud moment (the hero: noise swallowed by a black hole), then quiet, typeset pages.
   Type: Shippori Mincho B1 (Japanese display) / Zen Kaku Gothic New (text) / Instrument Serif (Latin display) / Inter Tight (figures). */
:root {
  interpolate-size: allow-keywords;
  --bg: #000;
  --ink: #ededf0;
  --body: #c4c5cc;
  --muted: #8a8b94;
  --rule: rgba(237, 237, 240, 0.14);
  --rule-strong: rgba(237, 237, 240, 0.32);
  --accent: #b4c2ff;
  --violet: #b48cff; /* the LAUHP initials */

  --f-display: "Instrument Serif", "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", system-ui, sans-serif;
  --f-latin: "Instrument Serif", Georgia, serif;
  --f-figure: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  /* 390px → 1440px */
  --fs-motto: clamp(30px, 24.06px + 1.524vw, 46px);
  --fs-hero: clamp(24px, 20.29px + 0.952vw, 34px);
  --fs-display: clamp(30px, 20.34px + 2.476vw, 56px);
  --fs-h2: clamp(26px, 20.8px + 1.333vw, 40px);
  --fs-h3: clamp(21px, 18.4px + 0.667vw, 28px);
  --fs-name: clamp(24px, 21.77px + 0.571vw, 30px);
  --fs-lead: clamp(16px, 15.26px + 0.19vw, 18px);
  --fs-body: clamp(15px, 14.63px + 0.095vw, 16px);
  --fs-small: 14px;
  --fs-ui: 14px;
  --fs-label: 13px;

  --margin: clamp(20px, 6.476vw - 5.26px, 88px);
  --gutter: clamp(16px, 13.03px + 0.762vw, 24px);
  --sec-space: clamp(104px, 74.29px + 7.619vw, 184px);
  --head-gap: clamp(40px, 31.09px + 2.286vw, 64px);
  --header-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--bg);
  color: var(--body);
  font: 400 var(--fs-body) / 1.95 var(--f-body);
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-autospace: normal;
}
a { color: inherit; }
img { max-width: 100%; height: auto; vertical-align: middle; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10000; padding: 8px 16px; background: var(--ink); color: var(--bg); }
.skip-link:focus { left: 8px; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nb { display: inline-block; }
/* Japanese headings break between phrases, in lines of even length */
.dk-main :is(h1, h2, h3, h4, dt, .statement) { word-break: auto-phrase; text-wrap: balance; }
.num { font-family: var(--f-figure); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.plain-link { text-decoration: none; overflow-wrap: anywhere; }
.plain-link:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
br.pc { display: none; }
@media (min-width: 1024px) { br.pc { display: inline; } br.sp { display: none; } }

/* Hand-set punctuation in headings (see lauhp_yk()) */
.yk-e { margin-right: -0.5em; }
.yk-s { margin-left: -0.5em; }
.yk-m { margin: 0 -0.25em; }

/* Deep-space backdrop behind the content (the hero paints its own sky) */
body.theme-dark::before, body.theme-dark::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; }
body.theme-dark::before {
  background:
    url("stars-1.svg") 0 0 / 640px 640px repeat,
    radial-gradient(55% 45% at 12% 18%, rgba(52, 72, 190, 0.08), rgba(52, 72, 190, 0) 70%),
    radial-gradient(45% 40% at 92% 78%, rgba(118, 64, 176, 0.06), rgba(118, 64, 176, 0) 70%);
}
body.theme-dark::after {
  background: url("stars-2.svg") 220px 140px / 1100px 1100px repeat;
  animation: lauhp-twinkle 6s ease-in-out infinite alternate;
}
@keyframes lauhp-twinkle { from { opacity: 0.45; } to { opacity: 1; } }
/* the far stars drift slower than the page: a little depth while scrolling */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    body.theme-dark::after { inset: 0 0 -30vh; animation: lauhp-twinkle 6s ease-in-out infinite alternate, lauhp-drift linear both; animation-timeline: auto, scroll(root); }
    @keyframes lauhp-drift { from { translate: 0 0; } to { translate: 0 -30vh; } }
  }
}

/* Headings come into focus character by character (motion.js adds .is-split / .is-in) */
.motion-ok :is(.statement, .js-settle):not(.is-split) { opacity: 0; animation: lauhp-unhide 0s linear 2.5s forwards; }
@keyframes lauhp-unhide { to { opacity: 1; } }
.ch { transition: color .9s cubic-bezier(.2, .7, .2, 1), text-shadow 1.2s cubic-bezier(.2, .7, .2, 1), opacity .9s ease; transition-delay: calc(var(--i, 0) * 24ms); }
.is-split:not(.is-in) .ch { color: transparent; opacity: 0.2; text-shadow: 0 0 0.34em rgba(237, 237, 240, 0.65); }

/* ---------- Header ---------- */
.dk-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h); padding: 0 var(--margin);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
.dk-header::before {
  content: ""; position: absolute; inset: 0 0 -24px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  transition: opacity .3s ease;
}
.dk-header.is-scrolled::before, .menu-open .dk-header::before { opacity: 0; }
.dk-header.is-scrolled {
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--rule);
}
.admin-bar .dk-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .dk-header { top: 46px; } }
.dk-logo { font: 400 26px / 1 var(--f-latin); letter-spacing: 0.02em; text-decoration: none; color: var(--ink); }

.gnav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.gnav__item { position: relative; }
.gnav__link {
  display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px;
  font: 500 var(--fs-ui) / 1 var(--f-body); letter-spacing: 0.04em; color: var(--body);
  text-decoration: none; white-space: nowrap; background: none; border: 0; cursor: pointer;
  text-underline-offset: 6px; text-decoration-thickness: 1px;
  transition: color .2s ease;
}
.gnav__link:hover, .gnav__item.is-current > .gnav__link, .gnav__item.is-here > .gnav__link { color: var(--ink); text-decoration-line: underline; }
.gnav__caret { width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.gnav__item:last-child { margin-left: 12px; }
.gnav__item:last-child > .gnav__link {
  padding: 0 16px; border: 1px solid var(--rule-strong); color: var(--ink); text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.gnav__item:last-child > .gnav__link:hover { background: var(--ink); border-color: var(--ink); color: #000; }
.gnav__sub {
  list-style: none; margin: 0; padding: 8px 0; position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 280px; background: #000; border: 1px solid var(--rule);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.gnav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.gnav__item:hover > .gnav__sub, .gnav__item:focus-within > .gnav__sub { opacity: 1; visibility: visible; transform: none; }
.gnav__sub a { display: block; padding: 10px 20px; font-size: var(--fs-ui); line-height: 1.6; color: var(--body); text-decoration: none; }
.gnav__sub a:hover, .gnav__sub a.is-here { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.menu-toggle { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; cursor: pointer; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 21.5px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 1023px) {
  :root { --header-h: 60px; }
  .dk-logo { font-size: 24px; }
  .menu-toggle { display: block; }
  .gnav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 999;
    padding: 8px var(--margin) 48px; overflow-y: auto; background: #000;
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
  }
  .admin-bar .gnav { top: calc(var(--header-h) + 46px); }
  .menu-open .gnav { opacity: 1; visibility: visible; }
  /* no backdrop-filter while open: it would make the header the containing block of the fixed menu */
  .menu-open .dk-header { background: #000; border-bottom-color: var(--rule); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-open { overflow: hidden; }
  .gnav__list { display: block; }
  .gnav__item { border-bottom: 1px solid var(--rule); }
  .gnav__item:last-child { margin: 32px 0 0; border-bottom: 0; }
  .gnav__link { width: 100%; height: 60px; padding: 0; font-size: 16px; justify-content: space-between; color: var(--ink); }
  .gnav__item:last-child > .gnav__link { justify-content: center; height: 56px; padding: 0 16px; }
  .gnav__caret { display: none; }
  .gnav__sub { position: static; transform: none; opacity: 1; visibility: visible; min-width: 0; padding: 0 0 12px; background: none; border: 0; }
  .gnav__sub a { padding: 10px 0 10px 16px; color: var(--body); }
}

/* ---------- Hero (animation in warp.js) ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--bg);
}
#warp { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }

.copy {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  text-shadow: 0 0 22px rgba(0, 0, 0, 0.95), 0 0 6px rgba(0, 0, 0, 0.8);
}
.copy-noise {
  position: absolute;
  left: 50%;
  top: 45%;
  z-index: 3;
  width: min(88vw, 640px);
  font-size: var(--fs-h3);
  line-height: 1.8;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  opacity: 0;
}
.intro .copy-noise { opacity: 1; }

.stage {
  position: absolute;
  left: 0; right: 0;
  top: 47%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 3.2svh, 32px);
  padding: 0 var(--margin);
  text-align: center;
  transform: translateY(-50%);
  pointer-events: none;
}
.motto {
  margin: 0;
  font-family: var(--f-latin);
  font-size: var(--fs-motto);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  color: rgba(237, 237, 240, 0.62);
}
.motto__line { display: block; }
.motto .nb { display: inline-block; }
.motto b {
  font-weight: 400;
  color: var(--violet);
  opacity: var(--ini, 1);
  text-shadow: 0 0 calc(var(--glow, 0.35) * 26px) rgba(150, 100, 255, 0.9);
}
.motto .r { font-style: italic; opacity: var(--rest, 1); }
.stage h1 { font-size: var(--fs-hero); line-height: 1.6; letter-spacing: 0.04em; white-space: nowrap; }
.intro .motto { --ini: 0; --rest: 0; }
.intro .stage h1 { opacity: 0; }

.hero-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 16%;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), var(--bg) 92%);
  pointer-events: none;
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 0; z-index: 3;
  display: block; padding: 12px 20px clamp(20px, 3svh, 32px);
  transform: translateX(-50%);
  opacity: 0; transition: opacity .8s ease;
}
.hero.is-done .scroll-cue { opacity: 1; }
.scroll-cue__line { display: block; position: relative; width: 1px; height: 56px; overflow: hidden; background: rgba(255, 255, 255, 0.16); }
.scroll-cue__line::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
  animation: lauhp-drop 2.2s cubic-bezier(.6, 0, .3, 1) infinite;
}
@keyframes lauhp-drop { to { top: 100%; } }

/* Black hole that follows the mouse below the hero (drawn by warp.js). It sits under the text. */
.bh-follow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.dk-main, .dk-footer { position: relative; z-index: 3; }

/* ---------- Grid ---------- */
.wrap { width: 100%; max-width: calc(1264px + 2 * var(--margin)); margin: 0 auto; padding: 0 var(--margin); }
.sec { padding: var(--sec-space) 0 0; }
.dk-main > .sec:last-child { padding-bottom: var(--sec-space); }
.side { margin: 0 0 20px; }
.side__title { margin: 0; display: flex; align-items: baseline; gap: 12px; }
.side__ja { font: 500 var(--fs-label) / 1.6 var(--f-body); letter-spacing: 0.06em; color: var(--muted); }
.side__en { font: italic 400 18px / 1.2 var(--f-latin); letter-spacing: 0; color: var(--ink); }

@media (min-width: 1024px) {
  .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
  .side { grid-column: 1 / 4; margin: 0; }
  .body { grid-column: 4 / 13; min-width: 0; }
  .side .side__title {
    position: sticky; top: calc(var(--header-h) + 40px);
    flex-direction: column; align-items: flex-start; gap: 2px;
    padding-top: calc(var(--fs-h2) * 0.25 - 4px); /* glyph tops level with the statement's first line */
  }
  .side--table .side__title { padding-top: 27px; } /* section that opens with a table: label on the first row's baseline */
}
.body > .facts:first-child, .body > .rows:first-child { margin-top: 0; }

/* ---------- Shared type ---------- */
.statement {
  margin: 0;
  font-family: var(--f-display);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--ink);
  word-break: auto-phrase;
  text-wrap: balance;
}
.lead {
  max-width: 34em;
  margin: 28px 0 0;
  font-size: var(--fs-lead);
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--body);
  word-break: auto-phrase;
  text-wrap: pretty;
}
.text-link {
  display: inline-block; padding: 4px 0;
  font: 500 var(--fs-ui) / 1.6 var(--f-body); letter-spacing: 0.04em; color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; text-decoration-color: var(--rule-strong);
  transition: text-decoration-color .2s ease;
}
.text-link:hover { text-decoration-color: var(--ink); }
.text-link--small { font-size: var(--fs-label); font-weight: 400; color: var(--body); }
.text-link-wrap { margin: 40px 0 0; }

/* Rows: a rule means "this whole line is one link" */
.rows { list-style: none; margin: var(--head-gap) 0 0; padding: 0; border-bottom: 1px solid var(--rule); }
.row-item { margin: 0; }
.post-row { position: relative; text-decoration: none; color: inherit; border-top: 1px solid var(--rule); }
.post-row::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .24s cubic-bezier(.3, .6, .2, 1);
}
.post-row:hover::before, .post-row:focus-visible::before { transform: scaleX(1); }
.post-row:focus-visible { outline-offset: -1px; }

/* ---------- Members: a typographic roster (no photos); each line opens the career ---------- */
.roster { list-style: none; margin: var(--head-gap) 0 0; padding: 0; border-bottom: 1px solid var(--rule); }
.mem { position: relative; border-top: 1px solid var(--rule); }
.mem::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .24s cubic-bezier(.3, .6, .2, 1); }
.mem:hover::before, .mem:focus-within::before { transform: scaleX(1); }
.mem__sum { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gutter); align-items: baseline; padding: 28px 0 30px; cursor: pointer; list-style: none; }
.mem__sum::-webkit-details-marker { display: none; }
.mem__sum:focus-visible { outline-offset: -1px; }
.mem__name { grid-column: 1 / 5; display: inline-block; justify-self: start; font: 400 clamp(42px, 5.4vw, 84px) / 1 var(--f-latin); letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.mem__sum:hover .mem__name { font-style: italic; }
.mem__meta { grid-column: 5 / 9; display: grid; row-gap: 6px; }
.mem__role { font: 400 var(--fs-label) / 1.4 var(--f-figure); letter-spacing: 0.01em; color: var(--muted); }
.mem__path { font-size: var(--fs-small); line-height: 1.7; color: var(--body); }
.mem__path span { white-space: nowrap; }
.mem__path span + span::before { content: ""; display: inline-block; width: 12px; height: 1px; margin: 0 8px; background: var(--muted); vertical-align: middle; }
.mem__toggle { grid-column: 9 / 10; justify-self: end; position: relative; width: 14px; height: 14px; transform: translateY(-0.2em); }
.mem__toggle::before, .mem__toggle::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1px; background: var(--ink); transition: transform .25s ease; }
.mem__toggle::after { transform: rotate(90deg); }
.mem__d[open] .mem__toggle::after { transform: rotate(0deg); }
.mem__bio { max-width: 34em; margin-left: calc((100% + var(--gutter)) * 4 / 9); padding: 0 0 34px; }
.mem__bio p { margin: 0; font-size: var(--fs-small); line-height: 1.9; line-break: strict; }
.mem__bio p + p { margin-top: 0.7em; }
.mem__d::details-content { block-size: 0; overflow: hidden; transition: block-size .4s cubic-bezier(.3, .6, .2, 1), content-visibility .4s allow-discrete; }
.mem__d[open]::details-content { block-size: auto; }
.roster + .note { margin-top: 40px; }
.roster--compact .mem__name { font-size: clamp(36px, 4.4vw, 64px); }
@media (max-width: 759px) {
  .mem__sum { grid-template-columns: 1fr auto; row-gap: 12px; padding: 22px 0 24px; }
  .mem__name { grid-column: 1; }
  .mem__toggle { grid-column: 2; grid-row: 1; }
  .mem__meta { grid-column: 1 / -1; }
  .mem__bio { margin-left: 0; padding-bottom: 26px; }
}

.note { max-width: 34em; margin: 56px 0 0; font-size: var(--fs-small); line-height: 1.85; color: var(--muted); }

/* ---------- Company ---------- */
.quote { margin: var(--head-gap) 0 0; padding: 0; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; max-width: 24em; font: 500 var(--fs-h3) / 1.65 var(--f-display); letter-spacing: 0.02em; color: var(--ink); word-break: auto-phrase; text-wrap: pretty; }
@media (min-width: 1024px) { .quote .yk-s { margin-left: -1em; } }
.quote figcaption { max-width: 34em; margin: 20px 0 0; font-size: var(--fs-small); line-height: 1.85; color: var(--body); text-align: justify; line-break: strict; }
.facts { margin: var(--head-gap) 0 0; border-bottom: 1px solid var(--rule); }
.facts__row { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gutter); align-items: baseline; padding: 20px 0; border-top: 1px solid var(--rule); }
.facts dt { grid-column: 1 / 3; font: 500 var(--fs-label) / 1.6 var(--f-body); letter-spacing: 0.06em; color: var(--muted); }
.facts dd { grid-column: 3 / 10; margin: 0; line-height: 1.85; color: var(--ink); }
.facts dd .text-link { margin-top: 4px; }
@media (max-width: 759px) {
  .facts__row { grid-template-columns: 6.5em 1fr; }
  .facts dt { grid-column: 1; }
  .facts dd { grid-column: 2; }
}

/* ---------- Blog ---------- */
.post-row { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gutter); align-items: baseline; padding: 28px 0 30px; }
.post-row__date { grid-column: 1 / 3; font-size: var(--fs-label); color: var(--muted); }
.post-row__title { grid-column: 3 / 10; display: block; }
.post-row__main { display: block; font-size: 17px; font-weight: 500; line-height: 1.7; letter-spacing: 0.03em; color: var(--ink); word-break: auto-phrase; }
.post-row__sub { display: block; margin-top: 4px; font-size: var(--fs-small); line-height: 1.7; color: var(--muted); }
@media (max-width: 759px) {
  .post-row { grid-template-columns: 1fr; padding: 22px 0 24px; }
  .post-row__date, .post-row__title { grid-column: 1; }
  .post-row__title { margin-top: 6px; }
}

/* ---------- Contact: the one place the text starts in the label column ---------- */
.sec--contact .side__title--inline { margin: 0 0 28px; }
.contact__title {
  margin: 0 0 0 -0.05em; font: 500 var(--fs-display) / 1.4 var(--f-display); letter-spacing: 0.02em; color: var(--ink);
}
.contact__grid { margin-top: var(--head-gap); display: grid; gap: 40px; }
.contact__text { max-width: 26em; margin: 0; font-size: var(--fs-lead); line-height: 2; letter-spacing: 0.04em; word-break: auto-phrase; text-wrap: pretty; }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 32px;
  font: 500 15px / 1 var(--f-body); letter-spacing: 0.04em; text-decoration: none;
  background: var(--ink); color: #000; border: 1px solid var(--ink);
  transition: background-color .2s ease, color .2s ease;
}
.btn:hover { background: transparent; color: var(--ink); }
.contact__direct { margin: 0; display: grid; gap: 10px; }
.contact__direct > div { display: grid; grid-template-columns: 5em 1fr; align-items: baseline; }
.contact__direct dt { font: 500 var(--fs-label) / 1.6 var(--f-body); letter-spacing: 0.06em; color: var(--muted); }
.contact__direct dd { margin: 0; font-size: 16px; color: var(--ink); }
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: baseline; }
  .contact__text { grid-column: 1 / 6; }
  .contact__actions { grid-column: 7 / 10; flex-direction: column; align-items: flex-start; }
  .contact__direct { grid-column: 10 / 13; }
}
@media (max-width: 520px) { .contact__actions .btn { width: 100%; } }

/* ---------- Footer: a colophon ---------- */
.dk-footer { padding: 72px 0 32px; border-top: 1px solid var(--rule); color: var(--body); }
.dk-footer__grid { row-gap: 40px; }
.dk-footer__logo { font: 400 32px / 1 var(--f-latin); letter-spacing: 0.02em; color: var(--ink); text-decoration: none; }
.dk-footer__motto { margin: 14px 0 0; font: 400 16px / 1.35 var(--f-latin); color: var(--muted); }
.dk-footer__motto b { font-weight: 400; color: var(--violet); }
.dk-footer__label { margin: 0 0 12px; font: 500 var(--fs-label) / 1.6 var(--f-body); letter-spacing: 0.06em; color: var(--muted); }
.dk-footer .fnav { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--fs-ui); line-height: 1.7; }
.dk-footer .fnav a { font-size: var(--fs-ui); line-height: 1.7; color: var(--body); text-decoration: none; }
.dk-footer .fnav a:hover, .dk-footer .fnav .is-current a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.dk-footer__addr { margin: 0; font-style: normal; font-size: var(--fs-ui); line-height: 1.7; }
.dk-footer__contact { margin: 12px 0 0; font-size: var(--fs-ui); line-height: 1.9; }
.dk-footer__bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: var(--fs-label); color: var(--muted); }
.dk-footer__bottom small { font-size: inherit; }
@media (min-width: 1024px) {
  .dk-footer__grid > .dk-footer__brand { grid-column: 1 / 4; }
  .dk-footer__grid > :nth-child(2) { grid-column: 4 / 7; }
  .dk-footer__grid > :nth-child(3) { grid-column: 7 / 10; }
  .dk-footer__grid > :nth-child(4) { grid-column: 10 / 13; }
  .dk-footer__grid > .dk-footer__bottom { grid-column: 1 / 13; margin-top: 32px; }
}
@media (max-width: 1023px) {
  .dk-footer__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); }
  .dk-footer__brand, .dk-footer__bottom { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .dk-footer__grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   Pages other than the top: same grid, type and rules
   ===================================================================== */

/* ---------- Page head ---------- */
.page-head { padding: calc(var(--header-h) + clamp(40px, 6vw, 96px)) 0 0; }
.page-head__crumbs { grid-column: 1 / -1; margin: 0 0 clamp(48px, 6vw, 88px); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: var(--fs-label); line-height: 1.6; letter-spacing: 0.04em; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 0.75em; color: var(--rule-strong); }
.crumbs a { color: var(--body); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.page-head__title { margin: 0; font: 500 var(--fs-display) / 1.35 var(--f-display); letter-spacing: 0.02em; color: var(--ink); word-break: auto-phrase; text-wrap: balance; }
.page-head__title--post { font-size: var(--fs-h2); line-height: 1.5; }
.page-head__lead { max-width: 34em; margin: 24px 0 0; font-size: var(--fs-lead); line-height: 2; letter-spacing: 0.04em; color: var(--body); word-break: auto-phrase; text-wrap: pretty; }
.page-head + .sec, .page-head + .sec--prose { padding-top: clamp(72px, 8vw, 128px); }
@media (min-width: 1024px) {
  .page-head .side .side__title { position: static; padding-top: calc(var(--fs-display) * 0.175 - 4px); }
  .page-head--post .side .side__title { padding-top: 0; }
}
.post-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin: 0 0 20px; font-size: var(--fs-label); line-height: 1.6; letter-spacing: 0.04em; color: var(--muted); }
.post-meta__cat { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule-strong); }
.post-meta__cat:hover { border-color: var(--ink); }
.post-eyecatch { margin: clamp(40px, 5vw, 64px) 0 0; }
.post-eyecatch img { display: block; width: 100%; height: auto; }

/* ---------- Long-form text (fixed pages without sections, blog posts) ---------- */
.prose { max-width: 42em; color: var(--body); overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 1.15em 0 0; line-height: 2; }
.prose h2 { margin: 2.8em 0 0; padding-top: 1.2em; border-top: 1px solid var(--rule); font: 500 var(--fs-h3) / 1.55 var(--f-display); letter-spacing: 0.02em; color: var(--ink); }
.prose h3 { margin: 2.2em 0 0; font-size: 19px; font-weight: 500; line-height: 1.7; letter-spacing: 0.03em; color: var(--ink); }
.prose h4 { margin: 1.8em 0 0; font-size: 16px; font-weight: 500; line-height: 1.8; color: var(--ink); }
.prose ul, .prose ol { margin: 1.15em 0 0; padding-left: 1.4em; }
.prose li { margin: 0.45em 0 0; line-height: 1.9; }
.prose li::marker { color: var(--muted); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--rule-strong); text-underline-offset: 4px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong, .prose b { font-weight: 500; color: var(--ink); }
.prose blockquote { margin: 1.8em 0 0; padding: 0 0 0 1.4em; border-left: 1px solid var(--rule-strong); }
.prose figure { margin: 2em 0 0; }
.prose img { height: auto; }
.prose figcaption { margin-top: 10px; font-size: var(--fs-label); line-height: 1.7; color: var(--muted); }
.prose hr { margin: 2.6em 0 0; border: 0; border-top: 1px solid var(--rule); }
.prose code { padding: 0.1em 0.35em; font-size: 0.92em; background: rgba(237, 237, 240, 0.08); }
.prose table { width: 100%; margin: 1.8em 0 0; border-collapse: collapse; font-size: 14px; line-height: 1.8; }
.prose th, .prose td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.prose th { font-weight: 500; color: var(--ink); background: rgba(237, 237, 240, 0.04); }
.prose thead th { border-bottom-color: var(--rule-strong); }
.prose .wp-block-table { margin: 1.8em 0 0; overflow-x: auto; }
.prose .wp-block-table table { margin: 0; }
.prose .wp-block-table thead { border-bottom: 0; }
.prose .wp-block-table td, .prose .wp-block-table th { border: 0; border-bottom: 1px solid var(--rule); }
.prose .wp-block-image { margin: 2em 0 0; }
.prose .wp-block-quote { border-left: 1px solid var(--rule-strong); }
.is-migrated .prose--post > p:first-child { color: var(--muted); font-size: var(--fs-small); } /* author line that opens migrated posts */
/* Boxes from the editor's LAUHP patterns: この記事の要約 / ポイント / お問い合わせへの案内 */
.prose .lauhp-box { margin: 2em 0 0; padding: 26px 28px 28px; background: rgba(237, 237, 240, 0.05); }
.prose .lauhp-box > :first-child { margin-top: 0; }
.prose .lauhp-box__label { margin: 0; font-size: var(--fs-label); line-height: 1.6; letter-spacing: 0.06em; color: var(--muted); }
.prose .lauhp-box__label + * { margin-top: 10px; }
.prose .lauhp-box__lead { margin: 0; color: var(--ink); line-height: 1.9; }
.prose .lauhp-box .wp-block-buttons { margin-top: 22px; }
.prose .lauhp-box .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 32px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: #000; font: 500 15px / 1 var(--f-body); letter-spacing: 0.04em; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.prose .lauhp-box .wp-block-button__link:hover { background: transparent; color: var(--ink); }
@media (max-width: 759px) { .prose .lauhp-box { padding: 22px 20px 24px; } .prose .lauhp-box .wp-block-button, .prose .lauhp-box .wp-block-button__link { width: 100%; } }

/* ---------- Article layout ---------- */
.sec--article { padding-top: clamp(56px, 6vw, 96px); }
.share__label { margin: 0 0 10px; font: 500 var(--fs-label) / 1.6 var(--f-body); letter-spacing: 0.06em; color: var(--muted); }
.share ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.share a, .share button { padding: 0; border: 0; background: none; font: 400 var(--fs-ui) / 1.9 var(--f-body); letter-spacing: 0.04em; color: var(--body); text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
@media (min-width: 1024px) {
  .sec--article .side .share { position: sticky; top: calc(var(--header-h) + 40px); }
  .share ul { flex-direction: column; }
}
@media (max-width: 1023px) {
  .sec--article .side { order: 2; margin: 56px 0 0; padding-top: 20px; border-top: 1px solid var(--rule); }
  .sec--article .wrap { display: flex; flex-direction: column; }
}

/* ---------- Blog lists ---------- */
.post-list--flush { margin-top: 0; }
.post-row__meta { grid-column: 1 / 3; display: flex; flex-direction: column; gap: 2px; }
.post-row__cat { font-size: var(--fs-label); line-height: 1.6; letter-spacing: 0.04em; color: var(--muted); }
@media (max-width: 759px) { .post-row__meta { flex-direction: row; gap: 14px; } }
.tabs ul { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.tabs a { font: 500 var(--fs-ui) / 1.8 var(--f-body); letter-spacing: 0.04em; color: var(--body); text-decoration: none; }
.tabs a .num { margin-left: 4px; font-size: var(--fs-label); color: var(--muted); }
.tabs a:hover, .tabs a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
@media (min-width: 1024px) {
  .sec--list .side .tabs { position: sticky; top: calc(var(--header-h) + 40px); }
  .tabs ul { flex-direction: column; margin: 0; padding-top: 28px; }
}
.pager ul { list-style: none; margin: 48px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.pager a, .pager span { display: inline-block; min-width: 40px; padding: 6px 10px; font: 500 var(--fs-ui) / 1.6 var(--f-figure); text-align: center; color: var(--body); text-decoration: none; }
.pager .current { color: var(--ink); border-bottom: 1px solid var(--ink); }
.pager a:hover { color: var(--ink); }
.pager .prev, .pager .next { font-family: var(--f-body); }

/* ---------- Generic link rows (404, businesses, projects) ---------- */
.row-link { position: relative; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gutter); align-items: baseline; padding: 30px 0 32px; color: inherit; text-decoration: none; border-top: 1px solid var(--rule); }
.row-link::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .24s cubic-bezier(.3, .6, .2, 1); }
.row-link:hover::before, .row-link:focus-visible::before { transform: scaleX(1); }
.row-link__title { grid-column: 1 / 5; margin: 0; font: 500 var(--fs-h3) / 1.45 var(--f-display); letter-spacing: 0.02em; color: var(--ink); }
.row-link__text { grid-column: 5 / 9; margin: 0; word-break: auto-phrase; text-wrap: pretty; }
.row-link__go { grid-column: 9 / 10; justify-self: end; font: 500 var(--fs-ui) / 1.6 var(--f-body); letter-spacing: 0.04em; color: var(--ink); white-space: nowrap; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; text-decoration-color: var(--rule-strong); }
.row-link:hover .row-link__go { text-decoration-color: var(--ink); }
.row-link--media { align-items: start; }
.row-link__media { grid-column: 1 / 3; grid-row: 1 / span 2; margin: 6px 0 0; aspect-ratio: 4 / 3; overflow: hidden; background: rgba(237, 237, 240, 0.04); }
.row-link__media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25) contrast(1.02); }
.row-link--media .row-link__title { grid-column: 3 / 9; grid-row: 1; }
.row-link--media .row-link__text { grid-column: 3 / 9; grid-row: 2; max-width: 34em; margin-top: 12px; }
.row-link--media .row-link__go { grid-row: 1; }
@media (max-width: 759px) {
  .row-link { grid-template-columns: 1fr; padding: 24px 0 28px; }
  .row-link__title, .row-link__text, .row-link__go, .row-link--media .row-link__title, .row-link--media .row-link__text, .row-link__media { grid-column: 1; }
  .row-link__text { margin-top: 10px; }
  .row-link__go { justify-self: start; margin-top: 14px; }
  .row-link__media { grid-row: auto; margin: 0 0 16px; max-width: 360px; }
  .row-link--media .row-link__title, .row-link--media .row-link__text, .row-link--media .row-link__go { grid-row: auto; }
}

/* ---------- Components used in page content ---------- */
.body > .statement + .lead, .body > .statement + .pairs, .body > .statement + .list { margin-top: 28px; }
.body > * + .sub { margin-top: calc(var(--head-gap) * 1.25); }
.sub__title { margin: 0; font: 500 var(--fs-h3) / 1.5 var(--f-display); letter-spacing: 0.02em; color: var(--ink); }
.sub__title + * { margin-top: 20px; }
.text { max-width: 34em; margin: 20px 0 0; line-height: 2; text-wrap: pretty; }
.text + .text { margin-top: 0.9em; }
.note-text { max-width: 34em; margin: 24px 0 0; font-size: var(--fs-small); line-height: 1.85; color: var(--muted); text-wrap: pretty; }

/* title on the left, text on the right; no rules (not links) */
.pairs { list-style: none; margin: var(--head-gap) 0 0; padding: 0; display: grid; gap: 40px; }
.pair { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gutter); align-items: baseline; }
.pair__title { grid-column: 1 / 5; margin: 0; font: 500 var(--fs-h3) / 1.45 var(--f-display); letter-spacing: 0.02em; color: var(--ink); word-break: auto-phrase; }
.pair__body { grid-column: 5 / 10; max-width: 34em; }
.pair__body > * { margin: 0; }
.pair__body > * + * { margin-top: 0.8em; }
.pair__body p { line-break: strict; }
.pair__sub { display: block; margin-top: 4px; font: 500 var(--fs-label) / 1.6 var(--f-body); letter-spacing: 0.04em; color: var(--muted); }
.pair__body > .list { margin-top: 0; font-size: inherit; }
.pair__body > * + .list { margin-top: 0.8em; }
.pair__body > .menu-item__label { margin-top: 1.4em; }
.pair__body > .menu-item__label + .list { margin-top: 8px; }
.pair__lead { color: var(--ink); }
.pair__more { padding-top: 0.4em; }
/* a course price */
.price { display: flex; align-items: baseline; gap: 10px; }
.price__num { font: 400 clamp(30px, 3vw, 40px) / 1.1 var(--f-figure); letter-spacing: -0.01em; color: var(--ink); }
.price__tax { font-size: var(--fs-label); color: var(--muted); }
@media (max-width: 759px) {
  .pairs { gap: 32px; }
  .pair { grid-template-columns: 1fr; }
  .pair__title, .pair__body { grid-column: 1; }
  .pair__body { margin-top: 10px; }
}

/* dash list */
.list { list-style: none; margin: 20px 0 0; padding: 0; max-width: 34em; }
.list li { position: relative; margin: 0; padding: 0 0 0 1.4em; line-height: 1.9; }
.list li + li { margin-top: 0.45em; }
.list li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 0.7em; height: 1px; background: var(--muted); }
.list--cols { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 0.45em; }
.list--cols li + li { margin-top: 0; }
@media (max-width: 759px) { .list--cols { grid-template-columns: 1fr; } }

/* the visitor's own words */
.voices { list-style: none; margin: var(--head-gap) 0 0; padding: 0; display: grid; gap: 18px; }
.voices li { margin: 0; font: 500 var(--fs-h3) / 1.6 var(--f-display); letter-spacing: 0.02em; color: var(--ink); word-break: auto-phrase; }
@media (min-width: 1024px) { .voices .yk-s { margin-left: -1em; } }

/* steps in order */
.steps { list-style: none; margin: var(--head-gap) 0 0; padding: 0; display: grid; gap: 36px; counter-reset: step; }
.step { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gutter); align-items: baseline; }
.step__no { grid-column: 1 / 2; font: 400 var(--fs-label) / 1.6 var(--f-figure); letter-spacing: 0.02em; color: var(--muted); font-variant-numeric: tabular-nums; }
.step__title { grid-column: 2 / 5; margin: 0; font: 500 21px / 1.55 var(--f-display); letter-spacing: 0.02em; color: var(--ink); }
.step__body { grid-column: 5 / 10; max-width: 34em; }
.step__body > * { margin: 0; }
.step__body > * + * { margin-top: 0.6em; }
@media (max-width: 759px) {
  .step { grid-template-columns: 3em 1fr; }
  .step__no { grid-column: 1; }
  .step__title, .step__body { grid-column: 2; }
  .step__body { margin-top: 8px; }
}

/* service menus: each item reads like a row of a table */
.menu { margin: var(--head-gap) 0 0; border-bottom: 1px solid var(--rule); }
.menu-item { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gutter); padding: 40px 0 44px; border-top: 1px solid var(--rule); }
.menu-item__title { grid-column: 1 / 4; margin: 0; font: 500 var(--fs-h3) / 1.45 var(--f-display); letter-spacing: 0.02em; color: var(--ink); word-break: auto-phrase; }
.menu-item__body { grid-column: 4 / 10; }
.menu-item__body > p { max-width: 34em; margin: 0; line-height: 2; line-break: strict; }
.menu-item__body > p + p { margin-top: 0.8em; }
.menu-item__meta { display: grid; grid-template-columns: 7em 1fr; gap: 6px 16px; margin: 20px 0 0; font-size: var(--fs-small); line-height: 1.8; }
.menu-item__meta dt { font-weight: 500; color: var(--muted); }
.menu-item__meta dd { margin: 0; color: var(--ink); }
.menu-item__lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 24px; margin: 28px 0 0; }
.menu-item__lists--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.menu-item__label { margin: 0; font: 500 var(--fs-label) / 1.6 var(--f-body); letter-spacing: 0.06em; color: var(--muted); }
.menu-item__lists .list { margin-top: 10px; font-size: var(--fs-small); }
@media (max-width: 1023px) {
  .menu-item__title { grid-column: 1 / -1; }
  .menu-item__body { grid-column: 1 / -1; margin-top: 16px; }
}
@media (max-width: 759px) {
  .menu-item { grid-template-columns: 1fr; padding: 32px 0 36px; }
  .menu-item__lists, .menu-item__lists--3 { grid-template-columns: 1fr; }
}

/* an example of our support */
.case { margin: var(--head-gap) 0 0; padding: 4px 0 4px 28px; border-left: 1px solid var(--rule-strong); }
.case__label { margin: 0; font: 500 var(--fs-label) / 1.6 var(--f-body); letter-spacing: 0.06em; color: var(--muted); }
.case__title { margin: 10px 0 0; font: 500 var(--fs-h3) / 1.5 var(--f-display); letter-spacing: 0.02em; color: var(--ink); }
.case p:not(.case__label) { max-width: 34em; margin: 16px 0 0; line-height: 2; line-break: strict; }
.case .menu-item__label { margin-top: 20px; }
.case .menu-item__label + .list { margin-top: 10px; }
.case + .case { margin-top: 48px; }
/* a voice: what led them to us, and what changed */
.case__kv { display: grid; grid-template-columns: 9em minmax(0, 34em); gap: 14px var(--gutter); margin: 20px 0 0; }
.case__kv dt { font: 500 var(--fs-label) / 2.2 var(--f-body); letter-spacing: 0.06em; color: var(--muted); }
.case__kv dd { margin: 0; line-height: 2; line-break: strict; }
@media (max-width: 759px) {
  .case { padding-left: 20px; }
  .case__kv { grid-template-columns: 1fr; gap: 4px; }
  .case__kv dd + dt { margin-top: 12px; }
}

/* key / value table */
.kv { margin: var(--head-gap) 0 0; border-bottom: 1px solid var(--rule); }
.kv__row { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gutter); align-items: baseline; padding: 18px 0; border-top: 1px solid var(--rule); }
.kv dt { grid-column: 1 / 3; font: 500 var(--fs-label) / 1.6 var(--f-body); letter-spacing: 0.06em; color: var(--muted); }
.kv dd { grid-column: 3 / 10; margin: 0; line-height: 1.85; color: var(--ink); }
@media (max-width: 759px) {
  .kv__row { grid-template-columns: 6.5em 1fr; }
  .kv dt { grid-column: 1; }
  .kv dd { grid-column: 2; }
}

/* questions and answers */
.qa { margin: var(--head-gap) 0 0; border-bottom: 1px solid var(--rule); }
.qa__item { border-top: 1px solid var(--rule); }
.qa__item summary { position: relative; display: block; padding: 24px 48px 24px 0; font: 500 19px / 1.7 var(--f-display); letter-spacing: 0.02em; color: var(--ink); cursor: pointer; list-style: none; }
.qa__item summary::-webkit-details-marker { display: none; }
.qa__item summary::before, .qa__item summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 13px; height: 1px; background: var(--ink); transition: transform .2s ease; }
.qa__item summary::after { transform: rotate(90deg); }
.qa__item[open] summary::after { transform: rotate(0deg); }
.qa__item summary:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--rule-strong); }
.qa__a { max-width: 34em; margin: 0; padding: 0 0 28px; line-height: 2; }

/* figures and buttons */
.figure { margin: var(--head-gap) 0 0; }
.figure img { display: block; max-width: 100%; height: auto; }
.figure figcaption { margin-top: 10px; font-size: var(--fs-label); line-height: 1.7; color: var(--muted); }
.figure--portrait { max-width: 420px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin: 40px 0 0; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--line:hover { border-color: var(--ink); }

/* two short lists side by side */
.lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 28px; margin: var(--head-gap) 0 0; }
.lists .list { margin-top: 10px; }
@media (max-width: 759px) { .lists { grid-template-columns: 1fr; } }

/* image beside text */
.media { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; margin: var(--head-gap) 0 0; }
.media > .figure { grid-column: 1 / 4; margin: 0; }
.media__body { grid-column: 4 / 10; }
.media__body > .text:first-child { margin-top: 0; }
@media (max-width: 759px) {
  .media { grid-template-columns: 1fr; }
  .media > .figure, .media__body { grid-column: 1; }
  .media__body { margin-top: 24px; }
}

/* a price written as a formula */
.formula { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; margin: var(--head-gap) 0 0; font: 500 var(--fs-h3) / 1.5 var(--f-display); letter-spacing: 0.02em; color: var(--ink); }
.formula b { font: 400 calc(var(--fs-h3) * 1.2) / 1 var(--f-latin); color: var(--muted); }

/* figures in a row (numbers that carry meaning) */
.stats { list-style: none; margin: var(--head-gap) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 32px; }
.stat__value { display: block; font: 400 clamp(40px, 4vw, 56px) / 1.05 var(--f-latin); color: var(--ink); }
.stat__label { display: block; margin-top: 10px; font-size: var(--fs-small); line-height: 1.8; }
@media (max-width: 759px) { .stats { grid-template-columns: 1fr; } }

/* name line beside a portrait */
.media__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 0 0 4px; font: 500 var(--fs-h3) / 1.5 var(--f-display); letter-spacing: 0.02em; color: var(--ink); }
.media__name span { font: 400 var(--fs-label) / 1.6 var(--f-figure); letter-spacing: 0.01em; color: var(--muted); }
.media__body > .menu-item__label { margin-top: 28px; }
.media__body > .menu-item__label + .text { margin-top: 8px; }
.people--two { margin-top: var(--head-gap); }
.people--two .person:last-child .person__portrait::after { right: 0; }

/* an external form (Google Forms) — it keeps its own light page, so it sits on a quiet panel */
.embed { margin: var(--head-gap) 0 0; max-width: 680px; border: 1px solid var(--rule-strong); background: #fff; }
.embed iframe { display: block; width: 100%; height: 1900px; border: 0; }
.embed__alt { margin: 16px 0 0; font-size: var(--fs-small); }
@media (max-width: 759px) { .embed iframe { height: 2200px; } }

/* ---------- Forms ---------- */
.lform-wrap { max-width: 40em; }
.lform__row { margin: 0 0 28px; }
.lform__label { display: block; margin: 0 0 10px; font: 500 var(--fs-ui) / 1.6 var(--f-body); letter-spacing: 0.04em; color: var(--ink); }
.lform__req, .lform__opt { margin-left: 10px; font-size: 12px; font-weight: 400; letter-spacing: 0.04em; color: var(--muted); }
.lform__req { color: var(--ink); }
.lform input[type="text"], .lform input[type="email"], .lform input[type="tel"], .lform input[type="url"], .lform input[type="number"], .lform input[type="date"], .lform select, .lform textarea {
  display: block; width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--rule-strong); border-radius: 0;
  background: rgba(237, 237, 240, 0.03); color: var(--ink); font: 400 16px / 1.6 var(--f-body); letter-spacing: 0.02em;
  transition: border-color .15s ease, background-color .15s ease;
}
.lform textarea { min-height: 180px; resize: vertical; }
.lform select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--body) 50%), linear-gradient(135deg, var(--body) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.lform select option { color: #000; }
.lform input:focus, .lform select:focus, .lform textarea:focus { outline: none; border-color: var(--ink); background-color: rgba(237, 237, 240, 0.06); }
.lform input::placeholder, .lform textarea::placeholder { color: var(--muted); opacity: 1; }
.lform__choices { display: grid; gap: 10px; }
.lform__choices label, .lform__agree label { display: flex; align-items: baseline; gap: 10px; font-size: 15px; line-height: 1.7; color: var(--body); cursor: pointer; }
.lform input[type="checkbox"], .lform input[type="radio"] { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--ink); transform: translateY(2px); }
.lform__help { margin: 8px 0 0; font-size: var(--fs-label); line-height: 1.7; color: var(--muted); }
.lform__error { margin: 8px 0 0; font-size: var(--fs-label); line-height: 1.7; color: #ff9d9d; }
.lform__agree { margin: 8px 0 32px; }
.lform__agree a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.lform__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lform__submit .btn { min-width: 240px; cursor: pointer; }
.lform__notice { margin: 0 0 32px; padding: 20px 24px; border: 1px solid var(--rule-strong); line-height: 1.9; color: var(--ink); }
.lform__notice--ng { border-color: rgba(255, 157, 157, 0.6); color: #ffc4c4; }
.lform__notice strong { font-weight: 500; }
.p-intro { max-width: 34em; margin: 0 0 48px; }
.p-intro p { margin: 0; font-size: var(--fs-lead); line-height: 2; }
.p-intro p + p { margin-top: 0.6em; }
.cta-box { max-width: 40em; margin: 72px 0 0; padding: 32px 0 0; border-top: 1px solid var(--rule); }
.cta-box__label, .cta-box__meta, .cta-box__note { margin: 0; font-size: var(--fs-label); line-height: 1.7; letter-spacing: 0.04em; color: var(--muted); }
.cta-box__title { margin: 6px 0 10px; padding: 0; border: 0; font: 500 var(--fs-h3) / 1.5 var(--f-display); color: var(--ink); }
.cta-box__text { margin: 16px 0 12px; line-height: 2; }
.cta-box .c-btn { display: inline-flex; align-items: center; justify-content: center; height: 56px; margin-top: 20px; padding: 0 32px; font: 500 15px / 1 var(--f-body); letter-spacing: 0.04em; text-decoration: none; background: var(--ink); color: #000; border: 1px solid var(--ink); }
.cta-box .c-btn:hover { background: transparent; color: var(--ink); }

/* ---------- Migrated blog posts built from utility classes (light cards) → dark ---------- */
.prose .lx { --primary-color: var(--violet); --accent-color: var(--violet); --bg-light: rgba(237, 237, 240, 0.04); --text-color: var(--body); color: var(--body); }
.prose .lx [class*="bg-white"], .prose .lx [class*="bg-gray-"], .prose .lx [class*="bg-slate-"], .prose .lx [class*="bg-light"], .prose .lx [class*="bg-purple-"], .prose .lx [class*="bg-indigo-"], .prose .lx [class*="bg-blue-"], .prose .lx [class*="bg-red-"], .prose .lx [class*="bg-yellow-"], .prose .lx [class*="bg-green-"], .prose .lx [class*="bg-[#f"], .prose .lx [class*="bg-[#e"] { background: rgba(237, 237, 240, 0.035) !important; }
.prose .lx [class*="bg-gradient"], .prose .lx [class*="from-"] { background-image: none !important; }
.prose .lx [class*="text-gray-"], .prose .lx [class*="text-slate-"], .prose .lx [class*="text-[#3"], .prose .lx [class*="text-[#1"] { color: var(--body) !important; }
.prose .lx .text-gray-900, .prose .lx .text-gray-800, .prose .lx .text-slate-900, .prose .lx .text-slate-800, .prose .lx .text-black, .prose .lx h1, .prose .lx h2, .prose .lx h3, .prose .lx h4, .prose .lx strong { color: var(--ink) !important; }
.prose .lx .text-primary, .prose .lx .text-accent, .prose .lx [class*="text-purple-"], .prose .lx [class*="text-indigo-"], .prose .lx [class*="text-blue-"], .prose .lx [class*="text-[#6"], .prose .lx [class*="text-[#4"], .prose .lx [class*="text-[#8"] { color: var(--violet) !important; }
.prose .lx [class*="text-red-"] { color: #ffb4b4 !important; }
.prose .lx [class*="text-yellow-"], .prose .lx [class*="text-amber-"] { color: #ffd9a8 !important; }
.prose .lx [class*="border"] { border-color: var(--rule) !important; }
.prose .lx [class*="border-primary"], .prose .lx [class*="border-l-4"] { border-color: var(--rule-strong) !important; }
.prose .lx [class*="shadow"] { box-shadow: none !important; }
.prose .lx [class*="rounded"], .prose .lx [style*="border-radius" i] { border-radius: 0 !important; }
.prose .lx .bg-primary, .prose .lx [class*="bg-[#6"], .prose .lx [class*="bg-[#8"], .prose .lx [class*="bg-[#4"], .prose .lx [class*="btn-cta"] { background: var(--ink) !important; color: #000 !important; }
.prose .lx .bg-primary *, .prose .lx [class*="btn-cta"] * { color: #000 !important; }
.prose .lx table { color: var(--body); }
.prose .lx th { background: rgba(237, 237, 240, 0.06) !important; color: var(--ink) !important; }
.prose .lx td { background: transparent !important; }
.prose .lx a:not([class*="btn"]):not(.bg-primary):not([style*="background" i]) { color: var(--ink) !important; }
.prose .lx h2 { border-top: 0; padding-top: 0; }
/* the old posts restate their title as an <h1>; the page header already carries it */
.prose .lx h1 { display: none !important; }
/* headings inside old posts take the site's display face, not the old bold sans */
.prose .lx.lx h2, .prose .lx.lx h3 { font-family: var(--f-display) !important; font-weight: 500 !important; letter-spacing: 0.02em; color: var(--ink) !important; }
.prose .lx img { max-width: 100%; height: auto; }
/* old posts written with inline styles: light panels become the site's quiet panel, dark-on-light text becomes light-on-dark */
.prose .lx { background: transparent !important; }
/* Migrated posts (Wix) carry inline colors made for a white page; map them onto the dark page (all post bodies, with or without .lx) */
.prose--post [style^="color:#ffffff" i], .prose--post [style*=";color:#ffffff" i], .prose--post [style*="; color:#ffffff" i], .prose--post [style^="color: #ffffff" i], .prose--post [style*=";color: #ffffff" i], .prose--post [style*="; color: #ffffff" i], .prose--post [style^="color:#fff;" i], .prose--post [style*=";color:#fff;" i], .prose--post [style*="; color:#fff;" i], .prose--post [style^="color: #fff;" i], .prose--post [style*=";color: #fff;" i], .prose--post [style*="; color: #fff;" i], .prose--post [style^="color:white" i], .prose--post [style*=";color:white" i], .prose--post [style*="; color:white" i], .prose--post [style^="color: white" i], .prose--post [style*=";color: white" i], .prose--post [style*="; color: white" i] { color: var(--ink) !important; }
.prose--post [style^="color:#333333" i], .prose--post [style*=";color:#333333" i], .prose--post [style*="; color:#333333" i], .prose--post [style^="color: #333333" i], .prose--post [style*=";color: #333333" i], .prose--post [style*="; color: #333333" i], .prose--post [style^="color:#333;" i], .prose--post [style*=";color:#333;" i], .prose--post [style*="; color:#333;" i], .prose--post [style^="color: #333;" i], .prose--post [style*=";color: #333;" i], .prose--post [style*="; color: #333;" i], .prose--post [style^="color:#555555" i], .prose--post [style*=";color:#555555" i], .prose--post [style*="; color:#555555" i], .prose--post [style^="color: #555555" i], .prose--post [style*=";color: #555555" i], .prose--post [style*="; color: #555555" i], .prose--post [style^="color:#555;" i], .prose--post [style*=";color:#555;" i], .prose--post [style*="; color:#555;" i], .prose--post [style^="color: #555;" i], .prose--post [style*=";color: #555;" i], .prose--post [style*="; color: #555;" i], .prose--post [style^="color:#222222" i], .prose--post [style*=";color:#222222" i], .prose--post [style*="; color:#222222" i], .prose--post [style^="color: #222222" i], .prose--post [style*=";color: #222222" i], .prose--post [style*="; color: #222222" i], .prose--post [style^="color:#000000" i], .prose--post [style*=";color:#000000" i], .prose--post [style*="; color:#000000" i], .prose--post [style^="color: #000000" i], .prose--post [style*=";color: #000000" i], .prose--post [style*="; color: #000000" i], .prose--post [style^="color:black" i], .prose--post [style*=";color:black" i], .prose--post [style*="; color:black" i], .prose--post [style^="color: black" i], .prose--post [style*=";color: black" i], .prose--post [style*="; color: black" i] { color: var(--body) !important; }
.prose--post [style^="color:#666666" i], .prose--post [style*=";color:#666666" i], .prose--post [style*="; color:#666666" i], .prose--post [style^="color: #666666" i], .prose--post [style*=";color: #666666" i], .prose--post [style*="; color: #666666" i], .prose--post [style^="color:#666;" i], .prose--post [style*=";color:#666;" i], .prose--post [style*="; color:#666;" i], .prose--post [style^="color: #666;" i], .prose--post [style*=";color: #666;" i], .prose--post [style*="; color: #666;" i], .prose--post [style^="color:#797979" i], .prose--post [style*=";color:#797979" i], .prose--post [style*="; color:#797979" i], .prose--post [style^="color: #797979" i], .prose--post [style*=";color: #797979" i], .prose--post [style*="; color: #797979" i], .prose--post [style^="color:#595d70" i], .prose--post [style*=";color:#595d70" i], .prose--post [style*="; color:#595d70" i], .prose--post [style^="color: #595d70" i], .prose--post [style*=";color: #595d70" i], .prose--post [style*="; color: #595d70" i], .prose--post [style^="color:#888888" i], .prose--post [style*=";color:#888888" i], .prose--post [style*="; color:#888888" i], .prose--post [style^="color: #888888" i], .prose--post [style*=";color: #888888" i], .prose--post [style*="; color: #888888" i], .prose--post [style^="color:#999999" i], .prose--post [style*=";color:#999999" i], .prose--post [style*="; color:#999999" i], .prose--post [style^="color: #999999" i], .prose--post [style*=";color: #999999" i], .prose--post [style*="; color: #999999" i] { color: var(--muted) !important; }
.prose--post [style^="color:#4b32c3" i], .prose--post [style*=";color:#4b32c3" i], .prose--post [style*="; color:#4b32c3" i], .prose--post [style^="color: #4b32c3" i], .prose--post [style*=";color: #4b32c3" i], .prose--post [style*="; color: #4b32c3" i], .prose--post [style^="color:#6f5ae0" i], .prose--post [style*=";color:#6f5ae0" i], .prose--post [style*="; color:#6f5ae0" i], .prose--post [style^="color: #6f5ae0" i], .prose--post [style*=";color: #6f5ae0" i], .prose--post [style*="; color: #6f5ae0" i] { color: var(--violet) !important; }
.prose--post [style^="color:#0141aa" i], .prose--post [style*=";color:#0141aa" i], .prose--post [style*="; color:#0141aa" i], .prose--post [style^="color: #0141aa" i], .prose--post [style*=";color: #0141aa" i], .prose--post [style*="; color: #0141aa" i], .prose--post [style^="color:#1a6aff" i], .prose--post [style*=";color:#1a6aff" i], .prose--post [style*="; color:#1a6aff" i], .prose--post [style^="color: #1a6aff" i], .prose--post [style*=";color: #1a6aff" i], .prose--post [style*="; color: #1a6aff" i] { color: var(--accent) !important; }
.prose--post [style*="background:#ffffff" i], .prose--post [style*="background: #ffffff" i], .prose--post [style*="background:#fff;" i], .prose--post [style*="background: #fff;" i], .prose--post [style*="background:white" i], .prose--post [style*="background: white" i], .prose--post [style*="background:#f7f7ff" i], .prose--post [style*="background: #f7f7ff" i], .prose--post [style*="background:#f8f8f8" i], .prose--post [style*="background: #f8f8f8" i], .prose--post [style*="background:#fafafa" i], .prose--post [style*="background: #fafafa" i], .prose--post [style*="background:#f9f9f9" i], .prose--post [style*="background: #f9f9f9" i], .prose--post [style*="background:#f5f5f5" i], .prose--post [style*="background: #f5f5f5" i], .prose--post [style*="background:#f3f4f6" i], .prose--post [style*="background: #f3f4f6" i], .prose--post [style*="background:#ffed89" i], .prose--post [style*="background: #ffed89" i], .prose--post [style*="background-color:#ffffff" i], .prose--post [style*="background-color: #ffffff" i], .prose--post [style*="background-color:#fff;" i], .prose--post [style*="background-color: #fff;" i], .prose--post [style*="background-color:white" i], .prose--post [style*="background-color: white" i], .prose--post [style*="background-color:#f7f7ff" i], .prose--post [style*="background-color: #f7f7ff" i], .prose--post [style*="background-color:#f8f8f8" i], .prose--post [style*="background-color: #f8f8f8" i], .prose--post [style*="background-color:#fafafa" i], .prose--post [style*="background-color: #fafafa" i], .prose--post [style*="background-color:#f9f9f9" i], .prose--post [style*="background-color: #f9f9f9" i], .prose--post [style*="background-color:#f5f5f5" i], .prose--post [style*="background-color: #f5f5f5" i], .prose--post [style*="background-color:#f3f4f6" i], .prose--post [style*="background-color: #f3f4f6" i], .prose--post [style*="background-color:#ffed89" i], .prose--post [style*="background-color: #ffed89" i] { background: rgba(237, 237, 240, 0.04) !important; }
/* purple boxes and buttons → white with black text (stronger than the .lx and heading rules); a white button inside one → black */
.prose.prose--post.prose--post [style*="background:#4b32c3" i], .prose.prose--post.prose--post [style*="background: #4b32c3" i], .prose.prose--post.prose--post [style*="background:#6f5ae0" i], .prose.prose--post.prose--post [style*="background: #6f5ae0" i], .prose.prose--post.prose--post [style*="background-color:#4b32c3" i], .prose.prose--post.prose--post [style*="background-color: #4b32c3" i], .prose.prose--post.prose--post [style*="background-color:#6f5ae0" i], .prose.prose--post.prose--post [style*="background-color: #6f5ae0" i] { background: var(--ink) !important; color: #000 !important; }
.prose.prose--post.prose--post [style*="background:#4b32c3" i] *, .prose.prose--post.prose--post [style*="background: #4b32c3" i] *, .prose.prose--post.prose--post [style*="background:#6f5ae0" i] *, .prose.prose--post.prose--post [style*="background: #6f5ae0" i] *, .prose.prose--post.prose--post [style*="background-color:#4b32c3" i] *, .prose.prose--post.prose--post [style*="background-color: #4b32c3" i] *, .prose.prose--post.prose--post [style*="background-color:#6f5ae0" i] *, .prose.prose--post.prose--post [style*="background-color: #6f5ae0" i] * { color: #000 !important; }
.prose.prose--post.prose--post [style*="background:#4b32c3" i] [style*="background" i][style*="#fff" i], .prose.prose--post.prose--post [style*="background: #4b32c3" i] [style*="background" i][style*="#fff" i], .prose.prose--post.prose--post [style*="background:#6f5ae0" i] [style*="background" i][style*="#fff" i], .prose.prose--post.prose--post [style*="background: #6f5ae0" i] [style*="background" i][style*="#fff" i], .prose.prose--post.prose--post [style*="background-color:#4b32c3" i] [style*="background" i][style*="#fff" i], .prose.prose--post.prose--post [style*="background-color: #4b32c3" i] [style*="background" i][style*="#fff" i], .prose.prose--post.prose--post [style*="background-color:#6f5ae0" i] [style*="background" i][style*="#fff" i], .prose.prose--post.prose--post [style*="background-color: #6f5ae0" i] [style*="background" i][style*="#fff" i] { background: #000 !important; color: var(--ink) !important; }
.prose.prose--post.prose--post [style*="background:#4b32c3" i] [style*="background" i][style*="#fff" i] *, .prose.prose--post.prose--post [style*="background: #4b32c3" i] [style*="background" i][style*="#fff" i] *, .prose.prose--post.prose--post [style*="background:#6f5ae0" i] [style*="background" i][style*="#fff" i] *, .prose.prose--post.prose--post [style*="background: #6f5ae0" i] [style*="background" i][style*="#fff" i] *, .prose.prose--post.prose--post [style*="background-color:#4b32c3" i] [style*="background" i][style*="#fff" i] *, .prose.prose--post.prose--post [style*="background-color: #4b32c3" i] [style*="background" i][style*="#fff" i] *, .prose.prose--post.prose--post [style*="background-color:#6f5ae0" i] [style*="background" i][style*="#fff" i] *, .prose.prose--post.prose--post [style*="background-color: #6f5ae0" i] [style*="background" i][style*="#fff" i] * { color: var(--ink) !important; }
.prose--post [style*="solid #e5e7eb" i], .prose--post [style*="solid #e0e0e0" i], .prose--post [style*="solid #eee" i], .prose--post [style*="solid #ddd" i] { border-color: var(--rule) !important; }
.prose--post [style*="solid #6f5ae0" i], .prose--post [style*="solid #4b32c3" i] { border-color: var(--rule-strong) !important; }
.prose--post [style*="border-radius" i] { border-radius: 0 !important; }
.prose--post [style*="box-shadow" i] { box-shadow: none !important; }
.prose--post :is(h2, h3, h4)[style] { color: var(--ink) !important; } /* body headings stay white, as in every post */
.prose--post .is-title-dup { display: none !important; }
.prose .lx .lauhp-services__wrapper { background: rgba(237, 237, 240, 0.04) !important; border-color: var(--rule-strong) !important; } /* service box in an older post, styled for a white page */
.prose .lx .lauhp-services__wrapper :is(.lauhp-services__intro, .lauhp-services__description, .lauhp-services__message) { color: var(--body) !important; }
.prose .lx .lauhp-services__wrapper :is(.lauhp-services__message, .lauhp-services__card) { background: rgba(237, 237, 240, 0.04) !important; border-color: var(--rule) !important; border-radius: 0 !important; box-shadow: none !important; }
.prose .lx.lx .lauhp-services__wrapper :is(.lauhp-services__number, a.lauhp-services__button) { background: var(--ink) !important; color: #000 !important; border-radius: 0 !important; }
.prose .lx.lx .lauhp-services__wrapper a.lauhp-services__button * { color: #000 !important; } /* the title repeated at the top of a migrated post (inc/dark.php) */

@media (prefers-reduced-motion: reduce) {
  body.theme-dark::after, .scroll-cue__line::after { animation: none; }
  .dk-header, .gnav, .post-row::before, .row-link::before, .qa__item summary::after, .mem::before, .mem__toggle::before, .mem__toggle::after { transition: none; }
  .mem__d::details-content { transition: none; }
}

/* ==========================================================================
   v2 (2026-11-19): one accent purple, details one tap away (sheets), top page proposals
   ========================================================================== */

/* ---------- Accent: the purple of the light around the black hole. Only where the reader acts or should notice ---------- */
:root {
  --violet-fill: #7d5cff;    /* buttons and active fills; white text 4.8:1 */
  --violet-fill-hi: #9479ff;
  --violet-line: rgba(180, 140, 255, 0.55);
  --violet-glow: rgba(141, 108, 255, 0.38);
}
.btn, .cta-box .c-btn { background: var(--violet-fill); border-color: var(--violet-fill); color: #fff; }
.btn:hover, .cta-box .c-btn:hover { background: var(--violet-fill-hi); border-color: var(--violet-fill-hi); color: #fff; }
.btn.btn--line { background: transparent; border-color: var(--rule-strong); color: var(--ink); }
.btn.btn--line:hover { background: transparent; border-color: var(--violet); color: #fff; }
.gnav__item:last-child > .gnav__link { background: var(--violet-fill); border-color: var(--violet-fill); color: #fff; }
.gnav__item:last-child > .gnav__link:hover { background: var(--violet-fill-hi); border-color: var(--violet-fill-hi); color: #fff; }
.gnav__link:hover, .gnav__item.is-current > .gnav__link, .gnav__item.is-here > .gnav__link,
.gnav__sub a:hover, .gnav__sub a.is-here { text-decoration-color: var(--violet); }
.text-link { text-decoration-color: var(--violet-line); }
.text-link:hover { text-decoration-color: var(--violet); }
.prose a:not([class]) { text-decoration-color: var(--violet-line); }
.prose a:not([class]):hover { text-decoration-color: var(--violet); }
.prose .lauhp-box .wp-block-button__link { background: var(--violet-fill); border-color: var(--violet-fill); color: #fff; }
.prose .lauhp-box .wp-block-button__link:hover { background: var(--violet-fill-hi); border-color: var(--violet-fill-hi); color: #fff; }
:focus-visible { outline-color: var(--violet); }
.ch-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
::selection { background: rgba(141, 108, 255, 0.45); color: #fff; }

/* ---------- Sheets: details open over the page instead of filling it ---------- */
.sheet {
  width: min(760px, calc(100vw - 32px)); max-height: min(86vh, 920px); margin: auto; padding: 0;
  border: 1px solid var(--rule); background: #050507; color: var(--body); overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 40px 120px -20px var(--violet-glow);
}
.sheet::backdrop { background: rgba(0, 0, 0, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet[open] { animation: lauhp-sheet .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes lauhp-sheet { from { opacity: 0; transform: translateY(28px); } }
html:has(.sheet[open]) { overflow: hidden; }
.sheet__bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 14px clamp(24px, 4vw, 48px); background: rgba(5, 5, 7, 0.92); border-bottom: 1px solid var(--rule); }
.sheet__label { margin: 0; display: flex; align-items: baseline; gap: 10px; font: 500 var(--fs-label) / 1.6 var(--f-body); letter-spacing: 0.06em; color: var(--muted); }
.sheet__label em { font: italic 400 17px / 1 var(--f-latin); letter-spacing: 0; color: var(--violet); }
.sheet__close { position: relative; flex: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.sheet__close::before, .sheet__close::after { content: ""; position: absolute; left: 13px; right: 13px; top: 50%; height: 1px; background: var(--ink); transform: rotate(45deg); }
.sheet__close::after { transform: rotate(-45deg); }
.sheet__close:hover::before, .sheet__close:hover::after { background: var(--violet); }
.sheet__body { padding: clamp(28px, 4vw, 48px); }
.sheet__title { margin: 0; font: 500 var(--fs-h3) / 1.5 var(--f-display); letter-spacing: 0.02em; color: var(--ink); word-break: auto-phrase; text-wrap: balance; }
.sheet__verb { display: block; margin-bottom: 6px; font: 500 var(--fs-label) / 1.6 var(--f-body); letter-spacing: 0.08em; color: var(--violet); }
.sheet__tag { margin: 0 0 8px; font-size: var(--fs-label); letter-spacing: 0.04em; color: var(--violet); }
.sheet__who { margin: 10px 0 0; font-size: var(--fs-small); color: var(--muted); }
.sheet__lead { max-width: 34em; margin: 16px 0 0; line-height: 1.95; color: var(--body); }
.sheet__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 32px 0 0; padding: 28px 0 0; border-top: 1px solid var(--rule); }
.sheet__h { margin: 0 0 12px; font: 500 var(--fs-label) / 1.6 var(--f-body); letter-spacing: 0.06em; color: var(--muted); }
.sheet__list { margin: 0; padding: 0; list-style: none; }
.sheet__list li { position: relative; padding: 0 0 0 18px; font-size: var(--fs-small); line-height: 1.8; color: var(--ink); }
.sheet__list li + li { margin-top: 8px; }
.sheet__list li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.sheet__list--steps { counter-reset: st; }
.sheet__list--steps li { padding-left: 30px; }
.sheet__list--steps li::before { counter-increment: st; content: counter(st, decimal-leading-zero); width: auto; height: auto; top: 0.1em; border-radius: 0; background: none; font: 500 12px / 1.8 var(--f-figure); color: var(--violet); }
.sheet__case { margin: 32px 0 0; padding: 20px 22px; background: rgba(141, 108, 255, 0.08); border-left: 2px solid var(--violet); }
.sheet__case-tag { margin: 0; font-size: var(--fs-label); color: var(--muted); }
.sheet__case-title { margin: 4px 0 0; color: var(--ink); }
.sheet__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin: 36px 0 0; }
.sheet__name { margin: 0; font: 400 clamp(40px, 6vw, 64px) / 1 var(--f-latin); color: var(--ink); }
.sheet__path { margin: 16px 0 24px; font-size: var(--fs-small); color: var(--body); }
.sheet__path span { white-space: nowrap; }
.sheet__path span + span::before { content: ""; display: inline-block; width: 12px; height: 1px; margin: 0 8px; background: var(--violet); vertical-align: middle; }
.sheet__text { max-width: 34em; margin: 0; font-size: var(--fs-small); line-height: 1.95; }
.sheet__text + .sheet__text { margin-top: 0.8em; }
.facts--sheet { margin-top: 24px; }
@media (max-width: 759px) {
  .sheet { width: 100vw; max-width: none; max-height: 90vh; margin: auto 0 0; border-width: 1px 0 0; }
  .sheet[open] { animation-name: lauhp-sheet-up; }
  @keyframes lauhp-sheet-up { from { transform: translateY(40%); opacity: 0; } }
  .sheet__cols { grid-template-columns: 1fr; gap: 24px; }
  .sheet__actions .btn { width: 100%; }
}

/* ---------- Top page parts ---------- */
.tp-quote { max-width: 30em; margin: 36px 0 0; padding: 0 0 0 20px; border-left: 1px solid var(--violet); font: 500 var(--fs-lead) / 1.9 var(--f-display); color: var(--ink); }
.tp-quote span { display: block; margin-top: 8px; font: 400 var(--fs-label) / 1.7 var(--f-body); letter-spacing: 0.04em; color: var(--muted); }
.tp-names { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.tp-name { display: flex; flex-direction: column; gap: 10px; padding: 28px 0 30px; text-decoration: none; }
.tp-names li + li .tp-name { padding-left: var(--gutter); border-left: 1px solid var(--rule); }
.tp-names li { container-type: inline-size; }
.tp-name__en { font: 400 clamp(32px, 3.6vw, 52px) / 1 var(--f-latin); font-size: clamp(28px, 15cqi, 52px); color: var(--ink); white-space: nowrap; transition: color .2s ease; }
.tp-name__role { font: 400 var(--fs-label) / 1.4 var(--f-figure); color: var(--muted); }
.tp-name:hover .tp-name__en { font-style: italic; color: var(--violet); }
.tp-note { max-width: 34em; margin: 28px 0 0; font-size: var(--fs-small); line-height: 1.85; color: var(--muted); }
.tp-more { margin: 20px 0 0; }
@media (max-width: 759px) {
  .tp-names { grid-template-columns: 1fr; }
  .tp-names li + li .tp-name { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .tp-name { flex-direction: row; align-items: baseline; justify-content: space-between; padding: 22px 0; }
  .tp-name__en { font-size: 32px; }
}

/* ---------- Top page: the services orbit LAUHP (design A) ---------- */
.orbit { position: relative; height: 320vh; margin-top: var(--sec-space); }
.orbit__stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.orbit__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
.orbit__text { grid-column: 1 / 7; position: relative; min-height: 380px; }
.orbit__fig { grid-column: 7 / 13; }
.orbit__label { margin: 0 0 40px; display: flex; align-items: baseline; gap: 12px; }
.orbit__label span { font: 500 var(--fs-label) / 1.6 var(--f-body); letter-spacing: 0.06em; color: var(--muted); }
.orbit__label em { font: italic 400 18px / 1.2 var(--f-latin); color: var(--ink); }
.orbit__list { list-style: none; margin: 0; padding: 0; position: relative; min-height: 300px; }
.orbit__item { position: absolute; inset: 0 0 auto 0; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1), visibility .5s; }
.orbit__item.is-on { opacity: 1; visibility: visible; transform: none; }
.orbit__verb { margin: 0; font: 500 clamp(64px, 9vw, 136px) / 1 var(--f-display); letter-spacing: 0.04em; color: var(--ink); }
.orbit__item.is-on .orbit__verb { text-shadow: 0 0 40px var(--violet-glow); }
.orbit__name { margin: 26px 0 0; font: 500 var(--fs-h3) / 1.5 var(--f-display); color: var(--ink); word-break: auto-phrase; }
.orbit__line { margin: 10px 0 0; font-size: var(--fs-small); line-height: 1.8; color: var(--body); }
.orbit__actions { margin: 28px 0 0; }
.orbit__count { display: flex; align-items: center; gap: 14px; margin: 36px 0 0; font: 500 12px / 1 var(--f-figure); color: var(--muted); }
.orbit__count b { font-weight: 500; color: var(--violet); }
.orbit__bar { position: relative; width: 120px; height: 1px; background: var(--rule); }
.orbit__bar i { position: absolute; inset: 0 auto 0 0; width: 33.3%; background: var(--violet); transition: width .5s ease; }
.orbit__svg { display: block; width: 100%; max-width: 560px; margin-left: auto; overflow: visible; }
.orbit__ring { fill: none; stroke: var(--rule); stroke-width: 1; }
.orbit__ring--in { stroke-dasharray: 2 6; }
.orbit__core { fill: #000; stroke: rgba(240, 244, 255, 0.85); stroke-width: 1.2; filter: drop-shadow(0 0 18px rgba(150, 170, 255, 0.45)); }
.orbit__core-t { font: italic 400 22px var(--f-latin); fill: var(--ink); }
.orbit__node circle { fill: #000; stroke: var(--muted); stroke-width: 1.2; transition: fill .4s ease, stroke .4s ease, r .4s ease; }
.orbit__node text { font: 500 15px var(--f-body); fill: var(--muted); letter-spacing: 0.08em; transition: fill .4s ease; }
.orbit__node.is-on circle { fill: var(--violet-fill); stroke: var(--violet); r: 13; filter: drop-shadow(0 0 14px var(--violet-glow)); }
.orbit__node.is-on text { fill: #fff; }
@media (max-width: 1023px) {
  .orbit { height: auto; margin-top: var(--sec-space); }
  .orbit__stage { position: static; height: auto; display: block; overflow: visible; }
  .orbit__grid { display: block; }
  .orbit__fig { display: none; }
  .orbit__text { min-height: 0; }
  .orbit__list { min-height: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
  .orbit__item { position: static; opacity: 1; visibility: visible; transform: none; padding: 28px 0 30px; border-bottom: 1px solid var(--rule); }
  .orbit__verb { font-size: clamp(44px, 12vw, 72px); }
  .orbit__item.is-on .orbit__verb { text-shadow: none; }
  .orbit__name { margin-top: 14px; }
  .orbit__count { display: none; }
}
.case-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.case-card { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 26px 26px 28px; text-decoration: none; background: rgba(237, 237, 240, 0.035); border-top: 1px solid var(--rule); transition: background-color .25s ease, border-color .25s ease; }
.case-card:hover { background: rgba(141, 108, 255, 0.1); border-top-color: var(--violet); }
.case-card__tag { font-size: var(--fs-label); letter-spacing: 0.04em; color: var(--violet); }
.case-card__title { font: 500 var(--fs-lead) / 1.6 var(--f-display); color: var(--ink); word-break: auto-phrase; }
.case-card__who { margin-top: auto; font-size: var(--fs-label); color: var(--muted); }
@media (max-width: 759px) { .case-strip { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .orbit__item, .orbit__bar i, .orbit__node circle, .sheet[open] { transition: none; animation: none; }
}

/* ---------- Long pages stay light (theme.js): a page index, first lines with 「続きを読む」, menus in sheets ---------- */
main.dk-main section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.page-index { margin: 36px 0 0; }
.page-index ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.page-index a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 999px; font-size: var(--fs-label); letter-spacing: 0.04em; color: var(--body); text-decoration: none; transition: border-color .2s ease, color .2s ease; }
.page-index a:hover { border-color: var(--violet); color: #fff; }
.is-clamped { max-height: var(--clamp, 3.8em); overflow: hidden; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.more-btn {
  justify-self: start; align-self: start; margin: 10px 0 0; padding: 6px 0; border: 0; background: none; cursor: pointer;
  font: 500 var(--fs-label) / 1.6 var(--f-body); letter-spacing: 0.06em; color: var(--violet);
  text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--violet-line); text-underline-offset: 6px;
}
.more-btn:hover { color: #fff; text-decoration-color: var(--violet); }
.pair > .more-btn, .step > .more-btn { grid-column: 5 / 10; }
.menu-item > .more-btn { grid-column: 4 / 10; }
.media > .more-btn { grid-column: 4 / 10; }
.case__body > :first-child { margin-top: 16px; }
.sheet__menu > .menu-item__body { margin-top: 20px; }
@media (max-width: 759px) {
  .pair > .more-btn { grid-column: 1; }
  .step > .more-btn { grid-column: 2; }
  .menu-item > .more-btn { grid-column: 1; }
  .media > .more-btn { grid-column: 1; }
  .page-index ul { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--margin) * -1); padding-right: var(--margin); scrollbar-width: none; }
  .page-index ul::-webkit-scrollbar { display: none; }
  .page-index li { flex: none; }
}

/* An article's opening paragraph reads as its lead (new posts; migrated posts open with an author line) */
.article:not(.is-migrated) .prose--post > p:first-child { font-size: var(--fs-lead); line-height: 2; color: var(--ink); }

/* ==========================================================================
   v3 (2026-11-18): design A adopted. The orbit becomes the site's signature
   ========================================================================== */
@keyframes lauhp-spin-back { to { transform: rotate(-360deg); } }

/* Case cards: a soft purple light follows the pointer */
.case-card { position: relative; overflow: hidden; isolation: isolate; }
.case-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(141, 108, 255, 0.22), transparent 70%); opacity: 0; transition: opacity .35s ease; }
.case-card:hover::before { opacity: 1; }

/* Case cards: the foot names the client and, with a small orbit, the service the work belongs to */
.case-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.case-card__who { margin-top: 0; }
.case-card__svc { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: var(--fs-label); letter-spacing: 0.06em; color: var(--body); }
.orbit-glyph { display: block; flex: none; overflow: visible; }
.orbit-glyph__ring { fill: none; stroke: var(--rule-strong); stroke-width: 1; }
.orbit-glyph__core { fill: #000; stroke: rgba(240, 244, 255, 0.75); stroke-width: 1; }
.orbit-glyph__node { fill: #000; stroke: var(--muted); stroke-width: 1; }
.orbit-glyph__node.is-on { fill: var(--violet-fill); stroke: var(--violet); }

/* Page heads: a small orbit beside the title. On service pages it is a way between the three services */
.ph-orbit { display: none; }
@media (min-width: 1200px) {
  .page-head__body { display: grid; grid-template-columns: minmax(0, 1fr) 200px; column-gap: calc(var(--gutter) * 3); align-items: center; }
  .page-head__text { min-width: 0; }
  .ph-orbit { display: block; width: 200px; }
  .ph-orbit svg { display: block; width: 100%; height: auto; overflow: visible; }
}
.ph-orbit__ring { fill: none; stroke: var(--rule); stroke-width: 1; }
.ph-orbit__ring--in { stroke-dasharray: 2 6; }
.ph-orbit__core { fill: #000; stroke: rgba(240, 244, 255, 0.8); stroke-width: 1; filter: drop-shadow(0 0 10px rgba(150, 170, 255, 0.45)); }
.ph-orbit__hit { fill: transparent; }
.ph-orbit__node { fill: #000; stroke: var(--muted); stroke-width: 1; transition: stroke .2s ease, fill .2s ease; }
.ph-orbit__node.is-on { fill: var(--violet-fill); stroke: var(--violet); filter: drop-shadow(0 0 8px var(--violet-glow)); }
.ph-orbit__label { font: 500 14px var(--f-body); letter-spacing: 0.08em; fill: var(--muted); transition: fill .2s ease; }
.ph-orbit__label.is-on { fill: #fff; }
.ph-orbit__link { outline: none; }
.ph-orbit__link:hover .ph-orbit__node:not(.is-on), .ph-orbit__link:focus-visible .ph-orbit__node:not(.is-on) { stroke: var(--violet); }
.ph-orbit__link:hover .ph-orbit__label, .ph-orbit__link:focus-visible .ph-orbit__label { fill: var(--ink); }
.ph-orbit__link:focus-visible .ph-orbit__hit { stroke: var(--ink); stroke-width: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .ph-orbit__spin { transform-origin: 0 0; animation: lauhp-spin-back 60s linear infinite; }
  .ph-orbit__spin--slow { animation-duration: 40s; }
}

/* Steps: numbered nodes on a line. A reading line sits at 60% of the screen; each node lights when it reaches it,
   and the stretch of line to the next node fills as the reader moves on */
.step { position: relative; }
.step:not(:last-child)::before, .step:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 18px; width: 1px; height: calc(100% + 36px); background: var(--rule); }
.step:not(:last-child)::after { background: var(--violet); transform-origin: 50% 0; transform: scaleY(0); }
.step__no { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--rule-strong); border-radius: 50%; background: #000; font-size: 12px; line-height: 1; letter-spacing: 0; color: var(--ink); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .step { view-timeline: --lauhp-step block; view-timeline-inset: 0 40%; }
    .step:not(:last-child)::after { animation: lauhp-fill linear both; animation-timeline: --lauhp-step; animation-range: entry 18px entry calc(100% + 54px); }
    .step__no { animation: lauhp-node-on linear both; animation-timeline: --lauhp-step; animation-range: entry 6px entry 30px; }
  }
}
@supports not (animation-timeline: view()) { .step:not(:last-child)::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .step:not(:last-child)::after { display: none; } }
@keyframes lauhp-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes lauhp-node-on { from { border-color: var(--rule-strong); background: #000; color: var(--ink); } to { border-color: var(--violet); background: var(--violet-fill); color: #fff; } }

/* Closing contact: the black hole returns, a node circling it */
.sec--contact { position: relative; overflow: hidden; isolation: isolate; }
.sec--contact > .wrap { position: relative; }
/* centre: 120px in from the content's right edge, 60px above the label row; the outer ring is clipped by the section top */
.cta-orbit { position: absolute; z-index: -1; right: -70px; top: -250px; width: 380px; aspect-ratio: 1; pointer-events: none; }
.cta-orbit svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cta-orbit__ring { fill: none; stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cta-orbit__ring--in { stroke-dasharray: 2 7; }
.cta-orbit__core { fill: #000; stroke: rgba(240, 244, 255, 0.8); stroke-width: 1.2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 26px rgba(150, 170, 255, 0.42)); }
.cta-orbit__arc { fill: none; stroke: var(--violet); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 14 86; opacity: 0.8; }
.cta-orbit__node { fill: var(--violet-fill); filter: drop-shadow(0 0 10px var(--violet-glow)); }
@media (prefers-reduced-motion: no-preference) { .cta-orbit__spin { transform-origin: 0 0; animation: lauhp-spin-back 36s linear infinite; } }
@media (max-width: 1023px) { .cta-orbit { right: -100px; top: -170px; width: 260px; } }

/* Articles: a purple line under the header shows how far into the article the reader is */
.read-progress { display: none; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .article { view-timeline-name: --lauhp-article; }
    .read-progress { display: block; position: fixed; left: 0; right: 0; top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px)); z-index: 40; height: 2px; pointer-events: none; transform-origin: 0 50%; background: linear-gradient(90deg, var(--violet-fill), var(--violet)); animation: lauhp-read linear both; animation-timeline: --lauhp-article; animation-range: contain 0% contain 100%; }
  }
}
@keyframes lauhp-read { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Short pages: details live in sheets (2026-11-19, 企業向け生成AI研修) */
.stats--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats--pair .stat__label { word-break: auto-phrase; }
.case-strip--3 { margin-top: var(--head-gap); grid-template-columns: 1fr; }
@media (min-width: 1200px) { .case-strip--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.case-strip--3 + .stats { margin-top: 56px; }
.sheet__sec { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--rule); }
.sheet__after { margin-top: 14px; }
.sheet__cols > div > .sheet__text + .sheet__list { margin-top: 12px; }
.sheet__stats { margin-top: 36px; }
.sheet__dl { margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--rule); }
.sheet__dl dt { font: 500 var(--fs-label) / 1.6 var(--f-body); letter-spacing: 0.06em; color: var(--violet); }
.sheet__dl dt + dd { margin: 6px 0 0; }
.sheet__dl dd { max-width: 34em; font-size: var(--fs-small); line-height: 1.95; color: var(--ink); }
.sheet__dl dd + dt { margin-top: 20px; }

/* Review fixes (2026-11-19) */
.case-card__title { text-wrap: balance; }
.text + .form-slot { margin-top: var(--head-gap); }
/* Migrated posts: rows of cards laid out with inline flex stack on phones instead of running off the screen */
@media (max-width: 759px) {
  .prose--post [style*="display: flex"], .prose--post [style*="display:flex"] { flex-wrap: wrap; }
  .prose--post [style*="display: flex"] > [style*="flex: 1"], .prose--post [style*="display:flex"] > [style*="flex:1"] { flex: 1 1 100% !important; min-width: 0; }
}
