@charset "UTF-8";
:root {
  --paper: #fcfbf8;
  --ink: #141719;
  --brand-blue: #315783;
  --line: #20282a;
  --gutter: 3.4%;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
}
body {
  overflow-x: clip;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
.print-carousel:focus-visible {
  outline: 2px solid #996644;
  outline-offset: 6px;
}
.product-story {
  position: relative;
}
.product-stage {
  position: sticky;
  top: 0;
  /* Clip the scene without creating an inner scroll position. */
  overflow: clip;
  background: var(--paper);
  display: grid;
  place-items: center;
}
.artboard {
  position: relative;
  overflow: clip;
  container-type: size;
}
.room-background {
  position: absolute;
  inset: 0 0 0 34.6%;
  background: url("../assets/images/room/room.webp") center center/cover
    no-repeat;
  opacity: 0;
}
.room-copy-panel {
  position: absolute;
  inset: 0 auto 0 0;
  width: 34.6%;
  background: var(--paper);
  opacity: 0;
}
#motpri-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.masthead {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  align-items: center;
  z-index: 4;
}
.brand {
  font-weight: 600;
}
.chapter {
  display: none;
  letter-spacing: 0.12em;
}
.copy {
  position: absolute;
  left: var(--gutter);
  pointer-events: none;
}
.copy h1,
.copy h2 {
  margin: 0;
  font-weight: 750;
  letter-spacing: -0.066em;
  line-height: 1.02;
}
.copy p {
  font-size: 1.85cqw;
  letter-spacing: -0.028em;
  line-height: 1.35;
  font-weight: 400;
  margin: 0;
}
.explore {
  width: 58%;
}
.explore h1 {
  line-height: 1.04;
}
.explore h1 span {
  display: block;
  white-space: nowrap;
}
.explore .last-line {
  margin-top: 1.3%;
}
.explore p {
  position: absolute;
  bottom: 0;
  font-size: 2cqw;
  line-height: 1.1;
}
.space,
.ready {
  top: 27%;
  width: 30%;
  opacity: 0;
  visibility: hidden;
}
.space h2 {
  font-size: 5.7cqw;
}
.space p {
  margin-top: 9%;
  font-size: 1.75cqw;
  line-height: 1.48;
}
.ready h2 {
  font-size: 4.9cqw;
}
.ready h2 span {
  font-size: 3.85cqw;
  white-space: nowrap;
}
.ready p {
  margin-top: 12%;
  font-size: 1.8cqw;
  line-height: 1.45;
}
.print-copy {
  top: 13%;
  width: 60%;
  opacity: 0;
  visibility: hidden;
}
.stage-footer {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 3.5%;
  display: flex;
  justify-content: space-between;
  font-size: 0.85cqw;
  letter-spacing: 0.17em;
  padding-top: 1.5%;
  border-top: 1px solid #d8d8d2;
}
.progress-track {
  position: absolute;
  top: -1px;
  height: 1px;
  width: 100%;
  left: 0;
  overflow: hidden;
}
.progress-track i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}
.measurements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.measurement-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
}
.measurement-lines path,
.measurement-lines line {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.2;
}
.measurement-lines circle {
  fill: var(--line);
}
.measure {
  position: absolute;
  white-space: nowrap;
  font-size: 1.35cqw;
}
.measure strong {
  font-size: 3.15cqw;
  letter-spacing: -0.045em;
}
.measure small {
  font-size: 1.35cqw;
}
.measure p {
  font-size: 0.95cqw;
  line-height: 1.4;
  margin: 0.6em 0 0;
}
.open-height {
  background: transparent;
}
.open-height strong {
  font-size: 3.7cqw;
}
.open-angle strong {
  font-size: 3.3cqw;
}
.print-gallery {
  position: absolute;
  left: 0;
  opacity: 0;
  visibility: hidden;
}
.print-carousel {
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.print-carousel::-webkit-scrollbar {
  display: none;
}
.print-card {
  margin: 0;
  user-select: none;
}
.gallery-controls {
  display: flex;
  align-items: center;
  letter-spacing: 0.19em;
}
.gallery-controls button {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.loading {
  position: absolute;
  bottom: 7%;
  right: 3.4%;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #777;
}
.loading span {
  display: block;
  margin-top: 8px;
  height: 1px;
  background: #888;
  transform: scaleX(0.15);
  transform-origin: left;
}
.artboard[data-scene="room"] .edition,
.artboard[data-scene="ready"] .edition,
.artboard[data-scene="print"] .edition {
  display: none;
}
.artboard[data-scene="room"] .chapter,
.artboard[data-scene="ready"] .chapter,
.artboard[data-scene="print"] .chapter {
  display: block;
}
.artboard[data-scene="print"] .stage-footer {
  display: none;
}
@media (min-aspect-ratio: 2/1) {
  .artboard {
    width: 177.7778vh;
    height: 100vh;
  }
}
@media (max-aspect-ratio: 4/3) {
  .artboard {
    height: 56.25vw;
    width: 100vw;
  }
  .product-stage {
    min-height: 100svh;
  }
  .loading {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .print-card img {
    transition: none;
  }
  .print-carousel {
    scroll-behavior: auto;
  }
}

/* Room guides and contact shadow share the render's projected coordinates. */
.artboard[data-scene="room"] .stage-footer,
.artboard[data-scene="ready"] .stage-footer {
  right: auto;
  width: 25%;
  bottom: 5%;
  padding-top: 1.5%;
}
.artboard[data-scene="room"] .footer-label,
.artboard[data-scene="ready"] .footer-label {
  display: none;
}
.artboard[data-scene="explore"] #motpri-canvas,
.artboard[data-scene="print"] #motpri-canvas {
  filter: drop-shadow(0 9px 9px rgba(48, 39, 25, 0.13));
}

/* Final production layout: perspective render and physically calculated contact shadow. */
#motpri-canvas,
.artboard[data-scene="explore"] #motpri-canvas,
.artboard[data-scene="print"] #motpri-canvas {
  filter: none;
}
.print-card {
  direction: ltr;
  flex-basis: 18.3cqw;
}
.measure.open-height strong {
  font-size: 3.05cqw;
}
.measure.open-height span {
  font-size: 1.3cqw;
}
.measure.open-height p,
.measure.open-angle p {
  font-size: 0.92cqw;
}
.measure.open-angle strong {
  font-size: 3.05cqw;
}

.room-background {
  overflow: clip;
}
#room-camera-canvas {
  position: absolute;
  top: 0;
  left: -52.9051988%;
  width: 152.9051988%;
  height: 100%;
  display: none;
  pointer-events: none;
}

