@import url('../../assets/css/site.css');

.sail-main { padding: clamp(1.75rem, 3.7vw, 3.5rem) 0 4rem; color: #202134; }
.sail-page { max-width: 1180px; }
.sail-heading > p:first-child { margin: 0 0 11px; color: #6965c8; font-size: .72rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.sail-heading h1, .history-section h2 { margin: 0; font-family: "Bai Jamjuree", Arial, sans-serif; font-size: clamp(1.55rem, 2.7vw, 2.15rem); font-weight: 560; line-height: 1.08; letter-spacing: -.035em; }
.sail-heading h1 { max-width: 900px; color: #202134; }
.sail-heading > span { display: block; width: 76px; height: 3px; margin: 20px 0 1rem; border-radius: 999px; background: #efa33d; }
.sail-copyright { margin: 0; color: #65687a; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.sail-hero { margin: clamp(1.5rem, 3vw, 2.6rem) 0 1.5rem; overflow: hidden; border-radius: 24px; background: #111; box-shadow: 0 22px 55px rgba(24, 25, 44, .13); }
.sail-hero img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.sail-origin { max-width: 880px; margin: 0 auto 2rem; color: #5c5e70; font-size: .98rem; line-height: 1.62; text-align: center; }
.history-section { padding: 1.6rem 0 2.15rem; }
.history-section > header { margin-bottom: 1.2rem; padding-bottom: .7rem; border-bottom: 4px solid #6965c8; }
.history-section h2 { color: #6965c8; }
.history-section--illustrated .history-content { display: grid; grid-template-columns: minmax(230px, .72fr) minmax(0, 1.55fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.history-copy { max-width: 900px; margin: 1.2rem auto 0; }
.history-section--illustrated .history-copy { margin: 0; }
.history-copy p { margin: 0 0 .78rem; color: #3f4152; font-size: 1rem; line-height: 1.62; }
.history-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 1rem; align-items: start; }
.history-gallery figure { margin: 0; }
.history-gallery img { display: block; width: 100%; max-height: 315px; object-fit: contain; background: #f3f3f7; border: 1px solid #d9dde3; border-radius: 14px; }
.history-gallery--5 img { aspect-ratio: 1 / 1; padding: 7px; background: #050505; }
.history-gallery figcaption { padding: .55rem .2rem 0; color: #6d6f80; font-size: .74rem; line-height: 1.35; }
.article-signature { margin-top: .5rem; padding: 2rem; border-radius: 20px; background: #f1f1f7; text-align: center; }
.article-signature p { max-width: 800px; margin: .2rem auto; line-height: 1.55; }

@media (max-width: 720px) {
  .sail-main { padding-top: 1.4rem; }
  .sail-origin { margin-bottom: 1.6rem; text-align: left; }
  .history-section { padding: 1.4rem 0 1.9rem; }
  .history-section--illustrated .history-content { grid-template-columns: 1fr; gap: 1.4rem; }
  .history-section--illustrated .history-gallery { max-width: 360px; }
  .history-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
