:root {
  --ink: #fff9ee;
  --ink-soft: rgba(255, 249, 238, 0.66);
  --ink-muted: rgba(255, 249, 238, 0.46);
  --shadow: rgba(17, 12, 8, 0.5);
  --wood-deep: #493323;
  --paper: #f5eee2;
  --service-ink: #35281d;
  --service-ink-soft: rgba(53, 40, 29, 0.72);
  --service-line: rgba(88, 66, 45, 0.2);
  --background-base: #ece5d7;
  --background-wood-mist: url("assets/images/backgrounds/suehiro-background-wood-mist.png");
  --site-header-safe-height: 92px;
  --reading-measure: 34em;
  --reading-gutter: clamp(18px, 2.4vw, 34px);
  --service-sticky-top: clamp(88px, 9svh, 108px);
  --service-heading-height: clamp(54px, 6svh, 68px);
  --service-heading-stack: var(--service-heading-height);
  --service-panel-gap: clamp(18svh, 24vw, 27svh);
  --service-image-height: clamp(430px, 58svh, 650px);
  --service-section-padding: clamp(88px, 13vw, 160px);
  --service-mobile-breath-space: 14px;
  --service-mobile-pin-top: calc(var(--site-header-safe-height) + var(--service-mobile-breath-space));
  --service-mobile-stage-height: calc(100svh - var(--service-mobile-pin-top) - var(--service-mobile-breath-space));
  --service-mobile-media-height: clamp(330px, 52svh, 430px);
  --service-mobile-image-gap: 24px;
  --service-image-focus-y-01: 62%;
  --service-image-focus-y-02: 68%;
  --font-main: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --font-body: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--site-header-safe-height) + 18px);
  overflow-x: clip;
  background: var(--background-base);
}

body {
  position: relative;
  isolation: isolate;
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--wood-deep);
  background: transparent;
  font-family: var(--font-body);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.2), rgba(239, 231, 216, 0.12)),
    var(--background-wood-mist) center center / cover no-repeat;
  content: "";
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--site-header-safe-height);
  padding: max(18px, env(safe-area-inset-top)) clamp(20px, 4.8vw, 58px) 12px;
  color: var(--ink);
  pointer-events: none;
  isolation: isolate;
  transition: color 320ms ease;
}

.brand,
.site-menu {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.site-header::after {
  position: absolute;
  inset: 0 0 calc(-1 * var(--service-mobile-breath-space));
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(239, 232, 218, 0.78), rgba(239, 232, 218, 0.48) 62%, transparent);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: inherit;
  text-align: center;
  text-decoration: none;
}

.brand-mark {
  width: clamp(42px, 4.1vw, 58px);
  height: auto;
  opacity: 0.82;
  filter:
    brightness(0)
    invert(1)
    sepia(18%)
    saturate(260%)
    hue-rotate(338deg)
    brightness(1.04)
    drop-shadow(0 1px 2px rgba(15, 10, 6, 0.48))
    drop-shadow(0 8px 14px rgba(15, 10, 6, 0.32));
  transition: filter 320ms ease, opacity 320ms ease;
}

.brand-name {
  color: var(--ink-soft);
  font-size: clamp(0.76rem, 0.92vw, 0.88rem);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 2px 14px var(--shadow);
  transition: color 320ms ease, text-shadow 320ms ease;
}

.site-header.is-over-light {
  color: rgba(53, 40, 29, 0.86);
}

.site-header.is-over-light .brand-mark {
  filter:
    brightness(0)
    sepia(26%)
    saturate(430%)
    hue-rotate(344deg)
    brightness(0.74)
    drop-shadow(0 5px 10px rgba(255, 250, 238, 0.32));
}

.site-header.is-over-light .brand-name {
  color: rgba(53, 40, 29, 0.72);
  text-shadow: 0 2px 10px rgba(255, 250, 238, 0.34);
}

.site-header.is-over-light .site-menu {
  text-shadow: 0 2px 10px rgba(255, 250, 238, 0.34);
}

.site-header.is-over-light::after {
  opacity: 1;
}

.site-header.is-over-dark-story {
  color: var(--ink);
}

.site-header.is-over-dark-story .brand-mark {
  filter:
    brightness(0)
    invert(1)
    sepia(18%)
    saturate(260%)
    hue-rotate(338deg)
    brightness(1.04)
    drop-shadow(0 1px 2px rgba(15, 10, 6, 0.48))
    drop-shadow(0 8px 14px rgba(15, 10, 6, 0.32));
}

.site-header.is-over-dark-story .brand-name {
  color: var(--ink-soft);
  text-shadow: 0 2px 14px var(--shadow);
}

.site-header.is-over-dark-story .site-menu {
  text-shadow: 0 1px 2px rgba(15, 10, 6, 0.54), 0 8px 14px rgba(15, 10, 6, 0.28);
}

.site-header.is-over-dark-story::after {
  opacity: 0;
}

.site-menu {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: 500 clamp(0.92rem, 1.5vw, 1.02rem) / 1 var(--font-body);
  text-shadow: 0 1px 2px rgba(15, 10, 6, 0.54), 0 8px 14px rgba(15, 10, 6, 0.28);
  cursor: pointer;
  transition: text-shadow 320ms ease;
}

.site-menu:focus-visible,
.brand:focus-visible,
.hero-next:focus-visible,
.service-link:focus-visible,
.hinoki-button:focus-visible {
  outline: 2px solid rgba(255, 249, 238, 0.86);
  outline-offset: 5px;
}

.menu-lines {
  position: relative;
  width: 24px;
  height: 12px;
}

.menu-lines::before,
.menu-lines::after {
  position: absolute;
  left: 0;
  width: 24px;
  height: 1px;
  background: currentColor;
  content: "";
}

