/* Colm McCormack — 科尔姆精酿官网 */
:root {
  --malt: #5d3a2a;
  --malt-deep: #3f261c;
  --orange: #f99a41;
  --amber: #d49a6a;
  --apricot: #f8e9d8;
  --apricot-soft: #f3dfc8;
  --ink: #333333;
  --white: #ffffff;
  --mist: #f5f5f5;
  --line: rgba(93, 58, 42, 0.12);
  --shadow: 0 18px 48px rgba(63, 38, 28, 0.12);
  --radius: 18px;
  --nav-h: 78px;
  --font-display: "Noto Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--apricot);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.section-head h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--malt);
  letter-spacing: 0.04em;
}

.section-head p {
  margin: 0 auto;
  max-width: 640px;
  color: rgba(51, 51, 51, 0.78);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--malt);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(93, 58, 42, 0.28);
}

.btn-primary:hover {
  background: var(--malt-deep);
}

.btn-accent {
  background: var(--orange);
  color: var(--white);
}

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-solid {
  background: rgba(248, 233, 216, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  background: #111;
  border: 2px solid var(--amber);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--malt);
}

.brand-text span {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--amber);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 14px;
  font-size: 15px;
  color: var(--malt);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: rgba(93, 58, 42, 0.08);
  color: var(--malt-deep);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--malt);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  color: var(--white);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(63, 38, 28, 0.78) 0%, rgba(63, 38, 28, 0.35) 48%, rgba(63, 38, 28, 0.2) 100%),
    linear-gradient(to top, rgba(63, 38, 28, 0.55), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 40px) 0 88px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 14px;
  letter-spacing: 0.16em;
}

.hero-kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 0 0 18px;
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-lead {
  margin: 0 0 34px;
  max-width: 520px;
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--orange);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(248, 233, 216, 0.94);
  backdrop-filter: blur(8px);
  color: var(--malt);
}

.about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
}

.about-badge span {
  font-size: 13px;
  color: rgba(93, 58, 42, 0.72);
}

.about-copy .eyebrow {
  color: var(--amber);
}

.about-copy h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  color: var(--malt);
}

.about-copy p {
  margin: 0 0 16px;
  color: rgba(51, 51, 51, 0.84);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.stat {
  padding: 22px 16px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  color: var(--malt);
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(51, 51, 51, 0.68);
}

/* Products */
.products-section {
  background:
    radial-gradient(circle at top right, rgba(249, 154, 65, 0.16), transparent 36%),
    radial-gradient(circle at bottom left, rgba(212, 154, 106, 0.18), transparent 40%),
    var(--apricot);
}

.product-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.product-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--malt);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.product-tab.is-active[data-line="fruit"],
.product-tab:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.product-tab.is-active[data-line="double"],
.product-tab.is-active[data-line="eleven"] {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--white);
}

.product-panel {
  display: none;
  animation: fadeUp 0.45s ease;
}

.product-panel.is-active {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 28px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-panel.fruit-line {
  border-top: 4px solid var(--orange);
}

.product-panel.craft-line {
  border-top: 4px solid var(--amber);
}

.product-media {
  border-radius: 22px;
  overflow: hidden;
  background: var(--mist);
  aspect-ratio: 4 / 5;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info .tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.fruit-line .tag {
  background: rgba(249, 154, 65, 0.16);
  color: #c56a12;
}

.craft-line .tag {
  background: rgba(212, 154, 106, 0.2);
  color: #8a5a32;
}

.product-info h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 36px);
  color: var(--malt);
}

.product-info .desc {
  margin: 0 0 22px;
  color: rgba(51, 51, 51, 0.8);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.spec-item {
  padding: 14px 12px;
  border-radius: 14px;
  background: var(--apricot-soft);
  text-align: center;
}

.spec-item span {
  display: block;
  font-size: 12px;
  color: rgba(51, 51, 51, 0.62);
}

.spec-item strong {
  display: block;
  margin-top: 4px;
  color: var(--malt);
  font-size: 16px;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(51, 51, 51, 0.82);
  font-size: 14px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.fruit-line .feature-list li::before {
  background: var(--orange);
}

.flavor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0 28px;
}

.flavor-grid.flavor-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.flavor-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: var(--apricot-soft);
}

