:root {
  --paper: #edeae2;
  --paper-light: #f7f4ed;
  --paper-deep: #e2ded3;
  --ink: #1f1d1d;
  --muted: #65615c;
  --line: rgba(31, 29, 29, .22);
  --lime: #b7ef39;
  --dark: #363a35;
  --serif-en: "EB Garamond", Georgia, serif;
  --serif-jp: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --gutter: clamp(24px, 4.2vw, 82px);
  --section-space: clamp(128px, 12vw, 205px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .035em;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { color: inherit; font: inherit; }
button { border-radius: 0; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; }
main { overflow: clip; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
::selection { background: var(--lime); color: var(--ink); }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 82px;
  display: grid;
  grid-template-columns: minmax(225px, auto) 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 52px);
  padding: 0 var(--gutter);
  background: rgba(237, 234, 226, .94);
  border: 0;
  backdrop-filter: blur(14px);
}
.site-header::after {
  content: "";
  position: absolute;
  right: var(--gutter);
  bottom: 0;
  left: var(--gutter);
  height: 1px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left;
  animation: line-enter 1.2s .25s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes line-enter { to { transform: scaleX(1); } }
.logo {
  display: inline-flex;
  width: max-content;
  flex-direction: row;
  align-items: baseline;
  gap: 12px;
  line-height: 1;
}
.logo small {
  order: 2;
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .08em;
  white-space: nowrap;
}
.logo b {
  font-family: var(--serif-jp);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.site-nav {
  display: flex;
  height: 100%;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(18px, 2vw, 36px);
}
.site-nav > a {
  position: relative;
  display: block;
  min-width: max-content;
  padding: 8px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .02em;
  transform: none;
  transition: color .3s ease, transform .3s ease;
}
.site-nav > a > b { font: inherit; }
.site-nav > a > span,
.site-nav > a > small,
.site-nav > a > i,
.mobile-menu-label,
.mobile-menu-actions { display: none; }
.site-nav > a::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: -9px;
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-5px, -50%) scale(0);
  transition: opacity .28s ease, transform .4s cubic-bezier(.2,.8,.2,1);
}
.site-nav > a::after { display: none; }
.site-nav > a:hover,
.site-nav > a:focus-visible,
.site-nav > a.is-current { transform: translateX(5px); }
.site-nav > a:hover::before,
.site-nav > a:focus-visible::before,
.site-nav > a.is-current::before {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
}
.header-cta {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .03em;
  transition: background .25s ease, color .25s ease;
}
.header-cta::before { display: none; }
.header-cta-arrow {
  width: auto;
  height: auto;
  display: inline-block;
  flex: 0 0 auto;
  background: transparent;
  color: inherit;
  border-radius: 0;
  font-size: 16px;
  line-height: 1;
  transition: transform .25s ease;
}
.header-cta:hover .header-cta-arrow,
.header-cta:focus-visible .header-cta-arrow {
  background: transparent;
  color: inherit;
  transform: translateX(3px);
}
.header-cta:hover,
.header-cta:focus-visible { background: var(--lime); color: var(--ink); }
.menu-button { display: none; }

/* Shared typography */
.section { padding: var(--section-space) var(--gutter); }
.section-inner { width: 100%; max-width: 1840px; margin: 0 auto; }
.section-kicker,
.hero-kicker {
  display: block;
  margin: 0 0 28px;
  color: var(--ink);
  font-family: var(--serif-en);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}
.section-kicker::before,
.hero-kicker::before { display: none; }
.section-kicker.on-dark { color: inherit; }
.display-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif-jp);
  font-size: clamp(40px, 3.4vw, 64px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -.045em;
  white-space: normal;
}
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .05em;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  height: auto;
  display: grid;
  grid-template-rows: minmax(360px, 43vh) minmax(430px, 57vh);
  row-gap: 0;
  padding: 82px 0 0;
  background: var(--paper);
  color: var(--ink);
}
.hero-top {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: clamp(70px, 10vw, 210px);
  margin: 0;
  padding: clamp(70px, 8vh, 118px) var(--gutter) clamp(42px, 6vh, 70px);
}
.hero-top > div:first-child { align-self: end; }
.hero-kicker { margin-bottom: 18px; }
.hero h1 {
  max-width: 980px;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif-jp);
  font-size: clamp(42px, 4.1vw, 70px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -.055em;
}
.hero h1 span {
  color: var(--ink);
  background: linear-gradient(transparent 76%, var(--lime) 0);
}
.hero-summary {
  max-width: 650px;
  align-self: end;
  padding: 0 0 7px;
}
.hero-summary strong {
  display: block;
  margin: 0 0 20px;
  color: var(--ink);
  font-family: var(--serif-jp);
  font-size: clamp(19px, 1.4vw, 24px);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
}
.hero-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .05em;
}
.hero-media {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 430px;
  height: 57vh;
  margin: 0;
  overflow: hidden;
  background: transparent;
}
.hero-media::after { display: none; }
.hero-slides {
  position: relative;
  inset: auto;
  display: flex;
  width: max-content;
  height: calc(100% - 72px);
  gap: clamp(18px, 1.8vw, 32px);
  padding: 0 var(--gutter);
  will-change: transform;
  transition: transform 1.05s cubic-bezier(.2,.7,.2,1);
}
.hero-slide {
  position: relative;
  inset: auto;
  flex: 0 0 min(72vw, 1180px);
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  opacity: .48;
  visibility: visible;
  transform: scale(.965);
  transition: opacity .9s ease, transform 1.05s cubic-bezier(.2,.7,.2,1);
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s cubic-bezier(.2,.7,.2,1);
}
.hero-slide.is-active img { transform: scale(1.025); }
.hero-slide[data-robot="dog"] img { object-position: center 46%; }
.hero-slide[data-robot="arm"] img { object-position: center 47%; }
.hero-slide[data-robot="biped"] img { object-position: center 45%; }
.hero-slide-meta {
  position: absolute;
  z-index: 3;
  bottom: 23px;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink);
}
.hero-slide-index {
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--serif-en);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .03em;
}
.hero-slide-title {
  font-family: var(--serif-jp);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
}
.hero-pagination {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 33px;
  display: flex;
  gap: 9px;
}
.hero-dot {
  position: relative;
  width: 48px;
  height: 2px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: rgba(31,29,29,.22);
  cursor: pointer;
}
.hero-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}
.hero-dot[aria-selected="true"]::after { animation: hero-progress 5s linear forwards; }
@keyframes hero-progress { to { transform: scaleX(1); } }

