@import url("luxury.css");
@import url("visual-summary.css");
@import url("motion.css");

.logo {
  display: flex;
  align-items: center;
  width: 190px;
  height: 58px;
  overflow: hidden;
}

:root {
  --red: #08b69b;
  --brand-cyan: #05bcd0;
  --brand-green: #08bd70;
  --brand-charcoal: #353538;
  --display: "IBM Plex Sans JP", "Noto Sans JP", "Yu Gothic", sans-serif;
}

html[lang="ja"],
body {
  font-kerning: normal;
  font-feature-settings: "palt" 0;
  text-rendering: optimizeLegibility;
}

body,
p,
a,
li,
th,
td,
label,
input,
select,
textarea {
  letter-spacing: 0;
  line-break: strict;
  word-break: normal;
}

h1,
h2,
h3,
h4,
.hero h1,
.sub-hero h1,
.sub-title,
.page-cta h2,
.contact h2,
.family h2,
.hoeflon h2,
.section-heading h2,
.process h2 {
  letter-spacing: 0 !important;
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
}

.kicker,
.section-kicker,
.breadcrumbs {
  letter-spacing: 0.14em;
}

.logo img {
  display: block;
  width: 190px;
  height: auto;
  object-fit: contain;
}

.white-logo {
  width: 220px;
  height: 68px;
}

.white-logo img {
  width: 220px;
  filter: none;
}

.header {
  background: #fff;
  color: var(--brand-charcoal);
  border-bottom: 1px solid #e8e8e8;
}

.header nav b {
  color: var(--brand-cyan);
}

.hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.77777778vh;
  min-width: 100%;
  height: 56.25vw;
  min-height: 100%;
  border: 0;
  transform: translate(-50%, -50%);
}

.hero-shade {
  z-index: 1;
}

.red,
.hero-badge,
.spec {
  background: linear-gradient(110deg, var(--brand-cyan), var(--brand-green));
}

.family h2 em,
.hoeflon h2 em,
.section-kicker,
.kicker,
.family-copy > span,
.project-grid article > span,
.text-arrow b,
.news-list span,
.news-list b {
  color: var(--brand-green);
}

.hoeflon-copy li::before {
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-green));
}

.lineup-stage {
  margin-left: 5vw;
  height: auto;
  min-height: 0;
  display: block;
  background: transparent;
  border-radius: 18px;
  overflow: visible;
  box-shadow: 0 28px 60px rgb(0 0 0 / 20%);
}

.lineup-stage img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: initial;
  filter: none;
  border-radius: 18px;
}

