/* ==========================================================================
   Hariini. — Minimal Editorial × Modern
   Palette: #FFFFFF / #F2F2EF / #171717 / #929292
   ========================================================================== */

:root {
  --white: #FFFFFF;
  --off: #F2F2EF;
  --ink: #171717;
  --gray: #929292;
  --muted: #5E5E5B;          /* 本文の補足テキスト（白背景でAA） */
  --muted-dark: #A9A9A5;     /* 黒背景の補足テキスト */
  --line: #DADAD5;
  --line-dark: #3B3B3A;

  --bg: var(--white);
  --fg: var(--ink);
  --fg-muted: var(--muted);
  --rule: var(--line);

  --gutter: max(16px, 4.2vw);
  --maxw: 1600px;
  --header-h: 68px;

  --font: "Archivo", "Inter Display", "Inter", "Helvetica Neue", Arial,
          "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "IPAPGothic", Meiryo, sans-serif;
  --font-ja: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "IPAPGothic", Meiryo, sans-serif;

  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .01em;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }
::selection { background: var(--ink); color: var(--white); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; }
.skip:focus { top: 12px; }

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

/* ---------- type ---------- */
.display {
  font-family: var(--font);
  font-weight: 600;
  font-stretch: 88%;
  font-size: clamp(44px, 6.4vw, 112px);
  line-height: .95;
  letter-spacing: -.035em;
}
.dot { letter-spacing: 0; }
.kicker, .brand__field, .page-head__ja, .tree__field {
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .02em;
  color: var(--fg-muted);
  margin: 0 0 18px;
}

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border: 1px solid currentColor; border-radius: 999px;
  background: transparent; cursor: pointer;
  font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: .01em;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { background: var(--fg); color: var(--bg); }
.btn--small { min-height: 38px; padding: 8px 18px; font-size: 14px; }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: transparent; color: var(--white); }
.btn--large { min-height: 60px; padding: 16px 36px; font-size: 16px; }

.link-plain, .link-out {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: opacity .2s;
}
.link-plain:hover, .link-out:hover { opacity: .6; }
.link-out { font-size: 15px; letter-spacing: .01em; }
.ext { font-family: var(--font); font-size: .9em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header__inner {
  height: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.wordmark {
  font-family: var(--font); font-weight: 600; font-stretch: 108%;
  font-size: 26px; line-height: 1; letter-spacing: -.035em; white-space: nowrap;
}
.wordmark-ii { letter-spacing: -.09em; margin-right: .06em; }
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo__img { height: 20px; width: auto; }
.logo__img--on-dark { display: none; }
/* 黒い背景の場所では白いロゴ */
.site-footer .logo__img--on-light, .menu .logo__img--on-light, [data-page-theme="dark"] .site-header .logo__img--on-light { display: none; }
.site-footer .logo__img--on-dark, .menu .logo__img--on-dark, [data-page-theme="dark"] .site-header .logo__img--on-dark { display: block; }
.logo.wordmark--footer .logo__img { height: clamp(36px, 4.4vw, 64px); }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav ul { display: flex; gap: 30px; }
.site-nav ul a { font-size: 15px; font-weight: 500; position: relative; padding: 6px 0; }
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.menu-button {
  display: none; border: 0; background: none; cursor: pointer;
  font-size: 15px; font-weight: 500; padding: 10px 0; min-height: 44px;
}

.menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--ink); color: var(--white);
  padding: 0 var(--gutter) 32px;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; flex: none; }
.menu__top .menu-button { display: block; }
.menu__list { margin-top: 6vh; }
.menu__list a {
  display: block; font-weight: 600; font-stretch: 88%;
  font-size: clamp(44px, 13vw, 72px); line-height: 1.12; letter-spacing: -.035em;
}
.menu__brands { margin-top: auto; padding-top: 40px; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted-dark); font-size: 15px; }
.menu.is-open .menu__list li { animation: menu-in .5s var(--ease) both; }
.menu.is-open .menu__list li:nth-child(2) { animation-delay: .04s; }
.menu.is-open .menu__list li:nth-child(3) { animation-delay: .08s; }
.menu.is-open .menu__list li:nth-child(4) { animation-delay: .12s; }
.menu.is-open .menu__list li:nth-child(5) { animation-delay: .16s; }
.menu.is-open .menu__list li:nth-child(6) { animation-delay: .2s; }
@keyframes menu-in { from { opacity: 0; transform: translateY(18px); } }
body.menu-open { overflow: hidden; }