/* Concept */
.philosophy {
  position: relative;
  background: var(--paper);
}
.philosophy::before {
  content: "";
  position: absolute;
  top: 0;
  right: var(--gutter);
  left: var(--gutter);
  height: 1px;
  background: var(--line);
}
.philosophy-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(80px, 13vw, 240px);
  align-items: start;
}
.philosophy-title { position: sticky; top: 130px; }
.philosophy-title .display-title span { display: inline; background: none; }
.philosophy-copy { padding-top: clamp(120px, 12vw, 210px); }
.philosophy-copy blockquote {
  margin: 0 0 64px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  border: 0;
  font-family: var(--serif-jp);
  font-size: clamp(28px, 2.4vw, 42px);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: -.03em;
}
.philosophy-copy blockquote b {
  color: var(--ink);
  font-weight: 400;
  background: linear-gradient(transparent 76%, var(--lime) 0);
}
.philosophy-copy p {
  max-width: 780px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 2.05;
  letter-spacing: .055em;
}

/* Spaces */
.spaces { padding-top: 0; background: var(--paper); }
.spaces-head,
.services-head,
.robots-head,
.proof-head {
  display: grid;
  grid-template-columns: 1fr minmax(350px, .8fr);
  align-items: end;
  gap: clamp(70px, 10vw, 190px);
  margin-bottom: clamp(70px, 8vw, 130px);
}
.spaces-head .lead,
.services-head .lead,
.robots-head .lead,
.proof-head .lead {
  max-width: 690px;
  padding-bottom: 8px;
}
.space-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(20px, 2vw, 34px);
}
.space-stack { display: grid; gap: clamp(20px, 2vw, 34px); }
.space-card {
  position: relative;
  min-height: min(72vw, 850px);
  overflow: hidden;
  background: var(--paper-deep);
  border-radius: 10px;
}
.space-stack .space-card { min-height: calc((min(72vw, 850px) - clamp(20px, 2vw, 34px)) / 2); }
.space-card img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.space-card:hover img { transform: scale(1.035); }
.space-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(17,17,15,.76) 100%);
}
.space-card figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(24px, 3vw, 48px);
  color: #fff;
}
.space-card small {
  display: block;
  margin: 0 0 13px;
  padding: 0;
  background: transparent;
  color: var(--lime);
  font-family: var(--serif-en);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .04em;
}
.space-card h3 {
  margin: 0 0 12px;
  font-family: var(--serif-jp);
  font-size: clamp(26px, 2.3vw, 40px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -.03em;
}
.space-stack .space-card h3 { font-size: clamp(23px, 1.8vw, 32px); }
.space-card p {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.85;
}

/* What we design */
.services {
  position: relative;
  background: var(--paper-light);
}
.services::before,
.robots::before,
.proof::before,
.process::before {
  content: "";
  position: absolute;
  top: 0;
  right: var(--gutter);
  left: var(--gutter);
  height: 1px;
  background: var(--line);
}
.services-head { margin-bottom: clamp(90px, 10vw, 155px); }
.service-list { border-top: 1px solid var(--ink); }
.service-item {
  position: relative;
  display: grid;
  grid-template-columns: 12% 37% 1fr;
  align-items: start;
  gap: clamp(30px, 4vw, 75px);
  padding: clamp(42px, 5vw, 78px) 0;
  background: transparent;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  transform: none;
}
.service-item::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--paper);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.service-item:hover { background: transparent; transform: none; }
.service-item:hover::after { transform: scaleY(1); }
.service-item > * { position: relative; z-index: 1; }
.service-item > span {
  display: block;
  width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--serif-en);
  font-size: clamp(38px, 3vw, 56px);
  font-weight: 400;
  line-height: 1;
}
.service-item h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif-jp);
  font-size: clamp(26px, 2.2vw, 38px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -.035em;
}
.service-item p {
  max-width: 720px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: .05em;
}

