/* 案例首頁 V2 — 溫暖、匿名、問題導向 */
.case-v2 {
  --case-ink: #23211f;
  --case-charcoal: #191816;
  --case-charcoal-2: #211f1c;
  --case-paper: #f3eee6;
  --case-white: #faf7f1;
  --case-soft: #746d65;
  --case-line: #d9d0c5;
  --case-orange: #e97850;
  --case-orange-deep: #cc6040;
  background: var(--case-paper);
  color: var(--case-ink);
}
.case-v2::before { opacity: .14; }
.case-v2 .case-wrap { width: min(1160px, calc(100% - 56px)); margin: 0 auto; }
.case-v2 h1, .case-v2 h2, .case-v2 h3 { font-family: var(--serif); }
.case-v2 p { text-wrap: pretty; }
.case-v2 .nav { background: rgba(25, 24, 22, .94); border-bottom-color: rgba(255, 255, 255, .08); }
.case-v2 .nav-inner { max-width: 1216px; }
.case-v2 .nav-brand { color: #f5f0e8; }
.case-v2 .nav-cta { border-radius: 999px; background: var(--case-orange); }
.case-v2 .nav-links [aria-current="page"] { color: #fff; }

.case-kicker, .case-index {
  display: block;
  font-size: .77rem;
  font-weight: 500;
  letter-spacing: .13em;
  color: var(--case-orange-deep);
}

.case-hero { padding: 126px 0 108px; background: radial-gradient(circle at 85% 18%, rgba(233, 120, 80, .10), transparent 28%), var(--case-paper); }
.hero-grid { display: grid; grid-template-columns: 1.18fr .62fr; gap: 100px; align-items: end; }
.case-hero h1 { margin-top: 22px; font-size: clamp(3.15rem, 5.8vw, 4.75rem); line-height: 1.18; letter-spacing: -.035em; }
.case-hero div > p { max-width: 680px; margin-top: 28px; color: #625c55; font-size: 1.08rem; line-height: 1.9; }
.case-hero aside { padding: 28px 0 6px 28px; border-left: 2px solid var(--case-orange); }
.case-hero aside span { color: var(--case-orange-deep); font-size: .78rem; letter-spacing: .1em; }
.case-hero aside p { margin-top: 12px; color: var(--case-soft); font-size: .92rem; line-height: 1.85; }

.featured-cases { padding: 116px 0 126px; background: var(--case-white); }
.case-heading { display: grid; grid-template-columns: 1fr 1.7fr; gap: 50px; align-items: start; margin-bottom: 72px; }
.case-heading > span { color: var(--case-orange-deep); font-size: .78rem; letter-spacing: .12em; padding-top: 14px; }
.case-heading h2, .more-cases h2, .privacy-section h2, .case-contact h2 { font-size: clamp(2.35rem, 4.4vw, 3.65rem); line-height: 1.28; letter-spacing: -.028em; }

.case-feature { display: grid; grid-template-columns: 1.02fr .98fr; gap: 74px; align-items: center; padding: 82px 0; border-top: 1px solid var(--case-line); }
.case-feature:last-child { border-bottom: 1px solid var(--case-line); }
.case-feature.reverse figure { order: 2; }
.case-feature figure { height: 520px; overflow: hidden; border-radius: 24px; background: #d8cec3; box-shadow: 0 22px 60px rgba(65, 47, 34, .12); }
.case-feature img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) sepia(.04); }
.case-feature:nth-of-type(3) img { object-position: 50% 50%; }
.feature-copy h3 { margin-top: 18px; font-size: clamp(2rem, 3.4vw, 2.85rem); line-height: 1.38; letter-spacing: -.02em; }
.feature-copy dl { margin-top: 30px; }
.feature-copy dl > div { display: grid; grid-template-columns: 104px 1fr; gap: 20px; padding: 17px 0; border-top: 1px solid var(--case-line); }
.feature-copy dl > div:last-child { border-bottom: 1px solid var(--case-line); }
.feature-copy dt { color: var(--case-orange-deep); font-size: .78rem; letter-spacing: .07em; }
.feature-copy dd { color: var(--case-soft); font-size: .92rem; line-height: 1.8; }
.feature-copy > a { display: inline-flex; margin-top: 26px; color: var(--case-orange-deep); font-weight: 500; }

.more-cases { padding: 120px 0; background: #ebe3d8; }
.more-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 96px; align-items: start; }
.more-layout header > p { margin-top: 23px; max-width: 420px; color: var(--case-soft); line-height: 1.9; }
.more-layout .case-kicker { margin-bottom: 19px; }
.more-list { border-top: 1px solid #cdbfb1; }
.more-list article { padding: 29px 2px 30px; border-bottom: 1px solid #cdbfb1; display: grid; grid-template-columns: 120px .9fr 1fr; gap: 28px; align-items: start; }
.more-list article > span { color: var(--case-orange-deep); font-size: .78rem; letter-spacing: .1em; padding-top: 5px; }
.more-list h3 { font-size: 1.34rem; line-height: 1.6; }
.more-list p { color: var(--case-soft); font-size: .89rem; line-height: 1.8; }

.privacy-section { padding: 116px 0; background: var(--case-charcoal); color: #f5f0e8; }
.privacy-layout { display: grid; grid-template-columns: 1fr .8fr; gap: 96px; align-items: start; }
.privacy-section .case-kicker { color: #f09a79; margin-bottom: 20px; }
.privacy-layout > div:last-child { padding-top: 45px; }
.privacy-layout p { color: #b8b0a5; line-height: 1.95; }
.privacy-layout p + p { margin-top: 16px; }
.privacy-layout a { display: inline-flex; margin-top: 28px; color: #f09a79; font-weight: 500; }

.case-contact { padding: 120px 0; text-align: center; background: var(--case-paper); }
.case-contact .case-wrap { display: flex; flex-direction: column; align-items: center; }
.case-contact h2 { margin-top: 20px; }
.case-contact p { max-width: 600px; margin-top: 22px; color: var(--case-soft); font-size: 1rem; line-height: 1.9; }
.case-button { min-height: 52px; margin-top: 31px; padding: 13px 25px; border-radius: 999px; color: #fff; background: var(--case-orange); display: inline-flex; align-items: center; font-weight: 500; transition: transform .2s ease, background .2s ease; }
.case-button:hover { transform: translateY(-2px); background: var(--case-orange-deep); }

.case-footer { background: #151412; color: #d8d1c8; border-top: 1px solid rgba(255, 255, 255, .08); padding: 50px max(28px, calc((100% - 1160px) / 2)) 24px; }
.case-footer .footer-inner { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.case-footer .footer-brand { display: flex; align-items: center; font-family: var(--serif); }
.case-footer .footer-logo { width: auto; height: 34px; margin-right: 12px; }
.case-footer .footer-brand .sub { margin-left: 13px; font-family: var(--sans); font-size: .65rem; color: #817b73; letter-spacing: .13em; }
.case-footer .footer-cols { display: flex; flex-wrap: wrap; gap: 24px; color: #aaa299; font-size: .85rem; }
.case-footer .footer-cols a:hover { color: var(--case-orange); }
.case-footer .footer-copy { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; color: #6f6a64; font-size: .74rem; }

@media (max-width: 960px) {
  .hero-grid { gap: 60px; }
  .case-feature { gap: 48px; }
  .case-feature figure { height: 450px; }
  .more-layout { gap: 56px; }
  .more-list article { grid-template-columns: 95px 1fr; }
  .more-list p { grid-column: 2; }
}

@media (max-width: 760px) {
  .case-v2 .case-wrap { width: calc(100% - 40px); }
  .case-v2 .nav-secondary { display: none; }
  .case-hero { padding: 76px 0 72px; }
  .hero-grid, .case-heading, .case-feature, .more-layout, .privacy-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; }
  .case-hero h1 { font-size: clamp(2.7rem, 12vw, 3.55rem); }
  .case-hero aside { padding: 22px 0 0; border-left: 0; border-top: 2px solid var(--case-orange); }
  .featured-cases, .more-cases, .privacy-section, .case-contact { padding: 78px 0; }
  .case-heading { gap: 10px; margin-bottom: 38px; }
  .case-heading > span { padding-top: 0; }
  .case-heading h2, .more-cases h2, .privacy-section h2, .case-contact h2 { font-size: 2.45rem; }
  .case-feature { gap: 34px; padding: 56px 0; }
  .case-feature.reverse figure { order: initial; }
  .case-feature figure { height: 360px; }
  .feature-copy dl > div { grid-template-columns: 88px 1fr; gap: 14px; }
  .more-layout, .privacy-layout { gap: 42px; }
  .more-list article { grid-template-columns: 1fr; gap: 9px; }
  .more-list p { grid-column: auto; }
  .privacy-layout > div:last-child { padding-top: 0; }
  .case-footer .footer-inner, .case-footer .footer-copy { align-items: flex-start; flex-direction: column; }
  .case-footer .footer-brand .sub { display: none; }
}

@media (max-width: 430px) {
  .case-v2 .case-wrap { width: calc(100% - 32px); }
  .case-hero h1 { font-size: 2.75rem; }
  .case-feature figure { height: 300px; }
  .feature-copy h3 { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .case-button:hover { transform: none; }
}
