/* Cross-page design contract. Keep this file last in the stylesheet order. */
:root {
  --layout-section-space: clamp(72px, 7vw, 108px);
  --layout-section-space-mobile: 62px;
  --layout-heading-gap: clamp(32px, 4vw, 52px);
  --layout-copy-width: 760px;
  --layout-button-height: 52px;
  --layout-shell-gutter: clamp(36px, 8vw, 128px);
  --type-display: 58px;
  --type-display-ja: 54px;
  --type-section-title: 44px;
  --type-feature-title: 36px;
  --type-card-title: 22px;
  --type-card-title-medium: 20px;
  --type-card-title-compact: 18px;
  --type-lead: 18px;
  --type-body: 17px;
  --type-card-copy: 16px;
  --type-card-copy-compact: 15px;
  --type-button: 16px;
  --type-nav: 14px;
  --type-form-label: 14px;
  --type-caption: 13px;
  --type-label: 12px;
  --fs-section-text: var(--type-body);
  --fs-card-title: var(--type-card-title);
  --fs-button: var(--type-button);
  --fs-lead: var(--type-lead);
  --fs-meta: var(--type-label);
}

/* 2026-07 mobile clarity: process timeline and PSC layer mapping */
@media (max-width: 760px) {
  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-steps-scroll {
    margin: 0;
    padding: 18px 0 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    min-width: 0;
    width: 100%;
  }

  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-steps > li {
    position: relative;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 18px;
    min-width: 0;
    min-height: 126px;
    padding: 10px 0 28px 24px;
    text-align: left;
    scroll-snap-align: none;
  }

  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-steps > li::before {
    content: "";
    position: absolute;
    display: block;
    left: 6px;
    top: 25px;
    bottom: -8px;
    width: 1px;
    height: auto;
    padding: 0;
    background: rgba(var(--hs-navy-rgb), .22);
    color: transparent;
    transform: none;
  }

  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-steps > li::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 18px;
    width: 9px;
    height: 9px;
    border: 2px solid #b99652;
    border-radius: 50%;
    background: #fff;
    transform: none;
  }

  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-steps > li:last-child::before { display: none; }

  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-step__visual {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 104px;
    height: 100px;
    margin: 8px 0 0;
    overflow: hidden;
    border: 1px solid rgba(var(--hs-navy-rgb), .11);
    border-radius: 3px;
    background: #f2f4f5;
  }

  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-step__visual small {
    top: 6px;
    left: 6px;
    width: 42px;
    height: 42px;
    transform: none;
    font-size: 14px;
  }

  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-steps h4 {
    grid-column: 2;
    align-self: end;
    min-height: 0;
    margin: 12px 0 0;
    font-size: 17px;
    line-height: 1.5;
    word-break: keep-all;
  }

  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-steps p {
    grid-column: 2;
    margin: 6px 0 0;
    font-size: 13px !important;
    line-height: 1.7;
  }

  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-steps :is(h4, p) br { display: none; }

  body.energy-page main#top .psc-cell-diagram { min-height: 550px; height: auto; aspect-ratio: auto; }
  body.energy-page main#top .psc-cell-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-content: normal;
    padding: 52px 14px 16px;
  }

  body.energy-page main#top .psc-cell-layer {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 5px 10px;
    min-height: 69px;
    padding: 9px 10px;
    border: 1px solid rgba(var(--hs-navy-rgb), .12);
    border-radius: 3px;
    background: rgba(255,255,255,.88);
  }

  body.energy-page main#top .psc-cell-layer > b {
    display: grid;
    grid-row: 1 / 3;
    place-items: center;
    width: 28px;
    color: #b18337;
    font-family: var(--font-en);
    font-size: 10px;
  }

  body.energy-page main#top .psc-cell-layer__label {
    grid-column: 2;
    text-align: left;
    font-size: 11px;
    line-height: 1.35;
  }

  body.energy-page main#top .psc-cell-layer__label small { display: inline; margin: 0 0 0 6px; }
  body.energy-page main#top .psc-cell-layer__film {
    grid-column: 2;
    width: 100%;
    min-width: 0;
    transform: none;
  }
  body.energy-page main#top .psc-cell-layer--tco::after {
    right: 12px;
    bottom: 6px;
    font-size: 7px;
  }
}

@media (min-width: 761px) {
  body.energy-page main#top .psc-cell-layer > b { display: none; }
}

/* Mobile QA pass: compact long-form pages without sacrificing content. */
@media (max-width: 760px) {
  body main .text-link,
  body.furniture-page main#top :is(.fur-photo-card, .fur-cases__grid) a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 8px;
  }

  body.furniture-page main#top .fur-oem-process__grid {
    gap: 0;
  }

  body.furniture-page main#top .fur-oem-process__grid > li {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-height: 132px;
    padding-block: 14px;
    border-bottom: 1px solid rgba(var(--hs-navy-rgb), .12);
  }

  body.furniture-page main#top .fur-oem-process__grid > li:last-child {
    border-bottom: 0;
  }

  body.furniture-page main#top .fur-oem-process__visual {
    width: 104px;
    height: 104px;
    margin: 0;
    aspect-ratio: 1;
    border-radius: 7px;
  }

  body.furniture-page main#top .fur-oem-process__visual small {
    top: 6px;
    left: 6px;
    width: 38px;
    height: 38px;
    border-radius: 5px;
    font-size: 13px;
  }

  body.furniture-page main#top .fur-oem-process__visual small span {
    margin-bottom: 2px;
    font-size: 6px;
  }

  body.furniture-page main#top .fur-oem-process__copy {
    min-width: 0;
    padding: 0;
  }

  body.furniture-page main#top .fur-oem-process__meta {
    margin-bottom: 3px;
    font-size: 10px;
  }

  body.furniture-page main#top .fur-oem-process__copy > p:last-child {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.65;
  }

  body.furniture-page main#top .fur-materials__visual,
  body.furniture-page main#top .fur-materials__photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  body.furniture-page main#top .fur-cases__grid article {
    min-height: 0;
  }

  body.furniture-page main#top .fur-cases__grid a {
    width: 100%;
    justify-content: space-between;
    margin-top: 12px;
    border-top: 1px solid rgba(var(--hs-navy-rgb), .1);
  }

  body.energy-page main#top .psc-cell-layer__label,
  body.energy-page main#top .psc-cell-layer__label small {
    font-size: 12px;
  }

  body main#top .privacy-consent {
    min-height: 48px;
    padding-block: 6px;
  }

  body main#top .privacy-consent .privacy-link,
  body main#top .site-contact .contact-phone a {
    min-height: 44px;
  }
}

