:root {
  color-scheme: light;
  --navy: #0b1c35;
  --deep: #07182d;
  --blue: #174eb4;
  --ice: #edf3fa;
  --soft: #f5f7fa;
  --ink: #132440;
  --muted: #53647a;
  --line: #dbe4ef;
  --paper: #fff;
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--ink);
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; width: 100%; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid #719cfd; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.17; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.035em; }
h3 { font-size: 1.45rem; }
[id] { scroll-margin-top: 1.5rem; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 96px, 1280px); margin-inline: auto; }
.topbar { color: #e3ecf8; background: var(--navy); font-size: .875rem; }
.topbar .wrap { display: flex; min-height: 38px; justify-content: space-between; align-items: center; gap: 16px; }
.languages { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.languages a { text-decoration: none; color: #cbd9eb; }
.languages a:hover { color: white; text-decoration: underline; }
.languages [aria-current] { color: white; font-weight: 700; }
.masthead { background: white; position: relative; z-index: 2; }
.masthead .wrap { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { width: 152px; flex: 0 0 auto; }
.brand img { height: auto; }
.main-nav { display: flex; gap: clamp(16px, 2.6vw, 39px); align-items: center; }
.main-nav a { font-size: .9375rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.main-nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--blue);
  color: white;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background .18s, border-color .18s;
}
.button:hover { background: #103d94; }
.button.light { background: white; color: #142a4a; }
.button.light:hover { background: #deebff; }
.button.ghost { background: transparent; border-color: #9eafc7; color: white; }
.button.ghost:hover { background: #ffffff19; border-color: white; }
.button.small { min-height: 43px; padding: 8px 17px; font-size: .9375rem; }
.button.outline { background: white; border-color: var(--line); color: var(--blue); }
.button.outline:hover { background: var(--ice); border-color: #a3b9db; }

.hero { position: relative; display: grid; align-items: center; min-height: clamp(515px, 45vw, 645px); background: #101e31; isolation: isolate; color: white; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #071425 0%, #071425f5 21%, #0714258a 46%, #07142500 73%); }
.hero-content { padding-block: 66px 83px; }
.hero h1 { max-width: 730px; font-size: clamp(3.35rem, 6.1vw, 6.2rem); font-weight: 750; letter-spacing: -.064em; line-height: 1.02; }
:lang(zh-CN) .hero h1 { font-size: clamp(3.4rem, 6.6vw, 6.25rem); letter-spacing: -.045em; line-height: 1.12; }
.hero .accent { color: #a8c9ff; }
.hero .eyebrow { color: #cee1ff; margin-bottom: 22px; }
.eyebrow { font-size: .875rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; color: var(--blue); }
:lang(zh-CN) .eyebrow { letter-spacing: .14em; }
.hero p:not(.eyebrow) { margin-top: 25px; max-width: 455px; color: #e0e9f6; font-size: clamp(1rem, 1.6vw, 1.13rem); }
.actions { margin-top: 31px; display: flex; gap: 12px; flex-wrap: wrap; }
.photo-note { position: absolute; bottom: 14px; right: max(24px, calc((100% - 1280px)/2)); color: #dce7f6; font-size: .875rem; border-radius: 4px; padding: 2px 7px; background: #07182ddb; }
.section { padding-block: clamp(58px, 7vw, 105px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.section-head p { margin-bottom: 10px; }
.section-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-block: 6px; }
.section-nav a { display: inline-flex; padding: 7px 14px; border: 1px solid var(--line); border-radius: 30px; font-size: .9375rem; text-decoration: none; font-weight: 650; }
.section-nav a:hover { background: var(--ice); }
.catalog + .catalog { margin-top: 50px; }
.catalog-title { margin-bottom: 16px; font-weight: 750; }
.tea-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.tea-card { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: white; }
.crop { width: 100%; display: grid; overflow: hidden; isolation: isolate; aspect-ratio: var(--ratio); position: relative; background: var(--ice); }
.crop > img { position: absolute; width: var(--img-width); max-width: none; left: var(--img-left); top: var(--img-top); height: auto; }
.tea-card .crop { border-bottom: 1px solid var(--line); }
.card-body { padding: clamp(18px, 2.6vw, 30px); }
.card-body p { margin-top: 9px; color: var(--muted); }
.card-body .text-link { margin-top: 17px; }
.text-link { display: inline-block; color: var(--blue); font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-link:hover { color: #073577; text-decoration-thickness: 2px; }
.coffee-panel { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; overflow: hidden; border-radius: 11px; background: var(--ice); }
.category-photo { position: relative; min-width: 0; }
.category-photo .photo-note { right: 12px; bottom: 12px; }
.coffee-list { display: grid; align-content: center; padding: 22px clamp(20px, 4vw, 53px); }
.coffee-item { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding-block: 16px; text-decoration: none; border-bottom: 1px solid #c6d4e5; }
.coffee-item:first-child { border-top: 1px solid #c6d4e5; }
.coffee-item:hover { color: var(--blue); }
.coffee-item strong { font-size: clamp(1.08rem, 2vw, 1.42rem); }
.coffee-item span { color: var(--blue); font-size: .875rem; font-weight: 650; white-space: nowrap; }

.company { background: var(--soft); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(24px, 5vw, 72px); }
.company .crop, .feature-photo { border-radius: 11px; }
.intro h2 { margin-top: 10px; }
.intro > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); max-width: 56ch; }
.company-points { display: flex; gap: 24px; margin-top: 24px; padding-top: 21px; border-top: 1px solid var(--line); color: var(--navy); }
.company-points div { flex: 1; }
.company-points strong { display: block; font-size: 1.15rem; }
.company-points span { display: block; margin-top: 4px; color: var(--muted); }
.resource-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 30px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 15px 7px; font-weight: 700; }
.faq p { padding: 0 7px 16px; color: var(--muted); }
.downloads { background: var(--ice); border-radius: 10px; padding: 26px; }
.downloads h3 { margin-bottom: 8px; }
.downloads p { color: var(--muted); margin-bottom: 19px; }
.news { background: var(--soft); }
.feature-photo { aspect-ratio: 1.66; object-fit: cover; }
.contact { padding-block: clamp(43px, 6vw, 80px); background: var(--blue); color: white; }
.contact-layout { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.contact p { margin-top: 12px; color: #e8f1ff; }
.contact .button { flex-shrink: 0; }
footer { background: var(--deep); color: #c9d7eb; padding-block: 27px; }
.footer-layout { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 24px; font-size: .875rem; }
.footer-layout strong { color: white; }

.breadcrumb { padding-block: 22px; font-size: .9375rem; color: var(--muted); }
.breadcrumb a { color: var(--blue); text-underline-offset: 3px; }
.detail { padding-block: 28px 73px; }
.detail h1 { margin-top: 11px; font-size: clamp(2.5rem, 5.5vw, 5rem); letter-spacing: -.046em; }
.detail .feature-photo, .detail .crop { border-radius: 10px; }
.detail h1 + p { margin-top: 17px; }
.detail .intro ul { padding-left: 1.25em; color: var(--muted); }
.detail .intro li + li { margin-top: 5px; }
.detail-gallery { position: relative; }
.detail-gallery .photo-note { right: 12px; }
.detail-list { margin-top: 40px; }
.detail-list h2 { margin-bottom: 15px; font-size: 1.7rem; }
.related { display: flex; flex-wrap: wrap; gap: 9px; }
.related a { color: var(--blue); padding: 8px 13px; border: 1px solid var(--line); border-radius: 5px; text-decoration: none; font-weight: 650; }
.related a:hover { background: var(--ice); }

.dialog { margin: auto; width: min(100% - 32px, 520px); max-height: 90vh; border: 0; padding: clamp(20px, 5vw, 32px); border-radius: 12px; box-shadow: 0 18px 80px #07182d48; color: var(--ink); }
.dialog::backdrop { background: #07182da6; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dialog-head h2 { font-size: 1.68rem; }
.dialog-close { background: white; border: 1px solid var(--line); border-radius: 4px; width: 40px; height: 40px; font-size: 1.55rem; line-height: 1; color: var(--ink); }
.dialog p { margin-block: 9px 16px; color: var(--muted); }
.dialog label { display: grid; gap: 4px; margin-bottom: 12px; font-weight: 650; }
.dialog input, .dialog textarea { width: 100%; background: white; border: 1px solid #a8b8cd; border-radius: 5px; padding: 7px 10px; color: var(--ink); font-weight: 400; }
.dialog textarea { min-height: 76px; resize: vertical; }
.dialog input[readonly] { background: var(--soft); }
.dialog [role=status] { padding: 10px; background: var(--ice); border-radius: 5px; color: var(--navy); }

@media (max-width: 930px) {
  .wrap { width: min(100% - 56px, 1280px); }
  .main-nav { gap: 15px; }
  .masthead .wrap { min-height: 74px; gap: 12px; }
  .brand { width: 126px; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .topbar .wrap { font-size: .8125rem; min-height: 36px; gap: 6px; }
  .topbar .company-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .languages { gap: 7px; }
  .masthead .wrap { display: grid; grid-template-columns: max-content 1fr; gap: 0 12px; }
  .masthead .brand, .header-cta { margin-block: 11px; }
  .header-cta { grid-column: 2; grid-row: 1; justify-self: end; }
  .main-nav {
    grid-column: 1 / -1;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0 8px;
    border-top: 1px solid var(--line);
  }
  .main-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; }
  .hero { min-height: 630px; align-items: start; }
  .hero-photo { inset: auto 0 0; height: 66%; object-position: 78% 49%; }
  .hero::after { background: linear-gradient(180deg, #071425 4%, #071425 32%, #071425e6 44%, #07142554 59%, #07142500 82%); }
  .hero-content { padding-block: 49px 100px; }
  .hero h1 { font-size: clamp(2.8rem, 10vw, 4rem); }
  :lang(zh-CN) .hero h1 { font-size: clamp(2.9rem, 10vw, 4rem); }
  .hero .eyebrow { margin-bottom: 12px; }
  .hero p:not(.eyebrow) { margin-top: 16px; max-width: 31ch; }
  .actions { margin-top: 22px; }
  .photo-note { right: 11px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 25px; }
  .catalog + .catalog { margin-top: 35px; }
  .tea-grid, .coffee-panel, .split, .resource-layout { grid-template-columns: 1fr; gap: 18px; }
  .coffee-list { padding-top: 0; }
  .detail { padding-block: 12px 49px; }
  .detail .split { gap: 25px; }
  .contact-layout { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 360px) {
  .main-nav { margin-inline: -10px; column-gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