/* Printed works: real image assets; all surrounding typography stays editable in the DOM. */
.gallery-controls {
  flex-direction: row;
  justify-content: flex-start;
}

/* EN completion — shared component system for /en/ and future /ja/. */
:root {
  --header-height: 66px;
  --muted: #666963;
  --hairline: #cfcfc7;
  --headline-weight: 750;
  --section-space: clamp(80px, 10vw, 180px);
  font-family: "Helvetica Neue", Arial, sans-serif;
}
html {
  scroll-padding-top: calc(var(--header-height) + 20px);
}
body {
  background: var(--paper);
}
button {
  cursor: pointer;
}
/* Wall photos own their transform: a button press must not replace x/y. */
button:active:not(.wall-print) {
  transform: translateY(1px);
}
:focus-visible {
  outline: 2px solid #6a7960;
  outline-offset: 5px;
}
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 4%;
  background: rgba(252, 251, 248, 0.97);
  border-bottom: 1px solid var(--hairline);
}
.site-header .brand {
  font-size: 24px;
  letter-spacing: -0.055em;
  font-weight: 800;
}
.site-header nav {
  display: flex;
  gap: clamp(18px, 3vw, 48px);
  margin: auto;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.025em;
}
.site-header nav a {
  position: relative;
  padding: 12px 0;
}
.site-header nav a:after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.site-header nav a:hover:after,
.site-header nav a.is-current:after {
  transform: scaleX(1);
}
.product-stage {
  height: 100svh;
  padding-top: var(--header-height);
}
.artboard {
  width: min(100vw, calc((100svh - var(--header-height)) * 1.777778));
  height: min(calc(100svh - var(--header-height)), 56.25vw);
}
.masthead {
  font-size: 0.78cqw;
  letter-spacing: 0.15em;
  top: 4.3%;
}
.masthead > span:first-child {
  font-weight: 600;
}
.copy h1,
.copy h2,
.headline {
  font-weight: var(--headline-weight);
  letter-spacing: -0.063em;
  line-height: 1.025;
}
.headline {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 88px);
}
.body-copy {
  font-size: clamp(14px, 1.35vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: #565b58;
  margin: 1.4em 0 0;
  max-width: 34em;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.15em;
  line-height: 1.6;
  font-weight: 500;
  margin: 0 0 30px;
  color: #656962;
}
.explore {
  top: 16%;
  height: 71%;
}
.explore h1 {
  font-size: 8.4cqw;
}
.explore .last-line {
  font-size: 6.1cqw;
}
.copy p {
  color: #4b514e;
}
.copy.print-copy {
  top: 15%;
  width: 90%;
}
.print-copy h2 {
  font-size: 6.25cqw;
  white-space: nowrap;
}
.print-motto {
  position: absolute;
  right: 0;
  top: -6cqh;
  font-size: 0.8cqw !important;
  letter-spacing: 0.14em !important;
  line-height: 1.6 !important;
}
.print-gallery {
  top: 42%;
}
.artboard[data-scene="print"] #motpri-canvas {
  z-index: 3;
}
.print-carousel {
  direction: ltr;
  gap: 1.6cqw;
  align-items: center;
}
.print-card {
  flex: 0 0 23.8cqw;
  scroll-snap-align: start;
}
.print-card:nth-child(3n + 2) {
  transform: rotate(1.4deg);
}
.print-card:nth-child(3n) {
  transform: rotate(-1.5deg);
}
.print-card img {
  background: none;
  box-shadow: none;
  transition: none;
}
.print-card:hover img {
  transform: none;
}
.gallery-controls {
  font-size: 0.75cqw;
  direction: ltr;
}
.gallery-controls button {
  padding: 0;
  transition: opacity 0.2s;
}
.print-count {
  order: 3;
  margin-left: auto;
  color: #636961;
  font-size: 0.72cqw;
  letter-spacing: 0.08em;
}
.gallery-caption {
  color: #737970;
  margin: 1.2cqw 0 0 3.4cqw;
}
.measure {
  color: #1c2422;
}
.measure strong {
  font-variant-numeric: tabular-nums;
}
.section-pad {
  padding: var(--section-space) 5%;
}
.memories-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #e9e5db;
}
.wall-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.memories-copy {
  position: absolute;
  left: 5%;
  width: 32%;
  z-index: 3;
  pointer-events: none;
}
.memories-copy .headline {
  font-size: clamp(44px, 5vw, 82px);
}
.print-wall {
  position: absolute;
  inset: 6% 3% 27% 3%;
  touch-action: pan-y;
}
.wall-print {
  position: absolute;
  left: 0;
  top: 0;
  width: 15%;
  max-width: 240px;
  border: 0;
  padding: 0.6%;
  background: #fffdf8;
  box-shadow: 2px 4px 12px #483e3121;
  cursor: grab;
  touch-action: none;
  user-select: none;
  transform-origin: center;
}
.wall-print::before {
  content: "";
  position: absolute;
  width: 19%;
  height: 13%;
  top: -8%;
  left: 39%;
  background: #c1b69e99;
  transform: rotate(-5deg);
}
.wall-print img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  pointer-events: none;
}
.wall-print.dragging {
  cursor: grabbing;
}
.wall-print:focus-visible {
  z-index: 5;
}
.prints-tray {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 86%;
  padding: 11px 16px;
  background: #fcfbf8eb;
  border: 1px solid #ffffff90;
  border-radius: 10px;
  box-shadow: 0 5px 15px #362e2410;
}
.tray-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.print-choices {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px;
}
.print-choice {
  flex: 0 0 45px;
  width: 45px;
  height: 37px;
  border: 0;
  padding: 3px;
  background: #fff;
  transition: transform 0.2s;
}
.print-choice:hover {
  transform: translateY(-3px);
}
.print-choice img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.wall-reset {
  border: 0;
  background: #ebe9e3;
  border-radius: 50%;
  font-size: 20px;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.ideas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.idea-card {
  position: relative;
}
.idea-copy {
  position: relative;
}
.idea-copy .body-copy {
  max-width: 31em;
}
.idea-card > img {
  display: block;
  width: 100%;
  height: clamp(330px, 47vw, 760px);
  object-fit: cover;
  object-position: center 65%;
  margin-top: -35px;
}
.specs-intro {
  margin: 22px 0 0;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
.spec-grid {
  margin: 85px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1250px;
}
.spec-item {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.spec-item:nth-child(odd) {
  border-right: 1px solid var(--hairline);
}
.spec-item:nth-child(-n + 2) {
  border-bottom: 1px solid var(--hairline);
}
.spec-item dt {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 15px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.spec-item strong {
  font-weight: var(--headline-weight);
  font-variant-numeric: tabular-nums;
}
.spec-item dd {
  margin: 18px 0 0;
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: start;
  padding-top: clamp(70px, 9vw, 140px);
}
.faq-copy .body-copy {
  font-size: clamp(14px, 1.2vw, 18px);
}
.faq-item {
  border-top: 1px solid var(--hairline);
}
.faq-item h3 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(14px, 1.3vw, 20px);
}
.faq-item h3 button {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 24px 0;
  line-height: 1.3;
}
.faq-item button span {
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.3s;
}
.faq-item.open button span {
  transform: rotate(45deg);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  opacity: 0;
}
.faq-answer > div {
  overflow: hidden;
}
.faq-answer p {
  font-size: clamp(13px, 1.12vw, 17px);
  line-height: 1.6;
  color: #5d625d;
  margin: 0 30px 24px 0;
}
.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
}
.buy-section {
  position: relative;
  overflow: hidden;
}
.section-topline {
  position: absolute;
  top: 23px;
  left: 4%;
  right: 4%;
  display: flex;
  font-size: 9px;
  letter-spacing: 0.14em;
  z-index: 2;
}
.buy-product {
  position: absolute;
}
.buy-copy {
  position: relative;
  z-index: 2;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 4%;
  gap: 30px;
  border-top: 1px solid var(--hairline);
  font-size: 9px;
}
.site-footer .brand {
  font-size: 12px;
  letter-spacing: 0.05em;
  font-weight: 700;
}
.site-footer nav {
  display: flex;
  gap: 26px;
}
.site-footer small {
  color: #747871;
  font-size: 9px;
}
html[lang="en"] {
  --headline-weight: 750;
}
@media (min-width: 1900px) {
  .section-pad {
    padding-left: max(5%, calc((100% - 1680px) / 2));
    padding-right: max(5%, calc((100% - 1680px) / 2));
  }
}
@media (max-width: 760px) {
  :root {
    --header-height: 56px;
    --section-space: 80px;
  }
  .site-header {
    padding: 0 5%;
  }
  .site-header .brand {
    font-size: 19px;
  }
  .site-header nav {
    margin-left: auto;
    margin-right: 0;
    font-size: 8px;
  }
  /* Recompose the stage vertically. Only the visual uses the original 16:9 projection. */
  .artboard {
    width: 100%;
    height: 100%;
    container-type: size;
  }
  #motpri-canvas {
    inset: auto;
    left: -66%;
    top: 30%;
    width: 166%;
    height: auto;
    aspect-ratio: 16/9;
  }
  .room-copy-panel {
    inset: 0 0 auto;
    width: 100%;
    height: 30%;
    background: var(--paper);
  }
  .masthead {
    top: 3%;
    left: 5%;
    right: 5%;
    font-size: 9px;
  }
  .edition {
    font-size: 8px;
  }
  .copy {
    left: 5%;
  }
  .explore {
    top: 12%;
    width: 90%;
    height: 78%;
  }
  .explore h1 {
    font-size: 11.8vw;
  }
  .explore .last-line {
    font-size: 9vw;
    margin-top: 8px;
  }
  .explore p {
    font-size: 16px;
    bottom: 0;
  }
  .space,
  .ready {
    top: 10%;
    width: 90%;
    display: flex;
    gap: 6%;
    align-items: center;
  }
  .space h2 {
    font-size: 8vw;
    width: 51%;
  }
  .ready h2 {
    font-size: 7.4vw;
    width: 52%;
    flex-shrink: 0;
  }
  .ready h2 span {
    font-size: 5.7vw;
  }
  .space p,
  .ready p {
    font-size: 12px;
    line-height: 1.45;
    margin: 0;
  }
  .artboard[data-scene="room"] #motpri-canvas,
  .artboard[data-scene="ready"] #motpri-canvas {
    top: 30%;
  }
  .measurements {
    inset: 30% auto auto -66%;
    width: 166%;
    height: auto;
    aspect-ratio: 16/9;
    container-type: size;
  }
  .measure {
    font-size: 2cqw;
  }
  .measure strong {
    font-size: 4cqw;
  }
  .measure small {
    font-size: 2cqw;
  }
  .measure.open-height strong,
  .measure.open-angle strong {
    font-size: 3.8cqw;
  }
  .measure.open-height span {
    font-size: 1.8cqw;
  }
  .measure.open-height p,
  .measure.open-angle p {
    font-size: 1.5cqw;
  }
  .stage-footer,
  .artboard[data-scene="room"] .stage-footer,
  .artboard[data-scene="ready"] .stage-footer {
    left: 5%;
    right: 5%;
    width: auto;
    bottom: 4%;
    font-size: 8px;
    padding-top: 14px;
  }
  /* Keep the progress rule below the complete photo and dimension labels. */
  .artboard[data-scene="room"] .stage-footer,
  .artboard[data-scene="ready"] .stage-footer {
    top: calc(30% + 93.375vw + 20px);
    bottom: auto;
  }
  .copy.print-copy {
    top: 13%;
    width: 90%;
  }
  .print-copy h2 {
    font-size: 9.3vw;
    white-space: normal;
    max-width: 90%;
  }
  .print-motto {
    top: 23vw;
    left: 0;
    right: auto;
    font-size: 8px !important;
  }
  .print-gallery {
    height: 42%;
  }
  .print-carousel {
    gap: 12px;
    padding: 5px 0 15px;
  }
  .print-card {
    flex-basis: 37vw;
    min-width: 0;
  }
  .gallery-controls {
    width: 88%;
    margin: 18px 0 0 5vw;
  }
  .gallery-controls button {
    font-size: 23px;
    width: 28px;
    height: 28px;
  }
  .print-count {
    font-size: 8px;
    letter-spacing: 0;
  }
  .gallery-caption {
    margin: 15px 0 0 5vw;
  }
  .loading {
    bottom: 9%;
    font-size: 10px;
  }
  .memories-section {
    aspect-ratio: auto;
    min-height: 680px;
    height: 90svh;
    max-height: 850px;
  }
  .wall-photo {
    object-position: 65% center;
  }
  .memories-copy {
    left: 6%;
    width: 88%;
  }
  .memories-copy .headline {
    font-size: 43px;
  }
  .memories-copy .eyebrow {
    margin-bottom: 17px;
  }
  .memories-copy .body-copy {
    font-size: 14px;
    margin-top: 18px;
  }
  .print-wall {
    inset: 38% 5% 24%;
  }
  .wall-print {
    width: 27%;
    max-width: none;
    padding: 1.4%;
  }
  .prints-tray {
    bottom: 6%;
    max-width: 92%;
    gap: 9px;
    padding: 8px 10px;
  }
  .print-choices {
    gap: 6px;
  }
  .print-choice {
    width: 34px;
    height: 30px;
  }
  .tray-label {
    font-size: 8px;
  }
  .ideas-grid {
    grid-template-columns: 1fr;
  }
  .idea-copy .body-copy {
    min-height: auto;
  }
  .idea-card > img {
    height: 110vw;
    max-height: 580px;
    margin-top: -10px;
  }
  .specs-intro {
    margin-top: 20px;
  }
  .spec-item dt {
    gap: 6px;
  }
  .spec-item dd {
    margin: 12px auto 0;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 24px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 100px;
  }
  .faq-answer p {
    font-size: 14px;
  }
  .faq-item h3 button {
    padding: 22px 0;
  }
  .buy-section {
    display: flex;
    flex-direction: column;
  }
  .section-topline {
    font-size: 8px;
  }
  .site-footer {
    flex-wrap: wrap;
    padding: 25px 6%;
    gap: 22px;
  }
  .site-footer nav {
    gap: 15px;
    font-size: 8px;
  }
  .site-footer small {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    transform: none !important;
    opacity: 1 !important;
  }
}
.memories-section {
  scroll-margin-top: 0;
}
.memories-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fcfbf842, transparent 42%);
  z-index: 0;
  pointer-events: none;
}
.memories-copy {
  top: 15%;
}
.gift-visual {
  position: relative;
  margin-top: -35px;
}
@media (max-width: 760px) {
  .memories-copy {
    top: calc(var(--header-height) + 24px);
  }
  .gift-visual {
    margin-top: -10px;
  }
}
@media (max-width: 760px) {
  .room-background {
    inset: auto;
    top: 30%;
    left: -8.564vw;
    width: 108.564vw;
    height: 93.375vw;
    background-size: cover;
    background-position: center;
  }
  #room-camera-canvas {
    left: -52.9051988%;
    width: 152.9051988%;
    height: 100%;
    top: 0;
    aspect-ratio: auto;
  }
  /* The projection never jumps when the print UI appears. */
  .artboard[data-scene="print"] #motpri-canvas {
    left: -66%;
    top: 30%;
    width: 166%;
  }
  .print-gallery {
    top: 42%;
    width: 83%;
  }
  .print-carousel {
    height: 58%;
  }
}
.artboard[data-scene="print"] #motpri-canvas {
  mask-image: linear-gradient(to bottom, #000 0%, #000 91%, transparent 100%);
}
.spec-item {
  --divider-scale: 1;
}
.spec-item:nth-child(odd),
.spec-item:nth-child(-n + 2) {
  border: 0;
}
.spec-item:nth-child(odd)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--hairline);
  transform: scaleY(var(--divider-scale));
  transform-origin: top;
}
.spec-item:nth-child(-n + 2)::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background: var(--hairline);
  transform: scaleX(var(--divider-scale));
  transform-origin: left;
}
.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
  transition-duration: 0.01ms !important;
  animation-duration: 0.01ms !important;
}
@media (max-width: 760px) {
  .buy-copy {
    margin-right: 5%;
  }
}