@media (min-width: 341px) and (max-width: 760px) {
  body.furniture-page main#top .fur-projects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Shared process orientation: make step order explicit without changing content. */
.process-direction {
  display: grid;
  grid-template-columns: auto minmax(34px, 96px) auto minmax(34px, 96px) auto;
  gap: clamp(10px, 1.4vw, 18px);
  align-items: center;
  justify-content: center;
  width: min(100%, 680px);
  margin: 0 auto clamp(28px, 3vw, 42px);
  color: #536376;
  font-family: var(--font-ui, sans-serif);
  font-size: var(--fs-13, 13px);
  font-weight: 700;
  letter-spacing: .035em;
}

.process-direction span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid rgba(183, 149, 85, .46);
  border-radius: 999px;
  background: #fff;
  color: #8d6927;
  font-family: var(--font-label, sans-serif);
  font-size: 11px;
  letter-spacing: .1em;
}

.process-direction i {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, rgba(183, 149, 85, .34), rgba(183, 149, 85, .9));
}

.process-direction i::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid #b79555;
  border-right: 1px solid #b79555;
  transform: translateY(-50%) rotate(45deg);
}

.process-direction strong {
  color: #173858;
  font-size: var(--fs-14, 14px);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .process-direction {
    grid-template-columns: auto minmax(24px, 1fr) auto;
    width: 100%;
    margin-bottom: 26px;
  }

  .process-direction i:first-of-type,
  .process-direction strong {
    display: none;
  }

  .process-direction i:last-of-type {
    grid-column: 2;
    grid-row: 1;
  }

  .process-direction span:last-child {
    grid-column: 3;
    grid-row: 1;
  }
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-body);
}

body main :where(h1, h2, h3, p, li, dt, dd, th, td, a, button, strong, small, span) {
  min-width: 0;
  max-width: 100%;
}

body main :where(h1, h2, h3, p, li, dt, dd, th, td, a, button) {
  max-height: none;
  overflow-wrap: anywhere;
  word-break: normal;
}

body main :where(h1, h2) {
  font-family: var(--font-heading);
  font-weight: var(--fw-heading);
  text-wrap: balance;
}

body main :where(h3) {
  font-family: var(--font-heading);
  font-size: var(--fs-card-title);
  font-weight: var(--fw-heading);
  line-height: 1.45;
  text-wrap: balance;
}

body main :is(
  .container,
  .arch-container,
  .psc-container,
  .fur-shell,
  .faq-inner,
  .why-visual__inner,
  .furniture-oem-visual__inner,
  .contact-inner
) {
  width: min(calc(100% - var(--layout-shell-gutter)), var(--container));
  margin-right: auto;
  margin-left: auto;
}

body main :is(
  .hero-title,
  .arch-hero h1,
  .psc-v2-hero__copy h1,
  .fur-hero h1
) {
  font-size: clamp(var(--fs-42), 4.4vw, var(--fs-68));
  line-height: 1.25;
  letter-spacing: var(--ls-heading);
  white-space: normal;
}

body.home-page main#top .hero-title,
body.energy-page main .psc-v2-hero__copy h1,
body.furniture-page main .fur-hero h1 {
  font-size: clamp(var(--fs-42), 4.4vw, var(--fs-68));
  line-height: 1.25;
  letter-spacing: var(--ls-heading);
  white-space: normal;
}

body main :is(
  .mission__title,
  .business-experience__title,
  .section-heading-title,
  .furniture-oem-visual__header h2,
  .why-visual__header h2,
  .faq-title,
  .news h2,
  .company-title,
  .contact-title,
  .contact-form-section .contact-heading h2
),
body.energy-page main .psc-v2-section-head h2,
body.furniture-page main .fur-title-row h2 {
  margin-top: 0;
  font-family: var(--font-heading);
  font-size: var(--fs-section-heading-title);
  font-weight: var(--fw-heading);
  line-height: 1.3;
  letter-spacing: var(--ls-heading);
  text-align: inherit;
}

body.home-page main#top :is(.mission__title, .business-experience__title),
body main#top > .furniture-oem-visual .furniture-oem-visual__header h2,
body.home-page main#top > #strength.why-visual .why-visual__header h2,
body.home-page main#top > #company .company-title {
  font-family: var(--font-heading);
  font-size: var(--fs-section-heading-title);
  font-weight: var(--fw-heading);
  line-height: 1.3;
  letter-spacing: var(--ls-heading);
  text-align: inherit;
}

body.energy-page main .psc-v2-mission__content h2{
  font-size: clamp(var(--fs-32), 3vw, var(--fs-40));
  line-height: 1.4;
}

body main :is(
  .section-heading,
  .furniture-oem-visual__header,
  .why-visual__header,
  .faq-head,
  .contact-heading
),
body.energy-page main .psc-v2-section-head,
body.furniture-page main .fur-title-row {
  justify-items: center;
  width: min(100%, var(--section-copy-width));
  margin-right: auto;
  margin-bottom: var(--layout-heading-gap);
  margin-left: auto;
  text-align: center;
}


body.energy-page main .psc-v2-section-head > p:last-child{
  width: min(100%, var(--layout-copy-width));
  margin-right: auto;
  margin-left: auto;
  font-family: var(--font-body);
  font-size: var(--fs-section-text);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0;
  text-align: inherit;
}

body main :is(
  .section-kicker,
  .psc-v2-eyebrow,
  .fur-kicker,
  .faq-kicker,
  .contact-kicker
) {
  font-family: var(--font-label);
  font-size: var(--fs-label);
  font-weight: var(--fw-label);
  line-height: 1.45;
  letter-spacing: var(--ls-label);
}


body .footer-contact-button{
  min-height: var(--layout-button-height);
  max-width: 100%;
  padding: 11px 28px;
  border-radius: var(--card-radius);
  font-family: var(--font-body);
  font-size: var(--fs-button);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .02em;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

body main :is(.arch-section, .psc-v2-section, .psc-v2-technology, .psc-v2-mission, .fur-section) {
  min-height: 0;
  padding-top: var(--layout-section-space);
  padding-bottom: var(--layout-section-space);
}

body.energy-page main :is(.psc-v2-section, .psc-v2-technology, .psc-v2-mission) {
  min-height: 0;
  padding-top: var(--layout-section-space);
  padding-bottom: var(--layout-section-space);
}

body main :is(.news, .company) {
  padding-top: var(--layout-section-space);
  padding-bottom: var(--layout-section-space);
}

body main .faq {
  min-height: 0;
  padding-top: var(--layout-section-space);
  padding-bottom: var(--layout-section-space);
}

body main .site-contact {
  min-height: 0;
  padding-top: var(--layout-section-space);
  padding-bottom: var(--layout-section-space);
}

body main#top > #contact.site-contact {
  min-height: 0;
  padding-top: var(--layout-section-space);
  padding-bottom: var(--layout-section-space);
}

body main#top > #contact.site-contact .contact-inner {
  width: min(calc(100% - var(--layout-shell-gutter)), var(--container));
}

