:root {
  --navy: #071b31;
  --navy-soft: #102b49;
  --paper: #f4f1e9;
  --white: #fff;
  --ink: #17212b;
  --muted: #67727a;
  --line: rgba(7, 27, 49, .16);
  --green: #55bd38;
  --green-dark: #278d34;
  --blue: #10a5d8;
  --yellow: #ffcf18;
  --header-h: 76px;
  --shell: min(1260px, calc(100% - 48px));
  --radius: 2px;
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); }
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 18px; background: white; }
.section-shell { width: var(--shell); margin-inline: auto; }
.eyebrow { margin: 0 0 18px; color: var(--green-dark); font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; }
h2 { margin-bottom: 0; font-size: clamp(2.35rem, 5vw, 5.8rem); line-height: .96; font-weight: 720; }

.site-header {
  position: sticky; z-index: 50; top: 0; height: var(--header-h); display: grid;
  grid-template-columns: 190px 1fr auto; align-items: center; gap: 24px; padding: 0 28px;
  background: rgba(250, 249, 245, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px);
}
.brand img { width: 154px; height: 48px; object-fit: contain; object-position: left center; }
.site-nav { justify-self: center; display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); font-size: .84rem; font-weight: 650; }
.site-nav a { position: relative; padding: 28px 0; }
.site-nav a:not(.nav-store)::after { content: ""; position: absolute; right: 0; bottom: 18px; left: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-store { color: var(--blue); }
.quote-trigger { min-width: 128px; min-height: 44px; padding: 10px 14px; color: white; background: var(--navy); border: 0; cursor: pointer; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.quote-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 7px; padding: 0 6px; color: var(--navy); background: var(--green); border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: transparent; }

.hero { position: relative; min-height: calc(100svh - var(--header-h)); overflow: hidden; display: flex; align-items: center; color: white; background: var(--navy); }
.hero-art { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(7,27,49,1) 0%, rgba(7,27,49,.96) 35%, rgba(7,27,49,.25) 68%, rgba(7,27,49,.05) 100%), url("images/hero-cup.webp"); background-repeat: no-repeat; background-size: cover; background-position: right 14%; transform: scale(1.035); animation: heroImage 1.5s cubic-bezier(.2,.8,.2,1) forwards; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 24%; background: linear-gradient(0deg, rgba(7,27,49,.48), transparent); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; width: min(660px, calc(100% - 48px)); margin-left: max(24px, calc((100vw - 1260px) / 2)); padding: 72px 0 110px; }
.hero .eyebrow { color: #98ee68; }
.hero h1 { max-width: 660px; margin-bottom: 22px; font-size: clamp(3.35rem, 6.5vw, 7.8rem); line-height: .87; font-weight: 720; }
.hero-lede { max-width: 570px; margin-bottom: 8px; color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 1.5vw, 1.32rem); line-height: 1.55; }
.hero-cn { margin-bottom: 34px; color: rgba(255,255,255,.62); font-size: .92rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-index { position: absolute; z-index: 2; right: 28px; bottom: 22px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.7); font-size: .67rem; font-weight: 800; letter-spacing: .16em; writing-mode: vertical-rl; }
.hero-index span:first-child { color: var(--green); font-size: 1.05rem; }
.hero-reveal { opacity: 0; transform: translateY(28px); animation: heroReveal .7s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-reveal:nth-child(2) { animation-delay: .12s; }.hero-reveal:nth-child(3) { animation-delay: .22s; }.hero-reveal:nth-child(4) { animation-delay: .3s; }.hero-reveal:nth-child(5) { animation-delay: .38s; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 21px; border: 1px solid transparent; cursor: pointer; font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy); background: var(--green); }
.button-primary:hover { background: #76d957; }
.button-ghost { color: white; border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.button-dark { color: white; background: var(--navy); }

.category-ribbon { overflow: hidden; color: white; background: var(--green-dark); border-bottom: 1px solid rgba(255,255,255,.18); }
.ribbon-track { display: flex; min-width: max-content; align-items: center; gap: 28px; padding: 17px 24px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; animation: ribbon 28s linear infinite alternate; }
.ribbon-track i { width: 5px; height: 5px; background: var(--yellow); border-radius: 50%; }

.intro { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 8vw; padding-block: 140px 110px; border-bottom: 1px solid var(--line); }
.intro h2 { max-width: 780px; }
.intro > p { max-width: 470px; margin: 0 0 8px; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }

.catalog { padding: 100px 0 130px; }
.catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.catalog-head h2 { font-size: clamp(3.2rem, 6vw, 6.7rem); }
.search-box { width: min(400px, 100%); display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ink); }
.search-box svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.search-box input { width: 100%; padding: 4px 0; border: 0; outline: 0; background: transparent; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 46px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.filter-button { padding: 9px 14px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .75rem; font-weight: 700; }
.filter-button:hover, .filter-button.active { color: white; background: var(--navy); border-color: var(--navy); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 1px; background: var(--line); border: 1px solid var(--line); }
.product-card { position: relative; min-width: 0; overflow: hidden; background: var(--paper); cursor: pointer; }
.product-image { position: relative; aspect-ratio: 4 / 3.15; overflow: hidden; background: #fff; }
.product-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 14%; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.product-card:hover .product-image img { transform: scale(1.045); }
.product-page { position: absolute; top: 12px; left: 12px; padding: 6px 8px; color: white; background: rgba(7,27,49,.84); font-size: .62rem; font-weight: 800; letter-spacing: .12em; backdrop-filter: blur(6px); }
.product-body { min-height: 190px; padding: 22px 20px 18px; }
.product-category { margin-bottom: 10px; color: var(--green-dark); font-size: .63rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.product-body h3 { margin-bottom: 5px; font-size: 1.17rem; line-height: 1.15; }
.product-cn { margin-bottom: 18px; color: var(--muted); font-size: .78rem; }
.product-specs { min-height: 36px; margin-bottom: 18px; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.view-product, .add-product { padding: 6px 0; border: 0; background: transparent; cursor: pointer; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.view-product { border-bottom: 1px solid currentColor; }
.add-product { width: 32px; height: 32px; color: white; background: var(--navy); border-radius: 50%; font-size: 1.1rem; }
.add-product.added { color: var(--navy); background: var(--green); }
.empty-state { width: var(--shell); margin: 48px auto 0; padding: 50px; text-align: center; border: 1px dashed var(--line); }
.catalog-download { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 52px; padding: 26px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.catalog-download p { margin: 0; font-weight: 700; }
.catalog-download a { color: var(--green-dark); font-weight: 800; }

.custom { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 790px; color: white; background: var(--navy); }
.custom-image { min-height: 640px; overflow: hidden; }
.custom-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(.9); }
.custom-copy { align-self: center; max-width: 620px; padding: 80px clamp(40px, 6vw, 100px); }
.custom-copy .eyebrow { color: #93eb67; }
.custom-copy h2 { margin-bottom: 26px; }
.custom-copy > p:not(.eyebrow) { color: rgba(255,255,255,.7); line-height: 1.7; }
.custom-copy ol { margin: 40px 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.2); }
.custom-copy li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.custom-copy li > span { color: var(--green); font-size: .75rem; font-weight: 800; }
.custom-copy strong, .custom-copy small { display: block; }
.custom-copy small { margin-top: 5px; color: rgba(255,255,255,.55); }
.custom-copy .button-dark { color: var(--navy); background: white; }

.production { padding-block: 140px; }
.production-head { display: grid; grid-template-columns: 1fr 360px; align-items: end; gap: 50px; margin-bottom: 72px; }
.production-head p:last-child { margin: 0; color: var(--muted); line-height: 1.7; }
.production-story { display: grid; grid-template-columns: 1.12fr .88fr; align-items: start; gap: 22px; }
.production-story figure { margin: 0; }
.production-story figure:nth-child(2) { margin-top: 130px; }
.production-story img { width: 100%; aspect-ratio: 1.25; object-fit: cover; object-position: center; background: white; }
.production-story figcaption { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .78rem; font-weight: 750; text-transform: uppercase; }
.production-story figcaption span { color: var(--green-dark); }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; padding: 130px max(24px, calc((100vw - 1260px) / 2)); color: white; background: var(--navy); }
.contact .eyebrow { color: #9bee71; }
.contact-copy h2 { max-width: 650px; margin-bottom: 28px; }
.contact-copy > p:not(.eyebrow) { max-width: 610px; color: rgba(255,255,255,.66); line-height: 1.72; }
.contact-links { margin-top: 50px; border-top: 1px solid rgba(255,255,255,.18); }
.contact-links > * { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.contact-links span { color: rgba(255,255,255,.46); font-size: .72rem; text-transform: uppercase; }
.contact-links strong { font-size: .9rem; line-height: 1.55; }
.enquiry-form { align-self: center; padding: clamp(30px, 4vw, 58px); color: var(--ink); background: var(--paper); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.enquiry-form label { display: block; margin-bottom: 22px; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.enquiry-form input, .enquiry-form textarea { width: 100%; margin-top: 8px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); outline: 0; background: transparent; border-radius: 0; font-weight: 500; text-transform: none; }
.enquiry-form input:focus, .enquiry-form textarea:focus { border-color: var(--green-dark); }
.enquiry-form textarea { resize: vertical; }
.enquiry-form .button { width: 100%; }
.enquiry-form > small { display: block; margin-top: 12px; color: var(--muted); text-align: center; }

.site-footer { display: grid; grid-template-columns: 180px 1fr auto; gap: 38px; align-items: start; padding: 54px max(24px, calc((100vw - 1260px) / 2)); background: #faf9f5; border-top: 1px solid var(--line); }
.site-footer img { width: 150px; }
.site-footer p { color: var(--muted); line-height: 1.65; }
.site-footer > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; font-size: .78rem; font-weight: 700; }
.site-footer > small { grid-column: 2 / -1; color: var(--muted); }

.overlay { position: fixed; z-index: 79; inset: 0; background: rgba(2,12,22,.72); backdrop-filter: blur(6px); }
.quote-drawer { position: fixed; z-index: 80; top: 0; right: 0; width: min(460px, 100%); height: 100dvh; display: flex; flex-direction: column; padding: 30px; background: var(--paper); transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.quote-drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 2.3rem; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 1.6rem; line-height: 1; }
.quote-items { flex: 1; overflow: auto; }
.quote-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.quote-item img { width: 64px; height: 64px; object-fit: cover; object-position: top; background: white; }
.quote-item strong, .quote-item small { display: block; }
.quote-item small { margin-top: 5px; color: var(--muted); }
.remove-product { border: 0; background: transparent; cursor: pointer; color: var(--muted); font-size: 1.2rem; }
.drawer-empty { margin: auto 0; padding: 40px 20px; color: var(--muted); text-align: center; line-height: 1.6; }
.drawer-enquire { width: 100%; margin-top: 20px; }

.product-modal { position: fixed; z-index: 81; inset: 50% auto auto 50%; width: min(1080px, calc(100% - 36px)); max-height: calc(100dvh - 36px); display: grid; grid-template-columns: 1.1fr .9fr; overflow: auto; background: var(--paper); opacity: 0; pointer-events: none; transform: translate(-50%, -46%) scale(.98); transition: opacity .25s ease, transform .25s ease; }
.product-modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.product-modal > .close-modal { position: absolute; z-index: 2; top: 14px; right: 14px; background: var(--paper); }
.modal-sheet { min-height: 680px; background: white; }
.modal-sheet img { width: 100%; height: 100%; object-fit: contain; }
.modal-copy { align-self: center; padding: clamp(36px, 5vw, 74px); }
.modal-copy h2 { margin-bottom: 8px; font-size: clamp(2.4rem, 4vw, 4.3rem); }
.modal-copy > p:not(.eyebrow) { color: var(--muted); }
.modal-copy dl { margin: 36px 0; border-top: 1px solid var(--line); }
.modal-copy dl div { display: grid; grid-template-columns: 100px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.modal-copy dt { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.modal-copy dd { margin: 0; font-size: .84rem; line-height: 1.5; }
.noscript { margin: 0; padding: 18px; text-align: center; background: #fff1bd; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

@keyframes heroReveal { to { opacity: 1; transform: none; } }
@keyframes heroImage { to { transform: scale(1); } }
@keyframes ribbon { to { transform: translateX(-8%); } }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 160px 1fr auto; }
  .site-nav { gap: 16px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .intro { grid-template-columns: 1fr; }
  .custom { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --header-h: 68px; --shell: min(100% - 28px, 1260px); }
  .site-header { grid-template-columns: 1fr auto auto; padding: 0 14px; }
  .brand img { width: 132px; }
  .menu-toggle { display: grid; width: 42px; height: 42px; place-content: center; gap: 7px; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { width: 20px; height: 2px; background: var(--ink); transition: transform .2s ease; }
  .site-nav { position: fixed; top: var(--header-h); right: 0; left: 0; display: grid; gap: 0; padding: 12px 18px 22px; background: #faf9f5; border-bottom: 1px solid var(--line); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: .2s ease; }
  .site-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .quote-trigger { min-width: 92px; min-height: 40px; padding: 8px 10px; font-size: .7rem; }
  .hero { min-height: calc(100svh - var(--header-h)); align-items: end; }
  .hero-art { background-image: linear-gradient(0deg, rgba(7,27,49,1) 0%, rgba(7,27,49,.83) 44%, rgba(7,27,49,.04) 85%), url("images/hero-cup.webp"); background-position: 54% top; background-size: auto 78%; }
  .hero-copy { width: calc(100% - 28px); margin: 0 auto; padding: 250px 0 58px; }
  .hero h1 { font-size: clamp(3.25rem, 15vw, 5.6rem); }
  .hero-lede { font-size: 1rem; }
  .hero-index { display: none; }
  .intro { padding-block: 92px 78px; }
  .catalog { padding-block: 78px 95px; }
  .catalog-head { display: grid; }
  .search-box { width: 100%; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .custom { grid-template-columns: 1fr; }
  .custom-image { min-height: 520px; }
  .custom-copy { max-width: none; padding: 70px 24px 80px; }
  .production { padding-block: 95px; }
  .production-head { grid-template-columns: 1fr; }
  .production-story { grid-template-columns: 1fr; }
  .production-story figure:nth-child(2) { margin-top: 36px; }
  .contact { grid-template-columns: 1fr; padding-block: 90px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > small { grid-column: 1 / -1; }
  .product-modal { grid-template-columns: 1fr; }
  .modal-sheet { min-height: 45vh; }
}

@media (max-width: 560px) {
  .hero-copy { padding-top: 230px; }
  .hero h1 { font-size: 3.45rem; }
  .hero-actions .button { width: 100%; }
  h2 { font-size: 2.8rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-body { min-height: auto; }
  .catalog-download { display: grid; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-links > * { grid-template-columns: 1fr; gap: 7px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > small { grid-column: 1; }
  .site-footer > div { max-width: 280px; }
  .product-modal { width: calc(100% - 18px); max-height: calc(100dvh - 18px); }
  .modal-copy { padding: 30px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-reveal, .reveal { opacity: 1; transform: none; }
}