.menu-lines::before {
  top: 2px;
}

.menu-lines::after {
  bottom: 2px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: clip;
  isolation: isolate;
  color: var(--ink);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(18, 13, 8, 0.16), rgba(18, 13, 8, 0.03) 42%, rgba(18, 13, 8, 0.18)),
    linear-gradient(90deg, rgba(18, 13, 8, 0.13), transparent 34%, transparent 72%, rgba(18, 13, 8, 0.12));
  content: "";
  pointer-events: none;
}

.hero-photos,
.hero-slide,
.hero-slide img {
  position: absolute;
  inset: 0;
}

.hero-photos {
  z-index: 1;
  background: #33291f;
}

.hero-slide {
  margin: 0;
  opacity: 0;
  visibility: hidden;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(20, 14, 8, 0.12), rgba(20, 14, 8, 0.02) 46%, rgba(20, 14, 8, 0.12)),
    rgba(20, 14, 8, var(--scene-shade, 0.34));
  content: "";
  pointer-events: none;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(var(--from-x), var(--from-y), 0) scale(1);
}

.hero-slide:nth-child(1) img {
  object-position: 46% 52%;
}

.hero-slide:nth-child(2) img {
  object-position: 42% 52%;
}

.hero-slide:nth-child(3) img {
  object-position: 52% 56%;
}

.hero-slide:nth-child(4) img {
  object-position: 50% 58%;
}

.hero-slide:nth-child(5) img {
  object-position: 48% 50%;
}

.hero-copy {
  position: relative;
  z-index: 5;
  align-self: center;
  justify-self: center;
  width: min(920px, calc(100% - 96px));
  height: min(72svh, 640px);
  min-height: 500px;
  margin-top: 2svh;
  text-align: left;
  text-shadow: 0 3px 24px var(--shadow);
}

.hero-copy::before {
  position: absolute;
  top: 56%;
  left: 50%;
  z-index: 0;
  width: min(94vw, 980px);
  height: min(56svh, 500px);
  background: radial-gradient(ellipse at center, rgba(18, 13, 8, 0.44), rgba(18, 13, 8, 0.24) 44%, rgba(18, 13, 8, 0.08) 68%, transparent 78%);
  content: "";
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;
}

.hero-kicker {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  opacity: 1;
  transform: translateY(-50%);
  transform-origin: left center;
  will-change: transform, opacity;
}

.hero-place {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: clamp(0.94rem, 1.18vw, 1.08rem);
  font-weight: 400;
  line-height: 1.72;
  opacity: 0;
  animation: copy-fade 1050ms ease forwards;
}

.hero-copy h1 {
  margin: 0;
  color: rgba(255, 249, 238, 0.94);
  font-family: var(--font-main);
  font-size: clamp(3.24rem, 4.86vw, 5.15rem);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: 0;
  opacity: 0;
  white-space: nowrap;
  animation: copy-fade 1050ms ease 140ms forwards;
}

.hero-story {
  position: absolute;
  top: 55%;
  left: 50%;
  z-index: 2;
  width: min(calc(100vw - 160px), 1080px);
  min-height: 7.2em;
  color: rgba(255, 249, 238, 0.98);
  font-family: var(--font-body);
  font-size: clamp(2.36rem, 3.05vw, 3.55rem);
  font-weight: 500;
  line-height: 1.72;
  letter-spacing: 0;
  overflow: visible;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(-50%, -44%, 0);
  will-change: opacity, visibility;
}

.story-layer {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  clip-path: inset(0 100% 0 0);
}

.story-layer.is-active {
  opacity: 1;
  visibility: visible;
  clip-path: inset(0 0% 0 0);
}

.story-line {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.story-empty {
  display: none;
}

.story-air {
  position: absolute;
  inset: -0.12em -0.9em;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255, 249, 238, 0.04) 28%, rgba(255, 249, 238, 0.2) 50%, rgba(255, 249, 238, 0.05) 72%, transparent);
  opacity: 0;
  transform: translate3d(-118%, 0, 0);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-next {
  position: absolute;
  bottom: clamp(2px, 1.8vh, 18px);
  left: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.12vw, 1rem);
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
}

.hero-next span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 260ms ease;
}

.hero-next:hover span {
  transform: translate3d(5px, 0, 0);
}

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

.services-section {
  position: relative;
  z-index: 1;
  overflow: clip;
  margin-top: -10svh;
  padding: calc(var(--service-section-padding) + 10svh) clamp(24px, 6vw, 88px) clamp(96px, 14vw, 180px);
  background:
    linear-gradient(180deg, rgba(245, 238, 226, 0.12), rgba(230, 226, 214, 0.12) 58%, rgba(219, 224, 211, 0.1));
  color: var(--service-ink);
}

.services-section::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 26svh;
  background: linear-gradient(180deg, rgba(245, 238, 226, 0), rgba(242, 235, 222, 0.56) 58%, rgba(236, 229, 216, 0.24));
  content: "";
  pointer-events: none;
}

.services-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(36px, 8vw, 120px);
  align-items: end;
  max-width: 1240px;
  margin: 0 auto clamp(82px, 12vw, 140px);
}

.services-intro h2 {
  margin: 0;
  font-family: var(--font-main);
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0;
}

.services-intro p {
  max-width: 620px;
  margin: 0;
  color: var(--service-ink-soft);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  font-weight: 400;
  line-height: 2.05;
}

.service-stack {
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: clamp(170px, 18vw, 300px);
}

.service-panel {
  position: sticky;
  top: var(--service-sticky-top);
  min-height: calc(100svh - var(--service-sticky-top));
  padding-bottom: clamp(56px, 8vw, 94px);
  background:
    linear-gradient(180deg, rgba(245, 238, 226, 0.34), rgba(229, 224, 211, 0.18)),
    var(--background-wood-mist) center / cover no-repeat;
  border-top: 1px solid rgba(88, 66, 45, 0.14);
}

