/**
 * Our Story Page Stylesheet (page-our-story.php)
 *
 * Extends components.css using design tokens from variables.css.
 * Follows compact formatting and linear cascade architecture.
 *
 * @package Dimidium_Theme
 */

/* ── 1. BASE LAYOUT & SCOPE ── */
.page-our-story { font-family: var(--ff-sans, 'Poppins', sans-serif); color: var(--brand-grey-dk); background-color: var(--brand-white); overflow-x: hidden; }
.story-section { padding: 48px 0; }
.story-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 clamp(24px, 4vw, 44px); box-sizing: border-box; }
.story-title-highlight { color: var(--brand-orange); }

/* Section Backgrounds */
.story-beg, .story-whoweare, .story-diff { background: var(--brand-white); }
.story-adv, .story-board, .story-join-cta { background: var(--brand-white); }
.story-team { background: var(--brand-blue-dark); color: var(--brand-white); }

/* ── 2. HERO SECTION ── */
.story-hero { background: linear-gradient(135deg, var(--brand-blue-dark) 0%, #0c1017 100%); color: var(--brand-white); padding: 52px 0 44px 0; position: relative; overflow: hidden; }
.story-hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(230, 140, 16, 0.15) 0%, transparent 70%); pointer-events: none; }
.story-hero::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--brand-orange) 0%, rgba(230, 140, 16, 0.3) 100%); }
.story-hero__grid.has-image { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; }
.story-hero__grid.no-image { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 760px; margin: 0 auto; }
.story-hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(230, 140, 16, 0.12); border: 1px solid rgba(230, 140, 16, 0.28); padding: 4px 14px; border-radius: var(--radius-pill, 100px); color: var(--brand-orange); font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: 11px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; margin-bottom: 12px; }
.story-hero__badge .badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-orange); box-shadow: 0 0 8px var(--brand-orange); }
.story-hero__content h1 { font-family: var(--ff-sans, 'Poppins', sans-serif); font-weight: 700; font-size: clamp(24px, 3vw, 38px); line-height: 1.25; color: var(--brand-white); margin: 0 0 12px 0; letter-spacing: -0.4px; }
.story-hero__content p { font-family: var(--ff-sans, 'Poppins', sans-serif); font-weight: 400; font-size: clamp(14px, 1.2vw, 16px); line-height: 1.55; color: rgba(255, 255, 255, 0.82); margin: 0 0 20px 0; max-width: 640px; }
.story-hero__cta { background: var(--brand-orange); color: var(--brand-white); text-decoration: none; padding: 12px 28px; font-family: var(--ff-sans, 'Poppins', sans-serif); font-weight: 600; font-size: 14px; line-height: 1; border-radius: var(--radius-pill, 100px); display: inline-flex; align-items: center; gap: 10px; transition: var(--transition-fast); box-shadow: 0 4px 18px var(--brand-orange-glow); }
.story-hero__cta svg { transition: transform var(--transition-fast); }
.story-hero__cta:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 25px var(--brand-orange-glow); }
.story-hero__cta:hover svg { transform: translateX(4px); }
.story-hero__img-wrap { border-radius: var(--radius-xl, 20px); overflow: hidden; box-shadow: var(--shadow-lg); border: 2px solid var(--brand-orange); max-height: 320px; position: relative; }
.story-hero__img-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform var(--duration-slow, 600ms) var(--ease); }
.story-hero__img-wrap:hover img { transform: scale(1.03); }

