:root {
  --bg: #f4f8fb;
  --surface: #ffffff;
  --surface-soft: #eef5fb;
  --ink: #102039;
  --ink-soft: #3f5472;
  --brand: #2e7fd0;
  --brand-dark: #1e4f86;
  --accent: #36b8b1;
  --border: #d6e3f0;
  --success: #197a47;
  --warn: #a76512;
  --danger: #a52a2a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 42px rgba(18, 44, 78, 0.14);
  --container: min(1160px, calc(100vw - 2.5rem));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background:
    radial-gradient(circle at 12% 8%, #d9f4f2 0%, transparent 36%),
    radial-gradient(circle at 88% -2%, #d2e6fa 0%, transparent 34%),
    var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

main {
  min-height: 62vh;
}

.top-banner {
  background: linear-gradient(110deg, #0d3d67, #176091 60%, #207478);
  color: #f0f8ff;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.top-banner .container {
  padding: 0.64rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  justify-content: space-between;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(247, 251, 255, 0.9);
  border-bottom: 1px solid rgba(214, 227, 240, 0.9);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand img {
  width: 198px;
  height: auto;
}

.brand-copy {
  display: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--brand-dark);
  border-radius: 999px;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.56rem 0.95rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 600;
  transition: all 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-dark);
  background: #eaf4fd;
}

.site-nav a.is-active {
  color: #fff;
  background: linear-gradient(120deg, var(--brand), var(--accent));
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: center;
}

.kicker {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  color: var(--brand-dark);
  background: #e5f1ff;
  border: 1px solid #cde2f8;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
}

.hero h1,
.hero h2 {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  line-height: 1.09;
  margin: 1rem 0;
  letter-spacing: -0.025em;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.hero p {
  color: var(--ink-soft);
  font-size: 1.03rem;
  margin: 0 0 1.2rem;
  max-width: 58ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 700;
  padding: 0.78rem 1.18rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  box-shadow: 0 10px 24px rgba(32, 96, 153, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 14px 26px rgba(32, 96, 153, 0.34);
}

.btn-ghost {
  color: var(--brand-dark);
  border-color: var(--border);
  background: #fff;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: #f3f9ff;
}

.hero-panel {
  background:
    linear-gradient(170deg, rgba(14, 56, 90, 0.93), rgba(28, 107, 139, 0.85)),
    url("../img/products/lab-generic.png") center/cover;
  border-radius: 24px;
  color: #f5fcff;
  padding: 1.6rem;
  min-height: 360px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto auto -100px -90px;
  width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(72, 232, 214, 0.6), rgba(72, 232, 214, 0));
}

.hero-panel h3 {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  margin-top: 0;
  font-size: 1.35rem;
  line-height: 1.25;
}

.hero-panel p {
  color: #d4ebf7;
}

.hero-panel ul {
  padding-left: 1.1rem;
  margin: 1rem 0 0;
  color: #dcf0ff;
}

.hero-panel li + li {
  margin-top: 0.5rem;
}

.section {
  padding: 2.8rem 0;
}

.section-top {
  margin-bottom: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.section-top h2 {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.section-top p {
  margin: 0;
  color: var(--ink-soft);
}

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

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.stat-card strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.42rem;
}

.stat-card span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

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

.product-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(26, 63, 101, 0.08);
}

.product-image-wrap {
  aspect-ratio: 1 / 1;
  background: linear-gradient(130deg, #eaf3fd, #f9fdff);
  display: grid;
  place-items: center;
  padding: 0.8rem;
}

.product-image-wrap img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.product-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-content h3 {
  margin: 0;
  font-size: 1.05rem;
  font-family: "Sora", sans-serif;
}

.product-content p {
  margin: 0.65rem 0 0.85rem;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.badge {
  border-radius: 999px;
  font-size: 0.73rem;
  line-height: 1;
  font-weight: 700;
  padding: 0.42rem 0.52rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-status {
  background: #eaf5ff;
  color: #17588e;
}

.badge-status.status-early-human {
  background: #e7f7ed;
  color: var(--success);
}

.badge-status.status-late-stage {
  background: #fff2df;
  color: var(--warn);
}

.badge-status.status-approved {
  background: #e7f7ed;
  color: var(--success);
}

.badge-tag {
  background: #f2f6fb;
  color: #355276;
}

.card-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.card-actions .btn {
  padding: 0.58rem 0.9rem;
  font-size: 0.86rem;
}

.card-meta {
  font-size: 0.8rem;
  color: #4d6487;
  font-weight: 600;
}

.strip {
  background: linear-gradient(110deg, #0f3a63, #206f9a);
  color: #eef8ff;
}

.strip .container {
  padding: 1.1rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
}

.strip strong {
  font-family: "Sora", sans-serif;
}

.strip a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  font-weight: 700;
}

.strip a:hover,
.strip a:focus-visible {
  text-decoration-thickness: 2px;
}

.search-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.search-panel-products {
  grid-template-columns: 1.1fr 0.7fr 0.7fr;
}

.search-panel label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #395170;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.34rem;
  display: block;
}

.search-panel input,
.search-panel select,
.form-grid input,
.form-grid textarea {
  width: 100%;
  border: 1px solid #c9daeb;
  border-radius: 12px;
  padding: 0.72rem 0.78rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
}

.search-panel input:focus,
.search-panel select:focus,
.form-grid input:focus,
.form-grid textarea:focus {
  outline: 2px solid rgba(61, 139, 207, 0.23);
  border-color: #5f98d6;
}

.result-count {
  margin: 0 0 0.95rem;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.empty-state {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
  color: var(--ink-soft);
}

.detail-hero {
  padding: 2.2rem 0 2rem;
}

.breadcrumb {
  font-size: 0.86rem;
  color: #4f6586;
  margin-bottom: 1rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 1.5rem;
}

.detail-image-shell {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(15, 44, 75, 0.1);
  overflow: hidden;
}

.detail-image-shell figure {
  margin: 0;
  padding: 1rem;
}

.detail-image-shell img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: linear-gradient(120deg, #eff7ff, #fafeff);
  border-radius: 12px;
}

.detail-gallery-list {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.75rem;
  align-items: start;
}

.detail-thumb {
  border: 1px solid #d4e4f2;
  border-radius: 10px;
  background: #fff;
  padding: 0.18rem;
  cursor: pointer;
  width: 100%;
  max-width: 190px;
  justify-self: start;
}

.detail-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.detail-thumb.is-active {
  border-color: #4e90d5;
  box-shadow: 0 0 0 2px rgba(78, 144, 213, 0.2);
}

.detail-summary h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 3.7vw, 2.7rem);
  line-height: 1.1;
}

.detail-subtitle {
  color: var(--ink-soft);
  margin-top: 0.75rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.95rem;
  margin: 0.95rem 0 1.08rem;
}

.pill {
  display: inline-flex;
  align-items: baseline;
  padding: 0;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.005em;
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  color: #2f557a;
  background: transparent;
}

.pill + .pill::before {
  content: "/";
  margin-right: 0.52rem;
  color: #8ea8c3;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-style: normal;
}

.pill-row .pill-status.badge-status {
  background: transparent;
  color: #17588e;
}

.pill-row .pill-status.badge-status.status-early-human {
  background: transparent;
  color: var(--success);
}

.pill-row .pill-status.badge-status.status-late-stage {
  background: transparent;
  color: var(--warn);
}

.pill-row .pill-status.badge-status.status-approved {
  background: transparent;
  color: var(--success);
}

.pill-row .pill-category {
  color: #2f5a86;
}

.pill-row .pill-composition {
  color: #1f6f8f;
}

.detail-layout {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.05rem;
}

.info-card h2,
.info-card h3 {
  margin-top: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.18rem;
}

.info-card p {
  margin: 0.55rem 0;
  color: var(--ink-soft);
}

.list-clean {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}

.list-clean li + li {
  margin-top: 0.45rem;
}

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

.ref-list li + li {
  margin-top: 0.55rem;
}

.ref-list a {
  color: #0f5ea8;
  text-decoration: underline;
}

.ref-list small {
  color: #577095;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.gallery-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-2px);
  border-color: #79abdf;
  box-shadow: 0 12px 24px rgba(17, 53, 89, 0.15);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-caption {
  padding: 0.6rem 0.7rem 0.74rem;
}

.gallery-caption strong {
  display: block;
  font-size: 0.86rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-caption span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.gallery-caption span:last-child {
  margin-top: 0.34rem;
  color: #0f5ea8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 22, 38, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 120;
}

.lightbox.is-open {
  display: flex;
}

.lightbox figure {
  margin: 0;
  max-width: min(960px, 96vw);
}

.lightbox img {
  max-height: 82vh;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 1.3rem;
  cursor: pointer;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.info-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.info-tile h3 {
  margin-top: 0;
  font-family: "Sora", sans-serif;
}

.info-tile p,
.info-tile li {
  color: var(--ink-soft);
}

.form-shell {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.2rem;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr 1fr;
}

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

.form-grid textarea {
  resize: vertical;
  min-height: 160px;
}

.form-note {
  font-size: 0.84rem;
  color: #557097;
  margin-top: 0.7rem;
}

.form-status {
  min-height: 1.25rem;
  margin-top: 0.6rem;
  font-size: 0.9rem;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

.toast-stack {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: min(420px, calc(100vw - 1.2rem));
  z-index: 220;
  display: grid;
  gap: 0.7rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-left-width: 4px;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(16, 37, 66, 0.23);
  padding: 0.74rem 0.82rem 0.82rem;
  transform: translateY(-10px);
  opacity: 0;
  animation: toast-in 0.25s ease forwards;
}

.toast.is-hiding {
  animation: toast-out 0.2s ease forwards;
}

.toast-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.toast-head strong {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: 0.96rem;
}

.toast-message {
  margin: 0.45rem 0 0;
  color: #2f4665;
  font-size: 0.91rem;
}

.toast-close {
  border: 1px solid #ccd8e8;
  background: #f8fbff;
  color: #2f4f72;
  border-radius: 999px;
  width: 24px;
  height: 24px;
  line-height: 1;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0;
}

.toast-close:hover,
.toast-close:focus-visible {
  background: #e8f2fc;
}

.toast-success {
  border-left-color: var(--success);
}

.toast-success .toast-head strong {
  color: var(--success);
}

.toast-error {
  border-left-color: var(--danger);
}

.toast-error .toast-head strong {
  color: var(--danger);
}

.toast-info {
  border-left-color: var(--brand);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.research-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.lab-card {
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.lab-heading {
  font-family: "Sora", sans-serif;
  margin-bottom: 0.7rem;
}

.lab-meta-box {
  border: 1px dashed #c6d9ea;
  border-radius: 12px;
  padding: 0.8rem;
  margin-top: 0.9rem;
  background: #f8fcff;
}

.lab-meta-box p {
  margin: 0.36rem 0;
  font-size: 0.88rem;
  color: #31516f;
  font-family: "IBM Plex Mono", "Consolas", monospace;
}

.table-wrap {
  overflow-x: auto;
}

.lab-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 740px;
}

.lab-table th,
.lab-table td {
  border: 1px solid #d8e4f0;
  padding: 0.66rem 0.72rem;
  text-align: left;
  vertical-align: top;
}

.lab-table th {
  background: #eff6fd;
  font-family: "IBM Plex Mono", "Consolas", monospace;
  font-size: 0.83rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #284c73;
}

.lab-table td {
  color: #3b536f;
}

.research-citation-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.citation-card {
  border-left: 4px solid #3f82cc;
}

.citation-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.citation-year {
  font-family: "IBM Plex Mono", "Consolas", monospace;
  color: #456182;
  font-size: 0.84rem;
}

.citation-title {
  margin: 0 0 0.55rem;
  font-size: 1rem;
}

.citation-summary {
  margin: 0;
  color: #3e5674;
}

.citation-map {
  margin: 0.62rem 0 0;
  font-size: 0.88rem;
  color: #385270;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #f8fcff;
  margin-top: 2.5rem;
}

.site-footer .container {
  padding: 1.3rem 0 1.6rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
}

.site-footer p {
  margin: 0.35rem 0;
  color: var(--ink-soft);
  font-size: 0.89rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.footer-links a {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.34rem 0.62rem;
  font-size: 0.79rem;
  color: #3f5a80;
  font-weight: 600;
  background: #fff;
}

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.44s ease, transform 0.44s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .hero-grid,
  .detail-grid,
  .about-grid,
  .research-layout {
    grid-template-columns: 1fr;
  }

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

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

  .research-citation-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .site-header .container {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    width: 100%;
    display: none;
  }

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

  .site-nav ul {
    width: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.35rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }

  .site-nav a {
    width: 100%;
    justify-content: center;
  }

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

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

  .search-panel,
  .form-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .site-footer .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1160px, calc(100vw - 1.3rem));
  }

  .toast-stack {
    top: 0.7rem;
    right: 0.65rem;
    width: calc(100vw - 1.3rem);
  }

  .brand img {
    width: 156px;
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero h1 {
    font-size: 1.95rem;
  }

  .product-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .strip .container {
    padding: 0.9rem 0;
  }
}