/* Robots */
.robots {
  position: relative;
  background: var(--paper);
  color: var(--ink);
}
.robots-head .lead { color: var(--muted); }
.robot-stage {
  min-height: 760px;
  display: grid;
  grid-template-columns: 31% 1fr;
  border: 0;
  background: var(--paper-light);
  border-radius: 10px;
  overflow: hidden;
}
.robot-tabs {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}
.robot-tab {
  position: relative;
  flex: 1;
  cursor: pointer;
  display: grid;
  grid-template-columns: 92px 1fr;
  grid-template-rows: auto auto auto;
  align-content: center;
  gap: 5px 18px;
  padding: clamp(28px, 3vw, 50px);
  background: transparent;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  transition: background .45s ease;
}
.robot-tab:last-child { border-bottom: 0; }
.robot-tab span {
  grid-row: 1 / 4;
  align-self: start;
  color: var(--muted);
  font-family: var(--serif-en);
  font-size: clamp(56px, 4vw, 76px);
  font-weight: 400;
  line-height: 1;
}
.robot-tab b {
  grid-column: 2;
  grid-row: 2;
  font-family: var(--serif-jp);
  font-size: clamp(22px, 1.7vw, 29px);
  font-weight: 400;
  line-height: 1.45;
}
.robot-tab small {
  grid-column: 2;
  grid-row: 1;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .04em;
}
.robot-tab em {
  grid-column: 2;
  grid-row: 3;
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.85;
  letter-spacing: .035em;
}
.robot-tab[aria-selected="true"] { background: var(--lime); color: var(--ink); }
.robot-tab[aria-selected="true"] span,
.robot-tab[aria-selected="true"] small,
.robot-tab[aria-selected="true"] em { color: var(--ink); }
.robot-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--paper-deep);
}
.robot-visual picture { display: block; height: 100%; }
.robot-visual img { animation: image-in .65s both; }
@keyframes image-in {
  from { opacity: .3; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}
.robot-caption {
  position: absolute;
  right: clamp(20px, 3vw, 50px);
  bottom: clamp(20px, 3vw, 50px);
  width: min(490px, calc(100% - 40px));
  padding: clamp(24px, 2.5vw, 42px);
  background: rgba(237,234,226,.92);
  color: var(--ink);
  border-radius: 6px;
  backdrop-filter: blur(12px);
}
.robot-caption small {
  color: var(--muted);
  font-family: var(--serif-en);
  font-size: 14px;
  font-weight: 400;
}
.robot-caption h3 {
  margin: 12px 0 14px;
  font-family: var(--serif-jp);
  font-size: clamp(27px, 2.2vw, 38px);
  font-weight: 400;
  line-height: 1.5;
}
.robot-caption p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

/* Proof */
.proof { position: relative; background: var(--paper-light); }
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(90px, 11vw, 190px) clamp(24px, 4vw, 72px);
  align-items: start;
}
.proof-card { display: block; background: transparent; border: 0; }
.proof-card:nth-child(2) { margin-top: clamp(130px, 14vw, 240px); }
.proof-card:nth-child(3) {
  grid-column: 1 / -1;
  width: min(760px, 44%);
  margin: 0 auto;
}
.proof-card figure {
  height: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
}
.proof-card img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.proof-card:hover img { transform: scale(1.035); }
.proof-body { display: block; padding: 32px 0 0; }
.proof-body > span {
  display: block;
  width: auto;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--serif-en);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .04em;
}
.proof-project {
  margin: 14px 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .06em;
  line-height: 1.7;
}
.proof-body h3 {
  min-height: 0;
  margin: 0 0 22px;
  font-family: var(--serif-jp);
  font-size: clamp(27px, 2.3vw, 40px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -.035em;
}
.proof-copy {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}
.proof-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(130px, 14vw, 230px);
  border: 0;
  background: var(--line);
}
.metric {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 3vw, 52px);
  background: var(--paper);
  border: 0;
}
.metric small {
  color: var(--muted);
  font-family: var(--serif-en);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .04em;
}
.metric b {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin: 42px 0 34px;
  font-family: var(--serif-en);
  font-weight: 400;
}
.metric b strong {
  color: var(--ink);
  font-size: clamp(66px, 6vw, 104px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .8;
}
.metric b em {
  max-width: none;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.6;
}
.metric h4 {
  margin: 0 0 14px;
  font-family: var(--serif-jp);
  font-size: clamp(20px, 1.55vw, 27px);
  font-weight: 400;
  line-height: 1.65;
}
.metric p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.metric-source {
  width: fit-content;
  margin-top: auto;
  padding-top: 28px;
  color: var(--muted);
  border: 0;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.7;
  text-decoration: none;
}
.metric--award { background: var(--dark); color: #f5f2ea; }
.metric--award small,
.metric--award b strong { color: var(--lime); }
.metric--award h4 { color: #fff; }
.metric--award p { color: rgba(255,255,255,.74); }

/* Process & FAQ */
.process { position: relative; background: var(--paper); }
.process-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(90px, 12vw, 220px);
}
.process-intro { position: sticky; top: 132px; align-self: start; }
.process-intro .lead { max-width: 500px; margin-top: 34px; }
.process-list { border-top: 1px solid var(--ink); }
.process-step {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  padding: clamp(36px, 4vw, 60px) 0;
  border-bottom: 1px solid var(--line);
}
.process-step span {
  display: block;
  width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  color: rgba(31, 29, 29, .38);
  font-family: var(--serif-en);
  font-size: clamp(68px, 5.2vw, 96px);
  font-weight: 400;
  line-height: .8;
  letter-spacing: -.055em;
}
.process-step h3 {
  margin: 0 0 12px;
  font-family: var(--serif-jp);
  font-size: clamp(24px, 1.8vw, 31px);
  font-weight: 400;
  line-height: 1.5;
}
.process-step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.faq {
  width: min(980px, 66%);
  margin: clamp(140px, 14vw, 220px) 0 0 auto;
}
.faq h3 {
  margin: 0 0 42px;
  font-family: var(--serif-en);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.3;
}
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  min-height: 98px;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 18px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--serif-en);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
}
.faq summary b {
  font-family: var(--serif-jp);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
}
.faq summary i { font-style: normal; font-size: 23px; font-weight: 300; transition: transform .4s ease; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details > p {
  margin: 0;
  padding: 0 62px 36px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

/* Contact */
.contact {
  padding: var(--section-space) var(--gutter);
  background: var(--paper-light);
  color: var(--ink);
}
.contact-inner { max-width: 1840px; margin: 0 auto; }
.contact-heading {
  display: grid;
  grid-template-columns: 1fr minmax(480px, .7fr);
  gap: clamp(70px, 10vw, 190px);
  align-items: end;
  margin-bottom: clamp(80px, 9vw, 145px);
}
.contact-heading .display-title { color: var(--ink); }
.contact-heading .display-title span {
  color: var(--ink);
  background: linear-gradient(transparent 76%, var(--lime) 0);
}
.contact-heading > p {
  margin: 0 0 10px;
  color: var(--muted);
  font-family: var(--serif-jp);
  font-size: 20px;
  line-height: 1.9;
}
.contact-heading > p > span { display: block; white-space: nowrap; }
.contact-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 0;
  background: transparent;
  border: 1px solid var(--line);
}
.contact-menu,
.contact-form {
  border: 0;
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
}
.contact-form { border-left: 1px solid var(--line); }
.contact-menu {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 4vw, 64px);
}
.contact-menu h3 {
  margin: 0;
  font-family: var(--serif-jp);
  font-size: clamp(28px, 2.5vw, 44px);
  font-weight: 400;
  line-height: 1.6;
}
.contact-menu ul { margin: auto 0 0; padding: 0; list-style: none; }
.contact-menu li {
  padding: 15px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
}
.contact-menu li:last-child { border-bottom: 1px solid var(--line); }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: clamp(34px, 4vw, 64px);
}
.contact-form label {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}
.contact-form .wide,
.privacy-row,
.submit-button,
.form-notice { grid-column: 1 / -1; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--line);
  outline: none;
  resize: vertical;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  border-color: rgba(31, 29, 29, .45);
  outline: none;
  box-shadow: none;
}
.contact-form textarea::placeholder { color: #99948d; }
.privacy-row { display: flex !important; align-items: center; gap: 10px !important; }
.privacy-row input { width: 18px; height: 18px; accent-color: var(--lime); }
.privacy-row a { text-decoration: underline; text-underline-offset: 3px; }
.submit-button {
  cursor: pointer;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 0 28px;
  background: var(--lime);
  color: var(--ink);
  border: 0;
  font-family: var(--serif-jp);
  font-size: 17px;
  transition: background .25s ease, color .25s ease;
}
.submit-button::before { display: none; }
.submit-button:hover,
.submit-button:focus-visible { background: var(--ink); color: #fff; }
.submit-button span { font-size: 20px; }
.form-notice { margin: 0; color: var(--muted); font-size: 13px; }

/* Footer */
footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
  padding: clamp(46px, 5vw, 80px) var(--gutter) 30px;
  background: var(--dark);
  color: #f2efe7;
  border: 0;
}
footer .logo {
  align-self: start;
  color: #fff;
  text-decoration: none !important;
  border: 0 !important;
}
footer .logo small { color: rgba(255,255,255,.62); }
footer .logo b { font-size: 23px; }
footer > p {
  grid-column: 1;
  margin: 20px 0 clamp(40px, 5vw, 80px);
  font-family: var(--serif-jp);
  font-size: clamp(26px, 2.5vw, 42px);
  line-height: 1.7;
}
.footer-links {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
  align-self: start;
}
.footer-links a { font-size: 12px; color: rgba(255,255,255,.72); transition: color .25s; }
.footer-links a:hover { color: var(--lime); }
footer > small {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.5);
  font-size: 10px;
}

