/* ============================================================
   투인 소프트 — 다크 시네마틱 테마 (사보타지 스튜디오 구조 참고)
   구조: Home(히어로) → App&Web(풀폭 쇼케이스) → Story → Coming Soon
   ============================================================ */
:root {
  /* 팔레트 */
  --bg: #0b0d12;          /* 페이지 배경 */
  --bg-soft: #141824;     /* 패널 배경 */
  --card: #171c2a;        /* 카드 배경 */
  --line: #262d40;        /* 경계선 */
  --ink: #eceae4;         /* 본문 텍스트 */
  --ink-soft: #9aa0b0;    /* 보조 텍스트 */
  --coral: #ff6b57;       /* 메인 포인트 (앱·게임) */
  --coral-dark: #ff8a70;  /* 링크/호버 */
  --teal: #3ec6b8;        /* 웹서비스 */
  --gold: #f5b942;        /* 이야기/블로그 */
  --lav: #9b8cff;         /* Coming Soon */
  --radius: 20px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255, 107, 87, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(62, 198, 184, 0.07), transparent 60%),
    var(--bg);
  color: var(--ink);
  line-height: 1.7;
  word-break: keep-all;
}

img { max-width: 100%; display: block; }
a { color: var(--coral-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(11, 13, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }

.brand-mark {
  background: linear-gradient(135deg, var(--coral), #ff9d6b);
  color: #14100e;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
}

.site-nav { display: flex; gap: clamp(12px, 2.4vw, 30px); flex-wrap: wrap; }

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); text-decoration: none; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 24, 36, 0.72);
  color: var(--ink);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

main { margin: 0 auto; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }

/* ---------- 히어로 (Home) ---------- */
.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 140px) clamp(20px, 5vw, 64px) clamp(48px, 7vw, 90px);
}