/* EN final polish: paper ejection, two quiet stories, optical CTA adjustment. */
.masthead {
  justify-content: flex-end;
}
.masthead .edition {
  margin-right: auto;
  font-weight: 400;
}
.section-topline {
  justify-content: flex-end;
}
.print-gallery {
  width: 100%;
  height: auto;
  z-index: 4;
  pointer-events: none;
}
.print-carousel {
  display: block;
  position: relative;
  width: 100%;
  height: 22vw;
  padding: 0;
  overflow: visible;
  mask-image: none;
  scroll-snap-type: none;
  cursor: default;
  touch-action: pan-y;
  pointer-events: auto;
}
.print-card {
  position: absolute;
  left: 0;
  top: 0;
  width: 23.8cqw;
  min-width: 0;
  padding: 0.55cqw;
  background: #fffefa;
  transform: none;
  will-change: transform;
  box-shadow: 0 3px 8px #3b302917;
}
.print-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  padding: 0;
  pointer-events: none;
}
.print-card[data-role="active"],
.print-card[data-role="incoming"] {
  box-shadow:
    2px 13px 19px #3b302928,
    0 2px 3px #3b302915;
}
.gallery-controls {
  position: relative;
  width: max-content;
  max-width: 90%;
  margin: 0 0 0 3.4cqw;
  gap: 18px;
  pointer-events: auto;
}
.gallery-controls .previous {
  order: 0;
}
.gallery-controls .print-count {
  order: 1;
  margin: 0;
  min-width: 86px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.gallery-controls .next {
  order: 2;
}
.gallery-controls button {
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.gallery-controls button:hover {
  background: #ebe9e180;
  border-radius: 50%;
}
.gallery-controls button.is-disabled {
  opacity: 0.25;
  cursor: default;
  background: none;
}
.gallery-caption {
  margin-top: 14px;
}
.ideas-grid {
  isolation: isolate;
}
.idea-card {
  background: transparent;
}
.idea-copy {
  padding-left: 9%;
  padding-right: 9%;
  z-index: 2;
}
.idea-visual {
  margin-top: -35px;
}
.gift-note {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 2px 4px 6px #41311e29;
  will-change: transform;
}
.gift-note img {
  width: 100%;
  mix-blend-mode: multiply;
}
.gift-note span {
  letter-spacing: 0.025em;
}
.gift-note em {
  font:
    italic clamp(12px, 1.15vw, 19px) Georgia,
    serif;
}
.cut-paper {
  position: absolute;
  text-align: center;
  color: #787863;
  box-shadow: 3px 9px 9px #41311e38;
  will-change: transform;
  border-radius: 2px 4px 3px 1px;
}
.cut-paper em {
  font-style: italic;
}
@media (max-width: 760px) {
  .print-card {
    width: 39.5vw;
    padding: 4px;
  }
  .print-card img {
    height: auto;
    aspect-ratio: 4/3;
  }
  .gallery-controls {
    margin-left: 5vw;
    gap: 10px;
  }
  .gallery-controls .print-count {
    min-width: 90px;
  }
  .gallery-caption {
    margin-left: 6vw;
    max-width: 83%;
    line-height: 1.5;
  }
  .idea-copy {
    padding-left: 6%;
    padding-right: 6%;
  }
  .idea-visual {
    margin-top: 0;
  }
  .print-choice {
    min-width: 44px;
    min-height: 44px;
    flex-basis: 44px;
  }
  .wall-reset {
    width: 44px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gift-note {
    will-change: auto;
  }
  .cut-paper {
    box-shadow: 1px 3px 4px #41311e29;
    will-change: auto;
  }
}
.reduce-motion .gift-note {
  will-change: auto;
}
.reduce-motion .cut-paper {
  box-shadow: 1px 3px 4px #41311e29;
  will-change: auto;
}

/* Shared language links. Independent of the section-navigation active state. */
.language-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  margin-left: 22px;
  font: 10px/1.2 var(--system-font, system-ui, sans-serif);
  letter-spacing: 0.08em;
}
.language-switch > span {
  opacity: 0.35;
}
.language-switch a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  opacity: 0.55;
  transition: opacity 0.2s;
}
.language-switch a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.language-switch a:hover,
.language-switch a:focus-visible,
.language-switch a.is-current {
  opacity: 1;
}
.language-switch a.is-current {
  font-weight: 600;
}
.language-switch a:hover::after,
.language-switch a:focus-visible::after,
.language-switch a.is-current::after {
  transform: scaleX(1);
}
@media (max-width: 760px) {
  .language-switch {
    gap: 5px;
    margin-left: 14px;
    font-size: 9px;
  }
  .site-header nav {
    gap: clamp(6px, 2.2vw, 14px);
  }
}
@media (max-width: 360px) {
  .site-header {
    padding-inline: 4%;
  }
  .site-header .brand {
    font-size: 17px;
  }
  .language-switch {
    margin-left: 9px;
  }
}

/* =============================
   Japanese Language Overrides
============================= */
/* EN remains the reference. Add JA-only adjustments here after translating.
   Motion reveals whole wrappers, not English words or individual Japanese glyphs.
   --reveal-tracking also controls the small animated letter-spacing adjustment. */
html[lang="ja"] {
  --headline-weight: 700;
  --reveal-tracking: -0.045;
}
html[lang="ja"] .headline,
html[lang="ja"] .copy h1,
html[lang="ja"] .copy h2 {
  letter-spacing: -0.045em;
  line-height: 1.2;
  word-break: normal;
  line-break: strict;
}
html[lang="ja"] .explore h1 span,
html[lang="ja"] .ready h2 span,
html[lang="ja"] .print-copy h2,
html[lang="ja"] .buy-copy .line-text {
  white-space: normal;
  overflow-wrap: anywhere;
}
html[lang="ja"] .body-copy {
  word-break: normal;
  line-break: strict;
  overflow-wrap: anywhere;
}
/* Example: html[lang="ja"] .idea-copy .headline { line-height:1.25; }
   If a heading gets too tall, shorten the copy / adjust <br> before reducing size.
   Preserve the FIRST 3 / YOUR SPACE 2 / FINAL 2 outer animation wrappers. */

/* A quiet use cue separates READY's action from YOUR SPACE's footprint. */
.ready .scene-use-note {
  margin-top: 30px;
  font-size: 13px;
  letter-spacing: .01em;
  line-height: 1.7;
}
.scene-use-note span {
  display: block;
  margin-top: 6px;
  font: 400 9px/1.5 var(--system-font);
  letter-spacing: .065em;
  color: var(--muted);
}
@media (max-width: 760px) {
  .ready:has(.scene-use-note) {
    display: grid;
    grid-template-columns: 52% 42%;
    column-gap: 6%;
    row-gap: 12px;
  }
  .ready:has(.scene-use-note) h2 { width: auto; }
  .ready .scene-use-note {
    grid-column: 1 / -1;
    margin-top: 0;
    font-size: 11px;
  }
  .scene-use-note span {
    display: inline;
    margin-left: 8px;
    font-size: 8px;
  }
}
