/* ==========================================================================
   Crazy Human Lab — 狂人実験室
   A field notebook: bone paper, ink, one specimen-red accent.
   ========================================================================== */

:root {
  --paper:      #f2eee4;
  --paper-2:    #e9e4d8;
  --ink:        #151412;
  --ink-2:      #4a4741;
  --ink-3:      #8a8579;
  --rule:       rgba(21, 20, 18, 0.14);
  --rule-strong: rgba(21, 20, 18, 0.5);
  --grid:       rgba(21, 20, 18, 0.055);
  --red:        #e0391a;
  --red-ink:    #b52c12;
  --red-dim:    rgba(224, 57, 26, 0.10);

  --display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --jp:      'Shippori Mincho B1', 'Hiragino Mincho ProN', 'Yu Mincho', serif;

  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
  --gutter:  clamp(16px, 5vw, 72px);
  --maxw:    1280px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:      #141311;
    --paper-2:    #1c1a17;
    --ink:        #ece7db;
    --ink-2:      #b3ad9f;
    --ink-3:      #7c776c;
    --rule:       rgba(236, 231, 219, 0.14);
    --rule-strong: rgba(236, 231, 219, 0.5);
    --grid:       rgba(236, 231, 219, 0.05);
    --red:        #ff5a36;
    --red-ink:    #ff7a5c;
    --red-dim:    rgba(255, 90, 54, 0.12);
  }
}

/* Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

body {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: var(--display);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
}

/* grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.045;
  pointer-events: none;
  z-index: 50;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
::selection { background: var(--red); color: var(--paper); }

.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: var(--gutter); top: -100px;
  background: var(--ink); color: var(--paper); padding: 0.5rem 1rem; z-index: 200;
  font-family: var(--mono); font-size: 0.8rem;
}
.skip:focus { top: 8px; }

/* Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem var(--gutter);
  border-bottom: 1px solid var(--rule-strong);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-mark { display: inline-flex; color: var(--red); }
.brand-mark svg { width: 26px; height: 26px; }
.brand-jp {
  font-family: var(--jp);
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--ink-3);
  letter-spacing: 0.2em;
  padding-left: 0.6rem;
  border-left: 1px solid var(--rule);
}

.site-nav {
  display: flex;
  gap: 1.4rem;
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-nav a { position: relative; color: var(--ink-2); padding: 0.2rem 0; }
.site-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }

.header-stamp {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  border: 1px solid var(--rule);
  padding: 0.25rem 0.5rem;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .brand-jp, .header-stamp { display: none; }
  .site-nav { gap: 1rem; overflow-x: auto; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
}
@media (max-width: 560px) {
  .site-nav { display: none; }
  .brand-jp { display: inline; }
}

/* Sections (shared)
   ========================================================================== */

main { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

section { padding: clamp(4rem, 9vw, 8rem) 0; border-top: 1px solid var(--rule-strong); }
section:first-of-type { border-top: 0; }

.section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variation-settings: 'opsz' 96;
}
.section-no { color: var(--red); }
.section-jp { font-family: var(--jp); text-transform: none; letter-spacing: 0.3em; font-size: 0.9rem; }

.section-intro {
  max-width: 56ch;
  color: var(--ink-2);
  margin: -1.5rem 0 3rem;
  font-size: 1.05rem;
}

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Hero
   ========================================================================== */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "meta meta"
    "title jp"
    "lede specimen";
  column-gap: 3rem;
  row-gap: 2.5rem;
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  min-height: min(calc(100svh - 62px), 860px);
  align-content: start;
}

.hero-meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--rule-strong);
}

.hero-title {
  grid-area: title;
  font-size: clamp(4rem, 15.5vw, 13.5rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.055em;
  font-variation-settings: 'opsz' 96;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em) skewY(2deg);
  animation: rise 0.9s var(--ease) forwards;
}
.w1 { animation-delay: 0.05s; }
.w2 { animation-delay: 0.17s; padding-left: 0.32em; }
.w3 { animation-delay: 0.29s; color: var(--red); }
.hero-period { color: var(--ink); }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

.hero-jp {
  grid-area: jp;
  font-family: var(--jp);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  letter-spacing: 0.32em;
  line-height: 1;
  color: var(--ink);
  align-self: start;
  justify-self: end;
  padding: 0.6rem 0.35rem 0.9rem;
  border-left: 3px solid var(--red);
  opacity: 0;
  animation: fade 1s 0.5s var(--ease) forwards;
}
.vertical { writing-mode: vertical-rl; text-orientation: upright; }

@keyframes fade { to { opacity: 1; } }

.hero-lede {
  grid-area: lede;
  max-width: 60ch;
  opacity: 0;
  animation: fade 1s 0.55s var(--ease) forwards;
}
.hero-desc {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.hero-desc-jp {
  font-family: var(--jp);
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--ink-2);
  margin-top: 1.1rem;
  max-width: 44em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--red); border-color: var(--red); }