body main#top > #contact.site-contact .contact-panel {
  gap: clamp(22px, 2.4vw, 34px);
}

body main#top > #contact.site-contact .contact-title {
  font-size: var(--fs-section-heading-title);
  line-height: 1.3;
}

body main#top > #contact.site-contact .home-contact-card {
  min-height: clamp(280px, 30svh, 360px);
}

body main .site-contact .contact-panel {
  gap: clamp(22px, 2.4vw, 34px);
}

body main .site-contact .home-contact-card {
  min-height: clamp(280px, 30svh, 360px);
  gap: clamp(12px, 1.3vw, 18px);
}

body main .site-contact .home-contact-card > p {
  width: min(100%, 34em);
  margin: -2px auto 0;
  color: var(--text);
  font-size: var(--fs-body);
  line-height: 1.7;
  text-align: center;
}

.mega-menu__meta,
.mobile-nav__business-meta {
  overflow-wrap: anywhere;
}

.mega-menu__meta {
  font-size: 11px;
  letter-spacing: .1em;
}

.site-footer :where(a, button, p, span, small) {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.site-footer .footer-main,
.site-footer .footer-bottom-inner {
  align-items: start;
}

.site-footer .footer-contact-button {
  width: 100%;
}

@media (max-width: 1100px) {
  .site-footer .footer-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --layout-heading-gap: 32px;
  }

  body main :is(
    .hero-title,
    .arch-hero h1,
    .psc-v2-hero__copy h1,
    .fur-hero h1
  ) {
    font-size: clamp(var(--fs-34), 10vw, var(--fs-46));
    line-height: 1.35;
  }

  body.home-page main#top .hero-title,
  body.energy-page main .psc-v2-hero__copy h1,
  body.furniture-page main .fur-hero h1 {
    font-size: clamp(var(--fs-34), 10vw, var(--fs-46));
    line-height: 1.35;
  }

  body main :is(
    .mission__title,
    .business-experience__title,
    .section-heading-title,
    .furniture-oem-visual__header h2,
    .why-visual__header h2,
    .faq-title,
    .news h2,
    .company-title,
    .contact-title,
    .contact-form-section .contact-heading h2
  ),
  body.energy-page main .psc-v2-section-head h2,
  body.furniture-page main .fur-title-row h2 {
    font-size: var(--fs-section-heading-title-mobile);
    line-height: 1.42;
  }

  body.home-page main#top :is(.mission__title, .business-experience__title),
  body main#top > .furniture-oem-visual .furniture-oem-visual__header h2,
  body.home-page main#top > #strength.why-visual .why-visual__header h2,
  body.home-page main#top > #company .company-title,
  body main#top > #contact.site-contact .contact-title {
    font-size: var(--fs-section-heading-title-mobile);
    line-height: 1.42;
  }

  body main :is(.arch-section, .psc-v2-section, .psc-v2-technology, .psc-v2-mission, .fur-section, .news, .company, .faq, .site-contact) {
    padding-top: var(--layout-section-space-mobile);
    padding-bottom: var(--layout-section-space-mobile);
  }

  body.energy-page main :is(.psc-v2-section, .psc-v2-technology, .psc-v2-mission) {
    padding-top: var(--layout-section-space-mobile);
    padding-bottom: var(--layout-section-space-mobile);
  }

  body main#top > #contact.site-contact {
    padding-top: var(--layout-section-space-mobile);
    padding-bottom: var(--layout-section-space-mobile);
  }

  body main :is(h1, h2, h3, p) > br {
    display: none;
  }

  body main :where(h1, h2, h3, p, li, strong, a, button),
  body main :where([class*="label"], [class*="caption"], [class*="title"], [class*="tag"]) {
    white-space: normal;
  }

  body main :is(.contact-phone-number, .contact-hours) {
    white-space: nowrap;
  }

  
  body.energy-page main .psc-v2-section-head > p:last-child{
    font-size: var(--fs-body);
  }

  .site-footer .footer-columns {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-column,
  .site-footer .footer-contact-panel {
    padding-left: 0;
    border-left: 0;
  }
}

/*
 * Section-copy alignment contract
 *
 * Titles, kickers and introductory copy are centered at every viewport size.
 * The left-aligned exceptions are each page's first view and Mission, plus
 * the Index Business section.
 */

/* Index sections, excluding its intentionally left-aligned Hero/Mission/Business. */
body.home-page main#top :is(
  .furniture-oem-visual__header,
  .why-visual__header,
  .section-heading,
  .faq-head,
  .home-contact-heading
) {
  justify-items: center;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}


body.home-page main#top > #news h2,
body.home-page main#top > #company .company-title{
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

/* PSC section introductions and the final consultation. Mission stays left. */
body.energy-page main#top .psc-v2-section-head,
body.energy-page main#top .psc-v2-section-head > :is(.psc-v2-eyebrow, h2, p, small) {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

body.energy-page main#top .psc-v2-final .psc-container {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

body.energy-page main#top .psc-v2-final__copy,
body.energy-page main#top .psc-v2-final__copy > :is(.psc-v2-eyebrow, h2, p) {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

body.energy-page main#top .psc-v2-final__actions {
  align-items: center;
}

/* Architecture section and contact introductions. */
body[data-page="architecture"] main#top :is(.section-heading, .contact-heading),
body[data-page="architecture"] main#top :is(.section-heading, .contact-heading) > :is(.section-kicker, h2, p) {
  justify-items: center;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

/* Furniture headings, the process introduction and final consultation. */
body.furniture-page main#top :is(.fur-title-row, .furniture-oem-visual__header) {
  justify-items: center;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

body.furniture-page main#top .fur-oem-process__header {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  width: min(100%, var(--layout-copy-width));
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

body.furniture-page main#top .fur-oem-process__header > p {
  margin-right: auto;
  margin-left: auto;
  padding-left: 0;
  border-left: 0;
  text-align: center;
}

body.furniture-page main#top .fur-oem-process__visual {
  height: auto;
  aspect-ratio: 4 / 3;
  background: #f7f3ed;
}

body.furniture-page main#top .fur-oem-process__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.furniture-page main#top .fur-cta__inner {
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  text-align: center;
}

body.furniture-page main#top .fur-cta__inner > div:first-child,
body.furniture-page main#top .fur-cta__inner > div:first-child > :is(.fur-kicker, h2, p) {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

body.furniture-page main#top .fur-cta .fur-actions {
  justify-content: center;
}

/* The standalone contact page follows the same centered introduction rule. */
body main#top .contact-form-section .contact-heading,
body main#top .contact-form-section .contact-heading > :is(.contact-kicker, h2, p) {
  justify-items: center;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

/* High-specificity normalization for legacy page rules. */
body.home-page main#top > #strength.why-visual p.why-visual__kicker,
body.energy-page main#top p.psc-v2-product-code {
  font-family: var(--font-label);
  font-size: var(--type-label);
  font-weight: var(--fw-label);
  line-height: 1.5;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-steps p,