.flavor-card img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.flavor-card strong {
  display: block;
  font-size: 14px;
  color: var(--malt);
}

.flavor-card span {
  display: block;
  font-size: 12px;
  color: rgba(51, 51, 51, 0.65);
  line-height: 1.45;
}

/* Series cards */
.series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.series-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 420px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.series-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.series-card:hover img {
  transform: scale(1.06);
}

.series-card .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(40, 22, 14, 0.88), rgba(40, 22, 14, 0.15) 55%);
}

.series-card .body {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.series-card .label {
  display: inline-block;
  width: fit-content;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.series-card.fruit .label {
  background: var(--orange);
}

.series-card.craft .label {
  background: var(--amber);
  color: var(--malt-deep);
}

.series-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 28px;
}

.series-card p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

/* Environment */
.env-section {
  background: var(--white);
}

.env-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 16px;
}

.env-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  position: relative;
}

.env-grid figure:first-child {
  grid-row: 1 / span 2;
}

.env-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.env-grid figure:hover img {
  transform: scale(1.05);
}

.env-grid figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(248, 233, 216, 0.92);
  color: var(--malt);
  font-size: 13px;
  font-weight: 600;
}

/* Contact */
.contact-section {
  background:
    linear-gradient(180deg, rgba(93, 58, 42, 0.04), transparent),
    var(--apricot);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}

.address-list {
  display: grid;
  gap: 14px;
}

.address-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}

.address-item .city {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--malt);
  font-weight: 700;
}

.address-item p {
  margin: 0;
  color: rgba(51, 51, 51, 0.78);
  font-size: 14px;
}

.contact-card {
  padding: 28px;
  border-radius: 24px;
  background: var(--malt);
  color: var(--apricot);
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--white);
}

.contact-card p {
  margin: 0 0 22px;
  color: rgba(248, 233, 216, 0.82);
  font-size: 14px;
}

.contact-card img {
  width: 180px;
  height: 180px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: var(--white);
  object-fit: cover;
}

.contact-card .hint {
  margin: 0;
  font-size: 13px;
  color: rgba(248, 233, 216, 0.7);
}

/* Page hero */
.page-hero {
  padding: calc(var(--nav-h) + 56px) 0 56px;
  background:
    linear-gradient(135deg, rgba(93, 58, 42, 0.92), rgba(93, 58, 42, 0.78)),
    url("../assets/banner/banner2.jpg") center/cover;
  color: var(--white);
}

.page-hero h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
}

.page-hero p {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.86);
}

/* Footer */
.site-footer {
  background: var(--malt-deep);
  color: var(--apricot);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--amber);
  background: #111;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-brand p {
  margin: 0;
  font-size: 14px;
  color: rgba(248, 233, 216, 0.72);
  max-width: 280px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--white);
}

.footer-col a,
.footer-col li {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(248, 233, 216, 0.72);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(248, 233, 216, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(248, 233, 216, 0.55);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .about-grid,
  .product-panel.is-active,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .series-grid {
    grid-template-columns: 1fr;
  }

  .flavor-grid.flavor-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .env-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px 180px;
  }

  .env-grid figure:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 240px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: rgba(248, 233, 216, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 16px;
  }

  .site-header {
    background: rgba(248, 233, 216, 0.94);
    backdrop-filter: blur(12px);
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .product-panel.is-active {
    padding: 16px;
  }

  .spec-grid,
  .flavor-grid,
  .flavor-grid.flavor-grid-3 {
    grid-template-columns: 1fr;
  }

  .env-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .env-grid figure {
    min-height: 200px;
  }

  .hero-content {
    padding-bottom: 72px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