/* Reveal motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.05s cubic-bezier(.2,.7,.2,1), transform 1.05s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1250px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .site-nav { gap: 18px; }
  .site-nav > a { font-size: 13px; }
  .header-cta { gap: 12px; }
  .proof-metrics { grid-template-columns: 1fr 1fr; }
  .metric--award { grid-column: 1 / -1; }
  .metric { min-height: 390px; }
}

@media (max-width: 1100px) {
  .site-header {
    height: 72px;
    grid-template-columns: 1fr auto;
    padding: 0 24px;
  }
  .site-header::after { right: 24px; left: 24px; }
  .site-header > .logo { z-index: 102; }
  .header-cta { display: none; }
  .menu-button {
    position: relative;
    z-index: 102;
    display: block;
    width: 42px;
    height: 42px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--ink);
  }
  .menu-button span {
    position: absolute;
    top: 16px;
    right: 10px;
    left: 10px;
    height: 1px;
    background: var(--ink);
    transition: top .3s ease, transform .3s ease;
  }
  .menu-button span + span { top: 24px; }
  .menu-button[aria-expanded="true"] { background: var(--lime); border-color: var(--lime); }
  .menu-button[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
  .site-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 100px 24px 30px;
    overflow-y: auto;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity .35s ease, visibility .35s, transform .45s cubic-bezier(.2,.7,.2,1);
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-menu-label {
    display: flex;
    color: var(--ink);
    justify-content: space-between;
    align-items: baseline;
    padding: 0 0 26px;
    border-bottom: 1px solid var(--ink);
  }
  .mobile-menu-label span { font-family: var(--serif-en); font-size: 30px; }
  .mobile-menu-label small { color: var(--muted); font-size: 10px; }
  .site-nav > a {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-width: 0;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif-jp);
    font-size: 21px;
    font-weight: 400;
    transform: none !important;
  }
  .site-nav > a > b { grid-column: 1; }
  .site-nav > a > i {
    display: block;
    grid-column: 2;
    font-family: var(--sans);
    font-size: 18px;
    font-style: normal;
  }
  .site-nav > a::before { display: none; }
  .mobile-menu-actions { display: grid; gap: 10px; margin-top: 28px; }
  .mobile-menu-actions a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 58px;
    padding: 0 18px;
    background: var(--ink);
    color: #fff;
    font-size: 13px;
  }
  .mobile-menu-actions a:first-child { background: var(--lime); color: var(--ink); }

  .hero { padding-top: 72px; grid-template-rows: auto minmax(420px, 54vh); }
  .hero-top { padding-top: 100px; }
  .space-card { min-height: 640px; }
  .space-stack .space-card { min-height: 303px; }
  .robot-stage { min-height: 620px; grid-template-columns: 34% 1fr; }
  .robot-tab { grid-template-columns: 72px 1fr; padding: 26px; }
  .robot-tab span { font-size: 56px; }
  .proof-card:nth-child(3) { width: 74%; }
}

@media (max-width: 820px) {
  :root { --gutter: 24px; --section-space: 120px; }
  .site-header .logo { flex-direction: column; align-items: flex-start; gap: 4px; }
  .site-header .logo small { order: 0; font-size: 8px; }
  .site-header .logo b { font-size: 16px; }
  .section-kicker,
  .hero-kicker { margin-bottom: 22px; font-size: 21px; }
  .display-title { font-size: clamp(34px, 7vw, 48px); line-height: 1.55; }
  .lead { font-size: 15px; }

  .hero { min-height: auto; grid-template-rows: auto 480px; }
  .hero-top { grid-template-columns: 1fr; gap: 52px; padding: 112px var(--gutter) 64px; }
  .hero h1 { font-size: clamp(38px, 7.8vw, 56px); }
  .hero-summary { max-width: 590px; }
  .hero-media { height: 480px; min-height: 0; }
  .hero-slides { height: 408px; }
  .hero-slide { flex-basis: 80vw; }

  .philosophy-grid,
  .spaces-head,
  .services-head,
  .robots-head,
  .proof-head,
  .process-layout,
  .contact-heading { grid-template-columns: 1fr; gap: 58px; }
  .philosophy-title,
  .process-intro { position: static; }
  .philosophy-copy { padding-top: 28px; }
  .philosophy-copy blockquote { margin-bottom: 46px; }
  .space-grid { grid-template-columns: 1fr; }
  .space-card,
  .space-stack .space-card { min-height: 540px; }
  .service-item { grid-template-columns: 60px 1fr; gap: 22px; }
  .service-item p { grid-column: 2; }

  .robot-stage { min-height: 0; grid-template-columns: 1fr; }
  .robot-tabs {
    min-width: 0;
    display: flex;
    flex-direction: column;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .robot-tab {
    min-width: 0;
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto auto auto;
    padding: 28px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .robot-tab:last-child { border-bottom: 0; }
  .robot-tab span { display: block; margin: 0; font-size: 48px; }
  .robot-tab b { display: block; font-size: 20px; }
  .robot-tab small { display: block; }
  .robot-tab em { max-width: 520px; }
  .robot-visual { min-height: 620px; }

  .proof-grid { gap: 90px 24px; }
  .proof-card:nth-child(2) { margin-top: 100px; }
  .proof-card:nth-child(3) { width: 82%; }
  .proof-metrics { grid-template-columns: 1fr; }
  .metric--award { grid-column: auto; }
  .faq { width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { border-top: 1px solid var(--line); border-left: 0; }
  .contact-menu { min-height: 460px; }

  footer { grid-template-columns: 1fr; }
  .footer-links { grid-column: 1; grid-row: auto; align-items: flex-start; }
  footer > small { grid-column: 1; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; --section-space: 104px; }
  body { font-size: 14px; }
  .site-header { padding: 0 18px; }
  .site-header::after { right: 18px; left: 18px; }
  .section-kicker,
  .hero-kicker { font-size: 19px; }
  .display-title { font-size: clamp(31px, 8.6vw, 38px); line-height: 1.62; }
  .services-head .display-title { font-size: clamp(23px, 6.2vw, 25px); white-space: nowrap; }
  .proof-head .display-title { font-size: 0; }
  .proof-head .display-title::before {
    content: "万博・実験住宅で\A培った、ロボットと\A空間の設計力。";
    display: block;
    white-space: pre;
    font-size: clamp(29px, 8vw, 34px);
    line-height: 1.62;
  }

  .hero { grid-template-rows: auto 420px; }
  .hero-top { gap: 42px; padding: 102px 20px 56px; }
  .hero h1 { font-size: clamp(33px, 9vw, 40px); line-height: 1.55; }
  .hero-summary strong { font-size: 18px; }
  .hero-summary p { font-size: 14px; }
  .hero-media { height: 420px; }
  .hero-slides { height: 350px; gap: 14px; padding: 0 20px; }
  .hero-slide { flex-basis: calc(100vw - 58px); border-radius: 7px; }
  .hero-slide-meta { bottom: 22px; left: 20px; }
  .hero-pagination { right: 20px; bottom: 31px; }
  .hero-dot { width: 28px; }

  .philosophy-copy { padding-top: 10px; }
  .philosophy-copy blockquote { font-size: 25px; line-height: 1.8; }
  .philosophy-copy p { font-size: 15px; }
  .spaces { padding-top: 0; }
  .spaces-head,
  .services-head,
  .robots-head,
  .proof-head { margin-bottom: 64px; }

  .space-card,
  .space-stack .space-card { min-height: 470px; border-radius: 7px; }
  .space-grid > .space-card:first-child img { object-position: 78% center; }
  .space-stack > .space-card:first-child img { object-position: 18% center; }
  .space-stack > .space-card:last-child img { object-position: 8% center; }
  .space-card figcaption { padding: 24px; }
  .space-card h3,
  .space-stack .space-card h3 { font-size: 26px; }
  .service-item { grid-template-columns: 42px 1fr; gap: 14px; padding: 36px 0; }
  .service-item > span { font-size: 30px; }
  .service-item h3 { font-size: 24px; }
  .service-item p { font-size: 14px; }

  .robot-stage { border-radius: 7px; }
  .robot-tab { grid-template-columns: 58px 1fr; padding: 22px 18px; }
  .robot-tab span { font-size: 38px; }
  .robot-tab b { font-size: 18px; white-space: nowrap; }
  .robot-tab em { font-size: 12px; line-height: 1.8; }
  .robot-visual { min-height: 0; }
  .robot-visual picture { height: auto; aspect-ratio: 16 / 9; }
  .robot-stage:has(.robot-tab:nth-child(2)[aria-selected="true"]) .robot-visual img { object-position: 82% center; }
  .robot-stage:has(.robot-tab:nth-child(1)[aria-selected="true"]) .robot-visual img { object-position: 58% center; }
  .robot-caption {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    padding: 22px;
  }

  .proof-grid { grid-template-columns: 1fr; gap: 94px; }
  .proof-card:nth-child(2) { margin-top: 0; }
  .proof-card:nth-child(3) { grid-column: auto; width: 100%; }
  .proof-body { padding-top: 25px; }
  .proof-body h3 { font-size: 28px; }
  .proof-copy { font-size: 14px; }
  .proof-metrics { margin-top: 120px; }
  .metric { min-height: 410px; padding: 30px 24px; }
  .metric b { margin: 36px 0 30px; }
  .metric b strong { font-size: 72px; }
  .metric b em { font-size: 11px; }

  .process-layout { gap: 70px; }
  .process-step { grid-template-columns: 70px 1fr; gap: 16px; }
  .process-step span { font-size: 48px; }
  .process-step h3 { font-size: 24px; }
  .process-step p { font-size: 14px; }
  .faq { margin-top: 120px; }
  .faq h3 { font-size: 34px; }
  .faq summary { grid-template-columns: 36px 1fr auto; gap: 12px; min-height: 90px; }
  .faq summary span { width: 30px; height: 30px; }
  .faq summary b { font-size: 15px; }
  .faq details > p { padding: 0 36px 30px 40px; }

  .contact-heading > p { font-size: 15px; }
  .contact-menu { min-height: 430px; padding: 30px 24px; }
  .contact-form { grid-template-columns: 1fr; padding: 34px 24px; }
  .contact-form label { grid-column: 1; }
  .submit-button { min-height: 68px; }

  footer { padding: 50px 20px 24px; }
  footer .logo { flex-direction: column; gap: 6px; }
  footer .logo small { order: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* KiQ service page inspired MV */