.service-panel + .service-panel {
  margin-top: var(--service-panel-gap);
}

.service-panel-table {
  z-index: auto;
}

.service-panel-joinery {
  top: calc(var(--service-sticky-top) + var(--service-heading-stack));
  z-index: auto;
}

.service-panel-heading {
  display: flex;
  align-items: center;
  min-height: var(--service-heading-height);
  border-bottom: 1px solid rgba(88, 66, 45, 0.16);
  background: rgba(239, 232, 218, 0.7);
  backdrop-filter: blur(1px);
}

.service-panel-heading p {
  margin: 0;
  color: rgba(53, 40, 29, 0.74);
  font-family: var(--font-body);
  font-size: clamp(1.04rem, 1.55vw, 1.32rem);
  font-weight: 500;
  line-height: 1.4;
}

.service-panel-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(40px, 7vw, 108px);
  align-items: center;
  padding-top: clamp(24px, 3.6vw, 46px);
  will-change: transform;
}

@media (min-width: 721px) {
  body::before {
    background-attachment: fixed;
  }

  .service-stack {
    position: relative;
  }

  .service-panel-joinery {
    min-height: calc(100svh - var(--service-sticky-top) - var(--service-heading-stack));
  }

  body.is-service-desktop-stack-ready .service-stack {
    position: relative;
    height: calc(100svh - var(--service-sticky-top));
    min-height: 680px;
    max-height: 920px;
    padding-bottom: 0;
    overflow: clip;
  }

  body.is-service-desktop-stack-ready .service-panel {
    position: absolute;
    inset: 0;
    min-height: 0;
    height: 100%;
    padding-bottom: 0;
    border-top: 0;
    will-change: transform;
    background-attachment: fixed;
  }

  body.is-service-desktop-stack-ready .service-panel + .service-panel {
    margin-top: 0;
  }

  body.is-service-desktop-stack-ready .service-panel-heading {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 6;
    height: var(--service-heading-height);
    min-height: var(--service-heading-height);
    background: rgba(245, 238, 226, 0.84);
  }

  body.is-service-desktop-stack-ready .service-panel-joinery .service-panel-heading {
    top: var(--service-heading-height);
  }

  body.is-service-desktop-stack-ready .service-panel-layout {
    position: absolute;
    top: var(--service-heading-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    align-items: start;
    padding-top: clamp(22px, 3.2vw, 42px);
  }

  body.is-service-desktop-stack-ready .service-panel-joinery .service-panel-layout {
    top: calc(var(--service-heading-height) * 2);
  }

  body.is-service-desktop-stack-ready .service-copy {
    align-self: start;
    margin-top: clamp(76px, 10svh, 112px);
  }

  body.is-service-desktop-stack-ready .service-panel-joinery .service-copy {
    margin-top: clamp(48px, 7svh, 82px);
  }
}

.service-media {
  position: relative;
  min-width: 0;
  height: var(--service-image-height);
  margin: 0;
  overflow: hidden;
  background: rgba(54, 43, 31, 0.16);
}

.service-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 238, 0.18), transparent 34%, transparent 70%, rgba(56, 42, 28, 0.1)),
    linear-gradient(180deg, transparent 72%, rgba(40, 31, 22, 0.18));
  content: "";
  pointer-events: none;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform, filter;
}

.service-panel-table .service-media img {
  object-position: 50% 48%;
}

.service-panel-joinery .service-media img {
  width: 122%;
  max-width: none;
  margin-left: -22%;
  object-position: 70% 64%;
}

.service-copy {
  width: min(100%, var(--reading-measure));
  max-width: 500px;
  padding-inline: var(--reading-gutter);
  color: var(--service-ink);
}

.service-copy h3 {
  margin: 0;
  font-family: var(--font-main);
  font-size: clamp(1.84rem, 3.1vw, 3.25rem);
  font-weight: 500;
  line-height: 1.36;
  letter-spacing: 0;
}

.service-copy h3 span {
  display: block;
  white-space: nowrap;
}

.service-copy p {
  margin: clamp(24px, 3.2vw, 36px) 0 0;
  color: var(--service-ink-soft);
  font-size: clamp(1rem, 1.26vw, 1.12rem);
  font-weight: 400;
  line-height: 2.05;
}

.service-copy-line {
  display: block;
  white-space: nowrap;
}

.service-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  margin-top: clamp(22px, 3vw, 34px);
  color: var(--service-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.service-link:focus-visible {
  outline-color: rgba(53, 40, 29, 0.62);
}

.service-link::after {
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.38;
  transform: scaleX(0.42);
  transform-origin: left center;
  transition: transform 360ms ease, opacity 360ms ease;
}

.service-link span {
  transition: transform 360ms ease;
}

.service-link:hover::after {
  opacity: 0.64;
  transform: scaleX(1);
}

.service-link:hover span {
  transform: translate3d(4px, 0, 0);
}

.hinokimasa-section {
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
  color: var(--service-ink);
  isolation: isolate;
}

.hinokimasa-section::before {
  position: absolute;
  inset: 0 max(-6vw, -80px);
  z-index: -1;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 252, 238, 0.66), transparent 34%),
    radial-gradient(circle at 82% 46%, rgba(218, 225, 207, 0.28), transparent 38%),
    linear-gradient(180deg, rgba(250, 244, 230, 0.46), rgba(229, 225, 210, 0.26) 46%, rgba(238, 231, 216, 0.12));
  content: "";
  pointer-events: none;
}

.hinoki-opening {
  position: relative;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: #8c765f;
  isolation: isolate;
}