/* ---------- sections ---------- */
.section { padding-block: clamp(88px, 11vw, 176px); }
.section--dark { --bg: var(--ink); --fg: var(--white); --fg-muted: var(--muted-dark); --rule: var(--line-dark); background: var(--bg); color: var(--fg); }
.section--off { --bg: var(--off); background: var(--bg); --rule: #CFCFC9; }
.section-head {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
  align-items: end; margin-bottom: clamp(48px, 7vw, 104px);
}
.section-head > :first-child { grid-column: 1 / 8; }
.section-head > :last-child:not(:first-child) { grid-column: 9 / 13; color: var(--fg-muted); max-width: 34em; }
.section-head > :last-child p:last-child { margin-bottom: 0; }
.section-head strong { color: var(--fg); font-weight: 600; }
.section-head--row { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; }
.section-head--row > :last-child:not(:first-child) { color: var(--fg); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 96px); padding-bottom: clamp(72px, 9vw, 140px); }
.hero__top { position: relative; }
.hero__title {
  font-weight: 600; letter-spacing: -.045em; line-height: .86;
  font-size: clamp(76px, 14.5vw, 260px);
}
.hero__line { display: block; font-stretch: 72%; }
.hero__line--bleed {
  font-stretch: 125%; font-weight: 700; letter-spacing: -.05em;
  white-space: nowrap;
  /* 文字の幅をビューポートいっぱいに広げ、余白（境界）を越えさせる。
     中身は最大幅で中央寄せなので、画面の左右端を基準に広げる（広いモニター対策） */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-inline: 4px;
  font-size: 15.6vw;  /* JSで正確にフィットさせる前の初期値 */
  padding-top: .06em;
}
.hero__fit { display: inline-block; }
.hero__meta {
  position: absolute; right: var(--gutter); top: 0;
  width: min(34%, 420px);
  display: flex; flex-direction: column; gap: 22px;
  padding-top: clamp(8px, 2vw, 32px);
}
.hero__ja {
  font-family: var(--font-ja); font-weight: 500;
  font-size: clamp(22px, 2.4vw, 38px); line-height: 1.4; letter-spacing: .08em; margin: 0;
}
.hero__fields { font-size: 15px; line-height: 1.7; color: var(--fg-muted); margin: 0; }

.hero__strip {
  max-width: var(--maxw); margin: clamp(40px, 5vw, 80px) auto 0; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 23fr 29fr 21fr 27fr; gap: clamp(10px, 1.2vw, 20px); align-items: start;
}
.hero__shot img { width: 100%; object-fit: cover; background: var(--off); }
.hero__shot--a { margin-top: 9vw; } .hero__shot--a img { aspect-ratio: 3 / 4; }
.hero__shot--b img { aspect-ratio: 4 / 5; }
.hero__shot--c { margin-top: 15vw; } .hero__shot--c img { aspect-ratio: 2 / 3; }
.hero__shot--d { margin-top: 4vw; } .hero__shot--d img { aspect-ratio: 3 / 4; object-position: 50% 70%; }
.hero figcaption, .works figcaption {
  font-size: 13px; line-height: 1.5; color: var(--fg-muted); margin-top: 10px;
}

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.about__title { grid-column: 1 / 8; font-size: clamp(48px, 7.2vw, 128px); }
.about__text { grid-column: 9 / 13; font-family: var(--font-ja); font-size: 17px; line-height: 2.1; color: var(--muted-dark); padding-top: .6em; }
.about__lead { font-size: clamp(22px, 2vw, 30px); line-height: 1.55; font-weight: 500; color: var(--white); margin-bottom: 1.4em; letter-spacing: .04em; }
.about__text .link-plain { color: var(--white); margin-top: 1.2em; }

