:root { color-scheme: light; }
html { scroll-behavior: smooth; }
body { font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #f6b94a; outline-offset: 3px; }
.hero-section { min-height: 100svh; }
.nav-link { position: relative; padding: 0.75rem 0; transition: color 180ms ease; }
.nav-link::after { position: absolute; bottom: .4rem; left: 0; height: 2px; width: 100%; content: ""; background: #e25f3f; transform: scaleX(0); transform-origin: right; transition: transform 180ms ease; }
.nav-link:hover { color: #1f2722; }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.button-primary, .button-secondary, .button-ghost, .button-dark { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border-radius: 4px; padding: .75rem 1.4rem; font-size: .875rem; font-weight: 600; transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease; }
.button-primary { background: #f6b94a; color: #20271f; }
.button-primary:hover { background: #ffd071; transform: translateY(-2px); }
.button-secondary { border: 1px solid #1f2722; color: #1f2722; }
.button-secondary:hover { background: #1f2722; color: white; }
.button-ghost { border: 1px solid rgba(255,255,255,.45); color: white; }
.button-ghost:hover { border-color: white; background: rgba(255,255,255,.12); }
.button-dark { background: #1f2722; color: white; }
.button-dark:hover { background: #e25f3f; transform: translateY(-2px); }
.section-label { margin-bottom: .8rem; font-size: .75rem; font-weight: 700; color: #e25f3f; text-transform: uppercase; }
.section-title { font-size: clamp(2.25rem, 5vw, 4.5rem); font-weight: 600; line-height: 1.08; }
.inspiration-grid { display: grid; grid-template-columns: 1.3fr .7fr; grid-template-rows: repeat(2, minmax(240px, 1fr)); gap: 1rem; min-height: 650px; }
.story-card { position: relative; overflow: hidden; border-radius: 6px; background: #d9ddd6; }
.story-card-large { grid-row: span 2; }
.story-card img { height: 100%; width: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.story-card:hover img { transform: scale(1.035); }
.story-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,27,22,.8), transparent 60%); }
.story-copy { position: absolute; inset: auto 0 0; padding: 1.5rem; color: white; }
.story-copy span { font-size: .75rem; color: rgba(255,255,255,.7); }
.story-copy h3 { margin-top: .45rem; font-size: 1.5rem; font-weight: 600; }
.method-row { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 2rem 0; }
.method-row > span { color: #e25f3f; font-size: .8rem; font-weight: 700; }
.method-row h3 { font-size: 1.35rem; font-weight: 600; }
.method-row p { margin-top: .5rem; line-height: 1.7; color: #687169; }
.mobile-nav { display: none; }
.info-dialog { width: min(calc(100% - 2rem), 32rem); max-height: calc(100svh - 2rem); overflow-y: auto; border: 0; border-radius: 6px; padding: 2rem; background: #fffdf7; color: #1f2722; box-shadow: 0 24px 70px rgba(0,0,0,.25); }
.info-dialog::backdrop { background: rgba(22,29,24,.65); backdrop-filter: blur(4px); }
.info-dialog h2 { margin-bottom: 1rem; font-size: 2rem; font-weight: 600; line-height: 1.2; }
.info-dialog > p:not(.section-label) { margin-bottom: 1.75rem; color: #687169; line-height: 1.8; }
.dialog-close { position: absolute; top: .75rem; right: .75rem; display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; font-size: 1.75rem; color: #687169; }
.dialog-close:hover { background: #ece9e1; color: #1f2722; }
@media (max-width: 767px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .inspiration-grid { grid-template-columns: 1fr; grid-template-rows: 440px 300px 300px; min-height: 0; }
  .story-card-large { grid-row: auto; }
  .mobile-nav { position: fixed; z-index: 60; right: 0; bottom: 0; left: 0; display: grid; height: calc(68px + env(safe-area-inset-bottom)); grid-template-columns: repeat(4, 1fr); padding: 5px 8px env(safe-area-inset-bottom); border-top: 1px solid rgba(0,0,0,.08); background: rgba(255,253,247,.96); backdrop-filter: blur(16px); }
  .mobile-nav a { display: flex; min-height: 56px; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #788078; font-size: .68rem; }
  .mobile-nav a span { font-size: 1.25rem; line-height: 1; }
  .mobile-nav a.active { color: #e25f3f; font-weight: 700; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