.hinoki-opening::before,
.hinoki-opening::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.hinoki-opening::before {
  background:
    linear-gradient(180deg, rgba(244, 237, 223, 0.84), rgba(244, 237, 223, 0.08) 24%, transparent 42%),
    linear-gradient(90deg, rgba(26, 18, 12, 0.48), rgba(26, 18, 12, 0.12) 55%, rgba(26, 18, 12, 0.36));
}

.hinoki-opening::after {
  background: linear-gradient(180deg, transparent 66%, rgba(27, 19, 12, 0.44));
}

.hinoki-opening-visual,
.hinoki-opening-image {
  position: absolute;
  inset: 0;
}

.hinoki-opening-visual {
  margin: 0;
  overflow: hidden;
}

.hinoki-opening-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 58%;
  filter: saturate(0.82) brightness(0.88);
  will-change: transform, object-position;
}

.hinoki-opening-light {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(112deg, transparent 18%, rgba(255, 250, 232, 0.08) 34%, rgba(255, 250, 232, 0.26) 48%, rgba(255, 250, 232, 0.06) 60%, transparent 76%);
  opacity: 0.42;
  transform: translate3d(-42%, 0, 0);
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: transform, opacity;
}

.hinoki-opening-copy {
  position: absolute;
  top: 52%;
  left: clamp(34px, 8vw, 132px);
  z-index: 3;
  width: min(780px, calc(100% - clamp(68px, 16vw, 264px)));
  color: rgba(255, 249, 238, 0.96);
  text-shadow: 0 3px 26px rgba(24, 16, 10, 0.58);
  transform: translate3d(0, -50%, 0);
  will-change: transform, opacity;
}

.hinoki-opening-lead,
.hinoki-opening-support,
.hinoki-opening-grain-copy p {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
}

.hinoki-opening-lead {
  color: rgba(255, 249, 238, 0.9);
  font-size: clamp(1.12rem, 1.65vw, 1.48rem);
  line-height: 1.86;
}

.hinoki-opening-lead span,
.hinoki-opening-support span {
  display: block;
}

.hinoki-opening-intro h2 {
  margin: clamp(20px, 3vw, 34px) 0;
  font-family: var(--font-main);
  font-size: clamp(4.6rem, 7.2vw, 7.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.hinoki-opening-support {
  color: rgba(255, 249, 238, 0.76);
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  line-height: 1.82;
}

.hinoki-opening-grain-copy {
  width: min(780px, calc(100% - clamp(68px, 16vw, 264px)));
}

.hinoki-opening-grain-copy h2 {
  margin: 0;
  font-family: var(--font-main);
  font-size: clamp(2.7rem, 3.8vw, 4.35rem);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: 0;
}

.opening-heading-line {
  display: block;
  white-space: nowrap;
}

.hinoki-opening-grain-copy p {
  margin-top: clamp(24px, 3vw, 36px);
  color: rgba(255, 249, 238, 0.84);
  font-size: clamp(1rem, 1.22vw, 1.15rem);
  line-height: 2;
}

.hinoki-join-diagram {
  position: absolute;
  right: clamp(28px, 5vw, 84px);
  bottom: clamp(28px, 6svh, 72px);
  z-index: 3;
  width: min(34vw, 430px);
  height: min(42svh, 430px);
  color: rgba(255, 249, 238, 0.82);
  pointer-events: none;
}

.hinoki-scene,
.hinoki-production-bridge {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(350px, 0.94fr);
  gap: clamp(42px, 7vw, 116px);
  align-items: center;
  min-height: min(900px, 92svh);
  padding: clamp(68px, 8vw, 128px) 0;
}

.hinoki-scene-standard,
.hinoki-scene-future {
  grid-template-columns: minmax(0, 1.12fr) minmax(350px, 0.88fr);
}

.hinoki-scene::before {
  position: absolute;
  top: 0;
  left: 0;
  width: min(220px, 24%);
  height: 1px;
  background: linear-gradient(90deg, rgba(84, 62, 40, 0.24), transparent);
  content: "";
}

.hinokimasa-reveal {
  will-change: transform, opacity;
}

.hinoki-copy {
  position: relative;
  z-index: 2;
  width: min(100%, var(--reading-measure));
  max-width: 620px;
  padding-inline: var(--reading-gutter);
}

.hinoki-copy h2,
.production-bridge-copy h2 {
  margin: 0;
  color: rgba(53, 40, 29, 0.92);
  font-family: var(--font-main);
  font-size: clamp(2.12rem, 3.8vw, 4.4rem);
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: 0;
}

.hinoki-copy h2 {
  font-size: clamp(2.12rem, 2.95vw, 3.05rem);
}

.hinoki-copy h2 .heading-line {
  white-space: nowrap;
}

.hinoki-copy p,
.production-bridge-copy p {
  margin: clamp(22px, 3vw, 34px) 0 0;
  color: rgba(53, 40, 29, 0.78);
  font-size: clamp(1rem, 1.28vw, 1.16rem);
  font-weight: 400;
  line-height: 2.05;
  max-width: var(--reading-measure);
}

.hinoki-subtext {
  color: rgba(53, 40, 29, 0.64);
}

.hinoki-note {
  color: rgba(53, 40, 29, 0.56);
  font-size: clamp(0.82rem, 1vw, 0.94rem);
  line-height: 1.8;
  max-width: var(--reading-measure);
}

.hinoki-visual,
.hinoki-media-panel,
.kitori-board {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: rgba(241, 232, 215, 0.42);
}

.hinoki-visual::after,
.hinoki-media-panel::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 252, 240, 0.28), transparent 38%, rgba(67, 47, 30, 0.1)),
    linear-gradient(180deg, transparent 68%, rgba(52, 38, 25, 0.16));
  content: "";
  pointer-events: none;
}