/* ---------- brands ---------- */
.brand {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center;
  padding-block: clamp(48px, 6vw, 96px);
  border-top: 1px solid var(--rule);
}
.business .brand:last-child { padding-bottom: 0; }
.brand__media { grid-column: 1 / 8; overflow: hidden; background: var(--off); }
.brand__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.brand__text { grid-column: 9 / 13; }
.brand--flip .brand__media { grid-column: 6 / 13; grid-row: 1; }
.brand--flip .brand__text { grid-column: 1 / 5; grid-row: 1; }
.brand--dress-curre .brand__media img { aspect-ratio: 4 / 5; }
.brand--dress-curre .brand__media { grid-column: 8 / 13; }
.brand__media--device { display: grid; place-items: center; padding: clamp(32px, 5vw, 80px) 0; background: var(--off); }
.brand__media--device img { width: min(46%, 300px); aspect-ratio: auto; border-radius: 10px; box-shadow: 0 30px 60px -30px rgba(23,23,23,.35); }
.brand__name { font-weight: 600; font-stretch: 88%; font-size: clamp(44px, 5vw, 80px); line-height: 1; letter-spacing: -.035em; margin-bottom: 24px; }
.brand__lead { font-family: var(--font-ja); font-weight: 500; font-size: 20px; line-height: 1.6; letter-spacing: .04em; }
.brand__body { font-family: var(--font-ja); color: var(--fg-muted); font-size: 15px; line-height: 2; margin-bottom: 28px; }
.brand__services { border-top: 1px solid var(--rule); margin-bottom: 32px; }
.brand__services li { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 14px; line-height: 1.6; }
.brand__services strong { font-weight: 600; }
.brand__services a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.brand__services span { font-family: var(--font-ja); color: var(--fg-muted); }
.brand__services em { font-style: normal; margin-left: 8px; padding: 1px 8px; border: 1px solid var(--rule); border-radius: 999px; font-size: 12px; white-space: nowrap; }

