/* ============================================
   SotoTecho - Profile Story Stylesheet
   Theme: Hotel Chronicle (Beige & Gold)
   ============================================ */

.profile-main {
  padding-top: calc(var(--header-height) + var(--space-xl));
  background-color: var(--hotel-bg-light);
}

/* --- Profile Hero --- */
.profile-hero {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.profile-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.profile-hero__sub {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--hotel-accent-gold);
  text-transform: uppercase;
}

.profile-hero__title {
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  margin-left: 0.3em; /* Center compensation */
  color: var(--hotel-text-dark);
}

.profile-hero__lead {
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--hotel-text-gray);
  margin-top: 5px;
}

.profile-hero__divider {
  width: 50px;
  height: 1px;
  background: var(--hotel-accent-gold);
  margin-top: var(--space-md);
}

/* --- Biography Layout --- */
.biography {
  background-color: #ffffff;
  border-top: 1px solid var(--hotel-border-fine);
  border-bottom: 1px solid var(--hotel-border-fine);
  padding: var(--hotel-space-block) 0;
}

.bio-layout {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  max-width: 1000px;
  margin: 0 auto;
}

.bio-layout__image {
  flex: 1;
}

.portrait-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: var(--hotel-bg-sand);
  padding: var(--space-md);
  border: 1px solid var(--hotel-border-fine);
}

/* Gold inner border */
.portrait-frame::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(179, 146, 87, 0.3);
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(10%);
}

.bio-layout__text {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.bio-layout__title {
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  line-height: 1.6;
  color: var(--hotel-text-dark);
}

.bio-layout__text p {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 200;
  line-height: 2.2;
  color: var(--hotel-text-gray);
}

/* --- Timeline Section --- */
.history {
  padding: var(--hotel-space-block) 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: var(--space-xl);
}

/* Timeline Vertical Gold Line */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 1px;
  background: linear-gradient(to bottom, var(--hotel-accent-gold), rgba(179, 146, 87, 0.1));
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-xl);
  display: flex;
  gap: var(--space-lg);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Timeline Dot */
.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-xl) + 26px);
  top: 10px;
  width: 9px;
  height: 9px;
  background-color: var(--hotel-accent-gold);
  border-radius: 50%;
  z-index: 5;
}

.timeline-item__year {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--hotel-accent-gold);
  font-weight: 300;
  letter-spacing: 0.05em;
  width: 120px;
  flex-shrink: 0;
  line-height: 1.2;
  padding-top: 4px;
}

.timeline-item__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.timeline-item__title {
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--hotel-text-dark);
}

.timeline-item__desc {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 200;
  line-height: 1.8;
  color: var(--hotel-text-gray);
}

/* --- Responsive (Mobile View) --- */
@media (max-width: 768px) {
  .bio-layout {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .timeline {
    padding-left: var(--space-md);
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-item {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .timeline-item::before {
    left: calc(-1 * var(--space-md) + 6px);
  }

  .timeline-item__year {
    width: auto;
  }
}

/* ============================================
   SotoTecho Additional Profile Styles
   ============================================ */

/* --- Our Mission & Values --- */
.profile-mission {
  padding: var(--hotel-space-block) 0;
  border-bottom: 1px solid var(--hotel-border-fine);
}
.bg-dark-wood {
  background-color: #1c1a18; /* 高級ダークブラウンウッド調 */
  color: #ffffff;
}
.profile-mission__text {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 200;
  line-height: 2.2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-xl);
  color: rgba(255, 255, 255, 0.85);
}
.profile-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl) var(--space-2xl);
  max-width: 900px;
  margin: var(--space-xl) auto 0;
}
.value-item {
  border-left: 1px solid var(--hotel-accent-gold);
  padding-left: var(--space-md);
}
.value-item__title {
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
}
.value-item__title .en {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--hotel-accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.value-item__desc {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 200;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* --- SotoTecho's Approach --- */
.profile-approach {
  padding: var(--hotel-space-block) 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--hotel-border-fine);
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  max-width: 1100px;
  margin: var(--space-xl) auto 0;
}
.approach-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  background: var(--hotel-bg-sand);
  padding: var(--space-xl) var(--space-lg);
  border: 1px solid var(--hotel-border-fine);
  transition: transform var(--transition-base);
}
.approach-card:hover {
  transform: translateY(-5px);
}
.approach-card .num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--hotel-accent-gold);
  font-weight: 300;
  line-height: 1;
}
.approach-card__title {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.4;
  color: var(--hotel-text-dark);
}
.approach-card__title .en {
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--hotel-text-gray);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.approach-card__desc {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 200;
  line-height: 1.8;
  color: var(--hotel-text-gray);
  margin-top: var(--space-xs);
}

/* --- CEO Message --- */
.profile-message {
  padding: var(--hotel-space-block) 0;
  border-bottom: 1px solid var(--hotel-border-fine);
}
.bg-sand {
  background-color: var(--hotel-bg-sand);
}
.profile-message__content {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.profile-message__content p {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 200;
  line-height: 2.2;
  color: var(--hotel-text-gray);
}

/* --- Profile Overview & Awards --- */
.profile-overview {
  padding: var(--hotel-space-block) 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--hotel-border-fine);
}
.bio-details-layout {
  display: flex;
  gap: var(--space-2xl);
  max-width: 1000px;
  margin: 0 auto;
}
.bio-details__left,
.bio-details__right {
  flex: 1;
}
.detail-title {
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--hotel-text-dark);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--hotel-accent-gold);
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}
.detail-title .en {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--hotel-text-gray);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.detail-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 200;
  line-height: 2.2;
  color: var(--hotel-text-gray);
}
.detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.detail-list li {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 200;
  line-height: 1.8;
  color: var(--hotel-text-gray);
  position: relative;
  padding-left: var(--space-md);
}
.detail-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--hotel-accent-gold);
}

/* --- Responsive (Desktop Specific Mobile adjustments) --- */
@media (max-width: 768px) {
  .profile-values-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .approach-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .bio-details-layout {
    flex-direction: column;
    gap: var(--space-xl);
  }
}