/* ── 3. THE BEGINNINGS & TIMELINE ── */
.story-beg__header-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.story-beg__header-left { flex-grow: 1; margin-right: 24px; }
.story-beg__eyebrow-container { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; width: 100%; }
.story-beg__eyebrow { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--brand-orange); letter-spacing: 0.4px; white-space: nowrap; margin: 0; }
.story-beg__eyebrow-line { flex-grow: 1; height: 1px; background: var(--brand-grey-lt); }
.story-beg__sublabel { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: 15px; font-weight: 400; line-height: 1.55; max-width: 760px; margin: 0; color: var(--brand-blue-dark); font-style: italic; border-left: 3.5px solid var(--brand-orange); padding-left: 12px; }
.story-beg__header-right { display: flex; gap: 8px; flex-shrink: 0; }
.story-beg__grid { transition: opacity var(--duration-normal, 300ms) var(--ease); }
.story-beg__grid.has-image { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 28px; align-items: center; margin-bottom: 28px; }
.story-beg__grid.no-image { display: block; margin-bottom: 20px; }
.story-beg__grid.no-image .story-beg__content { max-width: 760px; margin: 0 auto; text-align: center; }
.story-beg__content h3 { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--brand-orange); margin: 0 0 8px 0; }
.story-beg__content p, .story-beg__content-right p { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: 14px; font-weight: 400; line-height: 1.55; color: var(--brand-grey-dk); margin-bottom: 10px; }
.story-beg__img { border-radius: var(--radius-md, 12px); overflow: hidden; box-shadow: var(--shadow-sm); max-height: 280px; border: 1px solid var(--brand-grey-lt); }
.story-beg__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-timeline { border-bottom: 2px solid var(--brand-grey-lt); display: flex; justify-content: space-between; align-items: flex-end; position: relative; margin-top: 24px; height: 48px; }
.story-timeline-progress { position: absolute; bottom: -2px; left: 0; height: 3px; background: var(--brand-orange); z-index: 1; transition: width var(--duration-normal, 300ms) var(--ease), left var(--duration-normal, 300ms) var(--ease); }
.story-timeline-item { position: relative; text-align: center; min-width: 60px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; height: 100%; cursor: pointer; z-index: 2; }
.story-timeline-node { width: 12px; height: 12px; border-radius: 50%; background: var(--brand-white); border: 2.5px solid var(--brand-grey-dk); transition: var(--transition-fast); margin-bottom: -6px; }
.story-timeline-item.is-active .story-timeline-node, .story-timeline-item.is-passed .story-timeline-node { background: var(--brand-orange); border-color: var(--brand-orange); box-shadow: 0 0 0 4px rgba(230, 140, 16, 0.2); }
.story-timeline-item:hover .story-timeline-node { transform: scale(1.2); }
.story-timeline-year { font-family: var(--ff-sans, 'Poppins', sans-serif); font-weight: 600; color: var(--brand-grey-dk); font-size: 13px; margin-bottom: 4px; transition: var(--transition-fast); }
.story-timeline-item.is-active .story-timeline-year { color: var(--brand-orange); font-weight: 700; }
.story-timeline-btn { width: 34px; height: 34px; border-radius: 50%; border: none; background: var(--brand-orange); color: var(--brand-white); font-size: 14px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: var(--transition-fast); box-shadow: 0 2px 8px var(--brand-orange-glow); }
.story-timeline-btn svg { display: block; stroke: currentColor; }
.story-timeline-btn:hover:not(:disabled) { background: var(--brand-orange-light); transform: scale(1.05); }
.story-timeline-btn:disabled { background: var(--brand-grey-lt); color: var(--brand-grey-dk); opacity: 0.5; cursor: not-allowed; box-shadow: none; }

