/* Wing Lee — International corporate site */
:root {
  --ink: #0f1419;
  --ink-soft: #2a3340;
  --paper: #f7f4ef;
  --paper-muted: #ebe6dc;
  --accent: #c4a35a;
  --accent-deep: #8b6f2e;
  --line: rgba(15, 20, 25, 0.12);
  --hero-overlay: linear-gradient(135deg, rgba(15, 20, 25, 0.88) 0%, rgba(42, 51, 64, 0.72) 55%, rgba(15, 20, 25, 0.45) 100%);
  --font-en-hero: "Montserrat", system-ui, sans-serif;
  --font-en-title: "Montserrat", system-ui, sans-serif;
  --font-en-body: "Inter", system-ui, sans-serif;
  --font-en-data: "Roboto Mono", "Inter", ui-monospace, monospace;
  --font-zh: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: var(--font-en-hero);
  --font-body: var(--font-en-body);
  --font-data: var(--font-en-data);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 4.5rem;
  --max: 72rem;
  --section-pad: clamp(4rem, 10vw, 7rem);
}

:root:lang(zh-CN) {
  --font-display: var(--font-zh);
  --font-body: var(--font-zh);
  --font-data: var(--font-zh);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

a[href^="tel:"] {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.75rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); font-weight: 600; }
h4 { font-weight: 600; }

:root:lang(zh-CN) h1 { font-weight: 900; letter-spacing: 0; }
:root:lang(zh-CN) h2,
:root:lang(zh-CN) h3,
:root:lang(zh-CN) h4 { font-weight: 700; letter-spacing: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 38rem;
}

/* Layout */
.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-pad);
}