body[data-page="architecture"] main#top .arch-flow-card p{
  font-family: var(--font-body);
  font-size: var(--type-card-copy);
  line-height: 1.75;
  letter-spacing: 0;
}

body[data-page="architecture"] main#top .arch-flow-card h3{
  font-family: var(--font-heading);
  font-size: var(--type-card-title);
  font-weight: var(--fw-heading);
  line-height: 1.5;
  letter-spacing: var(--ls-heading);
}

body main .contact-form-section#contact-form-section .contact-heading > p:last-child {
  font-family: var(--font-body);
  font-size: var(--type-lead);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0;
}

body main .contact-form-section#contact-form-section .contact-title {
  font-size: var(--type-section-title);
  line-height: 1.35;
}

/*
 * Shared light-section surface
 *
 * Image-led heroes and intentionally dark feature bands remain untouched.
 * Informational sections share this quiet blue-white paper base across pages.
 */
:root {
  --hs-section-surface:
    linear-gradient(180deg, rgba(255, 255, 255, .84), rgba(246, 248, 249, .96)),
    var(--paper-texture);
  --hs-section-divider: rgba(18, 41, 71, .075);
}

body.home-page main#top > :is(#strength.why-visual, #faq.faq, #company.company, #contact.site-contact),
body.energy-page main#top > :is(.psc-v2-technology, .psc-v2-products, .psc-v2-consultation, .psc-v2-examples),
body[data-page="architecture"] main#top > :is(.arch-scope, .arch-consult, .arch-flow, .arch-reasons, .arch-cases, #contact.site-contact),
body.furniture-page main#top > :is(.furniture-oem-visual, .fur-needs, .fur-oem-process, .fur-method, .fur-materials, .fur-projects, .fur-cases) {
  border-top: 1px solid var(--hs-section-divider);
  background: var(--hs-section-surface);
}

/* Home delivery path: larger titles with deliberate, balanced desktop wraps. */
body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-steps h4 {
  min-height: 3.25em;
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.42vw, 22px);
  font-weight: var(--fw-heading);
  line-height: 1.48;
  letter-spacing: var(--ls-heading);
  text-wrap: balance;
}

/* Carry the same process-title hierarchy into each business page. */
body.energy-page main#top .psc-v2-check-grid article h3,
body[data-page="architecture"] main#top .arch-flow-card h3,
body.furniture-page main#top .fur-oem-process__copy h3 {
  font-size: clamp(19px, 1.45vw, 22px);
  line-height: 1.5;
  text-wrap: balance;
}

@media (max-width: 760px) {
  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-steps h4 {
    min-height: 0;
    font-size: 18px;
  }
}

@media (max-width: 1100px) and (min-width: 761px) {
  :root {
    --type-display: 52px;
    --type-display-ja: 46px;
    --type-section-title: 40px;
    --type-lead: 17px;
  }
}

@media (max-width: 420px) {
  :root {
    --container-gutter: 22px;
  }

  body main :is(h1, h2, h3) {
    text-wrap: pretty;
  }

  .contact-phone-number {
    font-size: clamp(30px, 10.5vw, 42px);
  }

  .footer-bottom-inner,
  .footer-legal {
    align-items: flex-start;
  }
}

/* Unified cross-page typography hierarchy. */
body :is(.global-nav, .global-nav__link, .header-contact) {
  font-family: var(--font-ui);
  font-size: var(--type-nav);
  font-weight: var(--fw-nav);
  line-height: 1.45;
  letter-spacing: var(--ls-nav);
}

body :is(.mega-menu__title, .mobile-nav__business-title) {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: var(--fw-heading);
  line-height: 1.45;
  letter-spacing: var(--ls-heading);
}

body :is(.mega-menu__text, .mega-menu__action, .mobile-nav a) {
  font-family: var(--font-ui);
  font-size: var(--type-nav);
  line-height: 1.65;
  letter-spacing: 0;
}

body.home-page main#top h1.hero-title {
  font-size: var(--type-display);
  line-height: 1.25;
  letter-spacing: var(--ls-heading);
}

body.energy-page main#top .psc-v2-hero h1,
body[data-page="architecture"] main#top .arch-hero h1,
body.furniture-page main#top .fur-hero h1 {
  font-size: var(--type-display-ja);
  line-height: 1.25;
  letter-spacing: var(--ls-heading);
}

body.home-page main#top :is(
  .mission__title,
  .business-experience__title,
  .furniture-oem-visual__header h2,
  .why-visual__header h2,
  .faq-title,
  .news h2,
  .company-title,
  .contact-title
),
body.energy-page main#top :is(.psc-v2-section-head h2, .psc-v2-mission__content h2),
body[data-page="architecture"] main#top :is(.section-heading-title, .contact-title),
body main .contact-form-section .contact-title{
  font-family: var(--font-heading);
  font-size: var(--type-section-title);
  font-weight: var(--fw-heading);
  line-height: 1.35;
  letter-spacing: var(--ls-heading);
}

body.home-page main#top :is(.hero-kicker, .why-visual__kicker, .faq-kicker),
body.energy-page main#top :is(.psc-kicker, .psc-v2-eyebrow, .psc-v2-product-code),
body[data-page="architecture"] main#top .section-kicker,
body.furniture-page main#top .fur-kicker,
body main .contact-form-section .contact-kicker,
body :is(.mega-menu__meta, .mobile-nav__business-meta, .footer-column-title){
  font-family: var(--font-label);
  font-size: var(--type-label);
  font-weight: var(--fw-label);
  line-height: 1.5;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

/* Shared process-step label: page styles own only spacing and color. */
body main#top :is(.process-step-label, .fur-oem-process__meta) {
  font-family: var(--font-label);
  font-size: var(--type-label) !important;
  font-weight: var(--fw-label);
  line-height: 1.5;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}


body.energy-page main#top :is(.psc-v2-hero__copy > p:last-of-type, .psc-v2-section-head > p:last-child, .psc-v2-mission__text, .psc-v2-final__copy > p:last-child),
body main .contact-form-section .contact-heading > p:last-child{
  font-family: var(--font-body);
  font-size: var(--type-lead);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0;
}

body.home-page main#top article h3,
body.energy-page main#top article h3,
body[data-page="architecture"] main#top article h3,
body.furniture-page main#top article h3,
body main#top :is(.flow-card, .faq-item, .home-contact-card) h3 {
  font-family: var(--font-heading);
  font-size: var(--type-card-title);
  font-weight: var(--fw-heading);
  line-height: 1.5;
  letter-spacing: var(--ls-heading);
}