.btn-line { color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.ext { font-size: 1em; }

.hero-specimen {
  grid-area: specimen;
  align-self: end;
  justify-self: end;
  min-width: 240px;
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  padding: 0.25rem 0;
  opacity: 0;
  animation: fade 1s 0.7s var(--ease) forwards;
}
.specimen-row {
  display: flex; justify-content: space-between; gap: 2rem;
  padding: 0.55rem 0.9rem;
  border-bottom: 1px dashed var(--rule);
}
.specimen-row:last-child { border-bottom: 0; }
.specimen-row span:last-child { color: var(--ink); }
.specimen-row .count { color: var(--red); font-weight: 500; }
.status { display: inline-flex; align-items: center; gap: 0.45rem; }
.status i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 var(--red);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--red-dim); }
  70%  { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas: "meta" "title" "jp" "lede" "specimen";
    min-height: 0;
    row-gap: 2rem;
  }
  .hero-title { font-size: clamp(3.6rem, 19vw, 9rem); }
  .w2 { padding-left: 0.2em; }
  .hero-jp { writing-mode: horizontal-tb; text-orientation: mixed; justify-self: start; padding: 0.2rem 0 0.2rem 0.75rem; font-size: 1.4rem; letter-spacing: 0.4em; }
  .hero-specimen { justify-self: stretch; }
}

/* Ticker
   ========================================================================== */

.ticker {
  margin: 0 calc(-1 * var(--gutter));
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 0.7rem 0;
}
.ticker-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  color: var(--paper);
  font-size: 0.74rem;
  animation: scroll 42s linear infinite;
}
.ticker-track span { white-space: nowrap; }
.ticker-track span::after { content: '✦'; color: var(--red); margin-left: 3rem; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Hypothesis
   ========================================================================== */

.theses {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule-strong);
  background: var(--paper);
}
.thesis {
  padding: 2rem 1.75rem 2.25rem;
  border-right: 1px solid var(--rule-strong);
  position: relative;
}
.thesis:last-child { border-right: 0; }
.thesis-no { display: block; color: var(--red); margin-bottom: 2.75rem; }
.thesis h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 1rem;
  text-wrap: balance;
}
.thesis p { color: var(--ink-2); font-size: 0.98rem; }
.thesis.reveal { transition-delay: calc(var(--i, 0) * 80ms); }
.thesis:nth-child(2) { --i: 1; }
.thesis:nth-child(3) { --i: 2; }

@media (max-width: 860px) {
  .theses { grid-template-columns: 1fr; }
  .thesis { border-right: 0; border-bottom: 1px solid var(--rule-strong); }
  .thesis:last-child { border-bottom: 0; }
  .thesis-no { margin-bottom: 1.25rem; }
}

/* Experiment log
   ========================================================================== */

.division {
  display: grid;
  grid-template-columns: minmax(200px, 0.9fr) 2.4fr;
  gap: 2rem 3rem;
  padding: 2.25rem 0;
  border-top: 1px solid var(--rule);
}
.division:last-of-type { border-bottom: 1px solid var(--rule); }
.division-head { position: sticky; top: 80px; align-self: start; }
.division-code { display: block; color: var(--red); margin-bottom: 0.6rem; }
.division-head h3 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.division-head p { color: var(--ink-2); font-size: 0.95rem; max-width: 28ch; }