/* ---------- commercial works ---------- */
.works { columns: 3; column-gap: clamp(12px, 1.6vw, 24px); }
.works__item { break-inside: avoid; margin-bottom: clamp(20px, 2.4vw, 36px); }
.works__item img { width: 100%; background: #E4E4DF; }
.works__item:nth-child(3n + 2) { padding-top: clamp(0px, 4vw, 64px); }
.fields { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); margin-bottom: clamp(48px, 6vw, 88px); }
.fields li { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 2px; }
.fields__en { font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.fields__ja { font-family: var(--font-ja); font-size: 13px; color: var(--fg-muted); }
.note { font-family: var(--font-ja); font-size: 14px; color: var(--fg-muted); margin-top: 24px; }
.note a { color: var(--fg); border-bottom: 1px solid; }

/* ---------- wavune feature ---------- */
.feature__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.feature__text { grid-column: 1 / 6; }
.feature__title { font-size: clamp(72px, 10.5vw, 184px); font-stretch: 96%; margin-bottom: clamp(28px, 3vw, 48px); }
.feature__lead { font-family: var(--font-ja); font-weight: 500; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.6; letter-spacing: .04em; }
.feature__body { font-family: var(--font-ja); color: var(--fg-muted); font-size: 15px; line-height: 2; max-width: 32em; }
.feature__facts { margin: 32px 0 36px; border-top: 1px solid var(--rule); }
.feature__facts div { display: grid; grid-template-columns: 8em 1fr; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.feature__facts dt { color: var(--fg-muted); }
.feature__facts dd { margin: 0; }
.feature__links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.feature__devices { grid-column: 7 / 13; position: relative; height: clamp(440px, 46vw, 760px); }
.device { position: absolute; width: 38%; }
.device img { width: 100%; border-radius: 12px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.device--1 { left: 0; top: 12%; }
.device--2 { left: 31%; top: 0; width: 42%; z-index: 2; }
.device--3 { right: 0; top: 22%; }

/* ---------- news ---------- */
.news-list { border-top: 1px solid var(--rule); }
.news-row {
  display: grid; grid-template-columns: 8.5em 13em 1fr auto; gap: 16px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--rule);
}
.news-row time { font-variant-numeric: tabular-nums; font-size: 15px; }
.news-row__cat { font-size: 13px; color: var(--fg-muted); }
.news-row__title { font-family: var(--font-ja); font-size: 17px; line-height: 1.7; font-weight: 500; }
.news-row::after { content: "→"; font-size: 18px; transition: transform .25s var(--ease); }
.news-row:hover .news-row__title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.news-row:hover::after { transform: translateX(4px); }
.empty { color: var(--fg-muted); }

/* ---------- company ---------- */
.company-teaser__grid, .company-page__grid, .press__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.company-teaser__grid > :first-child, .company-page__grid > :first-child, .press__grid > :first-child { grid-column: 1 / 6; }
.company-teaser__grid > .facts, .company-page__grid > .facts, .press__grid > :last-child { grid-column: 7 / 13; }
.company-teaser__lead { font-family: var(--font-ja); color: var(--fg-muted); margin: 32px 0 28px; max-width: 26em; }
.facts { margin: 0; border-top: 1px solid var(--rule); }
.facts__row { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); font-family: var(--font-ja); font-size: 15px; line-height: 1.8; }
.facts dt { color: var(--fg-muted); }
.facts dd { margin: 0; }

/* ---------- contact & form ---------- */
.contact__title { font-size: clamp(56px, 9.6vw, 176px); font-stretch: 96%; margin-bottom: clamp(48px, 6vw, 96px); }
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.contact__intro { grid-column: 1 / 5; font-family: var(--font-ja); color: var(--fg-muted); font-size: 15px; }
.contact__lead { font-size: clamp(20px, 1.8vw, 26px); color: var(--fg); font-weight: 500; letter-spacing: .04em; line-height: 1.6; }
.contact__grid > .form, .contact__grid > p { grid-column: 6 / 13; }
.contact__brands { margin: 28px 0; border-top: 1px solid var(--rule); }
.contact__brands li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.contact__brands a { color: var(--fg); border-bottom: 1px solid; }
.contact__small { font-size: 13px; }
.contact--page { padding-top: clamp(56px, 6vw, 96px); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.form__field { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.form__field--full { grid-column: 1 / -1; }
.form label, .form legend { font-family: var(--font-ja); font-size: 14px; font-weight: 500; padding: 0; }
.req { font-size: 11px; font-weight: 500; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--fg); color: var(--bg); vertical-align: 1px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; font: inherit; font-family: var(--font-ja); font-size: 17px; color: var(--fg);
  background: transparent; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0;
  padding: 10px 0; min-height: 48px; transition: border-color .2s;
}
.form textarea { resize: vertical; line-height: 1.8; border: 1px solid var(--rule); padding: 14px 16px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--fg); }
.form input:focus-visible, .form textarea:focus-visible { box-shadow: 0 2px 0 0 var(--fg); }
.form textarea::placeholder { color: #7D7D79; }
.form__hp { position: absolute; left: -9999px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--rule); border-radius: 999px; font-size: 14px; font-weight: 500; transition: all .2s; }
.chip:hover span { border-color: var(--fg); }
.chip input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 3px; }
.check { display: inline-flex; gap: 12px; align-items: center; cursor: pointer; font-weight: 400 !important; }
.check input { width: 22px; height: 22px; accent-color: var(--fg); margin: 0; }
.check a { border-bottom: 1px solid; }
.form__error { display: none; margin: 0; font-family: var(--font-ja); font-size: 13px; color: #FF9C8A; }
.section:not(.section--dark) .form__error { color: #B42318; }
.form__field.is-invalid .form__error { display: block; }
.form__field.is-invalid input, .form__field.is-invalid textarea { border-color: #FF9C8A; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 8px; }
.form__status { margin: 0; font-family: var(--font-ja); font-size: 14px; color: var(--fg-muted); }

/* ---------- page head (sub pages) ---------- */
.page-head { padding-block: clamp(56px, 8vw, 128px) clamp(40px, 5vw, 80px); }
.page-head__title { font-size: clamp(64px, 13vw, 232px); font-stretch: 80%; line-height: .88; letter-spacing: -.045em; }
.page-head__note { font-family: var(--font-ja); font-size: 14px; color: var(--fg-muted); max-width: 40em; margin: 14px 0 0; }
.page-head__lead { font-family: var(--font-ja); font-size: clamp(16px, 1.4vw, 19px); color: var(--fg-muted); max-width: 36em; margin: clamp(28px, 3vw, 48px) 0 0; }
[data-page-theme="dark"] body { --bg: var(--ink); --fg: var(--white); --fg-muted: var(--muted-dark); --rule: var(--line-dark); }

/* ---------- about page tree ---------- */
.tree { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--ink); }
.tree__brand { padding-top: 28px; }
.tree__brand h3 { font-size: clamp(36px, 3.6vw, 56px); font-stretch: 88%; letter-spacing: -.035em; line-height: 1; margin-bottom: 18px; }
.tree__brand h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.tree__brand > p { font-family: var(--font-ja); }
.tree__brand ul { margin-top: 20px; border-top: 1px solid var(--rule); }
.tree__brand li { padding: 10px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; font-weight: 600; font-size: 15px; }
.tree__brand li span { font-family: var(--font-ja); font-weight: 400; font-size: 13px; color: var(--fg-muted); }

/* ---------- article ---------- */
.article { padding-block: clamp(56px, 7vw, 112px); }
.article__head { max-width: 1040px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--fg-muted); }
.article__meta a { color: var(--fg); border-bottom: 1px solid; }
.article__title { font-family: var(--font-ja); font-weight: 700; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.45; letter-spacing: .02em; margin: 16px 0 clamp(40px, 5vw, 72px); }
.article__figure { max-width: 1040px; margin-bottom: clamp(40px, 5vw, 72px); }
.article__figure img { width: min(100%, 420px); border-radius: 8px; }
.article__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1040px; margin-top: 72px; margin-bottom: 40px; }
.article__nav a { display: flex; flex-direction: column; gap: 4px; padding: 20px 0; border-top: 1px solid var(--rule); font-family: var(--font-ja); font-weight: 500; }
.article__nav a span { font-size: 13px; color: var(--fg-muted); font-weight: 400; }
.article__next { text-align: right; }