/* ── 4. WHO WE ARE & MISSION ── */
.story-whoweare__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: stretch; }
.story-whoweare-card { border: 1px solid rgba(230, 140, 16, 0.16); border-radius: var(--radius-xl, 20px); padding: 24px 28px; background: var(--brand-white); transition: var(--transition-normal); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; gap: 14px; }
.story-whoweare-card::before { content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 3px; background: var(--brand-orange); transition: width var(--duration-normal, 300ms) var(--ease); }
.story-whoweare-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08); border-color: rgba(230, 140, 16, 0.35); }
.story-whoweare-card:hover::before { width: 100%; }
.story-whoweare-card__header { display: flex; align-items: center; gap: 14px; margin-bottom: 2px; }
.story-whoweare-icon { width: 42px; height: 42px; border-radius: 12px; background: rgba(230, 140, 16, 0.12); color: var(--brand-orange); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.story-whoweare-icon.icon-vision { background: rgba(18, 23, 31, 0.08); color: var(--brand-blue-dark); }
.story-whoweare-tag { display: block; font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: 11px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--brand-orange); margin-bottom: 2px; }
.story-whoweare-card h3 { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; color: var(--brand-blue-dark); margin: 0; line-height: 1.3; }
.story-whoweare-body p { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: 14px; font-weight: 400; line-height: 1.55; color: var(--brand-grey-dk); margin-bottom: 10px; }
.story-whoweare-body p:last-child { margin-bottom: 0; }
.story-whoweare-highlight { display: flex; align-items: flex-start; gap: 12px; margin-top: 14px; background: rgba(230, 140, 16, 0.07); border-left: 3.5px solid var(--brand-orange); padding: 12px 16px; border-radius: 0 12px 12px 0; color: var(--brand-orange); font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: 14px; font-weight: 600; line-height: 1.5; }
.story-whoweare-highlight .highlight-icon { flex-shrink: 0; margin-top: 2px; }
.story-whoweare-pillars { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.story-whoweare-pillars .pillar-item { display: flex; align-items: center; gap: 10px; background: rgba(18, 23, 31, 0.03); border: 1px solid rgba(18, 23, 31, 0.07); padding: 8px 12px; border-radius: var(--radius-md, 10px); font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--brand-blue-dark); transition: var(--transition-fast); }
.story-whoweare-pillars .pillar-item:hover { background: rgba(230, 140, 16, 0.08); border-color: rgba(230, 140, 16, 0.25); color: var(--brand-orange); transform: translateX(4px); }
.story-whoweare-pillars .pillar-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-orange); flex-shrink: 0; }

/* ── 5. CORE VALUES / WHAT MAKES US DIFFERENT ── */
.story-diff__inner { background: linear-gradient(145deg, var(--brand-blue-dark) 0%, #0d121b 100%); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-xl, 24px); padding: 28px 24px; position: relative; overflow: hidden; box-shadow: var(--shadow-md); box-sizing: border-box; }
.story-diff__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; text-align: left; }
.story-diff__header-left { flex: 1; max-width: 480px; }
.story-diff__header-right { flex: 1.2; }
.story-diff__header span { font-family: var(--ff-sans, 'Poppins', sans-serif); color: var(--brand-orange); font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: 0.4px; display: block; margin-bottom: 4px; }
.story-diff__header h2 { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: clamp(22px, 2.5vw, 30px); font-weight: 700; line-height: 1.35; margin: 0; color: var(--brand-white); }
.story-diff__header p { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: 15px; font-weight: 400; color: rgba(255, 255, 255, 0.82); line-height: 1.55; margin: 0; }
.story-diff__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.story-diff-card { width: calc(33.333% - 12px); box-sizing: border-box; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: var(--radius-md, 12px); padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; transition: var(--transition-normal); }
.story-diff-card:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.06); border-color: rgba(230, 140, 16, 0.3); }
.story-diff-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(230, 140, 16, 0.12); color: var(--brand-orange); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.story-diff-card-content { flex: 1; }
.story-diff-card h3 { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: 15px; font-weight: 700; line-height: 1.35; margin: 0 0 4px 0; color: var(--brand-orange); }
.story-diff-card p { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: 13px; font-weight: 400; line-height: 1.45; color: rgba(255, 255, 255, 0.78); margin: 0; }

