:root {
  --ink: #12201f;
  --ink-soft: #3d524f;
  --paper: #f2f6f5;
  --paper-2: #e7efed;
  --teal: #0f8f8a;
  --teal-deep: #0a6b67;
  --coral: #e07828;
  --line: rgba(18, 32, 31, 0.1);
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(10, 40, 38, 0.12);
  --radius: 18px;
  --header-h: 88px;
  --font-sans: "Manrope", "Noto Sans SC", sans-serif;
  --font-display: "Instrument Serif", "Noto Sans SC", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(15, 143, 138, 0.14), transparent 55%),
    radial-gradient(900px 500px at 90% 8%, rgba(224, 120, 40, 0.1), transparent 50%),
    linear-gradient(180deg, #f7faf9 0%, var(--paper) 40%, #eef4f2 100%);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(242, 246, 245, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(242, 246, 245, 0.9);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: auto;
  height: 72px;
  object-fit: contain;
  border-radius: 10px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--teal), var(--teal-deep));
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.04em;
}

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

.logo-text strong {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.logo-text small {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.25s var(--ease);
}

.site-nav a:hover {
  color: var(--teal-deep);
}

.header-cta {
  justify-self: end;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.header-cta:hover {
  background: #c9651c;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2rem) clamp(1.25rem, 4vw, 3rem) clamp(4rem, 10vh, 6rem);
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 28, 27, 0.78) 0%, rgba(8, 28, 27, 0.45) 48%, rgba(8, 28, 27, 0.22) 100%),
    linear-gradient(180deg, rgba(8, 28, 27, 0.25) 0%, rgba(8, 28, 27, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  opacity: 0;
  transform: translateY(28px);
  animation: rise-in 1s var(--ease) 0.2s forwards;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 10vw, 6.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
}

.hero-slogan {
  margin: 0.9rem 0 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
}

.hero-lede {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

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

.btn-primary {
  background: var(--coral);
  color: var(--white);
}

.btn-primary:hover {
  background: #c9651c;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

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

.section {
  padding: clamp(4.5rem, 10vh, 7rem) clamp(1.25rem, 4vw, 3rem);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--teal-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
}

.lead {
  margin: 1.25rem 0 0;
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.about-points {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--line);
}

.about-points li {
  padding-top: 1.5rem;
  display: grid;
  gap: 0.55rem;
}

.point-label {
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.product-grid {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.product-grid:has(.product-card:nth-child(4):last-child) {
  grid-template-columns: repeat(4, 1fr);
}

.product-grid:has(.product-card:nth-child(3):last-child) {
  grid-template-columns: repeat(3, 1fr);
}

.product-grid:has(.product-card:nth-child(2):last-child) {
  grid-template-columns: repeat(2, 1fr);
}

.product-card {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.85rem;
  padding: 0 0 1.15rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 143, 138, 0.28);
  box-shadow: 0 18px 40px rgba(10, 40, 38, 0.1);
}

.product-media {
  position: relative;
  background:
    linear-gradient(180deg, #f7faf9 0%, #eef4f2 100%);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow: hidden;
}

.product-media.is-pack {
  padding: 0.75rem;
  background:
    radial-gradient(circle at 30% 20%, rgba(224, 120, 40, 0.08), transparent 55%),
    linear-gradient(180deg, #f7faf9 0%, #eef4f2 100%);
}

.product-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.7s var(--ease);
}

.product-media.is-pack img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.product-card h3 {
  margin: 0;
  padding: 0 1rem;
  font-size: 1.02rem;
  line-height: 1.4;
  text-align: center;
  font-weight: 650;
  color: var(--ink);
}

.product-empty {
  grid-column: 1 / -1;
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--ink-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
}

.qual-grid {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.qual-card {
  margin: 0;
  display: grid;
  gap: 0.85rem;
  padding: 0 0 1.1rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.qual-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 143, 138, 0.28);
  box-shadow: 0 18px 40px rgba(10, 40, 38, 0.1);
}

.qual-media {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(180deg, #f7faf9 0%, #eef4f2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
}

.qual-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.7s var(--ease);
}

.qual-card:hover .qual-media img {
  transform: scale(1.03);
}

.qual-card figcaption {
  margin: 0;
  padding: 0 1rem;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.4;
  color: var(--ink);
}

.timeline-list {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.timeline-list li {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.timeline-list time {
  color: var(--teal-deep);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.timeline-list h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.timeline-list p {
  margin: 0;
  color: var(--ink-soft);
}

.news-stack {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-more {
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.section-more:hover {
  color: var(--coral);
  transform: translateX(3px);
}

.news-feature,
.news-item {
  display: block;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.news-feature:hover,
.news-item:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 143, 138, 0.28);
  box-shadow: 0 18px 40px rgba(10, 40, 38, 0.1);
}

.news-feature {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.news-feature-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
}

.news-feature-media img,
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.news-feature:hover .news-feature-media img,
.news-item:hover .news-thumb img {
  transform: scale(1.04);
}

.news-feature-body {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  flex: 1;
}

.news-side {
  display: grid;
  gap: 1rem;
}

.news-item {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 1rem;
  padding: 0.85rem;
  align-items: center;
}

.news-thumb {
  width: 132px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper-2);
  flex-shrink: 0;
}

.news-item-body {
  min-width: 0;
  padding-right: 0.35rem;
}

.news-feature h3,
.news-item h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  line-height: 1.35;
}

.news-feature h3 {
  font-size: 1.35rem;
}

.news-feature p,
.news-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-feature p {
  -webkit-line-clamp: 3;
  font-size: 0.98rem;
}

/* News page */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) clamp(1.25rem, 4vw, 3rem) 3rem;
  overflow: hidden;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0.35rem 0 0.75rem;
  
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.15;
}

.page-hero .lead {
  max-width: 42ch;
  margin: 0;
  color: var(--ink-soft);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 320px at 15% 20%, rgba(15, 143, 138, 0.16), transparent 60%),
    radial-gradient(520px 280px at 90% 10%, rgba(224, 120, 40, 0.1), transparent 55%);
}

.news-filters {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin: 0 0 2rem;
}

.news-filters a {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.news-filters a:hover,
.news-filters a.is-active {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: var(--white);
}

.news-list {
  display: grid;
  gap: 1.15rem;
}

.news-list-item {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 1.35rem;
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.news-list-item:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 143, 138, 0.28);
  box-shadow: 0 16px 36px rgba(10, 40, 38, 0.08);
}

.news-list-media {
  width: 220px;
  height: 146px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper-2);
}

.news-list-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.news-list-item:hover .news-list-media img {
  transform: scale(1.04);
}

.news-list-body h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  line-height: 1.35;
}

.news-list-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list-meta {
  display: grid;
  gap: 0.35rem;
  justify-items: end;
  text-align: right;
  color: var(--ink-soft);
  font-size: 0.85rem;
  white-space: nowrap;
}

.news-list-meta .news-cat {
  color: var(--teal-deep);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.news-list-arrow {
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 0.9rem;
}

body.page-news .site-header {
  border-bottom-color: var(--line);
  background: rgba(242, 246, 245, 0.9);
}

.article {
  padding: calc(var(--header-h) + 2rem) clamp(1.25rem, 4vw, 3rem) 3.5rem;
}

.article-inner {
  max-width: 820px;
  margin: 0 auto;
}

.article-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1.75rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.article-crumb a:hover {
  color: var(--teal-deep);
}

.article-header h1 {
  margin: 0.35rem 0 1rem;
  
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.25;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.article-cover {
  margin: 1.75rem 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.article-cover img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.article-body {
  display: grid;
  gap: 1.15rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink);
}

.article-body p {
  margin: 0;
  color: var(--ink-soft);
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  flex-shrink: 0;
}

.page-article .btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
}

.page-article .btn-ghost:hover {
  border-color: rgba(15, 143, 138, 0.35);
  color: var(--teal-deep);
  background: var(--white);
}

.article-pager {
  margin: 0 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  flex: 1 1 240px;
  min-width: min(100%, 240px);
}

.article-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  max-width: 320px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}

.article-nav-link:hover {
  border-color: rgba(15, 143, 138, 0.28);
  background: var(--white);
  transform: translateY(-1px);
}

.article-nav-link.next {
  text-align: right;
  align-items: flex-end;
  margin-left: auto;
}

.article-nav-link span {
  color: var(--teal-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.article-nav-link strong {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

@media (max-width: 720px) {
  .article-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .article-pager {
    margin-left: 0;
    justify-content: stretch;
  }

  .article-nav-link,
  .article-nav-link.next {
    max-width: none;
    width: 100%;
    text-align: left;
    align-items: flex-start;
    margin-left: 0;
  }
}

.join-panel {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2rem;
  align-items: end;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 28px;
  background:
    radial-gradient(600px 280px at 100% 0%, rgba(224, 120, 40, 0.18), transparent 55%),
    linear-gradient(145deg, #103937, #0b5854 55%, #0f766f);
  color: var(--white);
  box-shadow: var(--shadow);
}

.join .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.join h2 {
  max-width: 14ch;
  color: var(--white);
}

.join .lead {
  color: rgba(255, 255, 255, 0.8);
}

.join-actions {
  display: grid;
  gap: 0.75rem;
}

.join .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
}

.site-footer {
  padding: 3rem clamp(1.25rem, 4vw, 3rem) 2rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.4fr auto;
  gap: 2rem;
}

.footer-brand strong {
  font-size: 1.15rem;
}

.footer-brand p,
.footer-meta p {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  justify-items: start;
}

.footer-links a {
  color: var(--ink-soft);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--teal-deep);
}

.copyright {
  max-width: 1120px;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.85rem;
}

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

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

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 960px) {
  .about-points,
  .news-stack,
  .footer-inner,
  .join-panel {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .product-grid:has(.product-card:nth-child(4):last-child),
  .product-grid:has(.product-card:nth-child(3):last-child),
  .product-grid:has(.product-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .news-list-item {
    grid-template-columns: 160px 1fr;
  }

  .news-list-media {
    width: 160px;
    height: 112px;
  }

  .news-list-meta {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }

  .timeline-list li {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
}

@media (max-width: 640px) {
  .product-grid,
  .product-grid:has(.product-card:nth-child(4):last-child),
  .product-grid:has(.product-card:nth-child(3):last-child),
  .product-grid:has(.product-card:nth-child(2):last-child) {
    grid-template-columns: 1fr;
  }

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

  .news-item {
    grid-template-columns: 96px 1fr;
    gap: 0.75rem;
    padding: 0.7rem;
  }

  .news-thumb {
    width: 96px;
    height: 76px;
    border-radius: 10px;
  }

  .news-feature h3,
  .news-item h3 {
    font-size: 1.05rem;
  }

  .news-list-item {
    grid-template-columns: 1fr;
  }

  .news-list-media {
    width: 100%;
    height: 180px;
  }

  .news-list-meta {
    grid-column: 1;
    flex-direction: row;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .nav-toggle {
    display: block;
    justify-self: start;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(242, 246, 245, 0.97);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .header-cta {
    justify-self: end;
  }

  body.nav-open .nav-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .hero-content,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
