:root {
  --bg: #f6f1e8;
  --bg-soft: #efe6d7;
  --surface: rgba(255, 252, 245, 0.72);
  --surface-strong: #fbf7ef;
  --ink: #1d231f;
  --muted: #5f655f;
  --green-deep: #15261d;
  --green-soft: #314b3c;
  --accent: #a37a36;
  --line: rgba(21, 38, 29, 0.12);
  --line-strong: rgba(21, 38, 29, 0.22);
  --shadow: 0 24px 60px rgba(21, 38, 29, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(163, 122, 54, 0.08), transparent 28%),
    linear-gradient(to bottom, #f8f3eb, var(--bg));
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--green-deep);
  color: #fff;
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(246, 241, 232, 0.76);
  border-bottom: 1px solid rgba(21, 38, 29, 0.08);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.55);
  color: var(--green-deep);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.brand-text {
  display: grid;
}

.brand-text strong,
.site-footer p {
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.site-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-footer a:hover,
.contact-details a:hover {
  color: var(--green-deep);
}

.section {
  padding: 6rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.36);
  border-top: 1px solid rgba(21, 38, 29, 0.08);
  border-bottom: 1px solid rgba(21, 38, 29, 0.08);
}

.section-dark {
  background: var(--green-deep);
  color: #eef0ea;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-heading-light h2,
.section-heading-light .eyebrow {
  color: #eef0ea;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--green-soft);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3.6rem, 8vw, 7rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  /* max-width: 12ch; */
}

h3 {
  font-size: clamp(1.55rem, 2vw, 2rem);
}

p {
  margin: 0;
}

.hero {
  position: relative;
  padding-top: 4.5rem;
  color: #f5f1e8;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 23, 18, 0.82) 0%, rgba(12, 23, 18, 0.58) 42%, rgba(12, 23, 18, 0.42) 100%),
    linear-gradient(180deg, rgba(12, 23, 18, 0.18), rgba(12, 23, 18, 0.34)),
    url("https://images.unsplash.com/photo-1774125364904-de15e430e8f6?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") center/cover no-repeat;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12, 23, 18, 0.1), rgba(12, 23, 18, 0.3));
  z-index: -1;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .eyebrow,
.hero h1 {
  color: #f5f1e8;
}

.hero-grid,
.about-grid,
.product-grid,
.quality-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.hero-copy {
  animation: fade-up 0.9s ease both;
}

.hero-text {
  max-width: 60ch;
  margin-top: 1.4rem;
  font-size: 1.05rem;
  color: rgba(245, 241, 232, 0.86);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: #f3eee4;
  color: var(--green-deep);
}

.button-primary:hover {
  background: #ffffff;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #f5f1e8;
}

.hero-highlights {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 0;
  margin: 2rem 0 0;
}

.hero-highlights li {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 241, 232, 0.9);
}

.hero-panel {
  position: relative;
  min-height: 680px;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.38)),
    rgba(255, 252, 245, 0.75);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: fade-up 0.9s ease 0.15s both;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 1.2rem;
  border-radius: calc(var(--radius-lg) - 10px);
  border: 1px dashed rgba(21, 38, 29, 0.12);
}