.hero {
  min-height: auto;
  grid-template-rows: 395px clamp(620px, 67.4vh, 760px);
  padding: 82px 0 200px;
}
.hero-top {
  height: 395px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 719px);
  align-items: end;
  gap: clamp(80px, 12vw, 240px);
  padding: 0 var(--gutter) 64px;
}
.hero-kicker {
  margin: 0;
  font-family: var(--serif-jp);
  font-size: clamp(48px, 3.25vw, 64px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -.045em;
}
.hero h1 {
  width: 100%;
  max-width: none;
  justify-self: end;
  margin: 0;
  font-family: var(--serif-en);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .01em;
  text-align: right;
}
.hero h1 span {
  color: inherit;
  background: none;
}
.hero-media {
  height: clamp(620px, 67.4vh, 760px);
  min-height: 0;
  overflow: hidden;
}
.hero-slides {
  position: relative;
  left: -130px;
  width: max-content;
  height: 100%;
  gap: clamp(8px, 1vw, 18px);
  padding: 0;
  transform: translate3d(0, 0, 0);
  animation: hero-marquee var(--marquee-duration, 40s) linear infinite;
  transition: none;
}
@keyframes hero-marquee {
  to { transform: translate3d(calc(-1 * var(--marquee-distance, 2418px)), 0, 0); }
}
.hero-slide,
.hero-slide.is-active {
  flex: 0 0 39.515vw;
  width: 39.515vw;
  max-width: none;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  clip-path: inset(0 round 8px);
  isolation: isolate;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: none;
}
.hero-slide img,
.hero-slide.is-active img {
  border-radius: inherit;
  transform: none;
  transition: none;
}
.hero-slide-meta,
.hero-pagination { display: none; }

@media (max-width: 1100px) {
  .hero {
    grid-template-rows: 360px 500px;
    padding: 72px 0 100px;
  }
  .hero-top {
    height: 360px;
    grid-template-columns: 1fr;
    align-content: end;
    gap: 38px;
    padding: 0 24px 44px;
  }
  .hero-kicker {
    font-size: clamp(34px, 5.8vw, 48px);
    line-height: 1.55;
  }
  .hero h1 {
    width: min(70%, 540px);
    justify-self: end;
    font-size: 17px;
    line-height: 1.7;
  }
  .hero-media { height: 500px; }
  .hero-slides {
    left: -20vw;
    height: 100%;
  }
  .hero-slide,
  .hero-slide.is-active {
    flex-basis: 62vw;
    width: 62vw;
  }
}

@media (max-width: 560px) {
  .hero {
    display: block;
    padding: 160px 0 60px;
  }
  .hero-top {
    height: auto;
    display: block;
    padding: 0 20px 40px;
  }
  .hero-kicker {
    font-size: 28px;
    line-height: 1.75;
    letter-spacing: -.04em;
  }
  .hero h1 {
    width: 100%;
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
  }
  .hero-media { height: 365px; }
  .hero-slides {
    left: -26vw;
  }
  .hero-slide,
  .hero-slide.is-active {
    flex-basis: 285px;
    width: 285px;
    border-radius: 8px;
  }
}

/* KiQ photo corner radius */
.space-card,
.proof-card figure { border-radius: 8px; }

/* Background panels stay square so no parent color shows through */
.service-item,
.robot-stage,
.robot-caption,
.proof-card,
.metric,
.process-step,
.contact-menu,
.contact-form {
  border-radius: 0;
}
.proof-card { overflow: visible; }

@media (prefers-reduced-motion: reduce) {
  .hero-slides {
    left: 0;
    animation: none !important;
  }
}
