/* ============================================================
   1rawlab — style-guide.css
   Single source of truth for all pages.
   Every page imports this file and nothing else for base styles.

   FONTS: Self-hosted woff2 in assets/fonts/
   ============================================================ */

/* Geist — 300 / 400 / 500 / 700 */
@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist/Geist-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist/Geist-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist/Geist-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist/Geist-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* JetBrains Mono — 400 / 500 */
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono/JetBrainsMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono/JetBrainsMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}


/* ============================================================
   01  DESIGN TOKENS
   ============================================================ */
:root {
  --ink-0:   #f4f6f6;
  --ink-1:   #e8eaeb;
  --ink-2:   #c5c8cb;
  --ink-3:   #9ca0a4;
  --ink-4:   #6e7176;
  --ink-5:   #3b3d40;
  --ink-6:   #232427;
  --ink-7:   #141517;
  --ink-8:   #0a0b0c;

  --accent:        #5fc7a8;
  --accent-soft:   #d1f0e6;

  --bg:        var(--ink-0);
  --bg-dark:   var(--ink-7);
  --fg:        var(--ink-7);
  --fg-muted:  var(--ink-4);
  --hairline:  rgba(20, 21, 23, 0.10);
  --hairline-on-dark: rgba(255, 255, 255, 0.10);

  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  --container-max: 1360px;
  --pad-x: clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 10vw, 160px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}


/* ============================================================
   02  RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }


/* ============================================================
   03  UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow.on-dark { color: var(--ink-2); }

.section-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--fg);
  max-width: 22ch;
}
.section-title.on-dark { color: var(--ink-0); }
.section-title .em { font-style: italic; font-weight: 300; color: var(--fg-muted); }
.section-title.on-dark .em { color: var(--ink-3); }

.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 56ch;
}
.lead.on-dark { color: var(--ink-2); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 0;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink-7);
  color: var(--ink-0);
  border: 1px solid var(--ink-7);
}
.btn--primary:hover { background: var(--accent); border-color: var(--accent); color: var(--ink-7); }
.btn--ghost {
  background: transparent;
  color: var(--ink-0);
  border: 1px solid var(--hairline-on-dark);
}
.btn--ghost:hover { background: var(--ink-0); color: var(--ink-7); border-color: var(--ink-0); }
.btn--ghost-light {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--hairline);
}
.btn--ghost-light:hover { background: var(--ink-7); color: var(--ink-0); border-color: var(--ink-7); }
.btn .arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }


/* ============================================================
   04  HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  background: rgba(10, 11, 12, 0.35);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 11, 12, 0.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--hairline-on-dark);
  padding: 14px 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}
.brand-wordmark {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink-0);
}
.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-2);
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav a:hover { color: var(--ink-0); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--accent);
}
.nav__cta { margin-left: 12px; }

.nav-toggle {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 4px;
}
.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--ink-0);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* ============================================================
   05  FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink-8);
  color: var(--ink-3);
  padding: 56px 0 32px;
  font-size: 13px;
  border-top: 1px solid var(--hairline-on-dark);
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--hairline-on-dark);
}
@media (min-width: 800px) {
  .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
}
.site-footer__brand .brand-wordmark { font-size: 16px; margin-bottom: 12px; display: block; }
.site-footer__brand .brand-logo { height: 20px; margin-bottom: 20px; display: block; }
.site-footer__brand p { color: var(--ink-3); max-width: 32ch; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--ink-3); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--ink-0); }
.site-footer__bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
}


/* ============================================================
   06  SECTION BASE
   ============================================================ */
section { position: relative; }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--dark { background: var(--bg-dark); color: var(--ink-0); }
.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--hairline);
}
.section--dark .section-head { border-bottom-color: var(--hairline-on-dark); }


/* ============================================================
   07  PHOTO BACKGROUND LAYER (reusable dark section overlay)
   ============================================================ */