.prose { max-width: 42em; font-family: var(--font-ja); font-size: 17px; line-height: 2.05; }
.prose h2 { font-size: 22px; font-weight: 700; line-height: 1.6; margin: 2.4em 0 .8em; padding-top: 1.2em; border-top: 1px solid var(--rule); }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .3em; }
.prose a { border-bottom: 1px solid; }
.prose a:hover { opacity: .6; }
.prose__date { color: var(--fg-muted); margin-top: 3em; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink); color: var(--white);
  --fg-muted: var(--muted-dark); --rule: var(--line-dark);
  padding: clamp(56px, 6vw, 96px) 0 28px;
  border-top: 1px solid var(--line-dark);
}
.site-footer__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.site-footer__brand { grid-column: 1 / 6; }
.site-footer__brand p { color: var(--muted-dark); font-family: var(--font-ja); font-size: 14px; margin-top: 20px; }
.wordmark--footer { font-size: clamp(48px, 6vw, 96px); }
.site-footer__col { grid-column: span 3; }
.site-footer__col:nth-of-type(2) { grid-column: 7 / 10; }
.site-footer__col:last-child { grid-column: 10 / 13; }
.site-footer h2 { font-size: 13px; font-weight: 500; color: var(--muted-dark); margin-bottom: 14px; }
.site-footer li a { display: inline-block; padding: 4px 0; font-size: 15px; }
.site-footer li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__base { margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--line-dark); color: var(--muted-dark); font-size: 13px; }

