/* Sea Chef 落地页：阳光港湾、纸张奶油色与深海蓝绿。 */
:root {
  --cream: #f8f0dc;
  --paper: #fffaf0;
  --navy: #062f38;
  --sea: #0d5960;
  --sea-light: #2d7f7c;
  --orange: #ee7a32;
  --sun: #f5bd4d;
  --line: rgba(6, 47, 56, .2);
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--navy); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; border-radius: .2rem; }
.skip { position: fixed; top: -5rem; left: 1rem; z-index: 20; background: var(--paper); padding: .65rem 1rem; font-weight: 700; }
.skip:focus { top: 1rem; }

/* 页头 */
.site-head { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: .7rem clamp(1.1rem, 4vw, 4rem); background: var(--cream); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .75rem; font: 700 1.15rem/1 var(--serif); text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 5px 14px rgba(6, 47, 56, .16); }
.site-head nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2.2rem); font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
.site-head nav a { text-decoration: none; }
.site-head nav a:hover { text-decoration: underline; }
.site-head .back { border-left: 1px solid var(--line); padding-left: clamp(.9rem, 3vw, 2.2rem); }

/* 港湾首屏 */
.hero { min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); position: relative; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero-art, .hero-art img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { z-index: -2; }
.hero-art img { object-fit: cover; object-position: center 48%; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgba(2, 28, 34, .84) 0%, rgba(3, 34, 40, .52) 44%, rgba(4, 36, 41, .04) 78%), linear-gradient(0deg, rgba(2, 28, 34, .46), transparent 45%); }
.hero-copy { width: min(92%, 1280px); margin: 0 auto; padding: clamp(5rem, 11vh, 9rem) 0 clamp(5rem, 10vh, 8rem); color: #fff9e9; }
.eyebrow, .kicker, .chapter-no { margin: 0 0 1.25rem; font-size: .73rem; font-weight: 800; letter-spacing: .18em; }
.eyebrow { color: #ffd67a; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 9ch; margin-bottom: 1.5rem; font: 700 clamp(4.3rem, 9.6vw, 9rem)/.82 var(--serif); letter-spacing: -.065em; text-wrap: balance; text-shadow: 0 3px 28px rgba(0, 0, 0, .2); }
.lede { max-width: 33rem; margin-bottom: 2rem; font-size: clamp(1.1rem, 2vw, 1.32rem); line-height: 1.5; color: rgba(255, 250, 235, .9); }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.button { display: inline-block; padding: .9rem 1.25rem; background: var(--orange); color: var(--navy); border-radius: 999px; text-decoration: none; font-weight: 800; box-shadow: 0 7px 0 #a9471c; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 9px 0 #a9471c; }
.hero-actions p { margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
.hero-actions p span { color: #ffd76d; margin-right: .35rem; }
.scroll-cue { position: absolute; right: 4vw; bottom: 2.5rem; margin: 0; color: rgba(255,255,255,.78); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue span { padding-top: .7rem; }

/* 开场与章节 */
.invitation { display: grid; grid-template-columns: .6fr 1.4fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; padding: clamp(5rem, 10vw, 9rem) max(5vw, calc((100% - 1280px) / 2)); background: var(--paper); }
.kicker { color: #a7491b; }
.keep .kicker { color: #f5bd4d; }
.closing .kicker { color: var(--navy); }
.invitation h2, .section-head h2, .keep h2, .faq h2, .closing h2 { margin-bottom: 0; font: 700 clamp(2.6rem, 5vw, 5rem)/.98 var(--serif); letter-spacing: -.045em; text-wrap: balance; }
.invitation > p:last-child { max-width: 31rem; color: var(--sea); }
.journey { padding: clamp(5rem, 10vw, 9rem) max(5vw, calc((100% - 1180px) / 2)); background: var(--cream); }
.section-head { max-width: 51rem; margin-bottom: clamp(4rem, 10vw, 8rem); }
.chapter { display: grid; grid-template-columns: minmax(16rem, .9fr) minmax(18rem, .72fr); gap: clamp(3rem, 12vw, 9rem); align-items: center; max-width: 920px; margin: 0 auto; }
.chapter:nth-of-type(even) { grid-template-columns: minmax(18rem, .72fr) minmax(16rem, .9fr); }
.chapter:nth-of-type(even) .chapter-copy { order: 2; }
.chapter-copy { max-width: 28rem; }
.chapter-no { color: var(--sea-light); display: flex; align-items: center; gap: .8rem; }
.chapter-no span { width: 2.5rem; height: 1px; background: currentColor; }
.chapter h3 { margin-bottom: 1.25rem; font: 700 clamp(2.2rem, 4vw, 4rem)/1 var(--serif); letter-spacing: -.04em; }
.chapter-copy > p:last-child { color: var(--sea); }
.chapter figure { margin: 0; position: relative; }
.chapter figure::before { content: ""; position: absolute; inset: -1.4rem; z-index: 0; border: 1px solid rgba(6, 47, 56, .14); border-radius: 42% 42% 1.5rem 1.5rem; transform: rotate(2.5deg); }
.chapter:nth-of-type(even) figure::before { transform: rotate(-2.5deg); }
.chapter figure img { position: relative; z-index: 1; width: min(100%, 443px); aspect-ratio: 1 / 2; object-fit: cover; border-radius: 2.2rem; box-shadow: 0 22px 60px rgba(6, 47, 56, .2); }
.chapter figcaption { position: relative; z-index: 2; width: max-content; max-width: 90%; margin: -1.5rem auto 0; padding: .7rem 1rem; background: var(--paper); border-radius: .4rem; font: italic 1rem/1.35 var(--serif); box-shadow: 0 8px 24px rgba(6, 47, 56, .12); }
.route { height: clamp(7rem, 15vw, 12rem); display: grid; place-items: center; color: var(--orange); }
.route::before, .route::after { content: ""; height: 42%; border-left: 1px dashed var(--sea-light); }
.route span { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border: 1px solid currentColor; border-radius: 50%; }

/* 本地存档与问答 */
.keep { padding: clamp(5rem, 9vw, 8rem) max(5vw, calc((100% - 1180px) / 2)); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 10vw, 8rem); background: var(--navy); color: var(--paper); }
.keep dl { margin: 0; }
.keep dl div { padding: 1.3rem 0; border-top: 1px solid rgba(255,255,255,.22); }
.keep dt { font: 700 1.35rem/1.2 var(--serif); }
.keep dd { margin: .35rem 0 0; color: rgba(255,255,255,.72); }
.faq { padding: clamp(5rem, 9vw, 8rem) max(5vw, calc((100% - 1180px) / 2)); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 10vw, 8rem); background: var(--paper); }
.faq .section-head { margin: 0; }
.questions { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 1.35rem 2.2rem 1.35rem 0; font: 700 1.18rem/1.3 var(--serif); }
details p { margin: -.3rem 0 1.5rem; max-width: 35rem; color: var(--sea); }

/* 收束与页脚 */
.closing { padding: clamp(6rem, 12vw, 11rem) 5vw; text-align: center; background: var(--sun); }
.closing h2 { max-width: 11ch; margin: 0 auto 2rem; font-size: clamp(3.2rem, 7vw, 7rem); }
.closing .status { width: fit-content; margin: 0 auto 1.5rem; padding: .5rem .9rem; border: 1px solid currentColor; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.closing > a { font-weight: 800; }
.site-foot { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; padding: 3rem max(5vw, calc((100% - 1280px) / 2)); background: var(--navy); color: rgba(255,255,255,.72); font-size: .82rem; }
.site-foot p { margin: 0; }
.site-foot strong { color: var(--paper); font: 700 1.2rem/1.5 var(--serif); }
.site-foot > p:last-child { text-align: right; }
.site-foot div { text-align: center; }
.site-foot nav { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: .35rem; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-head { min-height: 68px; }
  .brand img { width: 40px; height: 40px; }
  .site-head nav a:not(.back) { display: none; }
  .site-head .back { border: 0; padding-left: 0; }
  .hero { min-height: calc(100svh - 68px); }
  .hero-art img { object-position: 62% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(2, 28, 34, .9) 0%, rgba(2, 28, 34, .38) 72%, rgba(2, 28, 34, .08)); }
  .hero-copy { width: auto; padding: 12rem 1.2rem 4rem; }
  h1 { max-width: none; font-size: clamp(3.2rem, 16vw, 5.4rem); }
  .scroll-cue { display: none; }
  .invitation, .keep, .faq { grid-template-columns: minmax(0, 1fr); }
  .invitation { padding-left: 1.2rem; padding-right: 1.2rem; gap: 1.3rem; }
  .journey { padding-left: 1.2rem; padding-right: 1.2rem; }
  .chapter, .chapter:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .chapter-copy { min-width: 0; }
  .chapter-no { flex-wrap: wrap; }
  .chapter figure::before { inset: -.7rem; }
  .chapter:nth-of-type(even) .chapter-copy { order: initial; }
  .chapter figure { width: min(88%, 390px); margin: 0 auto; }
  .keep, .faq { padding-left: 1.2rem; padding-right: 1.2rem; }
  .site-foot { grid-template-columns: 1fr; text-align: left; }
  .site-foot div, .site-foot > p:last-child { text-align: left; }
  .site-foot nav { justify-content: flex-start; }
}

@media (max-width: 340px) {
  .site-head { padding-left: .8rem; padding-right: .8rem; }
  .brand { gap: .5rem; font-size: 1rem; }
  .hero-copy, .invitation, .journey, .keep, .faq { padding-left: 1rem; padding-right: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

@media print {
  .hero { min-height: 700px; }
  .site-head nav, .skip, .scroll-cue { display: none; }
}