.photo-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/images/contact-bg.png");
  background-size: cover;
  background-position: center;
  filter: brightness(0.35) contrast(1.05) saturate(0.75);
  z-index: 0;
}
.photo-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,11,12,0.5) 0%, rgba(10,11,12,0.2) 30%, rgba(10,11,12,0.75) 100%),
    linear-gradient(90deg, rgba(10,11,12,0.55) 0%, rgba(10,11,12,0.1) 70%);
  z-index: 1;
}

/* ============================================================
   08  REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }


/* ============================================================
   08  MOBILE + REDUCED MOTION
   ============================================================ */
@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 11, 12, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px var(--pad-x) 32px;
    border-bottom: 1px solid var(--hairline-on-dark);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--hairline-on-dark); font-size: 18px; color: var(--ink-1); }
  .nav a:last-of-type { border-bottom: none; }
  .nav__cta { margin-top: 16px; margin-left: 0; align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ============================================================
   09  HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--ink-0);
  background: var(--ink-8);
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url("assets/images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) contrast(1.05) saturate(0.85);
  z-index: 1;
}
/* Fallback gradient when image is missing */
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a1a12 0%, #141517 50%, #0a0b0c 100%);
  opacity: 0;
}
.hero__bg:not([style*="background-image"])::after { opacity: 1; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,11,12,0.55) 0%, rgba(10,11,12,0.2) 40%, rgba(10,11,12,0.85) 100%),
    linear-gradient(90deg, rgba(10,11,12,0.6) 0%, rgba(10,11,12,0) 65%);
  z-index: 2;
}
.hero__grain {
  position: absolute; inset: 0;
  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.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.45;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 3;
}
.hero__content {
  position: relative;
  z-index: 4;
  padding-bottom: clamp(72px, 9vw, 128px);
  padding-top: 140px;
  width: 100%;
}
.hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.hero__meta .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(95,199,168,0.18);
}
.hero__title {
  font-size: clamp(44px, 8vw, 112px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
  max-width: 14ch;
  color: var(--ink-0);
}
.hero__title .em { font-style: italic; font-weight: 300; color: var(--ink-2); }
.hero__sub {
  margin-top: 28px;
  max-width: 56ch;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-1);
  font-weight: 300;
}
.hero__actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__actions .btn--primary { background: var(--ink-0); color: var(--ink-7); border-color: var(--ink-0); }
.hero__actions .btn--primary:hover { background: var(--accent); border-color: var(--accent); }
.hero__strip {
  position: absolute;
  z-index: 4;
  left: 0; right: 0; bottom: 24px;
  padding: 0 var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero__strip .num { color: var(--ink-0); font-weight: 500; }
.hero__meta, .hero__title, .hero__sub, .hero__actions {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 1s var(--ease) forwards;
}
.hero__title { animation-delay: 0.15s; }
.hero__sub { animation-delay: 0.35s; }
.hero__actions { animation-delay: 0.5s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }


/* ============================================================
   10  MARQUEE TICKER
   ============================================================ */
.ticker {
  background: var(--ink-7);
  color: var(--ink-2);
  border-top: 1px solid var(--hairline-on-dark);
  border-bottom: 1px solid var(--hairline-on-dark);
  overflow: hidden;
  padding: 18px 0;
}
.ticker__track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: ticker-slide 38s linear infinite;
  width: max-content;
}
.ticker__item {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.ticker__item .sep { color: var(--accent); opacity: 0.7; }
@keyframes ticker-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }


/* ============================================================
   11  VISION & MISSION
   ============================================================ */
.vision {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (min-width: 900px) { .vision { grid-template-columns: 1.1fr 1fr; } }
.vision__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-1);
}
.vision__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.vision__media:hover img { transform: scale(1.03); }
.vision__media::before {
  content: ""; position: absolute; top: 16px; left: 16px;
  width: 40px; height: 40px;
  border-top: 1px solid var(--accent); border-left: 1px solid var(--accent);
  z-index: 2; pointer-events: none;
}
.vision__media::after {
  content: ""; position: absolute; bottom: 16px; right: 16px;
  width: 40px; height: 40px;
  border-bottom: 1px solid var(--accent); border-right: 1px solid var(--accent);
  z-index: 2; pointer-events: none;
}
.vision__body p {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--fg);
  font-weight: 300;
  max-width: 50ch;
}
.vision__sig {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.vision__sig strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 24px;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--fg);
  font-weight: 500;
  margin-bottom: 4px;
}


