﻿/* KOCO Kitchen, Our Story: layout "S1 · Chapters" (UI redesign 2026-11-21).
   Title band (.koco-page-band, site.css), one chef photo with the introduction, three numbered
   chapter cards, the chef's quote and a green closing band. */

.story-s1 { padding: clamp(20px, 3vw, 36px) 0 40px; background: var(--kokan-ivory, #FAF4E6); }

/* Introduction */
.story-s1-intro { scroll-margin-top: 100px; }
.story-s1-intro-grid { display: grid; grid-template-columns: minmax(280px, 440px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.story-s1-intro img { display: block; width: 100%; aspect-ratio: 44 / 42; object-fit: cover; object-position: top; border-radius: 24px; box-shadow: 0 16px 36px rgba(30, 61, 47, .2); }
.story-s1-intro h2 { margin: 0 0 14px; color: #1E3D2F; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.15; }
.story-s1-intro p { margin: 0 0 12px; color: #5B5446; font-size: 1.02rem; line-height: 1.65; }

.story-s1-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; text-decoration: none; transition: background-color .15s ease; }
.story-s1-btn:focus-visible { outline: 3px solid #E0A93B; outline-offset: 2px; }
.story-s1-btn-primary { margin-top: 8px; background: #1E3D2F; color: #FAF4E6; }
.story-s1-btn-primary:hover { background: #142B21; color: #FAF4E6; }
.story-s1-btn-gold { flex: 0 0 auto; background: #F2C14E; color: #1E3D2F; }
.story-s1-btn-gold:hover { background: #FFD36A; color: #1E3D2F; }

/* Chapters */
.story-s1-chapters { padding: clamp(20px, 3vw, 32px) 0 6px; }
.story-s1-chapter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.story-s1-chapter { padding: 22px; border-radius: 18px; background: #FFFDF7; box-shadow: 0 1px 0 #E7DCC4, 0 8px 22px rgba(30, 61, 47, .06); }
.story-s1-num { display: block; color: #E0A93B; font-family: "Bricolage Grotesque", "Segoe UI", sans-serif; font-size: 1.9rem; font-weight: 800; line-height: 1; }
.story-s1-kicker { display: block; margin-top: 8px; color: #1E4D36; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.story-s1-chapter h3 { margin: 4px 0 10px; color: #1E3D2F; font-size: 1.35rem; font-weight: 800; }
.story-s1-chapter p { margin: 0 0 10px; color: #5B5446; font-size: .93rem; line-height: 1.6; }
.story-s1-chapter p:last-child { margin-bottom: 0; }

/* Quote */
.story-s1-quote-wrap { padding: 12px 0; }
.story-s1-quote { margin: 0; padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 36px); border-radius: 20px; background: #F2C14E; }
.story-s1-quote blockquote { margin: 0; color: #1E3D2F; font-family: "Bricolage Grotesque", "Segoe UI", sans-serif; font-size: clamp(1.25rem, 2.4vw, 1.65rem); font-weight: 700; line-height: 1.35; }
.story-s1-quote figcaption { margin-top: 8px; color: #1E3D2F; font-size: .9rem; font-weight: 600; }

/* Closing band */
.story-s1-end-wrap { padding: 12px 0 0; }
.story-s1-end { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; padding: clamp(20px, 3vw, 30px) clamp(20px, 3vw, 34px); border-radius: 20px; background: #1E3D2F; }
.story-s1-end > div { flex: 1 1 420px; }
.story-s1-end h2 { margin: 0 0 6px; color: #F2C14E; font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 800; }
.story-s1-end p { margin: 0; color: #C9D6CC; font-size: .95rem; line-height: 1.6; }
.story-s1-end .story-s1-sign { margin-top: 8px; color: #F3EBD8; font-style: italic; }

@media (max-width: 991.98px) {
    .story-s1-intro-grid { grid-template-columns: 1fr; }
    .story-s1-intro img { aspect-ratio: 4 / 3; max-height: 420px; }
    .story-s1-chapter-grid { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 575.98px) {
    .story-s1-chapter { padding: 16px; }
    .story-s1-end .story-s1-btn { width: 100%; }
}