body.home-page main#top :is(.furniture-oem-card, .reason-panel, .faq-item, .home-contact-card) :is(p, li, dd),
body.energy-page main#top :is(.psc-v2-properties, .psc-v2-product-grid, .psc-v2-check-grid, .psc-v2-capability-grid, .psc-v2-example-grid) :is(p, li, dd),
body[data-page="architecture"] main#top :is(.arch-image-card, .arch-flow-card, .arch-reason-card, .arch-case-card) :is(p, li, dd){
  font-family: var(--font-body);
  font-size: var(--type-card-copy) !important;
  line-height: 1.75;
  letter-spacing: 0;
}

body.energy-page main#top :is(
  .psc-v2-properties span,
  .psc-v2-layer-diagram__head > div > p,
  .psc-v2-example-grid article > div > span
),
body[data-page="architecture"] main#top .arch-card-num,
body.furniture-page main#top :is(
  .fur-mini-card__icon,
  .fur-photo-card > div > span,
  .fur-cases__grid article > div > span
) {
  font-family: var(--font-label);
  font-size: var(--type-label);
  font-weight: var(--fw-label);
  line-height: 1.5;
  letter-spacing: .12em;
}


body :is(.header-contact, .footer-contact-button){
  font-family: var(--font-ui);
  font-size: var(--type-button);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .02em;
}

body .site-footer .footer-column-title {
  font-family: var(--font-label);
  font-size: var(--type-label);
  font-weight: var(--fw-label);
  line-height: 1.5;
  letter-spacing: var(--ls-label);
}

body .site-footer :is(.footer-link-list a, .footer-link-list span, .footer-contact p, .footer-tagline) {
  font-family: var(--font-body);
  font-size: var(--type-nav);
  line-height: 1.7;
  letter-spacing: 0;
}

body main .contact-form-section .form-label {
  font-family: var(--font-ui);
  font-size: var(--type-form-label);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .01em;
}

body main .contact-form-section :is(input, select, textarea) {
  font-family: var(--font-ui);
  font-size: var(--type-button);
  line-height: 1.6;
  letter-spacing: 0;
}

@media (max-width: 760px) {
  :root {
    --type-display: 40px;
    --type-display-ja: 38px;
    --type-section-title: 34px;
    --type-feature-title: 30px;
    --type-card-title: 20px;
    --type-lead: 17px;
    --type-body: 16px;
    --type-card-copy: 15px;
    --type-button: 16px;
  }
}

body.energy-page main#top p.psc-v2-product-code {
  font-family: var(--font-label);
  font-size: var(--type-label);
  font-weight: var(--fw-label);
  line-height: 1.5;
  letter-spacing: var(--ls-label);
}

body[data-page="architecture"] main#top .arch-flow-list > li.arch-flow-card > p{
  font-family: var(--font-body);
  font-size: var(--type-card-copy-compact) !important;
  line-height: 1.75;
  letter-spacing: 0;
}

/* Optical sizing for dense multi-column components. */
body[data-page="architecture"] main#top :is(.arch-flow-card, .arch-case-card) h3{
  font-size: var(--type-card-title-compact) !important;
  line-height: 1.55;
  letter-spacing: var(--ls-heading);
}

body.energy-page main#top :is(.psc-v2-properties, .psc-v2-example-grid) h3 {
  font-size: var(--type-card-title-medium) !important;
  line-height: 1.5;
}

body[data-page="architecture"] main#top .arch-flow-card p,
body.energy-page main#top .psc-v2-properties p{
  font-size: var(--type-card-copy-compact) !important;
  line-height: 1.75;
}

body[data-page="architecture"] main#top .arch-simple-card {
  font-family: var(--font-body);
  font-size: var(--type-card-copy);
  line-height: 1.7;
}

body.furniture-page main#top > .furniture-oem-visual .furniture-oem-visual__header h2 {
  font-size: var(--type-section-title);
  line-height: 1.35;
}

@media (max-width: 1100px) {
  body.home-page main#top .business-scene h3 {
    font-size: var(--type-card-title-medium);
    line-height: 1.5;
    white-space: normal;
  }
}

/* First-view contract: Index is the shared master for all business pages. */
body.home-page main#top h1.hero-title,
body.energy-page main#top .psc-v2-hero__copy h1,
body.furniture-page main#top .fur-hero h1,
body[data-page="architecture"] main#top .arch-hero h1 {
  font-size: 48px;
  line-height: 1.25;
  letter-spacing: var(--ls-heading);
}

body.home-page main#top .hero .actions,
body.energy-page main#top .psc-v2-hero__actions,
body.furniture-page main#top .fur-hero .fur-actions,
body[data-page="architecture"] main#top .arch-hero__actions {
  gap: 12px;
  margin-top: 28px;
}

body.home-page main#top .hero .actions .button,
body.energy-page main#top .psc-v2-hero__actions .button,
body.furniture-page main#top .fur-hero .fur-button,
body[data-page="architecture"] main#top .arch-hero__actions .button {
  min-width: 0;
  min-height: 52px;
  padding: 11px 28px;
  gap: 14px;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .02em;
}

body.energy-page main#top .psc-v2-hero__actions .psc-button--gold,
body.furniture-page main#top .fur-hero .fur-button--primary,
body[data-page="architecture"] main#top .arch-hero__actions .arch-button--primary {
  --button-base-bg: rgba(211, 189, 134, .88);
  --button-fill-bg: #e4c778;
  --button-hover-color: #06182a;
  border-color: rgba(211, 189, 134, .82);
  color: #06182a;
  background-color: rgba(211, 189, 134, .88);
  box-shadow: none;
}

body.energy-page main#top .psc-v2-hero__actions .psc-button--glass,
body.furniture-page main#top .fur-hero .fur-button--light,
body[data-page="architecture"] main#top .arch-hero__actions .arch-button--light {
  --button-base-bg: rgba(255, 255, 255, .08);
  --button-fill-bg: var(--gold);
  --button-hover-color: #06182a;
  border-color: rgba(255, 255, 255, .26);
  color: #fff;
  background-color: rgba(255, 255, 255, .08);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 760px) {
  body.home-page main#top h1.hero-title,
  body.energy-page main#top .psc-v2-hero__copy h1,
  body.furniture-page main#top .fur-hero h1,
  body[data-page="architecture"] main#top .arch-hero h1 {
    font-size: 36px;
    line-height: 1.3;
  }

  body.home-page main#top .hero .actions .button,
  body.energy-page main#top .psc-v2-hero__actions .button,
  body.furniture-page main#top .fur-hero .fur-button,
  body[data-page="architecture"] main#top .arch-hero__actions .button {
    min-height: 52px;
    padding: 11px 22px;
    font-size: 16px;
  }

  body.energy-page main#top .psc-v2-hero__copy {
    width: 100%;
  }
}

/*
 * Corporate-site section rhythm
 *
 * Keep section introductions compact and predictable: a small title-to-copy
 * gap, followed by a moderate gap before the first diagram, card or table.
 * The Index first view and Mission are intentionally outside this contract.
 */
