/* Homepage — ported verbatim from Claude Design "Homepage.html". */

/* Hero */
.hero {
  background: linear-gradient(180deg, #f8f7f3 0%, #fafaf8 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 56px 32px 72px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: center;
  min-height: 620px;
}
.hero-eyebrow { display: flex; gap: 10px; align-items: center; margin-bottom: 24px; }
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 5.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 480px;
  margin: 0 0 32px;
}
.hero-cta { display: flex; gap: 12px; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.stat-n { font-family: var(--display); font-size: 32px; line-height: 1; }
.stat-l { font-family: var(--mono); font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; }
.hero-product {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  align-self: stretch;
  /* Stretch the right pane edge-to-edge of the viewport (right side) and
     edge-to-edge top/bottom of the hero by cancelling the hero-inner padding. */
  margin: -56px -32px -72px 0;
}
@media (min-width: 1400px) {
  /* On wide viewports, also extend past the 1400px container's centered margin
     so the image visually touches the right edge of the page. */
  .hero-product { margin-right: calc((1400px - 100vw) / 2); }
}
.hero-product .hero-custom-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center right;
}
.hero { overflow: hidden; }
.hero-inner { padding-bottom: 72px; align-items: stretch; }
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-product { min-height: 320px; justify-content: center; margin: 0; }
  .hero-product .hero-custom-image { width: 100%; max-width: 100%; max-height: 360px; height: auto; object-fit: contain; }
}
.hero-vial-main { width: 320px; height: 100%; display: flex; align-items: center; justify-content: center; z-index: 2; }
.hero-vial-main svg { width: 100%; height: 100%; filter: drop-shadow(0 24px 40px rgba(0,0,0,0.12)); }
.hero-vial-side {
  position: absolute;
  width: 180px; height: 360px;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,0.08));
  opacity: 0.92;
}
.hero-vial-side.left { left: 5%; bottom: 10%; transform: rotate(-4deg); }
.hero-vial-side.right { right: 5%; bottom: 14%; transform: rotate(5deg); width: 140px; height: 280px; }
.hero-callout {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}
.hero-callout-1 { top: 18%; right: 8%; }
.hero-callout-2 { bottom: 12%; left: 4%; }
.callout-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--ok); }

/* Marquee / featured */
.marquee {
  background: var(--ink);
  color: #d8d6d0;
  padding: 14px 0;
  overflow: hidden;
  border-bottom: 1px solid #18181a;
}
.marquee-track {
  display: flex;
  gap: 56px;
  animation: gp-marquee-scroll 40s linear infinite;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track span { display: flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: '\00B7'; color: var(--accent); }
@keyframes gp-marquee-scroll {
  to { transform: translateX(-50%); }
}

/* Categories */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  transition: border-color .15s, transform .15s;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  text-decoration: none;
  color: inherit;
}
.cat-card:hover { border-color: var(--ink); }
.cat-img {
  align-self: center;
  width: 60%;
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  margin: 12px 0 20px;
}
.cat-img svg { height: 100%; filter: drop-shadow(0 10px 16px rgba(0,0,0,0.08)); }
.cat-name { font-family: var(--display); font-size: 22px; letter-spacing: -0.01em; }
.cat-count { font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 4px; }
.cat-arrow {
  position: absolute; right: 20px; top: 20px;
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-3);
}
.cat-card:hover .cat-arrow { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Standard / research split */
.standard {
  background: var(--paper-2);
  padding: 96px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.standard-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.standard-visual {
  position: relative;
  aspect-ratio: 1.05;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.standard-vials { display: flex; gap: 18px; align-items: end; padding: 40px; }
.standard-vials > div { width: 100px; height: 200px; display: flex; align-items: center; justify-content: center; }
.standard-vials > div:nth-child(2) { width: 130px; height: 240px; }
.standard-vials svg { width: 100%; height: 100%; filter: drop-shadow(0 12px 20px rgba(0,0,0,0.1)); }
.standard-coa {
  position: absolute;
  bottom: 24px; right: 24px;
  width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  font-size: 11px;
}
.coa-row-mini { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed var(--line); font-family: var(--mono); }
.coa-row-mini:last-child { border: 0; }
.coa-row-mini span:last-child { color: var(--ink); font-weight: 500; }
.standard-feat {
  list-style: none; padding: 0; margin: 28px 0 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px;
}
.standard-feat li { display: flex; gap: 10px; font-size: 14px; }
.standard-feat li::before {
  content: '\2713';
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

/* Best sellers */
.ps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gp-tabs {
  display: flex;
  gap: 8px;
}
.gp-tabs .tab {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  background: #fff;
  cursor: pointer;
}
.gp-tabs .tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Process */
.process {
  max-width: 1400px;
  margin: 0 auto;
  padding: 96px 32px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
  position: relative;
}
.step {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  position: relative;
}
.step-num {
  font-family: var(--display);
  font-size: 14px;
  font-style: italic;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.step h3 { font-family: var(--display); font-size: 22px; font-weight: 500; margin: 0 0 8px; letter-spacing: -0.01em; }
.step p { font-size: 13px; color: var(--ink-3); margin: 0; line-height: 1.55; }
.step-icon {
  width: 44px; height: 44px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: 20px;
}

/* Editorial / quote */
.editorial {
  background: var(--ink);
  color: #fff;
  padding: 96px 32px;
}
.editorial-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.editorial blockquote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 24px 0;
}
.editorial cite {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8b6b0;
  font-style: normal;
}

/* New arrivals — wide cards */
.new-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Press */
.press {
  background: var(--paper-2);
  padding: 56px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.press-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.press-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.press-logos { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
.press-logo { font-family: var(--display); font-size: 22px; color: var(--ink-2); letter-spacing: 0.02em; }
.press-logo.italic { font-style: italic; }
.press-logo.sans { font-family: var(--sans); font-weight: 700; letter-spacing: -0.01em; }
.press-logo.tracked { letter-spacing: 0.3em; font-size: 16px; text-transform: uppercase; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  gap: 18px;
  align-items: start;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-num { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.06em; padding-top: 4px; }
.gp-home-faq .faq-q { font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer; }
.gp-home-faq .faq-a { font-size: 14px; color: var(--ink-3); margin-top: 10px; line-height: 1.6; max-width: 600px; display: none; }
.gp-home-faq .faq-item { cursor: pointer; }
.gp-home-faq .faq-item.open .faq-a { display: block; }
.gp-home-faq .faq-toggle { color: var(--ink-3); font-size: 18px; padding-top: 4px; cursor: pointer; }
.gp-home-faq .faq-item.open .faq-toggle { color: var(--accent); }

/* Newsletter */
.newsletter {
  background: var(--accent);
  color: #fff;
  padding: 80px 32px;
}
.newsletter-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.newsletter h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.newsletter h2 em { font-style: italic; }
.newsletter p { font-size: 15px; opacity: 0.85; margin: 0; max-width: 380px; }
.newsletter form { display: flex; gap: 0; }
.newsletter input {
  flex: 1;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  border-radius: 999px 0 0 999px;
  outline: none;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter button {
  padding: 16px 28px;
  background: #fff;
  color: var(--accent);
  font-weight: 600;
  border-radius: 0 999px 999px 0;
  font-size: 14px;
  border: 0;
  cursor: pointer;
}

.also-tags {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px;
}

@media (max-width: 880px) {
  .hero-inner, .standard-inner, .newsletter-inner, .faq-grid { grid-template-columns: 1fr; }
  .cat-grid, .ps-grid, .new-grid, .process-grid { grid-template-columns: 1fr 1fr; }
}