.specimen-card,
.quality-mini-card,
.content-card,
.metric-card,
.product-panel,
.data-panel,
.timeline-step,
.science-card,
.application-card,
.coa-card,
.trust-card,
.contact-form {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.specimen-card {
  position: absolute;
  top: 2.3rem;
  left: 2.3rem;
  width: min(82%, 350px);
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.specimen-label,
.quality-kicker,
.metric-label,
.coa-label,
.status-pill {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.specimen-label,
.quality-kicker,
.metric-label,
.coa-label {
  color: var(--green-soft);
}

.specimen-name {
  margin-top: 0.35rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
}

.specimen-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.specimen-meta span,
.status-pill {
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  background: rgba(21, 38, 29, 0.06);
}

.molecule-field {
  position: absolute;
  inset: 18% 12% 18% 12%;
  border-radius: 50%;
  border: 1px solid rgba(21, 38, 29, 0.08);
}

.molecule-field::before,
.molecule-field::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(21, 38, 29, 0.08);
}

.molecule-field::after {
  inset: 25%;
}

.node,
.bond {
  position: absolute;
  background: var(--green-deep);
  transform-origin: center;
}

.node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(21, 38, 29, 0.06);
  animation: float 6s ease-in-out infinite;
}

.node-a { top: 18%; left: 32%; }
.node-b { top: 33%; right: 20%; animation-delay: 0.8s; }
.node-c { bottom: 26%; right: 32%; animation-delay: 1.2s; }
.node-d { bottom: 20%; left: 28%; animation-delay: 1.6s; }
.node-e { top: 48%; left: 48%; animation-delay: 0.4s; }

.bond {
  height: 2px;
  opacity: 0.3;
}

.bond-a {
  width: 132px;
  top: 20%;
  left: 34%;
  transform: rotate(21deg);
}

.bond-b {
  width: 150px;
  top: 41%;
  right: 18%;
  transform: rotate(82deg);
}

.bond-c {
  width: 144px;
  bottom: 28%;
  left: 32%;
  transform: rotate(18deg);
}

.bond-d {
  width: 126px;
  top: 49%;
  left: 35%;
  transform: rotate(135deg);
}

.quality-mini-card {
  position: absolute;
  right: 2.2rem;
  bottom: 2.2rem;
  width: min(78%, 320px);
  padding: 1.35rem;
  border-radius: var(--radius-md);
}

.quality-mini-card p {
  margin-top: 0.7rem;
  color: var(--muted);
}

.about-grid,
.product-grid,
.quality-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-card,
.product-panel,
.data-panel,
.trust-card,
.coa-card,
.contact-form {
  padding: 1.6rem;
  border-radius: var(--radius-md);
}

.content-card p + p {
  margin-top: 1rem;
}

.metrics-grid,
.science-grid,
.applications-grid {
  display: grid;
  gap: 1rem;
}

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

.metric-card {
  padding: 1.35rem;
  border-radius: var(--radius-md);
}

.metric-card strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.12rem;
}

.product-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.status-pill {
  color: var(--green-soft);
  white-space: nowrap;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.spec-grid div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.spec-grid dt {
  color: var(--muted);
  font-size: 0.88rem;
}

.spec-grid dd {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  font-weight: 600;
}

.bullet-list {
  padding-left: 1rem;
  margin: 1rem 0 0;
}

.bullet-list li + li {
  margin-top: 0.7rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.timeline-step {
  padding: 1.4rem;
  border-radius: var(--radius-md);
}

.timeline-step span {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
}

.timeline-step h3 {
  margin-bottom: 0.6rem;
  font-size: 1.45rem;
}

.science-grid,
.applications-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.science-card,
.application-card {
  padding: 1.4rem;
  border-radius: var(--radius-md);
}

.science-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.science-card p {
  color: rgba(238, 240, 234, 0.82);
}

.application-card {
  background: rgba(255, 255, 255, 0.5);
}

.disclaimer {
  margin-top: 1.25rem;
  color: var(--muted);
  max-width: 70ch;
}

.coa-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.coa-body {
  display: grid;
  gap: 0.7rem;
}

.coa-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.coa-row span {
  color: var(--muted);
}

.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  top: -180px;
  right: -140px;
  border-radius: 50%;
  border: 1px solid rgba(21, 38, 29, 0.08);
}

.contact-copy p:not(.eyebrow) {
  margin-top: 1rem;
  max-width: 56ch;
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 0.4rem;
  margin-top: 1.4rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
  color: var(--green-deep);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.92rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(163, 122, 54, 0.65);
  box-shadow: 0 0 0 4px rgba(163, 122, 54, 0.12);
}

.full-width {
  grid-column: 1 / -1;
}

.site-footer {
  border-top: 1px solid rgba(21, 38, 29, 0.08);
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .about-grid,
  .product-grid,
  .quality-grid,
  .contact-grid,
  .science-grid,
  .applications-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel {
    min-height: 560px;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: static;
  }

  .header-inner,
  .footer-inner,
  .site-nav {
    flex-direction: column;
    align-items: start;
  }

  .section {
    padding: 4.6rem 0;
  }

  .hero-grid,
  .about-grid,
  .product-grid,
  .quality-grid,
  .contact-grid,
  .metrics-grid,
  .science-grid,
  .applications-grid,
  .timeline,
  .contact-form,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(3rem, 12vw, 4.4rem);
  }

  .hero-panel {
    min-height: 500px;
  }

  .specimen-card,
  .quality-mini-card {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
  }

  .molecule-field {
    position: relative;
    inset: auto;
    margin: 1.5rem auto;
    width: min(100%, 380px);
    aspect-ratio: 1;
  }

  .hero-panel::before {
    inset: 0.8rem;
  }
}