.hinoki-scene-image,
.hinoki-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hinoki-scene-image {
  will-change: transform, object-position;
}

.join-line {
  position: absolute;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: rgba(255, 249, 238, 0.56);
  transform-origin: top center;
}

.join-line-01 {
  left: 34%;
}

.join-line-02 {
  left: 52%;
}

.join-line-03 {
  left: 70%;
}

.join-label {
  position: absolute;
  color: rgba(255, 249, 238, 0.82);
  font-size: 0.9rem;
  line-height: 1.55;
  text-shadow: 0 2px 12px rgba(22, 15, 9, 0.56);
}

.join-label-side {
  right: 0;
  bottom: 0;
}

.join-label-length {
  top: 0;
  left: 0;
}

.hinoki-visual-long,
.hinoki-visual-product {
  height: clamp(420px, 56svh, 660px);
}

.hinoki-visual-long img {
  object-position: 48% 50%;
}

.hinoki-visual-product img {
  object-position: 54% 64%;
}

.dimension-line {
  position: absolute;
  z-index: 2;
  display: block;
  background: rgba(255, 249, 236, 0.88);
  box-shadow: 0 0 0 1px rgba(83, 61, 39, 0.18), 0 2px 12px rgba(64, 44, 24, 0.12);
  transform-origin: left center;
}

.dimension-length {
  left: 9%;
  right: 10%;
  bottom: 18%;
  height: 2px;
}

.dimension-width {
  top: 27%;
  right: 12%;
  width: 2px;
  height: 42%;
  transform-origin: top center;
}

.hinoki-specs {
  margin-top: clamp(28px, 4vw, 46px);
}

.hinoki-specs dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 54px);
  margin: 0;
}

.hinoki-specs dl > div {
  padding: 22px 0 0;
  border-top: 1px solid rgba(86, 64, 42, 0.26);
}

.hinoki-specs dt {
  margin-bottom: 12px;
  color: rgba(53, 40, 29, 0.86);
  font-family: var(--font-main);
  font-size: 1.18rem;
  font-weight: 500;
}

.hinoki-specs dd {
  display: grid;
  grid-template-columns: 3.2em minmax(0, 1fr) auto;
  gap: 0.45em;
  align-items: baseline;
  margin: 0;
  color: rgba(53, 40, 29, 0.66);
  line-height: 1.72;
}

.spec-label,
.spec-unit {
  font-size: 0.82rem;
}

.spec-value {
  color: rgba(53, 40, 29, 0.84);
  font-family: var(--font-main);
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
}

.kitori-diagram-group {
  min-width: 0;
  width: 100%;
  max-width: 700px;
}

.kitori-board {
  --kitori-light-x: -48%;
  min-height: clamp(520px, 64svh, 680px);
  padding: clamp(34px, 4vw, 54px);
  overflow: clip;
  background: rgba(241, 232, 215, 0.48);
  border-block: 1px solid rgba(86, 64, 42, 0.16);
}

.kitori-board::after {
  position: absolute;
  inset: 0 -12%;
  z-index: 4;
  background: linear-gradient(110deg, transparent 0 30%, rgba(255, 251, 235, 0.26) 46%, transparent 62%);
  content: "";
  transform: translate3d(var(--kitori-light-x), 0, 0);
  pointer-events: none;
}

.kitori-material {
  position: relative;
  z-index: 1;
  width: min(92%, 610px);
  min-height: 250px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(77, 55, 35, 0.32);
  background:
    radial-gradient(ellipse at 20% 44%, transparent 0 16%, rgba(116, 76, 38, 0.12) 17% 18%, transparent 19% 30%, rgba(116, 76, 38, 0.1) 31% 32%, transparent 33%),
    repeating-linear-gradient(92deg, rgba(106, 70, 37, 0.1) 0 1px, transparent 1px 16px),
    linear-gradient(100deg, rgba(246, 225, 183, 0.96), rgba(220, 184, 128, 0.78) 46%, rgba(240, 215, 172, 0.92));
  box-shadow: 0 18px 36px rgba(68, 47, 29, 0.1);
}

.kitori-source-label,
.kitori-zone > span,
.kitori-reuse-label {
  position: absolute;
  z-index: 3;
  padding: 5px 8px;
  color: rgba(53, 40, 29, 0.76);
  background: rgba(250, 244, 230, 0.78);
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  line-height: 1.3;
  white-space: nowrap;
}

.kitori-source-label {
  top: 12px;
  left: 14px;
}

.kitori-cut {
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: 39%;
  z-index: 3;
  width: 1px;
  background: rgba(67, 47, 29, 0.68);
  transform-origin: top center;
}

.kitori-zone {
  position: absolute;
  top: 8%;
  bottom: 8%;
  z-index: 2;
  border: 1px solid rgba(78, 56, 36, 0.26);
}

.kitori-zone-primary {
  left: 7%;
  width: 32%;
  background: rgba(255, 250, 231, 0.3);
}

.kitori-zone-remnant {
  right: 7%;
  left: 39%;
  background: rgba(102, 126, 103, 0.12);
}

.kitori-zone-primary > span {
  right: 12px;
  bottom: 12px;
}

.kitori-zone-remnant > span {
  right: 12px;
  top: 12px;
}

.kitori-reuse {
  position: relative;
  z-index: 2;
  width: min(70%, 430px);
  height: 146px;
  margin: 34px auto 0;
}

