/* ============================================================
   Miyabi Studio — 自社サイト
   創るを、自由に。
   配色: 二色構成 — 墨（黒）× 和紙（生成り）、朱をアクセントに
   セクションごとに .theme-dark / .theme-light を切り替え、
   境界は斜めの楔（くさび）と円相リングで二色を混じり合わせる
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --font-display: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-sans: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --pad-x: clamp(1.4rem, 5vw, 5.5rem);
  --maxw: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --seam-h: clamp(70px, 9vw, 130px);
  --seam-ring: clamp(130px, 18vw, 250px);

  /* 既定（和紙） */
  --bg:        #f5f1e8;
  --surface:   #fdfbf6;
  --text:      #221e18;
  --text-dim:  #645c52;
  --text-mute: #9b9183;
  --accent:    #d8472a;
  --line:      rgba(34, 30, 24, 0.15);
  --line-soft: rgba(34, 30, 24, 0.07);
  --shadow-sm: 0 1px 16px rgba(34, 30, 24, 0.05);
  --shadow-lg: 0 18px 44px rgba(34, 30, 24, 0.12);
}

/* 和紙テーマ（明） */
.theme-light {
  --bg:        #f5f1e8;
  --surface:   #fdfbf6;
  --text:      #221e18;
  --text-dim:  #645c52;
  --text-mute: #9b9183;
  --accent:    #d8472a;
  --line:      rgba(34, 30, 24, 0.15);
  --line-soft: rgba(34, 30, 24, 0.07);
  --shadow-sm: 0 1px 16px rgba(34, 30, 24, 0.05);
  --shadow-lg: 0 18px 44px rgba(34, 30, 24, 0.12);
}

/* 墨テーマ（暗） */
.theme-dark {
  --bg:        #0c0a09;
  --surface:   #181311;
  --text:      #f4efe6;
  --text-dim:  #9d968a;
  --text-mute: #6f685d;
  --accent:    #e1502e;
  --line:      rgba(244, 239, 230, 0.13);
  --line-soft: rgba(244, 239, 230, 0.07);
  --shadow-sm: 0 2px 22px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 52px rgba(0, 0, 0, 0.55);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: #0c0a09;
  color: #f4efe6;
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); position: relative; z-index: 2; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(12, 10, 9, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(12, 10, 9, 0.96);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 0.6rem; }
.logo-mark {
  width: 17px; height: 17px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  border-right-color: transparent;
  transform: rotate(-20deg);
  flex: none;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.06em;
}
.site-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.6vw, 2.4rem); }
.site-nav a {
  font-size: 0.83rem;
  letter-spacing: 0.13em;
  color: var(--text-dim);
  transition: color 0.3s var(--ease);
}
.site-nav a:hover { color: var(--text); }
.nav-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  color: var(--text) !important;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff !important; }

/* hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}
.bar {
  display: block;
  width: 24px;
  height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), width 0.3s var(--ease);
  transform-origin: center;
}
[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; width: 0; }
[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(12, 10, 9, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}
.mobile-nav[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
  text-align: center;
}
.mnav-link {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 7vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f4efe6;
  opacity: 0;
  transform: translateY(20px);
  transition: color 0.3s var(--ease), opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mobile-nav[aria-hidden="false"] .mnav-link {
  opacity: 1;
  transform: none;
}
.mobile-nav[aria-hidden="false"] .mnav-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav[aria-hidden="false"] .mnav-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav[aria-hidden="false"] .mnav-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav[aria-hidden="false"] .mnav-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav[aria-hidden="false"] .mnav-link:nth-child(5) { transition-delay: 0.25s; }
.mnav-link:hover { color: var(--accent); }
.mnav-cta {
  margin-top: 0.6rem;
  border: 1px solid rgba(244, 239, 230, 0.3);
  border-radius: 999px;
  padding: 0.7rem 2.2rem;
  font-size: 1rem !important;
}
.mnav-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px var(--pad-x) 96px;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
}
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%; }

.hero-label {
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.7rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.15s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 13vw, 10.5rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
}
.hero-title .line { display: block; overflow: hidden; padding: 0.04em 0.04em 0; }
.hero-title .line-in {
  display: block;
  transform: translateY(112%);
  animation: lineUp 1.05s var(--ease) forwards;
}
.hero-title .line:nth-child(1) .line-in { animation-delay: 0.32s; }
.hero-title .line:nth-child(2) .line-in { animation-delay: 0.46s; }
.hero-title .accent { color: var(--accent); }
.hero-lead {
  margin-top: 2.1rem;
  font-size: clamp(0.95rem, 1.5vw, 1.18rem);
  line-height: 2.1;
  color: var(--text-dim);
  opacity: 0;
  animation: rise 1s var(--ease) 0.95s forwards;
}

/* enso ring */
.hero-ring {
  position: absolute;
  z-index: 1;
  width: clamp(440px, 66vw, 880px);
  aspect-ratio: 1;
  top: -14%;
  right: -13%;
  pointer-events: none;
}
.hero-ring svg { width: 100%; height: 100%; overflow: visible; }
.enso {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1697 1697;
  stroke-dashoffset: 1697;
  transform: rotate(-28deg);
  transform-origin: center;
  opacity: 0.5;
  animation: draw 2.6s var(--ease) 0.4s forwards;
}