/* ============================================================
   12  WHO WE ARE
   ============================================================ */
.who {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 6vw, 96px);
}
@media (min-width: 1000px) { .who { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.who__media { position: relative; aspect-ratio: 5 / 6; overflow: hidden; }
.who__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.4) contrast(1.05); }
.who__media-meta {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 20px 24px;
  background: linear-gradient(180deg, transparent, rgba(10,11,12,0.85));
  color: var(--ink-0);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  display: flex; justify-content: space-between;
}
.who__body p { font-size: clamp(15px, 1.1vw, 17px); line-height: 1.65; color: var(--fg); max-width: 56ch; }
.who__body p + p { margin-top: 20px; }
.who__stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 700px) { .who__stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: 28px 24px 24px; }
.stat__num {
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 500; letter-spacing: -0.025em; line-height: 1;
  color: var(--fg); display: flex; align-items: baseline; gap: 4px;
}
.stat__num .suffix { font-size: 0.5em; color: var(--accent); font-weight: 500; }
.stat__label { margin-top: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); }


/* ============================================================
   13  ADVANTAGES
   ============================================================ */
.advantages {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--hairline-on-dark);
  border-top: 1px solid var(--hairline-on-dark);
  border-bottom: 1px solid var(--hairline-on-dark);
}
@media (min-width: 700px) { .advantages { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .advantages { grid-template-columns: repeat(4, 1fr); } }
.adv-card {
  background: var(--bg-dark);
  padding: 36px 32px 40px;
  display: flex; flex-direction: column; gap: 16px;
  transition: background 0.5s var(--ease);
}
.adv-card:hover { background: var(--ink-6); }
.adv-card__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; color: var(--ink-3); }
.adv-card__media { aspect-ratio: 4 / 3; overflow: hidden; margin: 0 -32px; }
.adv-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.5) brightness(0.85) contrast(1.05);
  transition: transform 0.8s var(--ease), filter 0.6s var(--ease);
}
.adv-card:hover .adv-card__media img { transform: scale(1.05); filter: grayscale(0.1) brightness(0.95); }
.adv-card__title { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; color: var(--ink-0); }
.adv-card__body { font-size: 14px; line-height: 1.6; color: var(--ink-2); font-weight: 300; }


/* ============================================================
   14  FEATURED PRODUCTS
   ============================================================ */
.products { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 800px) { .products { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.product-card {
  background: var(--bg);
  border: 1px solid var(--hairline);
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.product-card:hover { border-color: var(--ink-7); transform: translateY(-4px); }
.product-card__media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--ink-1); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.product-card__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.product-card__species { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; color: var(--fg); margin-bottom: 6px; }
.product-card__species i { font-style: italic; font-weight: 400; }
.product-card__common { font-size: 13px; color: var(--fg-muted); margin-bottom: 16px; }
.product-card__desc { font-size: 14px; line-height: 1.6; color: var(--fg); flex: 1; }
.product-card__table { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--hairline); font-family: var(--font-mono); font-size: 11px; }
.product-card__table-head {
  display: grid; grid-template-columns: 1.1fr 1.4fr 0.7fr; gap: 8px;
  color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.1em;
  padding-bottom: 8px; border-bottom: 1px solid var(--hairline); font-size: 10px;
}
.product-card__row {
  display: grid; grid-template-columns: 1.1fr 1.4fr 0.7fr; gap: 8px;
  padding: 8px 0; border-bottom: 1px solid var(--hairline); align-items: start;
}
.product-card__row:last-child { border-bottom: none; }
.product-card__row .role { font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); }
.product-card__row .role.major { color: var(--accent); }
.product-card__cta {
  margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--hairline);
  font-size: 13px; font-weight: 500; color: var(--fg);
  display: inline-flex; align-items: center; gap: 10px;
  transition: gap 0.3s var(--ease);
}
.product-card__cta::after { content: "→"; transition: transform 0.3s var(--ease); }
.product-card:hover .product-card__cta::after { transform: translateX(4px); }