.hero-kicker {
  display: inline-block;
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.home-hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

.home-hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--coral), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 히어로 제목 안의 "함께" 강조 — 웹서비스 팔레트(teal) */
.home-hero h1 .accent-teal {
  font-style: normal;
  background: linear-gradient(120deg, var(--teal), var(--lav));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text { color: var(--ink-soft); font-size: 1.06rem; margin: 0 0 30px; max-width: 34em; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.button {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.button:hover { text-decoration: none; transform: translateY(-2px); }
.button.primary {
  background: linear-gradient(135deg, var(--coral), #ff9d6b);
  color: #14100e;
  box-shadow: 0 10px 30px rgba(255, 107, 87, 0.35);
}
.button.secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.button.secondary:hover { border-color: var(--ink-soft); }

.hero-media { margin: 0; position: relative; }
.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transform: rotate(1.5deg);
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: -14%;
  background: radial-gradient(closest-side, rgba(255, 107, 87, 0.18), transparent 70%);
  z-index: -1;
}

/* ---------- 섹션 공통 ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section + .section { border-top: 1px solid var(--line); }

.reveal-ready .snap-section {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal-ready .snap-section.is-visible,
.snap-section {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.74rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.section-heading { margin-bottom: clamp(28px, 4vw, 48px); position: relative; }
.section-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.01em;
}
.section-sub { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.heading-link { position: absolute; right: 0; top: 14px; font-size: 0.9rem; font-weight: 700; }

/* ---------- App&Web 풀폭 쇼케이스 ---------- */
.showcase { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.showcase-row.flip .showcase-art { order: 2; }

.showcase-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  overflow: hidden;
}
.showcase-art .art-bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  filter: blur(40px) saturate(1.4);
  opacity: 0.55;
}
.showcase-art .art-grad-app { background: radial-gradient(circle at 30% 30%, rgba(255,107,87,0.5), rgba(20,16,20,0.9)); }
.showcase-art .art-grad-web { background: radial-gradient(circle at 30% 30%, rgba(62,198,184,0.45), rgba(14,20,24,0.9)); }
.showcase-art img.art-icon {
  position: relative;
  width: clamp(120px, 16vw, 180px);
  height: clamp(120px, 16vw, 180px);
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  object-fit: cover;
}
.showcase-art .art-letter {
  position: relative;
  width: clamp(120px, 16vw, 180px);
  height: clamp(120px, 16vw, 180px);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.showcase-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: clamp(28px, 4vw, 56px);
}

.showcase-kind {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.kind-app { color: var(--coral); }
.kind-web { color: var(--teal); }

.showcase-body h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.showcase-body > p { margin: 0; color: var(--ink-soft); font-size: 0.99rem; max-width: 30em; }

.store-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.store-link {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.store-link:hover { text-decoration: none; border-color: var(--coral); background: rgba(255, 107, 87, 0.08); }
.store-link-primary { border-color: rgba(255, 107, 87, 0.55); background: rgba(255, 107, 87, 0.08); }

.status-chip {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: none;
}
.status-review { background: rgba(245, 185, 66, 0.15); color: var(--gold); border: 1px solid rgba(245, 185, 66, 0.4); }
.status-planned { background: rgba(155, 140, 255, 0.14); color: var(--lav); border: 1px solid rgba(155, 140, 255, 0.4); }

/* ---------- Story ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.story-copy p { color: var(--ink-soft); font-size: 1.02rem; }
.story-copy .story-lead {
  color: var(--ink);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.55;
}

.story-side { display: flex; flex-direction: column; gap: 14px; }

.blog-card, .news-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.blog-card h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 800; }
.blog-card p { margin: 0 0 10px; color: var(--ink-soft); font-size: 0.92rem; }
.blog-kind {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* 최근 소식 스트립 */
.news-strip { margin-top: clamp(36px, 5vw, 56px); }
.news-strip-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.news-strip-head h3 { margin: 0; font-size: 1.15rem; font-weight: 800; }

.news-grid, .news-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.news-card h3 { margin: 12px 0 8px; font-size: 1.02rem; font-weight: 800; }
.news-card p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

.news-card-head { display: flex; gap: 12px; align-items: center; }
.news-icon { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.news-icon-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 1.25rem;
}
.news-app { margin: 0; font-weight: 800; font-size: 0.88rem; }
.news-date { margin: 0; color: var(--ink-soft); font-size: 0.78rem; }
.news-tag { color: var(--coral); font-weight: 700; }

.news-points { margin: 12px 0 0; padding-left: 18px; color: var(--ink-soft); font-size: 0.9rem; }
.news-points li { margin-bottom: 4px; }

/* ---------- Coming Soon ---------- */
.coming-section {
  background: linear-gradient(180deg, rgba(155, 140, 255, 0.05), transparent 55%);
}
.coming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.coming-card {
  position: relative;
  background: var(--card);
  border: 1px dashed rgba(155, 140, 255, 0.45);
  border-radius: var(--radius);
  padding: 26px 24px;
  overflow: hidden;
}
.coming-card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(155, 140, 255, 0.22), transparent);
}
.coming-kind {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lav);
}
.coming-card h3 { margin: 8px 0 8px; font-size: 1.15rem; font-weight: 800; }
.coming-card p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- 컨택트 밴드 ---------- */
.contact-band {
  text-align: center;
  padding: clamp(56px, 8vw, 100px) clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: radial-gradient(700px 300px at 50% 0%, rgba(255, 107, 87, 0.08), transparent 70%);
}
.contact-band h2 { margin: 0 0 10px; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; }
.contact-band p { color: var(--ink-soft); margin: 0 0 24px; }

/* ---------- 업데이트 페이지 ---------- */
.updates-hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) clamp(20px, 5vw, 64px) clamp(16px, 3vw, 28px);
}
.updates-hero h1 {
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  font-weight: 900;
  line-height: 1.3;
  margin: 10px 0 14px;
}
.update-board { max-width: 1160px; margin: 0 auto; padding-left: clamp(20px, 5vw, 64px); padding-right: clamp(20px, 5vw, 64px); }

.update-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.filter-tab:hover { border-color: var(--ink-soft); color: var(--ink); }
.filter-tab.active {
  background: linear-gradient(135deg, var(--coral), #ff9d6b);
  border-color: transparent;
  color: #14100e;
}

/* ---------- 텍스트 유틸 ---------- */
.text-link { font-weight: 700; font-size: 0.92rem; }
.blog-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 !important; }
.blog-link-sep { color: var(--line); font-weight: 700; }
.text-muted { color: var(--ink-soft); font-size: 0.88rem; }