/* hero side vertical text */
.hero-side {
  position: absolute;
  z-index: 2;
  right: clamp(1.4rem, 5vw, 5.5rem);
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-size: 0.74rem;
  letter-spacing: 0.42em;
  color: var(--text-mute);
  opacity: 0;
  animation: rise 1s var(--ease) 1.2s forwards;
}

/* scroll cue */
.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 3.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-mute);
  opacity: 0;
  animation: rise 1s var(--ease) 1.4s forwards;
}
.scroll-line { width: 1px; height: 54px; background: var(--line); position: relative; overflow: hidden; }
.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  animation: scrollDrop 2.1s var(--ease) infinite;
}

/* ---------- Section base ---------- */
.section {
  position: relative;
  padding: clamp(5.5rem, 13vh, 11rem) 0;
  background: var(--bg);
  color: var(--text);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.4rem;
}
.section-label::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.4;
  letter-spacing: 0.04em;
}
.section-intro { margin-top: 1.3rem; color: var(--text-dim); font-size: 1rem; }
.big-statement {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5.6vw, 4.4rem);
  line-height: 1.32;
  letter-spacing: 0.03em;
}

/* faint kanji background */
.kanji-bg {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20rem, 42vw, 44rem);
  line-height: 1;
  color: var(--text);
  opacity: 0.04;
  top: 50%;
  right: -4%;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}
.kanji-bg--contact { left: -6%; right: auto; }

/* ---------- About ---------- */
.about-body {
  margin-top: 2.6rem;
  max-width: 660px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-body p { color: var(--text-dim); font-size: clamp(0.96rem, 1.3vw, 1.08rem); }

/* ---------- Services ---------- */
.service-grid {
  margin-top: 3.4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.service-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2.5rem 2rem 2.7rem;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(0);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}
.service-card:hover {
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-8px);
  border-color: rgba(216, 71, 42, 0.5);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { width: 100%; }
.service-no {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.12em;
}
.service-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin: 0.8rem 0 0.3rem;
}
.service-type {
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  margin-bottom: 1.3rem;
}
.service-desc { font-size: 0.93rem; line-height: 2; color: var(--text-dim); }
.service-foot {
  margin-top: 2.8rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.94rem;
}

/* ---------- Values ---------- */
.value-list { margin-top: 3.2rem; }
.value-item {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 1.5rem 3rem;
  padding: 2.1rem 0.4rem;
  border-top: 1px solid var(--line);
  align-items: baseline;
  transition: padding-left 0.45s var(--ease);
}
.value-list .value-item:last-child { border-bottom: 1px solid var(--line); }
.value-item:hover { padding-left: 1.2rem; }
.value-en {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  letter-spacing: 0.04em;
  transition: color 0.4s var(--ease);
}
.value-item:hover .value-en { color: var(--accent); }
.value-jp {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.value-desc { font-size: 0.92rem; color: var(--text-dim); line-height: 1.95; }

/* ---------- Process ---------- */
.process-grid {
  margin-top: 3.4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.process-step {
  border-top: 2px solid var(--line);
  padding-top: 1.6rem;
}
.process-no {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--accent);
  line-height: 1;
}
.process-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 1rem 0 0.6rem;
}
.process-desc { font-size: 0.88rem; color: var(--text-dim); line-height: 1.95; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(2.4rem, 5vw, 5rem);
  align-items: start;
}
.contact-intro { padding-top: 0.4rem; }
.contact-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  line-height: 1.42;
  letter-spacing: 0.03em;
}
.contact-rule {
  display: block;
  width: 64px;
  height: 2px;
  margin: 2rem 0 1.85rem;
  background: linear-gradient(to right, var(--accent), transparent);
}
.contact-lead { color: var(--text-dim); font-size: 1rem; line-height: 2.05; }
.contact-note {
  margin-top: 1.9rem;
  font-size: 0.85rem;
  line-height: 1.95;
  color: var(--text-mute);
}
.contact-note a {
  color: var(--accent);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s var(--ease);
}
.contact-note a:hover { border-color: var(--accent); }