/* ============================================================
   15  NEWS CARDS
   ============================================================ */
.news { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 800px) { .news { grid-template-columns: repeat(3, 1fr); } }
.news-card {
  border-top: 1px solid var(--ink-7);
  padding: 28px 0 32px;
  display: flex; flex-direction: column; gap: 18px;
  transition: padding-left 0.4s var(--ease);
}
.news-card:hover { padding-left: 12px; }
.news-card__meta { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); }
.news-card__meta .cat { color: var(--fg); }
.news-card__title { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; color: var(--fg); }
.news-card__excerpt { font-size: 14px; line-height: 1.6; color: var(--fg-muted); }
.news-card__link { margin-top: auto; font-size: 13px; font-weight: 500; color: var(--fg); display: inline-flex; gap: 8px; align-items: center; }
.news-card__link::after { content: "→"; }


/* ============================================================
   16  CONTACT / CTA
   ============================================================ */
.contact { background: var(--bg-dark); color: var(--ink-0); position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(95,199,168,0.10), transparent 60%),
    radial-gradient(700px 500px at 10% 110%, rgba(95,199,168,0.06), transparent 60%);
  pointer-events: none;
}
.contact__inner {
  position: relative;
  display: grid; grid-template-columns: 1fr; gap: 56px;
}
@media (min-width: 900px) { .contact__inner { grid-template-columns: 1.2fr 1fr; gap: 96px; align-items: end; } }
.contact__title { font-size: clamp(40px, 6vw, 80px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--ink-0); }
.contact__title .em { font-style: italic; font-weight: 300; color: var(--accent); }
.contact__sub { margin-top: 24px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 50ch; }
.contact__channels {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--hairline-on-dark);
  border-top: 1px solid var(--hairline-on-dark);
  border-bottom: 1px solid var(--hairline-on-dark);
}
.channel {
  background: var(--bg-dark);
  padding: 22px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  transition: background 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.channel:hover { background: var(--ink-6); padding-left: 28px; }
.channel__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.channel__value { font-size: 15px; color: var(--ink-0); font-weight: 400; text-align: right; }
.channel:hover .channel__value { color: var(--accent); }


/* ============================================================
   17  ARTICLE PAGE — shared by all individual article pages
   ============================================================ */
.article-page {
  background: var(--bg);
  padding-top: 80px;
}

.article-breadcrumb {
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
}
.article-breadcrumb a {
  color: var(--fg-muted);
  transition: color 0.2s;
}
.article-breadcrumb a:hover { color: var(--accent); }
.article-breadcrumb__sep { margin: 0 8px; opacity: 0.4; }

.article-head {
  padding: clamp(40px, 5vw, 72px) 0 clamp(28px, 4vw, 48px);
  max-width: 780px;
}
.article-head__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.article-head__title {
  font-size: clamp(26px, 4vw, 50px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 20px;
}
.article-head__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  display: flex;
  gap: 20px;
}

.article-cover {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: clamp(40px, 5vw, 64px);
  display: block;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
  padding-bottom: clamp(60px, 8vw, 120px);
}
@media (min-width: 900px) {
  .article-layout { grid-template-columns: 1fr 240px; }
}

.article-content p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.8;
  color: var(--fg);
  margin-bottom: 24px;
}
.article-content p:last-child { margin-bottom: 0; }

.article-sidebar { position: sticky; top: 100px; }

.sidebar-block { margin-bottom: 40px; }
.sidebar-block__heading {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
}

.sidebar-article {
  display: block;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.sidebar-article:last-of-type { border-bottom: none; padding-bottom: 0; }

.sidebar-article__cat {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}
.sidebar-article__title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--fg);
  margin-bottom: 4px;
  transition: color 0.2s;
}
.sidebar-article:hover .sidebar-article__title { color: var(--accent); }
.sidebar-article__date {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
}

.topic-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border: 1px solid var(--hairline);
  padding: 5px 10px;
  border-radius: 2px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.topic-tag:hover { color: var(--accent); border-color: var(--accent); }