/* ---------- motion ---------- */
.js .hero__line { opacity: 0; transform: translateY(.3em); }
.js .hero__shot { opacity: 0; transform: translateY(28px); }
.is-loaded .hero__line { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.is-loaded .hero__line:nth-child(2) { transition-delay: .08s; }
.is-loaded .hero__line:nth-child(3) { transition-delay: .16s; }
.is-loaded .hero__shot { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.is-loaded .hero__shot--a { transition-delay: .35s; }
.is-loaded .hero__shot--b { transition-delay: .45s; }
.is-loaded .hero__shot--c { transition-delay: .55s; }
.is-loaded .hero__shot--d { transition-delay: .65s; }

.js [data-reveal] { clip-path: inset(0 0 14% 0); opacity: 0; transform: translateY(24px); }
.js [data-reveal].is-in { clip-path: inset(0 0 0 0); opacity: 1; transform: none; transition: clip-path 1.2s var(--ease), opacity .8s var(--ease), transform 1.2s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero__line, .js .hero__shot, .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .site-nav ul { gap: 22px; }
  .hero__meta { position: static; width: auto; flex-direction: row; justify-content: space-between; align-items: end; gap: 24px; margin-top: 28px; padding-top: 0; }
  .hero__fields { text-align: right; }
  .feature__text { grid-column: 1 / 7; }
  .feature__devices { grid-column: 7 / 13; }
}

@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .site-nav { display: none; }
  .menu-button { display: block; }
  .wordmark { font-size: 24px; }
  .logo__img { height: 18px; }

  .hero__title { font-size: clamp(64px, 21vw, 150px); }
  .hero__meta { flex-direction: column; align-items: start; gap: 12px; }
  .hero__fields { text-align: left; }
  .hero__strip { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero__shot--a { margin-top: 0; } .hero__shot--b { margin-top: 0; }
  .hero__shot--c { margin-top: -18vw; } .hero__shot--d { margin-top: 0; }
  .hero__shot--b img { aspect-ratio: 3 / 4; } .hero__shot--c img { aspect-ratio: 3 / 4; }
  .hero__shot--b { margin-top: 18vw; }

  .section-head, .about__grid, .brand, .feature__grid, .company-teaser__grid, .company-page__grid, .press__grid, .contact__grid, .site-footer__grid { display: block; }
  .section-head > :last-child:not(:first-child) { margin-top: 24px; }
  .about__text { padding-top: 40px; }
  .brand__media, .brand--dress-curre .brand__media { margin-bottom: 32px; }
  .brand--dress-curre .brand__media img { aspect-ratio: 4 / 5; }
  .brand__media--device img { width: min(56%, 260px); }
  .feature__devices { height: 118vw; max-height: 640px; margin-top: 56px; }
  .company-teaser__grid .facts, .company-page__grid .facts, .press__grid > :last-child { margin-top: 40px; }
  .contact__intro { margin-bottom: 40px; }
  .site-footer__col { margin-top: 40px; }
  .works { columns: 2; }
  .fields { grid-template-columns: 1fr 1fr; }
  .tree { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .news-row { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 20px 0; }
  .news-row time { grid-column: 1; grid-row: 1; font-size: 14px; }
  .news-row__cat { grid-column: 1; grid-row: 2; }
  .news-row__title { grid-column: 1; grid-row: 3; font-size: 16px; }
  .news-row::after { grid-column: 2; grid-row: 1 / 4; align-self: center; }
  .facts__row { grid-template-columns: 6.5em 1fr; }
  .brand__services li { grid-template-columns: 1fr; gap: 0; }
  .form { grid-template-columns: 1fr; }
  .works { column-gap: 10px; }
  .works__item:nth-child(3n + 2) { padding-top: 0; }
  .works__item:nth-child(2n) { padding-top: 28px; }
  .works__item { margin-bottom: 20px; }
  .fields { grid-template-columns: 1fr; }
  .article__nav { grid-template-columns: 1fr; }
  .article__next { text-align: left; }
  .btn--large { width: 100%; justify-content: center; }
}