.kitori-reuse-arrow {
  position: absolute;
  top: -18px;
  left: -9%;
  width: 128px;
  overflow: visible;
  fill: none;
  stroke: rgba(70, 50, 31, 0.48);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kitori-reuse-arrow path,
.kitori-door-outline rect,
.kitori-door-outline line {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.kitori-reuse-label {
  top: 6px;
  left: 41%;
}

.kitori-reuse-piece {
  position: absolute;
  left: 24%;
  width: 72%;
  height: 34px;
  border: 1px solid rgba(76, 54, 35, 0.3);
  background:
    repeating-linear-gradient(92deg, rgba(106, 70, 37, 0.1) 0 1px, transparent 1px 15px),
    linear-gradient(100deg, rgba(239, 216, 174, 0.92), rgba(213, 176, 121, 0.7));
}

.kitori-reuse-piece-one {
  top: 46px;
}

.kitori-reuse-piece-two {
  top: 88px;
}

.kitori-door-outline {
  position: absolute;
  right: clamp(12px, 3vw, 34px);
  bottom: 16px;
  z-index: 1;
  width: clamp(72px, 12vw, 112px);
  height: auto;
  fill: none;
  stroke: rgba(74, 53, 34, 0.18);
  stroke-width: 1.25;
}

.kitori-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  color: rgba(53, 40, 29, 0.68);
  list-style: none;
}

.kitori-benefits li {
  padding-top: 12px;
  border-top: 1px solid rgba(86, 64, 42, 0.2);
  font-size: clamp(0.82rem, 1vw, 0.94rem);
  line-height: 1.7;
}

.kitori-note {
  margin: 16px var(--reading-gutter) 0;
}

.hinoki-media-panel {
  height: clamp(520px, 68svh, 780px);
}

.hinoki-video {
  display: block;
  object-position: center center;
}

.hinoki-scene-legacy .hinoki-media-panel {
  max-width: 640px;
}

.hinoki-legacy-still img {
  object-position: 68% 54%;
}

.hinoki-button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: clamp(22px, 3vw, 34px);
  padding: 0 0 6px;
  border-bottom: 1px solid rgba(53, 40, 29, 0.38);
  color: rgba(53, 40, 29, 0.88);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
}

.hinoki-production-bridge {
  display: grid;
  grid-template-columns: 1fr;
  min-height: min(900px, 94svh);
  margin-top: clamp(30px, 6vw, 80px);
  padding: clamp(72px, 10vw, 150px);
  overflow: hidden;
  color: var(--ink);
  background: #493d32;
  isolation: isolate;
}

.production-bridge-copy {
  align-self: center;
  position: relative;
  z-index: 2;
  max-width: 950px;
  text-shadow: 0 3px 24px rgba(20, 14, 9, 0.58);
}

.production-bridge-copy h2 {
  color: rgba(255, 249, 238, 0.94);
}

.heading-line {
  display: block;
}

.production-bridge-copy .bridge-line-two,
.production-bridge-copy .bridge-line-three {
  display: inline;
}

.production-video-panel {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: auto;
  margin: 0;
  box-shadow: none;
  background: rgba(55, 45, 34, 0.2);
}

.production-video-panel::after {
  background:
    linear-gradient(90deg, rgba(25, 18, 12, 0.58), rgba(25, 18, 12, 0.14) 68%, rgba(25, 18, 12, 0.28)),
    linear-gradient(180deg, rgba(25, 18, 12, 0.12), rgba(25, 18, 12, 0.46));
}