.section--alt {
  background: var(--paper-muted);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(247, 244, 239, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header--dark.is-scrolled,
.site-header--dark {
  color: var(--paper);
}

.site-header--dark.is-scrolled {
  background: rgba(15, 20, 25, 0.92);
  color: var(--paper);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo__img {
  display: block;
  height: 2.75rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
  object-position: left center;
}

.site-header.is-scrolled .logo__img {
  height: 2.5rem;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-desktop a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  border-radius: 2px;
  transition: color 0.25s, background 0.25s;
  opacity: 0.85;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  opacity: 1;
  color: var(--accent);
}

.site-header--dark .nav-desktop a:hover,
.site-header--dark .nav-desktop a.is-active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--ink);
  color: var(--paper);
  padding: 2rem;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 99;
  overflow-y: auto;
}

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

.nav-mobile a {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-mobile a.is-active {
  color: var(--accent);
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 0.75rem;
  border: 1px solid rgba(247, 244, 239, 0.3);
  border-radius: 2px;
  overflow: hidden;
}

.site-header.is-scrolled .lang-switch {
  border-color: var(--line);
}

.lang-switch__btn {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.7rem;
  background: transparent;
  color: inherit;
  border: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.lang-switch__btn:hover {
  background: rgba(247, 244, 239, 0.12);
}

.lang-switch__btn.is-active {
  background: var(--accent);
  color: var(--ink);
}

.site-header.is-scrolled .lang-switch__btn.is-active {
  background: var(--accent);
  color: var(--ink);
}

.lang-switch--mobile {
  display: flex;
  width: 100%;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-switch--mobile .lang-switch__btn {
  flex: 1;
  padding: 0.75rem;
  color: var(--paper);
}

.lang-switch--mobile .lang-switch__btn.is-active {
  background: var(--accent);
  color: var(--ink);
}

@media (max-width: 768px) {
  .header-inner .lang-switch:not(.lang-switch--mobile) {
    margin-right: 0.5rem;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(4rem, 12vh, 8rem);
  color: var(--paper);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    var(--hero-overlay),
    url("../images/cf.png") center/cover no-repeat;
  z-index: 0;
}

.hero__bg--packaging {
  background:
    var(--hero-overlay),
    url("../images/cf.png") center/cover no-repeat;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  font-style: normal;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 2.5rem;
}

.hero h1 {
  max-width: 20ch;
}

.hero__bg--objective {
  background:
    var(--hero-overlay),
    url("../images/cultural_products_hd.jpg") center/cover no-repeat;
}

.hero__bg--product {
  background:
    var(--hero-overlay),
    url("../images/cultural_products_hd.jpg") center/cover no-repeat;
}

.hero__bg--about {
  background:
    var(--hero-overlay),
    url("../images/cf.png") center/cover no-repeat;
}

.hero__bg--contact {
  background:
    var(--hero-overlay),
    url("../images/门头-背景.jpg") center/cover no-repeat;
}

.hero__bg--jobs {
  background:
    var(--hero-overlay),
    url("../images/cf.png") center/cover no-repeat;
}

/* Dynamic color hero — CMYK flow + local image slideshow */
.hero__bg--printing {
  background: var(--ink);
}

.hero__bg-dynamic {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__bg-dynamic__colors {
  position: absolute;
  inset: -45%;
  background: linear-gradient(
    -45deg,
    #00b4d8,
    #e6399b,
    #ffbe0b,
    #8338ec,
    #06d6a0,
    #ff006e,
    #3a86ff,
    #00b4d8
  );
  background-size: 400% 400%;
  animation: hero-color-flow 16s ease infinite;
  opacity: 0.65;
  filter: blur(56px);
  will-change: background-position;
}

.hero__bg-dynamic__slides {
  position: absolute;
  inset: 0;
}

.hero__bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  animation: hero-slide-fade 24s ease-in-out infinite;
}

.hero__bg-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero__bg-slide:nth-child(2) {
  animation-delay: 6s;
}

.hero__bg-slide:nth-child(3) {
  animation-delay: 12s;
}

.hero__bg-slide:nth-child(4) {
  animation-delay: 18s;
}

@keyframes hero-color-flow {
  0% {
    background-position: 0% 50%;
    transform: rotate(0deg) scale(1.1);
  }

  50% {
    background-position: 100% 50%;
    transform: rotate(180deg) scale(1.15);
  }

  100% {
    background-position: 0% 50%;
    transform: rotate(360deg) scale(1.1);
  }
}

@keyframes hero-slide-fade {
  0%,
  5% {
    opacity: 0;
    transform: scale(1.1);
  }

  10%,
  28% {
    opacity: 0.5;
    transform: scale(1);
  }

  33%,
  100% {
    opacity: 0;
    transform: scale(1.06);
  }
}

.hero__bg-dynamic__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(15, 20, 25, 0.9) 0%,
    rgba(15, 20, 25, 0.45) 42%,
    rgba(15, 20, 25, 0.88) 100%
  );
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg-dynamic__colors,
  .hero__bg-slide {
    animation: none;
  }

  .hero__bg-slide:first-child {
    opacity: 0.5;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding-top: calc(var(--nav-h) + 4rem);
}

.hero__content .eyebrow {
  color: var(--accent);
}

.hero h1 {
  color: var(--paper);
  max-width: 15ch;
  margin-bottom: 1.25rem;
}

.hero .lead {
  color: rgba(247, 244, 239, 0.88);
  max-width: 32rem;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 1.75rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

.btn--primary {
  background: var(--accent);
  color: var(--ink);
}

.btn--primary:hover {
  background: #d4b56a;
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(247, 244, 239, 0.45);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--dark {
  background: var(--ink);
  color: var(--paper);
}

.btn--dark:hover {
  background: var(--ink-soft);
  transform: translateY(-2px);
}

.btn--outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 1.75rem;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease);
}

.btn--outline-dark:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3.5rem;
  color: var(--paper);
}

.page-hero h1 {
  color: var(--paper);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-block: 3rem;
  border-block: 1px solid var(--line);
}

.stat__num {
  font-family: var(--font-data);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

.stat__num span {
  color: var(--accent-deep);
}

.stat__label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  color: var(--ink-soft);
}

/* Grid sections */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.split__visual {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

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

.split__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(15, 20, 25, 0.08);
  pointer-events: none;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 20, 25, 0.08);
}

.card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .card__img img {
  transform: scale(1.05);
}

.card__body {
  padding: 1.75rem;
}

.card__body h3 {
  margin-bottom: 0.5rem;
}

.card__body p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

/* Our Objective list */
.objective-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 52rem;
  margin-inline: auto;
}

.objective-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 2rem;
  padding: 2.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.objective-item:hover {
  box-shadow: 0 16px 40px rgba(15, 20, 25, 0.06);
  transform: translateY(-4px);
}

.objective-item__num {
  font-family: var(--font-data);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent-deep);
  line-height: 1;
  padding-top: 0.15rem;
}

.objective-item__body h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 0.85rem;
}

.objective-item__body p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

@media (max-width: 600px) {
  .objective-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.75rem;
  }
}