:root {
  --layout-intro-title-gap: clamp(16px, 1.35vw, 22px);
  --layout-intro-visual-gap: clamp(32px, 2.8vw, 44px);
  --layout-heading-gap: var(--layout-intro-visual-gap);
}

/* Index sections after the first view and Mission. */
body.home-page main#top .business-experience__inner {
  gap: var(--layout-intro-title-gap);
}

body.home-page main#top .business-scenes {
  margin-top: 14px;
}

body.home-page main#top > #strength.why-visual .why-visual__header {
  margin-bottom: var(--layout-intro-visual-gap);
}

/* PSC page section introductions. The PSC Mission keeps its own composition. */
body.energy-page main#top .psc-v2-section-head {
  margin-bottom: var(--layout-intro-visual-gap);
}

body.energy-page main#top .psc-v2-section-head > p:last-child:not(.psc-v2-eyebrow) {
  margin-top: var(--layout-intro-title-gap);
}

body.energy-page main#top .psc-v2-section-head > small {
  margin-top: 10px;
}

body.energy-page main#top .psc-v2-final__copy > p:last-child {
  margin-top: var(--layout-intro-title-gap);
}

/* Architecture and standalone contact introductions. */
body[data-page="architecture"] main#top .arch-section__head,
body main .contact-form-section .contact-form-shell {
  row-gap: var(--layout-intro-visual-gap);
}

body[data-page="architecture"] main#top .arch-section__head {
  margin-bottom: var(--layout-intro-visual-gap);
}

body main .contact-form-section .contact-heading > p:last-child {
  margin-top: var(--layout-intro-title-gap);
}

body main .contact-form-section .contact-heading {
  margin-bottom: 0;
}

/* Furniture section headings and the one-stop OEM process introduction. */
body.furniture-page main#top .fur-title-row {
  margin-bottom: var(--layout-intro-visual-gap);
}

body.furniture-page main#top .fur-oem-process__header {
  gap: var(--layout-intro-title-gap);
  margin-bottom: var(--layout-intro-visual-gap);
}

body.furniture-page main#top .fur-oem-process__header > p {
  margin-bottom: 0;
}

body.furniture-page main#top .fur-cta__inner > div:first-child > p:last-child {
  margin-top: var(--layout-intro-title-gap);
}

@media (max-width: 760px) {
  :root {
    --layout-intro-title-gap: 14px;
    --layout-intro-visual-gap: 30px;
  }

  body.home-page main#top .business-scenes {
    margin-top: 10px;
  }
}

/*
 * Mobile experience polish
 *
 * The final mobile cascade is intentionally kept here so every page follows
 * the same reading width, touch-target, image-ratio and vertical-rhythm rules.
 */