@media (max-width: 720px) {
  :root {
    --site-header-safe-height: max(82px, calc(env(safe-area-inset-top) + 72px));
    --service-sticky-top: var(--site-header-safe-height);
    --service-heading-stack: 38px;
    --service-heading-height: 58px;
    --service-panel-gap: 24svh;
    --service-image-height: clamp(320px, 58svh, 460px);
    --service-section-padding: clamp(54px, 14vw, 76px);
    --service-mobile-breath-space: clamp(10px, 1.35svh, 14px);
    --service-mobile-image-gap: 24px;
    --service-mobile-bridge-space: clamp(30px, 8svh, 56px);
  }

  .site-header {
    min-height: var(--site-header-safe-height);
    padding: max(12px, env(safe-area-inset-top)) 18px 10px;
  }

  .brand {
    gap: 4px;
  }

  .brand-mark {
    width: clamp(34px, 10vw, 42px);
    opacity: 0.82;
  }

  .brand-name {
    font-size: clamp(0.66rem, 3.1vw, 0.74rem);
  }

  .site-menu {
    gap: 9px;
    font-size: 0.9rem;
  }

  .hero::before {
    background:
      linear-gradient(0deg, rgba(20, 15, 10, 0.22), rgba(20, 15, 10, 0.12) 48%, rgba(20, 15, 10, 0.08));
  }

  .hero-copy {
    width: calc(100% - 48px);
    height: 68svh;
    min-height: 430px;
    max-height: 590px;
    margin-top: 2svh;
  }

  .hero-copy::before {
    top: 57%;
    width: calc(100vw - 18px);
    height: min(57svh, 490px);
    background: radial-gradient(ellipse at center, rgba(18, 13, 8, 0.42), rgba(18, 13, 8, 0.22) 45%, rgba(18, 13, 8, 0.06) 70%, transparent 80%);
  }

  .hero-place {
    margin-bottom: 11px;
    font-size: clamp(0.78rem, 3.1vw, 0.88rem);
    line-height: 1.68;
  }

  .hero-copy h1 {
    font-size: clamp(2.18rem, 9.2vw, 2.9rem);
    line-height: 1.24;
    white-space: nowrap;
  }

  .hero-story {
    top: 57%;
    width: 100%;
    min-height: 8.3em;
    font-size: clamp(1.38rem, 5.8vw, 1.55rem);
    line-height: 1.8;
    transform: translate3d(-50%, -44%, 0);
  }

  .story-line {
    width: auto;
    white-space: normal;
  }

  .hero-next {
    bottom: -2px;
    font-size: 0.9rem;
  }

  .hero-slide:nth-child(1) img {
    object-position: 35% 50%;
  }

  .hero-slide:nth-child(2) img {
    object-position: 45% 52%;
  }

  .hero-slide:nth-child(3) img {
    object-position: 54% 50%;
  }

  .hero-slide:nth-child(4) img {
    object-position: 50% 50%;
  }

  .hero-slide:nth-child(5) img {
    object-position: 45% 50%;
  }

  .services-section {
    overflow: visible;
    margin-top: -8svh;
    padding-top: calc(var(--service-mobile-bridge-space) + 8svh);
    padding-inline: 24px;
  }

  .services-section::before {
    height: 20svh;
  }

  .services-intro {
    display: block;
    margin-bottom: clamp(58px, 16vw, 82px);
  }

  .services-intro h2 {
    font-size: clamp(2.25rem, 11vw, 3.2rem);
    line-height: 1.18;
  }

  .services-intro p {
    margin-top: 24px;
    font-size: 1rem;
    line-height: 1.95;
  }

  .service-stack {
    padding-bottom: 48px;
  }

  .service-panel {
    min-height: calc(100svh - var(--service-sticky-top));
    padding-bottom: 56px;
  }

  .service-panel-heading p {
    font-size: clamp(1rem, 4.8vw, 1.18rem);
  }

  .service-panel-layout {
    display: block;
    padding-top: 28px;
  }

  .service-media {
    height: var(--service-image-height);
    width: 100%;
  }

  .service-copy {
    max-width: none;
    padding-inline: 0;
    padding-top: 28px;
  }

  .service-copy h3 {
    font-size: clamp(1.92rem, 8.8vw, 2.52rem);
    line-height: 1.42;
  }

  .service-copy h3 span {
    display: block;
    white-space: nowrap;
  }

  .service-copy p {
    margin-top: 20px;
    font-size: 0.98rem;
    line-height: 1.92;
  }

  .service-copy-line {
    display: inline;
    white-space: normal;
  }

  .service-link {
    margin-top: 18px;
  }

  .hinokimasa-section {
    margin-top: 0;
  }

  .hinokimasa-section::before {
    inset: 0 -24px;
  }

  .hinoki-opening {
    min-height: 100svh;
    width: calc(100% + 48px);
    margin-inline: -24px;
  }

  .hinoki-opening::before {
    background:
      linear-gradient(180deg, rgba(244, 237, 223, 0.78), rgba(244, 237, 223, 0.05) 20%, transparent 38%),
      linear-gradient(90deg, rgba(26, 18, 12, 0.44), rgba(26, 18, 12, 0.08) 72%, rgba(26, 18, 12, 0.3));
  }

  .hinoki-opening-image {
    object-position: 55% 58%;
  }

  .hinoki-opening-copy {
    top: 50%;
    left: 24px;
    width: calc(100% - 48px);
    padding-inline: 0;
  }

  .hinoki-opening-lead {
    font-size: clamp(1rem, 4.45vw, 1.16rem);
    line-height: 1.84;
  }

  .hinoki-opening-intro h2 {
    margin: 22px 0 24px;
    font-size: clamp(3.6rem, 16vw, 4.8rem);
    white-space: nowrap;
  }

  .hinoki-opening-support {
    font-size: clamp(0.96rem, 4.2vw, 1.08rem);
    line-height: 1.82;
  }

  .hinoki-opening-grain-copy {
    top: 42%;
    width: calc(100% - 48px);
  }

  .hinoki-opening-grain-copy h2 {
    font-size: clamp(1.84rem, 8.4vw, 2.48rem);
    line-height: 1.38;
    white-space: nowrap;
  }

  .hinoki-opening-grain-copy p {
    margin-top: 22px;
    font-size: clamp(0.92rem, 4vw, 1.02rem);
    line-height: 1.9;
  }

  .hinoki-join-diagram {
    right: 24px;
    bottom: 24px;
    width: calc(100% - 48px);
    height: 25svh;
    min-height: 170px;
  }

  .join-label {
    font-size: 0.76rem;
  }

  .hinoki-scene,
  .hinoki-scene-standard,
  .hinoki-scene-future {
    display: block;
    min-height: auto;
    padding: 72px 0;
    scroll-margin-top: calc(var(--site-header-safe-height) + 18px);
  }

  .hinoki-production-bridge {
    display: grid;
    min-height: 68svh;
    margin-top: 34px;
    width: calc(100% + 48px);
    margin-inline: -24px;
    padding: 56px 24px;
    scroll-margin-top: var(--site-header-safe-height);
  }

  .hinoki-copy,
  .production-bridge-copy {
    max-width: none;
  }

  .hinoki-copy {
    padding-inline: 0;
  }

  .hinoki-copy h2,
  .production-bridge-copy h2 {
    font-size: clamp(1.68rem, 7.2vw, 2.32rem);
    line-height: 1.42;
  }

  .hinoki-copy h2 .heading-line {
    white-space: nowrap;
  }

  .hinoki-copy p,
  .production-bridge-copy p {
    font-size: clamp(0.96rem, 4.2vw, 1.05rem);
    line-height: 1.92;
  }

  .hinoki-visual,
  .hinoki-media-panel,
  .kitori-board {
    margin-top: 28px;
  }

  .hinoki-visual-long,
  .hinoki-visual-product {
    height: clamp(300px, 44svh, 420px);
  }

  .hinoki-visual-long img {
    object-position: 50% 50%;
  }

  .dimension-length {
    bottom: 24%;
  }

  .dimension-width {
    top: 30%;
    height: 34%;
  }

  .hinoki-specs dl {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hinoki-specs dl > div {
    padding: 18px 0 0;
  }

  .hinoki-specs dd {
    grid-template-columns: 3em minmax(0, 1fr) auto;
  }

  .spec-value {
    font-size: clamp(1.12rem, 5.1vw, 1.32rem);
  }

  .kitori-diagram-group {
    max-width: none;
  }

  .kitori-board {
    min-height: 620px;
    padding: 28px 18px;
  }

  .kitori-material {
    width: 100%;
    min-height: 320px;
  }

  .kitori-cut {
    left: 42%;
  }

  .kitori-zone-primary {
    width: 35%;
  }

  .kitori-zone-remnant {
    left: 42%;
  }

  .kitori-reuse {
    width: 90%;
    height: 164px;
    margin-top: 30px;
  }

  .kitori-reuse-arrow {
    left: -4%;
    width: 102px;
  }

  .kitori-reuse-label {
    left: 34%;
  }

  .kitori-reuse-piece {
    left: 18%;
    width: 80%;
  }

  .kitori-door-outline {
    right: 8px;
    bottom: 12px;
    width: 76px;
  }

  .kitori-benefits {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .kitori-note {
    margin-inline: 4px;
  }

  .hinoki-media-panel,
  .hinoki-legacy-still {
    height: clamp(460px, 70svh, 620px);
  }

  .production-video-panel {
    height: auto;
    margin-top: 0;
  }

  .hinoki-scene-legacy .hinoki-media-panel {
    max-width: none;
  }

  .hinoki-legacy-still img {
    object-position: 69% 54%;
  }

  .production-bridge-copy .bridge-line-two,
  .production-bridge-copy .bridge-line-three {
    display: block;
  }

  .production-bridge-copy h2 {
    font-size: clamp(1.46rem, 6.15vw, 2rem);
  }

  .production-bridge-copy .heading-line {
    white-space: nowrap;
  }

  .hinoki-button {
    font-size: 0.98rem;
  }

  body.is-service-story-ready .services-section {
    overflow: visible;
  }

  body.is-service-story-ready .service-stack {
    position: relative;
    width: 100%;
    height: var(--service-mobile-stage-height);
    margin-inline: auto;
    padding-bottom: 0;
    overflow: clip;
  }

  body.is-service-story-ready .service-panel {
    position: absolute;
    inset: 0;
    min-height: 0;
    height: var(--service-mobile-stage-height);
    padding-bottom: 0;
    background: transparent;
    border-top: 0;
    pointer-events: none;
  }

  body.is-service-story-ready .service-panel-table {
    z-index: auto;
  }

  body.is-service-story-ready .service-panel-joinery {
    z-index: 3;
  }

  body.is-service-story-ready .service-panel-joinery::before {
    position: absolute;
    top: var(--service-heading-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(245, 238, 226, 0.78), rgba(229, 224, 211, 0.72)),
      var(--background-wood-mist) center / cover no-repeat;
    content: "";
    pointer-events: none;
  }

  body.is-service-story-ready .service-panel + .service-panel {
    margin-top: 0;
  }

  body.is-service-story-ready .service-panel-heading {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 5;
    height: var(--service-heading-height);
    min-height: var(--service-heading-height);
    padding-inline: 0;
    background: rgba(242, 235, 222, 0.9);
    border-top: 1px solid var(--service-line);
  }

  body.is-service-story-ready .service-panel-heading p {
    display: flex;
    align-items: center;
    height: 100%;
  }

  body.is-service-story-ready .service-panel-joinery .service-panel-heading {
    top: var(--service-heading-height);
  }

  body.is-service-story-ready .service-panel-layout {
    position: absolute;
    top: var(--service-heading-height);
    right: 0;
    left: 0;
    display: block;
    z-index: 2;
    padding-top: 18px;
    background:
      linear-gradient(180deg, rgba(245, 238, 226, 0.76), rgba(229, 224, 211, 0.7)),
      var(--background-wood-mist) center / cover no-repeat;
    pointer-events: auto;
    will-change: transform, opacity;
  }

  body.is-service-story-ready .service-panel-joinery .service-panel-layout {
    top: calc(var(--service-heading-height) * 2);
  }

  body.is-service-story-ready .service-media {
    height: var(--service-mobile-media-height);
    overflow: hidden;
    will-change: transform;
  }

  body.is-service-story-ready .service-media img {
    height: 100%;
    transform-origin: center center;
  }

  body.is-service-story-ready .service-panel-table .service-media img {
    object-position: 50% var(--service-image-focus-y-01);
  }

  body.is-service-story-ready .service-panel-joinery .service-media img {
    width: 132%;
    margin-left: -32%;
    object-position: 72% var(--service-image-focus-y-02);
  }

  body.is-service-story-ready .service-copy {
    padding-top: var(--service-mobile-image-gap);
    will-change: transform, opacity;
  }

  body.is-service-story-ready .service-copy p {
    font-size: clamp(0.98rem, 4.25vw, 1.08rem);
    line-height: 1.86;
  }
}

@media (max-width: 380px) {
  .hero-copy {
    width: calc(100% - 44px);
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 8.6vw, 2.24rem);
  }

  .hero-story {
    font-size: clamp(1.34rem, 5.7vw, 1.48rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .hero-slide:not(.is-active),
  .story-layer:not(.is-active) {
    display: none;
  }

  .hinoki-opening {
    min-height: auto;
    padding: clamp(120px, 16vw, 180px) clamp(24px, 8vw, 120px);
  }

  .hinoki-opening-copy {
    position: relative;
    top: auto;
    left: auto;
    width: min(720px, 100%);
    transform: none;
  }

  .hinoki-opening-grain-copy {
    margin-top: clamp(88px, 13vw, 150px);
  }

  .hinoki-join-diagram {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(430px, 100%);
    height: 260px;
    margin: clamp(48px, 8vw, 80px) 0 0 auto;
  }

}