/* form card */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: clamp(1.7rem, 3vw, 2.8rem);
  box-shadow: var(--shadow-lg);
}
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.field .req { color: var(--accent); font-size: 0.78rem; }
.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0.82rem 1rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 132px; line-height: 1.85; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-mute); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(216, 71, 42, 0.12);
}
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; -moz-appearance: none; cursor: pointer; padding-right: 2.6rem; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1.6px solid var(--text-dim);
  border-bottom: 1.6px solid var(--text-dim);
  transform: translateY(-72%) rotate(45deg);
  pointer-events: none;
}
.form-submit {
  margin-top: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.98rem 1.5rem;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(216, 71, 42, 0.32); }
.form-submit:active { transform: translateY(0); }
.form-hint {
  margin-top: -0.2rem;
  font-size: 0.76rem;
  color: var(--text-mute);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--bg);
  color: var(--text);
  padding: 4.8rem 0 2.4rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 0.7rem; }
.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}
.footer-tag { font-size: 0.82rem; color: var(--text-mute); letter-spacing: 0.1em; }
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  transition: color 0.3s var(--ease);
}
.footer-nav a:hover { color: var(--accent); }
.copyright {
  max-width: var(--maxw);
  margin: 2.6rem auto 0;
  padding: 0 var(--pad-x);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-mute);
}

/* ---------- Seam / 境界（二色の混じり合い）---------- */
/* 各セクションの上辺に、自セクションの色がグラデーションで斜めに
   滲み出す「楔（くさび）」を重ね、墨と和紙を境界で混ぜ合わせる。
   楔の向きを交互にして、二色がジグザグに組み合うようにする。      */
.section::before,
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--seam-h) * -1 + 1px);
  height: var(--seam-h);
  background: linear-gradient(to bottom, transparent 0%, var(--bg) 50%);
  z-index: 0;
  pointer-events: none;
}
/* 斜めの向き — 交互に切り替えてジグザグに */
.about::before,
.values::before,
.contact::before {
  clip-path: polygon(0 100%, 100% 0, 100% 100%);   /* 右上がり */
}
.services::before,
.process::before,
.site-footer::before {
  clip-path: polygon(0 0, 100% 100%, 0 100%);       /* 左上がり */
}

/* 境界をまたぐ円相リング — 墨と和紙の二色を一つの円がまたぐ */
.section::after,
.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  width: var(--seam-ring);
  height: var(--seam-ring);
  border: 1.6px solid var(--accent);
  border-radius: 50%;
  opacity: 0.5;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}
.about::after,
.values::after,
.contact::after {
  left: 15%;
}
.services::after,
.process::after,
.site-footer::after {
  left: 85%;
}

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 95ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes lineUp {
  from { transform: translateY(112%); }
  to   { transform: translateY(0); }
}
@keyframes draw {
  from { stroke-dashoffset: 1697; }
  to   { stroke-dashoffset: 300; }
}
@keyframes scrollDrop {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .service-grid { grid-template-columns: 1fr; max-width: 460px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-side { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .contact-intro { max-width: 560px; }
}
@media (max-width: 680px) {
  .site-nav { display: none; }
  .menu-toggle { display: flex; }
  .value-item { grid-template-columns: 1fr; gap: 0.7rem; padding: 1.8rem 0.2rem; }
  .value-item:hover { padding-left: 0.2rem; }
  .process-grid { grid-template-columns: 1fr; max-width: 420px; }
  .hero-lead br { display: none; }
  body { line-height: 1.8; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-label, .hero-lead, .hero-side, .scroll-cue { opacity: 1; }
  .hero-title .line-in { transform: none; }
  .enso { stroke-dashoffset: 300; }
}