/* Values / pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar {
  padding-top: 1.5rem;
  border-top: 2px solid var(--accent);
}

.pillar h3 {
  margin-bottom: 0.75rem;
}

/* About Wing Lee */
.about-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 0.75rem;
}

.about-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
}

.about-gallery__item--wide {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 280px;
}

.about-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.about-gallery__item:hover img {
  transform: scale(1.05);
}

.about-categories {
  max-width: 48rem;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: var(--paper);
}

.about-categories__row {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 1.5rem;
  padding: 1.35rem 1.75rem;
  border-bottom: 1px solid var(--line);
}

.about-categories__row:last-child {
  border-bottom: none;
}

.about-categories dt {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
}

.about-categories dd {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.about-closing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-closing__visual {
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
  aspect-ratio: 3/2;
}

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

@media (max-width: 900px) {
  .about-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .about-gallery__item--wide {
    grid-column: 1 / -1;
    grid-row: span 1;
    min-height: 220px;
  }

  .about-closing {
    grid-template-columns: 1fr;
  }

  .about-categories__row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@media (max-width: 480px) {
  .about-gallery {
    grid-template-columns: 1fr;
  }
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 40rem;
}

.timeline__item {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 2rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}

.timeline__year {
  font-family: var(--font-data);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-deep);
}

/* Product page — image + text categories */
.product-nav {
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  background: rgba(247, 244, 239, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.product-nav__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  padding-block: 0.85rem;
}

.product-nav a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: 2px;
  color: var(--ink-soft);
  transition: color 0.25s, background 0.25s;
}

.product-nav a:hover {
  color: var(--ink);
  background: var(--paper-muted);
}

.product-category {
  scroll-margin-top: calc(var(--nav-h) + 3.5rem);
}

.product-category__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.product-category__grid--reverse .product-category__media {
  order: 2;
}

.product-category__grid--reverse .product-category__content {
  order: 1;
}

.product-category__hero-img {
  margin: 0;
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
}

.product-category__hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-category__hero-img:hover img {
  transform: scale(1.03);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.product-gallery figure {
  margin: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
  cursor: zoom-in;
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), opacity 0.3s;
}

.product-gallery figure:hover img {
  transform: scale(1.08);
}

.product-category__content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.product-tags li {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-soft);
}

.section--alt .product-tags li {
  background: var(--paper-muted);
}

.product-category__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-category__text p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* Lightbox for product gallery */
.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 20, 25, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.product-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.product-lightbox img {
  max-width: min(90vw, 1100px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 2px;
}

.product-lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: 1px solid rgba(247, 244, 239, 0.35);
  color: var(--paper);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s;
}

.product-lightbox__close:hover {
  background: rgba(247, 244, 239, 0.1);
  border-color: rgba(247, 244, 239, 0.55);
}

.product-lightbox__prev,
.product-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  background: rgba(247, 244, 239, 0.08);
  border: 1px solid rgba(247, 244, 239, 0.25);
  color: var(--paper);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.product-lightbox__prev:hover,
.product-lightbox__next:hover {
  background: rgba(247, 244, 239, 0.15);
  border-color: rgba(247, 244, 239, 0.45);
}

.product-lightbox__prev {
  left: 2rem;
}

.product-lightbox__next {
  right: 2rem;
}

@media (max-width: 768px) {
  .product-lightbox__prev,
  .product-lightbox__next {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 2rem;
  }
  
  .product-lightbox__prev {
    left: 1rem;
  }
  
  .product-lightbox__next {
    right: 1rem;
  }
}

@media (max-width: 900px) {
  .product-category__grid,
  .product-category__grid--reverse {
    grid-template-columns: 1fr;
  }

  .product-category__grid--reverse .product-category__media,
  .product-category__grid--reverse .product-category__content {
    order: unset;
  }

  .product-nav__inner {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .product-nav__inner::-webkit-scrollbar {
    display: none;
  }

  .product-nav a {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .product-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-gallery figure:last-child {
    grid-column: 1 / -1;
  }
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-deep);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* Home page */
.home-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.home-product-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.home-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(15, 20, 25, 0.08);
}

.home-product-card--wide {
  grid-column: span 2;
  flex-direction: row;
}

.home-product-card--wide .home-product-card__img {
  flex: 0 0 45%;
  aspect-ratio: auto;
  min-height: 180px;
}

.home-product-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.home-product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.home-product-card:hover .home-product-card__img img {
  transform: scale(1.06);
}

.home-product-card__body {
  padding: 1.5rem;
  flex: 1;
}

.home-product-card__body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.home-product-card__body p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.home-objectives {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.home-objective {
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  border-top: 2px solid var(--accent);
}

.home-objective__num {
  font-family: var(--font-data);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-deep);
  display: block;
  margin-bottom: 0.75rem;
}

.home-objective h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.home-objective p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.home-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.home-contact__info h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.35;
  margin-bottom: 1.25rem;
}