/* ── 6. MEET THE TEAM ── */
.story-team__header { text-align: center; margin-bottom: 20px; }
.story-team__header h2 { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: clamp(22px, 2.5vw, 30px); font-weight: 700; line-height: 1.35; margin: 0; }
.story-team__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 20px; }
.story-team-card { background: var(--brand-white); border-radius: var(--radius-lg, 16px); padding: 8px 8px 0 8px; text-align: center; width: calc(20% - 13px); min-width: 160px; box-sizing: border-box; transition: var(--transition-normal); display: flex; flex-direction: column; align-items: center; box-shadow: var(--shadow-sm); position: relative; margin-bottom: 12px; }
.story-team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.story-team-photo { width: 100%; height: 150px; border-radius: var(--radius-md, 12px); overflow: hidden; background-color: var(--brand-white); display: flex; align-items: center; justify-content: center; }
.story-team-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; transition: transform var(--duration-normal, 300ms) var(--ease); }
.story-board-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--duration-normal, 300ms) var(--ease); }
.story-team-card:hover .story-team-photo img { transform: scale(1.05); }
.story-team-details { border: 2px solid var(--brand-orange); border-radius: var(--radius-md, 12px); padding: 6px; background: var(--brand-white); width: calc(100% + 16px); margin: -14px -8px -10px -8px; z-index: 2; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; justify-content: center; align-items: center; height: 56px; box-sizing: border-box; }
.story-team-card h3 { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: 15px; font-weight: 700; color: var(--brand-orange); margin: 0 0 2px 0; line-height: 1.3; }
.story-team-card p { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: 12.5px; color: var(--brand-grey-dk); font-weight: 500; margin: 0; line-height: 1.35; }
.story-team-cta-banner { background: var(--brand-white); border-radius: var(--radius-lg, 16px); padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; margin-top: 20px; box-shadow: var(--shadow-sm); box-sizing: border-box; border: 1px solid rgba(230, 140, 16, 0.2); }
.story-team-cta-banner span { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: 17px; font-weight: 700; color: var(--brand-orange); }
.story-team-cta-btn { background: var(--brand-orange); color: var(--brand-white); padding: 10px 24px; border-radius: var(--radius-pill, 100px); font-family: var(--ff-sans, 'Poppins', sans-serif); font-weight: 600; font-size: 14px; line-height: 1; text-decoration: none; transition: var(--transition-fast); display: inline-flex; align-items: center; justify-content: center; }
.story-team-cta-btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 4px 14px var(--brand-orange-glow); }