.contact {
  background: linear-gradient(110deg, #05adc6, #08bc70);
}

footer {
  background: #f3f3f1;
  color: var(--brand-charcoal);
  border-top: 1px solid #dedede;
}

footer p,
footer > small {
  color: #747474;
}

/* Refined visual direction */
body {
  color: #282d2e;
  background: #fcfcfb;
}

.topbar {
  background: #292d2e;
  color: #dfe3e2;
}

.header {
  height: 92px;
  padding-inline: 5.5vw;
  box-shadow: 0 8px 28px rgb(0 0 0 / 4%);
}

.header nav {
  gap: 34px;
}

.header nav a {
  font-weight: 500;
  font-size: 12px;
}

.pill {
  border-radius: 5px;
  padding: 16px 28px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.red {
  background: #079b8a;
}

.red:hover {
  background: #067f73;
}

.hero {
  min-height: 690px;
}

.hero-shade {
  background: linear-gradient(90deg, rgb(10 18 19 / 68%) 0%, rgb(10 18 19 / 30%) 57%, rgb(10 18 19 / 8%)),
              linear-gradient(0deg, rgb(0 0 0 / 28%), transparent 48%);
}

.hero h1 {
  font-weight: 600;
  line-height: 1.12;
}

.hero h1 .hero-name {
  display: block;
  font: inherit;
}

.hero h1 .hero-promise {
  display: block;
  margin-top: .22em;
  font-family: var(--font);
  font-size: clamp(25px, 3.4vw, 52px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .01em;
}

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

.hero h1,
.sub-hero h1,
.family h2,
.hoeflon h2,
.section-heading h2,
.process h2,
.contact h2,
.sub-title,
.visual-summary h2 {
  line-break: strict;
  overflow-wrap: break-word;
  text-wrap: wrap;
}

.seo-intro {
  max-width: 820px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.seo-intro strong {
  color: var(--brand-green-deep);
  font-weight: 600;
}

@media (max-width: 650px) {
  .hero-content {
    left: 14px;
    right: 14px;
    padding: 25px 22px;
  }

  .hero h1 .hero-name {
    font-size: clamp(42px, 13vw, 55px);
  }

  .hero h1 .hero-promise {
    font-size: clamp(20px, 5.8vw, 25px);
    line-height: 1.42;
  }
}

@media (max-width: 980px) {
  body.nav-open{overflow:hidden}
  .header.menu-open nav{position:fixed;z-index:30;inset:70px 0 0;display:flex!important;flex-direction:column;align-items:flex-start;gap:0;margin:0;padding:34px 24px 44px;background:rgba(8,18,16,.97);backdrop-filter:blur(18px);overflow-y:auto}
  .header.menu-open nav a{display:flex;width:100%;align-items:center;justify-content:space-between;padding:18px 4px;border-bottom:1px solid rgba(255,255,255,.13);font-size:15px}
  .menu{position:relative;z-index:31;min-width:44px;min-height:44px;align-items:center;justify-content:center}
  .menu span{transition:transform .25s ease,opacity .2s ease}
  .header.menu-open .menu span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .header.menu-open .menu span:nth-child(2){opacity:0}
  .header.menu-open .menu span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
}

@media (max-width: 359px) {
  .hero-content {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero h1 .hero-promise {
    font-size: 20px;
  }
}

.hero-content > p:not(.kicker) {
  color: rgb(255 255 255 / 88%);
  font-weight: 400;
}

.hero-badge {
  right: 4.5vw;
  bottom: 5.5%;
  width: auto;
  height: auto;
  min-width: 230px;
  padding: 15px 18px;
  border-radius: 3px;
  transform: none;
  flex-direction: row;
  justify-content: flex-start;
  gap: 14px;
  text-align: left;
  background: rgb(12 19 20 / 72%);
  border: 1px solid rgb(255 255 255 / 26%);
  border-left: 3px solid var(--brand-green);
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px rgb(0 0 0 / 18%);
}

.hero-badge strong {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #82d8c7;
}

.hero-badge span {
  padding-left: 14px;
  border-left: 1px solid rgb(255 255 255 / 25%);
  font-size: 9px;
  line-height: 1.55;
  letter-spacing: 0.11em;
  color: rgb(255 255 255 / 88%);
}

.section {
  padding-top: 135px;
  padding-bottom: 135px;
}

.family h2,
.hoeflon h2,
.section-heading h2,
.process h2,
.contact h2 {
  font-weight: 600;
  line-height: 1.2;
}

.family-card {
  border-radius: 7px;
  background: #fff;
  border: 1px solid #e3e6e4;
}

.family-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgb(23 38 36 / 9%);
}

.family-copy i {
  border: 1px solid #e2e5e3;
  box-shadow: 0 5px 15px rgb(0 0 0 / 4%);
}

.hoeflon {
  background: #f2f4f2;
}

.lineup-stage {
  border-radius: 7px;
  box-shadow: 0 25px 55px rgb(0 0 0 / 15%);
}

.lineup-stage img,
.project-photo {
  border-radius: 7px;
}

.project-grid h3 {
  font-weight: 600;
}

.process {
  background: #222929;
}

.contact,
.page-cta {
  background: #263130;
  border-top: 3px solid var(--brand-green);
}

.contact .section-kicker,
.page-cta .section-kicker {
  color: #78d2c0;
}

.contact-links .red {
  background: #079b8a;
}

.sub-hero {
  background: #f2f4f2;
}

.sub-hero::after {
  opacity: 0.07;
}

.detail-card,
.job,
.case img,
.president-photo img,
.access iframe {
  border-radius: 7px;
}

/* Light, editorial elegance — intentionally non-industrial */
body {
  background: #faf9f6;
  color: #35403d;
}

.topbar {
  background: #eef2ef;
  color: #5f6a66;
  border-bottom: 1px solid #dfe6e2;
}

.topbar span {
  color: #75807c;
}

.header {
  background: rgb(250 249 246 / 94%);
  color: #35403d;
  border-color: #e6e7e2;
  backdrop-filter: blur(18px);
}

.hero {
  color: #2f3a37;
  background-color: #e7ece9;
}

.hero-video iframe {
  filter: saturate(.72) contrast(.88) brightness(1.08);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgb(250 249 246 / 94%) 0%, rgb(250 249 246 / 78%) 38%, rgb(250 249 246 / 22%) 70%, transparent),
    linear-gradient(0deg, rgb(244 246 243 / 25%), transparent 50%);
}

.hero-content {
  padding: 38px 40px;
  border-left: 1px solid rgb(69 104 94 / 28%);
}

.hero-content > p:not(.kicker) {
  color: #52605c;
  text-shadow: none;
}

.hero .white {
  background: rgb(255 255 255 / 72%);
  color: #34413d;
  border: 1px solid #ccd6d1;
  backdrop-filter: blur(8px);
}

.hero-badge {
  color: #35403d;
  background: rgb(250 249 246 / 82%);
  border: 1px solid rgb(80 111 102 / 25%);
  border-left: 3px solid #75bcae;
  box-shadow: 0 16px 38px rgb(46 69 62 / 10%);
}

.hero-badge strong {
  color: #478f81;
}

.hero-badge span {
  color: #4c5b56;
  border-left-color: rgb(65 90 82 / 20%);
}

.hero-scroll {
  color: #4f5d58;
}

.family,
.projects,
.news {
  background: #faf9f6;
}

.family-card {
  background: #fdfdfb;
  border-color: #e1e5e1;
}

.family-copy i {
  background: #f7f8f5;
}

.hoeflon {
  background: #eef2ef;
}

.process {
  background: #f4f1eb;
  color: #35403d;
  border-top: 1px solid #e3dfd7;
  border-bottom: 1px solid #e3dfd7;
}

.process-copy > p:not(.section-kicker),
.process li span {
  color: #66726e;
}

.process li {
  border-bottom-color: #d8ddd8;
}

.process li strong {
  color: #35403d;
}

.contact,
.page-cta {
  background: #e9f2ee;
  color: #35403d;
  border-top: 1px solid #d1e0da;
}

.contact .section-kicker,
.page-cta .section-kicker {
  color: #478f81;
}

.contact .white,
.page-cta .white {
  background: #faf9f6;
  color: #35403d;
  border: 1px solid #cad8d2;
}

.contact-links .red {
  background: #6aa99d;
}

.sub-hero,
.sub-section.gray {
  background: #f1f3ef;
}

.sub-hero::after {
  background: radial-gradient(circle, #badfd6 0%, transparent 68%);
}

footer {
  background: #f7f5f0;
  border-top-color: #dedfd9;
}

@media (max-width: 650px) {
  .hero-content {
    padding: 28px 24px;
    background: rgb(250 249 246 / 78%);
    backdrop-filter: blur(5px);
  }
}

footer {
  grid-template-columns: 1.2fr 1fr 1.3fr .8fr;
  align-items: start;
}

.footer-links,
.footer-social {
  display: grid;
  gap: 9px;
}

.footer-links a,
.footer-social a {
  width: fit-content;
  font-size: 10px;
  font-weight: 600;
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--brand-green);
}

.copyright {
  grid-column: 1 / -1;
  margin-top: 24px;
}

.page-top-button {
  position: fixed;
  z-index: 80;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  display: grid;
  width: 62px;
  height: 62px;
  padding: 0;
  place-content: center;
  place-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(226, 244, 238, .82));
  color: var(--brand-charcoal);
  box-shadow: 0 14px 36px rgba(22, 64, 53, .19);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(.92);
  transition: opacity .3s ease, transform .3s ease, border-color .2s ease, background .2s ease;
}

.page-top-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.page-top-button span {
  width: 10px;
  height: 10px;
  border-top: 1.5px solid var(--brand-green);
  border-left: 1.5px solid var(--brand-green);
  transform: rotate(45deg) translate(2px, 2px);
}

.page-top-button small {
  font: 700 8px/1 var(--display);
  letter-spacing: .12em;
}

.page-top-button:hover,
.page-top-button:focus-visible {
  border-color: rgba(8, 189, 112, .55);
  background: rgba(255, 255, 255, .98);
  transform: translateY(-3px);
  outline: none;
}

@media (max-width: 650px) {
  .header .logo {
    width: 145px;
    height: 46px;
  }

  .header .logo img {
    width: 145px;
  }

  .hero-video iframe {
    width: 220vh;
  }

  .menu span {
    background: var(--brand-charcoal);
  }

  .lineup-stage {
    height: auto;
    margin-left: 0;
  }

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

  .copyright {
    grid-column: auto;
  }

  .page-top-button {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-top-button {
    transition: none;
  }
}