.log { list-style: none; }
.log-row {
  display: grid;
  grid-template-columns: 3.2rem minmax(120px, 0.9fr) 1.6fr auto;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0.5rem;
  border-bottom: 1px dashed var(--rule);
  transition: background 0.2s var(--ease);
}
.log-row:first-child { border-top: 1px dashed var(--rule); }
.log-row:hover { background: var(--red-dim); }
.log-id { color: var(--ink-3); }
.log-name {
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: 1.05rem;
  position: relative;
}
.log-name::after {
  content: '↗';
  font-family: var(--mono);
  font-size: 0.75em;
  color: var(--red);
  margin-left: 0.4em;
  opacity: 0;
  transform: translate(-3px, 3px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.log-row:hover .log-name::after { opacity: 1; transform: none; }
.log-desc { color: var(--ink-2); font-size: 0.95rem; }
.log-meta { text-align: right; white-space: nowrap; }

.log-footnote { margin-top: 1.5rem; }
.log-footnote a { color: var(--red-ink); border-bottom: 1px solid currentColor; }

@media (max-width: 860px) {
  .division { grid-template-columns: 1fr; gap: 1.25rem; }
  .division-head { position: static; }
  .log-row { grid-template-columns: 2.6rem 1fr auto; grid-template-areas: "id name meta" "id desc meta"; row-gap: 0.1rem; }
  .log-id { grid-area: id; }
  .log-name { grid-area: name; }
  .log-desc { grid-area: desc; font-size: 0.88rem; }
  .log-meta { grid-area: meta; align-self: start; }
}

/* Method
   ========================================================================== */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: step;
}
.step {
  padding: 1.5rem 1.25rem 1.75rem 0;
  border-top: 2px solid var(--ink);
  margin-right: 1.25rem;
  position: relative;
}
.step:last-child { margin-right: 0; }
.step::before {
  content: '';
  position: absolute; top: -2px; left: 0; height: 2px; width: 0;
  background: var(--red);
  transition: width 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 120ms);
}
.step.in::before { width: 100%; }
.step:nth-child(2) { --i: 1; } .step:nth-child(3) { --i: 2; } .step:nth-child(4) { --i: 3; } .step:nth-child(5) { --i: 4; }
.step-no { display: block; color: var(--red); margin-bottom: 1.5rem; }
.step h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.step p { color: var(--ink-2); font-size: 0.92rem; }
.step:last-child h3::after { content: ' ↺'; color: var(--red); }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
  .step { margin-right: 0; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

/* Lab
   ========================================================================== */

.lab-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule-strong);
}
.lab-card { padding: 2.25rem 2rem; }
.lab-card + .lab-card { border-left: 1px solid var(--rule-strong); }
.lab-role { display: block; color: var(--red); margin-bottom: 1.5rem; }
.lab-card h3 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; }
.lab-name { font-family: var(--jp); color: var(--ink-3); margin: 0.5rem 0 1.25rem; letter-spacing: 0.05em; }
.lab-card > p:not(.lab-name) { color: var(--ink-2); max-width: 44ch; }
.lab-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }
.lab-links a {
  display: inline-block; padding: 0.4rem 0.7rem; border: 1px solid var(--rule-strong); color: var(--ink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lab-links a:hover { background: var(--ink); color: var(--paper); }

.facts { display: grid; gap: 0; }
.facts > div {
  display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; align-items: baseline;
  padding: 0.8rem 0; border-bottom: 1px dashed var(--rule);
}
.facts > div:first-child { border-top: 1px dashed var(--rule); }
.facts dd { color: var(--ink-2); font-size: 0.98rem; }

@media (max-width: 860px) {
  .lab-grid { grid-template-columns: 1fr; }
  .lab-card + .lab-card { border-left: 0; border-top: 1px solid var(--rule-strong); }
}

/* Contact
   ========================================================================== */

.contact-body { text-align: left; }
.contact-lede { font-size: clamp(1.2rem, 2.2vw, 1.6rem); letter-spacing: -0.015em; max-width: 40ch; margin-bottom: 1.5rem; }
.contact-mail {
  display: inline-block;
  font-size: clamp(1.6rem, 5.5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  border-bottom: 3px solid var(--red);
  padding-bottom: 0.1em;
  transition: color 0.25s var(--ease);
  white-space: nowrap;
}
.contact-mail:hover { color: var(--red); }
.contact-note { margin-top: 1.25rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
  align-items: start;
}
.contact-body { container-type: inline-size; }
.contact-mail { font-size: clamp(1.25rem, 2.7vw, 2.6rem); }
@supports (font-size: 1cqi) {
  .contact-mail { font-size: clamp(1.25rem, 7.6cqi, 2.6rem); }
}

/* intake form */
.intake {
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  padding: 1.75rem 1.75rem 1.5rem;
  position: relative;
}
.intake::before {
  content: '';
  position: absolute; inset: 6px;
  border: 1px dashed var(--rule);
  pointer-events: none;
}
.intake-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule-strong);
}
.intake-code { color: var(--red); }
.intake-head h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1; }
.intake-jp { font-family: var(--jp); text-transform: none; letter-spacing: 0.25em; }

.field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.25rem; position: relative; }
.field label { color: var(--ink-2); }
.field .opt { color: var(--ink-3); text-transform: none; letter-spacing: 0.02em; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  border-radius: 0;
  padding: 0.6rem 0;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s var(--ease);
}
.field textarea {
  resize: vertical;
  min-height: 9rem;
  line-height: 1.5;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--rule-strong);
  background-image: repeating-linear-gradient(transparent 0 calc(1.5em - 1px), var(--rule) calc(1.5em - 1px) 1.5em);
  background-attachment: local;
  background-position: 0 0.6rem;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 1px 0 0 var(--red);
}
.field textarea:focus { box-shadow: inset 0 0 0 1px var(--red); }
.field select:invalid { color: var(--ink-3); }
.field select option { color: var(--ink); background: var(--paper); }

.select-wrap { position: relative; }
.select-wrap::after {
  content: '▾';
  position: absolute; right: 0.25rem; top: 50%;
  transform: translateY(-50%);
  color: var(--red);
  pointer-events: none;
  font-size: 1rem;
}
.select-wrap select { padding-right: 1.5rem; cursor: pointer; }

.counter { align-self: flex-end; margin-top: 0.1rem; }

.intake-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 0.5rem; }
.intake-foot .btn { cursor: pointer; }
.intake-foot .btn:disabled { opacity: 0.5; cursor: progress; transform: none; }
.form-status { margin: 0; text-transform: none; letter-spacing: 0.02em; font-size: 0.78rem; }
.form-status.is-ok { color: var(--ink); }
.form-status.is-ok::before { content: '✓ '; color: var(--red); }
.form-status.is-error { color: var(--red-ink); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .intake { padding: 1.5rem 1.25rem 1.25rem; }
  .intake-jp { display: none; }
}

/* Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--rule-strong);
  padding: 1.5rem var(--gutter) 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}
.footer-left, .footer-right { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-left [lang="ja"] { font-family: var(--jp); letter-spacing: 0.25em; text-transform: none; }
