/* Gate 2 — Design Philosophy (Room 02) */
.room-philosophy {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 1.8vw, 1.5rem);
  padding: clamp(2.5rem, 5vh, 3.75rem) var(--content-pad);
  background:
    radial-gradient(ellipse 55% 45% at 12% 18%, rgba(255, 255, 255, 0.55), transparent 55%),
    var(--color-canvas);
  color: var(--color-charcoal);
  overflow: hidden;
}

.room-philosophy__copy {
  flex: 0 1 32rem;
  max-width: 32rem;
  position: relative;
  z-index: 1;
}

.room-philosophy__phrase {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.room-philosophy__phrase::after {
  content: "";
  width: clamp(2.25rem, 4.5vw, 4rem);
  height: 1px;
  flex: 0 0 auto;
  margin-top: 0.7em;
  background: var(--color-bronze);
}

.room-philosophy__support {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 2rem;
  padding: 0.95rem 1.15rem 1rem 1.25rem;
  max-width: 36rem;
  border-left: 2px solid var(--color-bronze);
  background: linear-gradient(90deg, rgba(155, 123, 91, 0.1), transparent 86%);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.12rem, 1.65vw, 1.35rem);
  line-height: 1.45;
  color: rgba(39, 33, 29, 0.84);
}

.room-philosophy__support::before {
  content: "Design philosophy";
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-walnut);
}

.room-philosophy__inquire {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: var(--type-label);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-walnut);
  border-bottom: 1px solid rgba(111, 91, 73, 0.35);
  padding-bottom: 0.35rem;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.room-philosophy__inquire::after {
  content: "↗";
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.3s var(--ease-out);
}

.room-philosophy__inquire:hover,
.room-philosophy__inquire:focus-visible {
  color: var(--color-charcoal);
  border-bottom-color: rgba(39, 33, 29, 0.65);
}

.room-philosophy__inquire:hover::after,
.room-philosophy__inquire:focus-visible::after {
  transform: translate(0.18rem, -0.18rem);
}

.room-philosophy__inquire:focus-visible {
  outline: 2px solid var(--color-bronze);
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .room-philosophy__phrase::after {
    display: none;
  }
}

.room-philosophy__detail {
  margin: 0;
  flex: 1 1 42%;
  width: auto;
  max-width: 42rem;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.room-philosophy__detail img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  filter: saturate(0.94) brightness(1.02);
}

.room-philosophy__detail-caption {
  margin: 0.75rem 0 0;
  font-family: var(--font-sans);
  font-size: var(--type-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(39, 33, 29, 0.45);
}

@media (max-width: 1024px) {
  .room-philosophy {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding-block: clamp(2.25rem, 6vh, 3.25rem);
    gap: 1.25rem;
  }

  .room-philosophy__copy {
    flex: none;
    max-width: 100%;
  }

  .room-philosophy__phrase {
    max-width: 14ch;
  }

  .room-philosophy__detail {
    flex: none;
    width: min(100%, 28rem);
    max-width: none;
  }
}

@media (max-width: 767px) {
  .room-philosophy__phrase {
    font-size: clamp(2.1rem, 10vw, 2.85rem);
  }

  .room-philosophy__detail {
    width: 82%;
    margin-left: auto;
  }
}

.js .room-philosophy__copy {
  opacity: 0.35;
}

.js .room-philosophy__detail {
  opacity: 0.28;
}

.no-js .room-philosophy__copy,
.no-js .room-philosophy__detail {
  opacity: 1;
}