.home-contact__address {
  font-style: normal;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.home-contact__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.home-contact__list li {
  font-size: 1.0625rem;
  color: var(--ink-soft);
}

.home-contact__list strong {
  display: inline-block;
  min-width: 3.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.home-contact__list a {
  color: var(--ink);
}

.home-contact__list a:hover {
  color: var(--accent-deep);
}

.home-contact__map {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
  min-height: 280px;
  background: var(--paper-muted);
}

.home-contact__map .leaflet-container {
  width: 100%;
  height: 100%;
  min-height: 280px;
  font-family: var(--font-body);
}

.home-contact__map-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin: 0;
}

.home-contact__map.is-ready .home-contact__map-loading {
  display: none;
}

.home-contact__map-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 280px;
  padding: 2rem;
  text-align: center;
  gap: 1rem;
}

.home-contact__map-fallback a {
  color: var(--accent-deep);
  font-weight: 600;
}

.home-contact__map-directions {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  z-index: 1000;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(15, 20, 25, 0.1);
  transition: background 0.25s, color 0.25s;
}

.home-contact__map-directions:hover {
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 1024px) {
  .home-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-product-card--wide {
    grid-column: span 2;
    flex-direction: column;
  }

  .home-product-card--wide .home-product-card__img {
    flex: none;
    aspect-ratio: 16/10;
  }

  .home-objectives {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .home-product-grid,
  .home-objectives,
  .home-contact {
    grid-template-columns: 1fr;
  }

  .home-product-card--wide {
    grid-column: span 1;
  }
}

/* Jobs */
.jobs-statement,
.jobs-statement p {
  font-size: clamp(1.0625rem, 2vw, 1.2rem);
  line-height: 1.85;
  color: var(--ink-soft);
}

.jobs-statement p {
  margin-top: 1.25rem;
}

.jobs-apply {
  max-width: 40rem;
  margin-inline: auto;
}

.job-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.job-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem 2rem;
  background: var(--paper);
  transition: background 0.25s;
}

.job-item:hover {
  background: var(--paper-muted);
}

.job-item h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.job-item .meta {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.job-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  background: var(--paper-muted);
  border-radius: 2px;
  white-space: nowrap;
}

/* Contact info */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-block {
  margin-bottom: 2rem;
}

.contact-block h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.5rem;
}

.contact-block p,
.contact-block a {
  font-size: 1.125rem;
  color: var(--ink);
}

.contact-block a:hover {
  color: var(--accent-deep);
}

.contact-card {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.contact-card__title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.35;
  margin-top: 0.5rem;
}

/* CTA band */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding-block: 4rem;
  text-align: center;
}

.cta-band h2 {
  color: var(--paper);
  margin-bottom: 1rem;
}

.cta-band p {
  color: rgba(247, 244, 239, 0.75);
  max-width: 32rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(247, 244, 239, 0.7);
  padding-block: 4rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand .logo__img {
  height: 2.5rem;
  max-width: 10rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  max-width: 18rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.9375rem;
  transition: color 0.25s;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Page title block */
.page-intro {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.text-center {
  text-align: center;
}

.page-intro.text-center,
.text-center .page-intro {
  margin-inline: auto;
  text-align: center;
}

.page-intro.text-center .lead,
.text-center .page-intro .lead {
  margin-inline: auto;
}

.section--intro-center .page-intro {
  margin-bottom: 0;
}

.section--intro-center .page-intro .lead {
  margin-top: 1rem;
}

.mb-lg { margin-bottom: 3rem; }
.mt-lg { margin-top: 3rem; }

/* Responsive */
@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split__visual { aspect-ratio: 16/9; max-height: 400px; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .stats { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .card-grid,
  .pillars { grid-template-columns: 1fr; }
  .contact-layout,
  .form-grid { grid-template-columns: 1fr; }
  .job-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .timeline__item { grid-template-columns: 1fr; gap: 0.5rem; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
}