@media (max-width: 760px) {
  :root {
    --layout-shell-gutter: 36px;
    --layout-section-space-mobile: 56px;
    --layout-heading-gap: 28px;
    --layout-button-height: 52px;
    --type-display: 36px;
    --type-display-ja: 34px;
    --type-section-title: 30px;
    --type-feature-title: 27px;
    --type-card-title: 19px;
    --type-card-title-medium: 18px;
    --type-card-title-compact: 17px;
    --type-lead: 16px;
    --type-body: 16px;
    --type-card-copy: 15px;
    --type-card-copy-compact: 15px;
    --type-button: 16px;
    --type-nav: 14px;
    --type-caption: 12px;
    --type-label: 11px;
  }

  html {
    scroll-padding-top: calc(var(--header-h) + 12px);
  }

  body {
    font-size: var(--type-body);
    line-height: 1.75;
    letter-spacing: 0;
  }

  body main :is(p, li, dt, dd, th, td) {
    font-size: var(--type-body);
    line-height: 1.75;
    letter-spacing: 0;
  }

  body main :is(h1, h2, h3) {
    line-break: strict;
    text-wrap: pretty;
  }

  body main :is(.container, .arch-container, .psc-container, .fur-shell, .faq-inner, .why-visual__inner, .contact-inner),
  body main#top > #contact.site-contact .contact-inner {
    width: calc(100% - var(--layout-shell-gutter));
  }

  .site-header {
    height: var(--header-h);
  }

  .header-inner {
    width: calc(100% - 24px);
    gap: 8px;
  }

  .brand {
    gap: 7px;
  }

  .brand-mark {
    font-size: 23px;
  }

  .brand-name {
    max-width: 8.2em;
    font-size: 14px;
  }

  .header-actions {
    gap: 7px;
  }

  .language-switcher__toggle {
    gap: 6px;
    min-height: 44px;
    padding-left: 10px;
    font-size: 13px;
  }

  .language-switcher__menu {
    right: -51px;
    min-width: 150px;
  }

  .hamburger {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 6px;
  }

  .mobile-nav {
    max-height: calc(100dvh - var(--header-h));
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    overscroll-behavior: contain;
  }

  .mobile-nav a,
  .mobile-nav__summary {
    min-height: 52px;
    padding: 14px 20px;
  }

  .mobile-nav__summary::after {
    right: 22px;
  }

  .mobile-nav__panel {
    gap: 8px;
    padding: 10px 14px 16px;
  }

  .mobile-nav .mobile-nav__business-link {
    min-height: 68px;
    padding: 12px 14px;
  }

  
  body .footer-contact-button{
    min-height: 52px;
    padding: 12px 20px;
  }

  body main :is(.section-heading-title, .faq-title, .company-title, .contact-title),
  body.energy-page main#top .psc-v2-section-head h2,
  body[data-page="architecture"] main#top .section-heading-title,
  body.furniture-page main#top .fur-title-row h2,
  body main .contact-form-section .contact-title {
    font-size: var(--type-section-title);
    line-height: 1.4;
  }

  
  body.energy-page main#top .psc-v2-section-head > p:last-child{
    font-size: var(--type-lead);
    line-height: 1.75;
  }

  body main :is(.section-kicker, .psc-v2-eyebrow, .fur-kicker, .faq-kicker, .contact-kicker) {
    font-size: var(--type-label);
    letter-spacing: .13em;
  }

  /* Index: compact first view, readable mission and an obvious swipe pattern. */
  body.home-page main#top .hero-inner {
    width: calc(100% - 36px);
  }

  body.home-page main#top h1.hero-title {
    font-size: clamp(33px, 9.4vw, 37px);
    line-height: 1.28;
  }

  body.home-page main#top .hero-kicker {
    max-width: 25em;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: .14em;
  }

  body.home-page main#top .hero-thought {
    font-size: 16px;
    line-height: 1.7;
  }

  body.home-page main#top .hero .actions {
    gap: 10px;
    margin-top: 24px;
  }

  body.home-page main#top .mission__inner,
  body.home-page main#top .business-experience__inner {
    width: calc(100% - 36px);
  }

  body.home-page main#top .mission__title,
  body.home-page main#top .business-experience__title {
    font-size: 30px;
    line-height: 1.42;
  }

  body.home-page main#top .mission__text {
    font-size: 15px;
    line-height: 1.9;
  }

  body.home-page main#top > #strength.why-visual .reason-panel {
    border-radius: 10px;
  }

  body.home-page main#top > #strength.why-visual .reason-panel__header {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 16px;
  }

  body.home-page main#top > #strength.why-visual .reason-panel__number {
    width: 46px;
    height: 46px;
    border-radius: 7px;
    font-size: 20px;
  }

  body.home-page main#top > #strength.why-visual .reason-panel__header h3 {
    font-size: 19px;
    line-height: 1.5;
  }

  body.home-page main#top > #strength.why-visual .reason-panel__header p {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.75;
  }

  body.home-page main#top > #strength.why-visual .delivery-steps-scroll {
    margin-inline: -18px;
    padding: 30px 18px 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-inline: 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  body.home-page main#top > #strength.why-visual .delivery-steps {
    grid-template-columns: repeat(8, minmax(176px, 62vw));
    gap: 14px;
    min-width: max-content;
  }

  body.home-page main#top > #strength.why-visual .delivery-steps > li {
    scroll-snap-align: start;
  }

  body.home-page main#top > #strength.why-visual .delivery-step__visual {
    height: 184px;
  }

  body.home-page main#top > #strength.why-visual .delivery-steps h4 {
    font-size: 17px;
  }

  body.home-page main#top > #strength.why-visual .delivery-steps p {
    font-size: 14px !important;
  }

  /* PSC: preserve the technical diagram, but turn its labels into legible rows. */
  body.energy-page main#top .psc-v2-hero {
    min-height: max(720px, 100svh);
  }

  body.energy-page main#top .psc-v2-hero__inner {
    padding-top: calc(var(--header-h) + 42px);
    padding-bottom: 38px;
  }

  body.energy-page main#top .psc-v2-hero__copy h1 {
    font-size: clamp(31px, 8.8vw, 35px);
    line-height: 1.38;
  }

  body.energy-page main#top .psc-v2-hero__copy > p:not(.psc-kicker) {
    font-size: 15px;
    line-height: 1.75;
  }

  body.energy-page main#top .psc-v2-benefits {
    padding-inline: 18px;
  }

  body.energy-page main#top .psc-v2-tech-board,
  body.energy-page main#top .psc-v2-product-grid article,
  body.energy-page main#top .psc-v2-check-grid article,
  body.energy-page main#top .psc-v2-capability-grid article,
  body.energy-page main#top .psc-v2-example-grid article {
    border-radius: 9px;
  }

  body.energy-page main#top .psc-v2-layer-labels strong {
    font-size: 14px;
  }

  body.energy-page main#top .psc-v2-layer-labels small {
    font-size: 11px;
    line-height: 1.5;
  }

  body.energy-page main#top .psc-v2-product-grid figure,
  body.energy-page main#top .psc-v2-example-grid figure {
    width: 100%;
    max-width: 100%;
    margin: 0;
    aspect-ratio: 16 / 10;
  }

  body.energy-page main#top .psc-v2-check-grid li,
  body.energy-page main#top .psc-v2-capability-grid p,
  body.energy-page main#top .psc-v2-example-grid p {
    font-size: 14px !important;
    line-height: 1.7;
  }

  /* Architecture: first-view content must never wait on entrance animation. */
  body[data-page="architecture"] main#top .arch-hero {
    min-height: max(700px, 100svh);
    padding-top: 0;
  }

  body[data-page="architecture"] main#top .arch-hero__inner {
    min-height: max(700px, 100svh);
  }

  body[data-page="architecture"] main#top .arch-hero__copy {
    padding-top: calc(var(--header-h) + 44px);
    padding-bottom: 34px;
  }

  body[data-page="architecture"] main#top :is(.arch-hero__kicker, .arch-hero h1, .arch-hero__lead, .arch-hero__actions) {
    opacity: 1;
    transform: none;
    animation: none;
  }

  body[data-page="architecture"] main#top .arch-hero h1 {
    font-size: clamp(31px, 8.8vw, 35px);
    line-height: 1.4;
  }

  body[data-page="architecture"] main#top .arch-hero__lead {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.75;
  }

  body[data-page="architecture"] main#top .arch-assurance {
    border-radius: 9px;
  }

  body[data-page="architecture"] main#top :is(.arch-image-card, .arch-flow-card, .arch-reason-card, .arch-case-card) {
    border-radius: 9px;
  }

  body[data-page="architecture"] main#top :is(.arch-image-card__media, .arch-flow-card__media, .arch-case-card > img) {
    aspect-ratio: 16 / 10;
    height: auto;
  }

  /* Furniture: remove the delayed invisible first view and reduce page length. */
  body.furniture-page main#top .fur-hero {
    min-height: max(700px, 100svh);
  }

  body.furniture-page main#top .fur-hero__inner {
    align-items: center;
    min-height: max(700px, 100svh);
    padding-top: var(--header-h);
  }

  body.furniture-page main#top .fur-hero__copy.reveal {
    width: 100%;
    padding-block: 46px 34px;
    opacity: 1;
    transform: none;
    transition: none;
  }

  body.furniture-page main#top .fur-hero h1 {
    max-width: 11em;
    font-size: clamp(31px, 8.8vw, 35px);
    line-height: 1.4;
  }

  body.furniture-page main#top .fur-hero__lead {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.75;
  }

  body.furniture-page main#top .fur-needs__grid {
    gap: 10px;
  }

  body.furniture-page main#top .fur-mini-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 4px 14px;
    align-items: center;
    padding: 18px;
  }

  body.furniture-page main#top .fur-mini-card__icon {
    grid-row: 1 / 3;
    width: 46px;
    height: 46px;
    margin: 0;
    font-size: 12px;
  }

  body.furniture-page main#top .fur-mini-card h3,
  body.furniture-page main#top .fur-mini-card p {
    margin: 0;
  }

  body.furniture-page main#top .fur-oem-process__grid {
    gap: 38px;
  }

  body.furniture-page main#top .fur-oem-process__visual {
    aspect-ratio: 16 / 10;
  }

  body.furniture-page main#top :is(.fur-photo-card, .fur-projects__grid article, .fur-cases__grid article) {
    border-radius: 9px;
  }

  body.furniture-page main#top .fur-photo-card > div,
  body.furniture-page main#top .fur-cases__grid article > div {
    padding: 20px 18px 22px;
  }

  body.furniture-page main#top .fur-materials__visual {
    min-height: 500px;
  }

  body.furniture-page main#top .fur-projects__grid {
    gap: 10px;
  }

  body.furniture-page main#top .fur-projects__grid img {
    aspect-ratio: 4 / 3;
  }

  body.furniture-page main#top .fur-projects__grid h3 {
    padding: 14px 8px;
    font-size: 15px !important;
  }

  /* Contact: one-column form with iOS-safe controls and less dead space. */
  body main#top .contact-form-section {
    min-height: 0;
    padding: calc(var(--header-h) + 34px) 0 56px;
  }

  body main#top .contact-form-section .contact-form-shell {
    width: calc(100% - 24px);
    gap: 24px;
  }

  body main#top .contact-form-section .contact-title {
    font-size: clamp(27px, 8vw, 31px);
  }

  body main#top .contact-form-section .contact-heading > p:last-child {
    margin-top: 10px;
    font-size: 15px;
  }

  body main#top .contact-form {
    padding: 22px 16px 20px;
    border-radius: 9px;
  }

  body main#top .contact-form :is(input, select, textarea) {
    min-height: 50px;
    padding: 11px 12px;
    font-size: 16px;
  }

  body main#top .contact-form textarea {
    min-height: 132px;
  }

  body main#top .privacy-consent {
    gap: 10px;
    font-size: 13px;
  }

  .site-footer .footer-inner {
    padding: 34px 18px 24px;
  }

  .site-footer .footer-main {
    gap: 24px;
  }

  .site-footer .footer-column,
  .site-footer .footer-contact-panel {
    padding-block: 18px;
  }

  .site-footer .footer-bottom-inner {
    gap: 14px;
    padding-inline: 18px;
  }
}