/* ── 7. KEY ADVISOR ── */
.story-adv__header { text-align: center; margin-bottom: 20px; }
.story-adv__header h2, .story-board__header h2 { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: clamp(22px, 2.5vw, 30px); font-weight: 700; line-height: 1.35; color: var(--brand-blue-dark); margin: 0 0 6px 0; }
.story-adv__header p { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: 15px; font-weight: 400; line-height: 1.55; color: var(--brand-grey-dk); max-width: 600px; margin: 0 auto; }
.story-adv-card { display: flex; align-items: center; margin: 0 auto; max-width: 840px; }
.story-adv-photo { width: 200px; height: 210px; border-radius: var(--radius-lg, 16px); overflow: hidden; flex-shrink: 0; border: 3px solid var(--brand-orange); z-index: 10; position: relative; box-shadow: var(--shadow-md); transition: transform var(--duration-normal, 300ms) var(--ease); }
.story-adv-photo:hover { transform: translateY(-3px); }
.story-adv-photo img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.story-adv-info { background: var(--brand-cream); border-radius: var(--radius-xl, 24px); padding: 24px 28px 24px 40px; margin-left: -20px; z-index: 1; position: relative; flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; box-shadow: var(--shadow-sm); box-sizing: border-box; border: 1px solid var(--brand-grey-lt); }
.story-adv-text { flex: 1; }
.story-adv-info h3 { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; line-height: 1.3; color: var(--brand-orange); margin: 0 0 4px 0; }
.story-adv-info h4 { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--brand-black); margin: 0 0 8px 0; }
.story-adv-info p { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: 14px; font-weight: 400; line-height: 1.55; color: var(--brand-grey-dk); margin: 0; }
.story-adv-linkedin { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-white); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; color: #0A66C2; flex-shrink: 0; transition: var(--transition-fast); border: 1px solid rgba(0, 0, 0, 0.06); }
.story-adv-linkedin:hover { transform: scale(1.08); background: #0A66C2; color: var(--brand-white); }

/* ── 8. BOARD OF ADVISORS ── */
.story-board__header { text-align: center; max-width: 900px; margin: 0 auto 20px auto; }
.story-board__header p { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: 15px; font-weight: 400; line-height: 1.55; color: var(--brand-grey-dk); margin: 0 auto; }
.story-board__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.story-board-card { text-align: center; transition: var(--transition-normal); display: flex; flex-direction: column; align-items: center; width: calc(20% - 15px); min-width: 150px; }
.story-board-card:hover .story-board-photo { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.story-board-photo { width: 100%; max-width: 130px; height: 130px; border-radius: var(--radius-lg, 16px); overflow: hidden; margin-bottom: 8px; box-shadow: var(--shadow-sm); transition: var(--transition-normal); }
.story-board-card h3 { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--brand-black); margin: 0 0 2px 0; }
.story-board-card p { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: 12.5px; font-weight: 400; line-height: 1.35; color: var(--brand-grey-dk); margin: 0 0 6px 0; }
.story-board-logo { max-height: 32px; max-width: 110px; width: auto; height: auto; object-fit: contain; display: inline-block; }

/* ── 9. JOIN CTA BANNER ── */
.story-join-cta { padding: 48px 0 64px 0; background: var(--brand-white); box-sizing: border-box; }
/* Advisors and Join CTA share a white background: avoid a doubled 96px gap between them */
.story-board + .story-join-cta { padding-top: 8px; }
.story-join-cta__inner { background: linear-gradient(135deg, var(--brand-blue-dark) 0%, #17202c 100%); color: var(--brand-white); border-radius: var(--radius-xl, 20px); padding: 28px 36px; display: flex; justify-content: space-between; align-items: center; box-shadow: var(--shadow-md); box-sizing: border-box; border: 1px solid rgba(230, 140, 16, 0.2); }
.story-join-cta__text h2 { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; line-height: 1.3; margin: 0 0 8px 0; color: var(--brand-white); }
.story-join-cta__text p { font-family: var(--ff-sans, 'Poppins', sans-serif); font-size: clamp(13px, 1.2vw, 15px); font-weight: 400; line-height: 1.55; color: rgba(255, 255, 255, 0.82); margin: 0; }
.story-join-cta__actions .btn-primary { background: var(--brand-orange); color: var(--brand-white); text-decoration: none; padding: 12px 28px; font-family: var(--ff-sans, 'Poppins', sans-serif); font-weight: 600; font-size: 14px; line-height: 1; border-radius: var(--radius-pill, 100px); transition: var(--transition-fast); display: inline-flex; align-items: center; justify-content: center; }
.story-join-cta__actions .btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 14px var(--brand-orange-glow); }

/* ── 10. RESPONSIVE MEDIA QUERIES ── */
html, body.page-template-page-our-story { overflow-x: hidden !important; width: 100%; max-width: 100vw; }

@media (max-width: 1024px) {
  .story-team-card, .story-board-card { width: calc(33.33% - 12px); }
}

@media (max-width: 991px) {
  .story-section { padding: 20px 0; }
  .story-beg__header-left { margin-right: 0; margin-bottom: 12px; }
  .story-beg__header-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .story-diff__header { flex-direction: column; gap: 12px; margin-bottom: 16px; }
  .story-diff-card { width: calc(50% - 9px); }
  .story-diff__inner { padding: 20px 16px; }
  .story-hero__grid.has-image, .story-beg__grid.has-image, .story-whoweare__grid { grid-template-columns: 1fr; gap: 16px; }
  .story-adv-card { flex-direction: column; text-align: center; gap: 16px; }
  .story-adv-info { margin-left: 0; padding: 20px 16px; flex-direction: column; gap: 14px; }
  .story-adv-photo { width: 180px; height: 190px; }
  .story-join-cta { padding: 32px 0 44px 0; }
  .story-join-cta__inner { flex-direction: column; text-align: center; gap: 16px; padding: 20px 16px; }
}

@media (max-width: 640px) {
  .story-section { padding: 16px 0; }
  .story-container { padding: 0 16px; }
  .story-hero { padding: 24px 0 18px 0; }
  .story-hero__content h1 { font-size: clamp(24px, 7vw, 32px); }
  .story-hero__content p { font-size: 14px; }
  .story-hero__cta { width: 100%; justify-content: center; box-sizing: border-box; }
  .story-whoweare-card { padding: 18px 16px; border-radius: 16px; }
  .story-diff-card { width: 100%; }
  .story-team-cta-banner { flex-direction: column; text-align: center; gap: 12px; padding: 14px; }
  .story-team-cta-banner span { font-size: 16px; }
  .story-team-cta-btn { width: 100%; box-sizing: border-box; }
  .story-team-card, .story-board-card { width: calc(50% - 8px); min-width: 120px; }
  .story-timeline { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
}

@media (max-width: 480px) {
  .story-team-card, .story-board-card { width: 100%; min-width: 0; }
  .story-team-photo { height: 160px; }
  .story-board-photo { max-width: 100px; height: 100px; }
  .story-join-cta__actions .btn-primary { width: 100%; text-align: center; box-sizing: border-box; }
}
