:root {
  color-scheme: light;
  --page: #f4f8fa;
  --surface: #ffffff;
  --surface-soft: #e8f1f5;
  --ink: #103246;
  --muted: #617985;
  --faint: #8ca0aa;
  --accent: #0a5d8f;
  --accent-ink: #f7fbfd;
  --line: rgba(20, 72, 96, 0.14);
  --radius: 14px;
  --max: 1160px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  font-family: "PingFang SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--page); }
body { margin: 0; overflow-x: hidden; background: var(--page); color: var(--ink); line-height: 1.65; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body::after { content: ""; position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: .012; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 620; letter-spacing: -.045em; }
h1 { font-size: clamp(56px, 17vw, 106px); line-height: .95; }
h2 { font-size: clamp(35px, 8.8vw, 68px); line-height: 1.08; }
h3 { font-size: 22px; line-height: 1.2; }

.site-header { position: absolute; z-index: 5; top: 0; left: 0; right: 0; width: min(100%, var(--max)); min-height: 76px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; color: #f4f7f6; }
.site-header__brand { display: grid; text-decoration: none; line-height: 1; }
.site-header__brand strong { font-size: 18px; letter-spacing: .12em; }
.site-header__brand span { margin-top: 6px; font-size: 7px; letter-spacing: .34em; opacity: .62; }
.site-header__action { min-height: 38px; padding: 0 15px; display: none; align-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; background: rgba(255,255,255,.16); color: #f7fbfd; font-size: 13px; font-weight: 650; text-decoration: none; backdrop-filter: blur(12px); }

.hero { position: relative; min-height: 100dvh; overflow: hidden; display: grid; align-items: end; isolation: isolate; background: #6e8fa1; }
.hero__video, .hero__veil { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__video { z-index: -2; object-fit: cover; object-position: center; background: #7a9aaa; }
.hero__veil { z-index: -1; background: linear-gradient(180deg, rgba(10,41,57,.06) 18%, rgba(6,40,59,.18) 52%, rgba(6,34,51,.72) 100%); }
.hero__content { position: relative; width: min(100%, var(--max)); margin: 0 auto; padding: 94px 20px calc(96px + env(safe-area-inset-bottom)); }
.hero__copy { width: min(78%, 410px); }
.hero__copy h1 { display: grid; color: #f7fbfd; font-size: clamp(48px, 14vw, 88px); line-height: .95; white-space: nowrap; text-shadow: 0 2px 24px rgba(3,31,46,.18); }
.hero__eyebrow { margin-bottom: 18px; color: rgba(240,248,255,.8); font-size: 10px; font-weight: 650; letter-spacing: .12em; }
.hero__copy > p:not(.hero__eyebrow) { margin-top: 16px; max-width: 15em; color: rgba(247,251,253,.88); font-size: 14px; line-height: 1.55; }
.hero__copy .button { margin-top: 24px; }

.button { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 720; white-space: nowrap; text-decoration: none; transition: transform 180ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease); }
.button:active { transform: scale(.98); }
.button:focus-visible, .site-header__action:focus-visible, .bottom-nav a:focus-visible, .product-card:focus-visible { outline: 2px solid #63a6c8; outline-offset: 3px; }
.button--accent, .button--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 28px rgba(10,93,143,.18); }
.button--ghost { border-color: rgba(10,93,143,.28); background: var(--surface); color: var(--accent); }
.button--light { background: #f7fbfd; color: #0a527d; box-shadow: 0 12px 30px rgba(10,43,59,.16); }
.button--disabled { background: #dce8ed; color: #6f858f; }

.section { width: min(100%, var(--max)); margin: 0 auto; padding: 104px 20px; }
.section-label { margin-bottom: 18px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.body-copy { max-width: 39em; color: var(--muted); font-size: 16px; }

.story { display: grid; }
.story__lead { max-width: 760px; }
.story__lead .body-copy { margin-top: 24px; }
.story__media { margin: 58px 0 0 8vw; position: relative; overflow: hidden; border-radius: var(--radius); }
.story__media img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 52% center; }
.story__facts { margin-top: 32px; margin-left: 11vw; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.story__facts div { min-width: 0; padding: 18px 4px 0 0; }
.story__facts dt { color: var(--faint); font-size: 11px; }
.story__facts dd { margin-top: 6px; font-size: 14px; font-weight: 650; }

.taste { width: min(100%, var(--max)); margin: 0 auto; padding: 0 20px 110px; display: grid; background: var(--page); }
.taste__image-wrap { position: relative; overflow: hidden; border-radius: var(--radius); }
.taste__image-wrap img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; }
.taste::after { display: none; }
.taste__copy { width: 100%; margin: 0; padding: 32px 0 0; }
.taste__copy > p { margin-bottom: 14px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.taste__copy h2 { max-width: 11em; }
.taste__copy span { margin-top: 18px; max-width: 28em; display: block; color: var(--muted); }

.products__heading .body-copy { margin-top: 18px; }
.category-list { margin: 36px -20px 56px; padding: 0 20px 10px; display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.category-list::-webkit-scrollbar { display: none; }
.category-item { min-width: 126px; padding-bottom: 13px; scroll-snap-align: start; border-bottom: 1px solid var(--line); }
.category-item strong, .category-item span { display: block; }
.category-item strong { font-size: 17px; }
.category-item span { margin-top: 6px; color: var(--faint); font-size: 11px; }

.status-block { display: grid; gap: 14px; }
.skeleton { min-height: 280px; background: linear-gradient(110deg, var(--surface) 28%, var(--surface-soft) 48%, var(--surface) 68%); background-size: 220% 100%; }
.skeleton--feature { min-height: 520px; }
.product-grid { display: grid; gap: 44px; }
.product-card { width: 100%; padding: 0; overflow: hidden; display: grid; grid-template-columns: 1fr; border: 0; border-radius: var(--radius); background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--surface); }
.product-card__body { padding: 20px 0 0; }
.product-card__category { display: block; margin-bottom: 8px; color: var(--accent); font-size: 12px; font-weight: 700; }
.product-card h3 { font-size: 25px; }
.product-card p { margin-top: 10px; max-width: 34em; color: var(--muted); font-size: 13px; }
.product-card__meta { margin-top: 18px; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.product-card__meta span { color: var(--faint); font-size: 12px; }
.product-card__meta strong { color: var(--ink); font-size: 18px; font-weight: 650; }

.guide { padding-top: 40px; }
.guide h2 { margin-bottom: 50px; }
.guide-list article { min-height: 148px; padding: 26px 0; display: grid; grid-template-columns: 74px 1fr; gap: 18px; border-top: 1px solid var(--line); }
.guide-list article:last-child { border-bottom: 1px solid var(--line); }
.guide-list article > span { color: var(--accent); font-size: 14px; font-weight: 700; }
.guide-list h3 { margin-bottom: 10px; }
.guide-list p { max-width: 30em; color: var(--muted); font-size: 13px; }

.gift { width: min(100%, var(--max)); margin: 0 auto; padding: 0 20px 110px; display: grid; background: var(--page); }
.gift > img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 58% center; border-radius: var(--radius); }
.gift__veil { display: none; }
.gift__copy { width: 100%; margin: 0; padding: 32px 0 0; }
.gift__copy > p { margin-bottom: 14px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.gift__copy h2 { max-width: 11em; }
.gift__copy > span { margin-top: 18px; max-width: 30em; display: block; color: var(--muted); }
.gift__copy .button { margin-top: 26px; }

.contact { padding-bottom: 150px; display: grid; gap: 50px; }
.contact__brand { font-family: "STKaiti", "KaiTi", serif; font-size: clamp(72px, 20vw, 170px); line-height: .9; color: rgba(10,93,143,.09); white-space: nowrap; }
.contact__content h2 { max-width: 10em; font-size: clamp(35px, 8vw, 58px); }
.contact__content > p { margin-top: 24px; max-width: 33em; color: var(--muted); }
.contact__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.address { padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .12em; }

.bottom-nav { position: fixed; z-index: 20; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); padding: 7px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 7px; border: 1px solid rgba(20,72,96,.12); border-radius: 20px; background: rgba(248,252,253,.9); backdrop-filter: blur(20px) saturate(150%); box-shadow: 0 18px 52px rgba(27,72,91,.16), inset 0 1px 0 rgba(255,255,255,.78); }
.bottom-nav a { min-height: 48px; display: grid; place-items: center; border-radius: 14px; color: #315667; font-size: 14px; font-weight: 700; text-decoration: none; }
.bottom-nav__primary { background: var(--accent); color: var(--accent-ink) !important; }

.product-dialog { width: min(calc(100% - 24px), 620px); max-height: calc(100dvh - 24px); padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: 0 28px 90px rgba(24,65,84,.24); }
.product-dialog::backdrop { background: rgba(18,48,62,.56); backdrop-filter: blur(7px); }
.product-dialog > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-dialog__body { padding: 26px; }
.product-dialog__body > span { color: var(--accent); font-size: 12px; font-weight: 700; }
.product-dialog__body h2 { margin-top: 9px; font-size: 36px; }
.product-dialog__body > p { margin-top: 14px; color: var(--muted); }
.dialog-meta { margin: 28px 0; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.dialog-meta span { color: var(--faint); }
.dialog-meta strong { font-size: 24px; }
.dialog-close { position: sticky; z-index: 2; top: 12px; float: right; margin: 12px 12px -54px 0; min-width: 52px; min-height: 38px; border: 1px solid rgba(255,255,255,.66); border-radius: 999px; background: rgba(248,252,253,.86); color: var(--ink); font-weight: 700; backdrop-filter: blur(12px); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 850ms var(--ease), transform 850ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 720px) {
  .site-header { padding-left: 40px; padding-right: 40px; }
  .site-header__action { display: inline-flex; }
  .hero__content, .section, .taste__copy, .gift__copy { padding-left: 40px; padding-right: 40px; }
  .hero__copy { width: 48%; }
  .story { grid-template-columns: 1.25fr .75fr; column-gap: 70px; align-items: end; }
  .story__lead { grid-column: 1 / -1; }
  .story__media { margin: 80px 0 0; }
  .story__media img { aspect-ratio: 5 / 4; }
  .story__facts { margin: 80px 0 0; grid-template-columns: 1fr; }
  .story__facts div { padding: 22px 0; border-bottom: 1px solid var(--line); }
  .product-grid { grid-template-columns: 1.35fr 1fr; gap: 32px 22px; align-items: start; }
  .product-card:first-child { grid-row: span 2; }
  .product-card:first-child img { aspect-ratio: 4 / 5; }
  .product-card:not(:first-child) img { aspect-ratio: 4 / 3; }
  .taste, .gift { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; padding-left: 40px; padding-right: 40px; }
  .taste__copy, .gift__copy { padding: 0; }
  .taste__image-wrap img, .gift > img { aspect-ratio: 4 / 5; }
  .guide-list article { grid-template-columns: 120px 1fr; }
  .contact { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .bottom-nav { left: 50%; right: auto; width: 440px; transform: translateX(-50%); }
}

@media (min-width: 1040px) {
  .section { padding-top: 150px; padding-bottom: 150px; }
  .story__media { margin-left: 10vw; }
  .product-grid { grid-template-columns: 1.6fr .85fr .85fr; }
  .product-card:first-child { grid-row: auto; }
  .product-card:first-child img { aspect-ratio: 4 / 5; }
  .guide-list { margin-left: 24%; }
  .gift__copy { padding-bottom: 130px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__video { animation: hero-video-in 1.4s var(--ease) both; }
  .hero__copy > * { animation: hero-copy-in 820ms var(--ease) both; }
  .hero__copy > :nth-child(1) { animation-delay: 80ms; }
  .hero__copy > :nth-child(2) { animation-delay: 150ms; }
  .hero__copy > :nth-child(3) { animation-delay: 210ms; }
  .hero__copy > :nth-child(4) { animation-delay: 270ms; }
  .skeleton { animation: shimmer 1.45s linear infinite; }
}

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

@keyframes hero-video-in { from { opacity: 0; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
@keyframes hero-copy-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position-x: -220%; } }