/* ---------- 푸터 ---------- */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- 반응형 ---------- */
@media (max-width: 900px) {
  html {
    scroll-padding-top: 56px;
    scroll-snap-type: y mandatory;
  }

  .site-header {
    min-height: 56px;
    padding: 9px 16px;
  }

  .brand {
    gap: 8px;
    font-size: 0.96rem;
  }

  .brand-mark {
    font-size: 0.67rem;
    padding: 3px 8px;
  }

  .nav-toggle {
    display: block;
  }

  .site-header.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 58px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(15, 18, 27, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
  }

  .site-nav a:hover {
    background: rgba(255, 107, 87, 0.08);
  }

  .snap-section {
    min-height: calc(100svh - 56px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin-top: 56px;
  }

  .contact-band.snap-section {
    min-height: calc(100svh - 56px - 96px);
  }

  .section {
    padding: 34px 0 64px;
  }

  .home-hero {
    padding-top: 30px;
    padding-bottom: 64px;
  }

  .home-hero, .story-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 420px; }

  #appweb .showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #appweb .showcase-row {
    display: grid;
    grid-template-columns: minmax(116px, 0.38fr) minmax(0, 0.62fr);
    min-height: auto;
  }

  #appweb .showcase-art {
    min-height: 100%;
  }

  #appweb .showcase-art img.art-icon,
  #appweb .showcase-art .art-letter {
    width: clamp(76px, 20vw, 104px);
    height: clamp(76px, 20vw, 104px);
    border-radius: 22px;
  }

  #appweb .showcase-body {
    padding: 20px 18px;
    min-width: 0;
  }

  #appweb .showcase-body h3 {
    font-size: clamp(1.04rem, 5vw, 1.22rem);
    line-height: 1.35;
  }

  #appweb .showcase-body > p {
    font-size: 0.86rem;
    line-height: 1.52;
  }

  .showcase-row { grid-template-columns: 1fr; }
  .showcase-row.flip .showcase-art { order: 0; }

  #story .story-copy p {
    margin: 0 0 12px;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  #story .story-copy .story-lead {
    font-size: 1.08rem;
    line-height: 1.5;
  }

  #story .story-side {
    gap: 10px;
  }

  #story .blog-card,
  #story .news-card {
    padding: 16px 18px;
  }

  #story .news-strip {
    margin-top: 22px;
  }

  #story .news-strip-head {
    margin-bottom: 12px;
  }

  #story .news-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #story .news-preview-grid .news-card {
    width: 100%;
  }

  #story .news-preview-grid .news-card > p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .heading-link { position: static; display: inline-block; margin-top: 6px; }
}

@media (min-width: 901px) {
  html {
    scroll-snap-type: y proximity;
  }

  .site-header {
    min-height: 70px;
  }

  .snap-section {
    min-height: calc(100vh - 70px);
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    scroll-margin-top: 70px;
  }

  .contact-band.snap-section {
    min-height: calc(100vh - 70px - 88px);
  }

  .section,
  .contact-band {
    display: flex;
    align-items: center;
  }

  .home-hero {
    width: 100%;
    padding-top: clamp(28px, 4vh, 56px);
    padding-bottom: clamp(28px, 4vh, 56px);
  }

  .section {
    padding-top: clamp(28px, 4vh, 56px);
    padding-bottom: clamp(28px, 4vh, 56px);
  }

  .section > .wrap,
  .contact-band {
    width: 100%;
  }

  .contact-band {
    flex-direction: column;
    justify-content: center;
  }

  .snap-section .section-heading {
    margin-bottom: clamp(18px, 2.8vh, 30px);
  }

  .snap-section .section-heading h2 {
    font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  }

  #appweb .showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 1.8vw, 22px);
  }

  #appweb .showcase-row {
    grid-template-columns: 0.9fr 1.1fr;
    min-height: 210px;
    border-radius: var(--radius);
  }

  #appweb .showcase-row.flip .showcase-art {
    order: 0;
  }

  #appweb .showcase-art {
    min-height: 210px;
  }

  #appweb .showcase-art img.art-icon,
  #appweb .showcase-art .art-letter {
    width: clamp(86px, 8vw, 120px);
    height: clamp(86px, 8vw, 120px);
    border-radius: 24px;
  }

  #appweb .showcase-body {
    padding: clamp(20px, 2.4vw, 30px);
  }

  #appweb .showcase-body h3 {
    font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  }

  #appweb .showcase-body > p {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  #story .story-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    gap: clamp(24px, 3.5vw, 48px);
  }

  #story .story-copy p {
    margin: 0 0 12px;
    line-height: 1.58;
  }

  #story .story-copy p {
    font-size: 0.95rem;
  }

  #story .story-copy .story-lead {
    font-size: clamp(1.05rem, 1.65vw, 1.28rem);
  }

  #story .news-strip {
    margin-top: clamp(20px, 3vh, 32px);
  }

  #story .news-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #story .news-card,
  #story .blog-card {
    padding: 18px 20px;
  }

  #story .news-preview-grid .news-card > p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  #coming .coming-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 901px) and (max-height: 860px) {
  #story.section {
    align-items: flex-start;
    padding-top: 24px;
    padding-bottom: 84px;
  }

  #story .section-heading {
    margin-bottom: 16px;
  }

  #story .story-grid {
    gap: clamp(20px, 3vw, 36px);
  }

  #story .story-copy .story-lead {
    font-size: clamp(1rem, 1.45vw, 1.16rem);
    line-height: 1.5;
  }

  #story .story-copy p {
    font-size: 0.9rem;
    line-height: 1.52;
    margin-bottom: 10px;
  }

  #story .blog-card,
  #story .news-card {
    padding: 16px 18px;
  }

  #story .news-strip {
    margin-top: 16px;
  }

  #story .news-strip-head {
    margin-bottom: 12px;
  }

  #story .news-card h3 {
    margin: 8px 0 6px;
    font-size: 0.96rem;
  }

  #story .news-card p {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  #story .news-icon {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }

  .snap-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