@media (max-width: 360px) {
  :root {
    --layout-shell-gutter: 28px;
    --type-display: 32px;
    --type-display-ja: 31px;
    --type-section-title: 28px;
  }

  .header-inner {
    width: calc(100% - 16px);
  }

  .brand-name {
    display: none;
  }

  .language-switcher__toggle {
    padding-left: 8px;
  }

  body.home-page main#top .hero-inner,
  body.home-page main#top .mission__inner,
  body.home-page main#top .business-experience__inner {
    width: calc(100% - 28px);
  }

  body.home-page main#top h1.hero-title,
  body.energy-page main#top .psc-v2-hero__copy h1,
  body[data-page="architecture"] main#top .arch-hero h1,
  body.furniture-page main#top .fur-hero h1 {
    font-size: 31px;
  }

  body main#top .contact-form-section .contact-form-shell {
    width: calc(100% - 16px);
  }
}

/* Short mobile viewports: keep the complete value proposition above the fold. */
@media (max-width: 760px) and (max-height: 650px) {
  body.home-page main#top {
    --home-hero-frame: 100svh;
  }

  body.home-page main#top .experience-media,
  body.home-page main#top .experience-overlay {
    min-height: 0;
  }

  body.home-page main#top .hero {
    min-height: 100svh;
  }

  body.home-page main#top .hero-inner {
    align-items: flex-end;
    min-height: calc(100svh - var(--header-h));
    padding-top: 18px;
    padding-bottom: 18px;
  }

  body.home-page main#top .hero-copy {
    width: 100%;
  }

  body.home-page main#top .hero-kicker {
    margin-bottom: 10px;
    font-size: 9px;
    line-height: 1.35;
  }

  body.home-page main#top h1.hero-title {
    font-size: clamp(29px, 8.5vw, 34px);
    line-height: 1.2;
  }

  body.home-page main#top .hero-thought {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.55;
  }

  body.home-page main#top .hero .actions {
    gap: 8px;
    margin-top: 14px;
  }

  body.home-page main#top .hero .actions .button {
    min-height: 46px;
    padding-block: 9px;
    font-size: 15px;
  }

  body.home-page main#top .hero::after {
    height: 42%;
  }
}

/* Final mobile overrides: replace horizontal browsing with readable stacked content. */
@media (max-width: 760px) {
  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-steps-scroll { margin: 0; padding: 18px 0 0; overflow: visible; scroll-snap-type: none; }
  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-steps { display: grid; grid-template-columns: 1fr; gap: 0; min-width: 0; width: 100%; }
  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-steps > li { position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 18px; min-width: 0; min-height: 126px; padding: 10px 0 28px 24px; text-align: left; scroll-snap-align: none; }
  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-steps > li::before { content: ""; position: absolute; display: block; left: 6px; top: 25px; bottom: -8px; width: 1px; height: auto; padding: 0; background: rgba(var(--hs-navy-rgb), .22); color: transparent; transform: none; }
  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-steps > li::after { content: ""; position: absolute; left: 2px; top: 18px; width: 9px; height: 9px; border: 2px solid #b99652; border-radius: 50%; background: #fff; transform: none; }
  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-steps > li:last-child::before { display: none; }
  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-step__visual { grid-column: 1; grid-row: 1 / 3; width: 104px; height: 100px; margin: 8px 0 0; overflow: hidden; border: 1px solid rgba(var(--hs-navy-rgb), .11); border-radius: 3px; background: #f2f4f5; }
  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-step__visual small { top: 6px; left: 6px; width: 42px; height: 42px; transform: none; font-size: 14px; }
  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-steps h4 { grid-column: 2; align-self: end; min-height: 0; margin: 12px 0 0; font-size: 17px; line-height: 1.5; word-break: keep-all; }
  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-steps p { grid-column: 2; margin: 6px 0 0; font-size: 13px !important; line-height: 1.7; }
  body.home-page main#top > #strength.why-visual .reason-panel--requirements .delivery-steps :is(h4, p) br { display: none; }

  body.energy-page main#top .psc-cell-diagram { min-height: 550px; height: auto; aspect-ratio: auto; }
  body.energy-page main#top .psc-cell-stack { display: flex; flex-direction: column; gap: 8px; align-content: normal; padding: 52px 14px 16px; }
  body.energy-page main#top .psc-cell-layer { display: grid; grid-template-columns: 28px minmax(0, 1fr); grid-template-rows: auto auto; gap: 5px 10px; min-height: 69px; padding: 9px 10px; border: 1px solid rgba(var(--hs-navy-rgb), .12); border-radius: 3px; background: rgba(255,255,255,.88); }
  body.energy-page main#top .psc-cell-layer > b { display: grid; grid-row: 1 / 3; place-items: center; width: 28px; color: #b18337; font-family: var(--font-en); font-size: 10px; }
  body.energy-page main#top .psc-cell-layer__label { grid-column: 2; text-align: left; font-size: 11px; line-height: 1.35; }
  body.energy-page main#top .psc-cell-layer__label small { display: inline; margin: 0 0 0 6px; }
  body.energy-page main#top .psc-cell-layer__film { grid-column: 2; width: 100%; min-width: 0; transform: none; }
  body.energy-page main#top .psc-cell-layer--tco::after { right: 12px; bottom: 6px; font-size: 7px; }
}

@media (min-width: 761px) {
  body.energy-page main#top .psc-cell-layer > b { display: none; }
}
