@font-face {
  font-family: Archivo;
  src: url('/brand/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Spline Sans;
  src: url('/brand/spline-sans.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --paper: #fafaf7;
  --ink: #0a0a0a;
  --blue: #245de0;
  --blue-hover: #1c4abb;
  --line: #dbe4f0;
  --muted: #526781;
  --pale-blue: #edf3fc;
  --display: Archivo, system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.55 'Spline Sans',
    Arial,
    sans-serif;
}
body:has(dialog[open]) {
  overflow: hidden;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #5284f1;
  outline-offset: 4px;
}
img {
  max-width: 100%;
  display: block;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(100% - 88px, 1320px);
  margin-inline: auto;
}
.skip,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  top: 8px;
  left: 8px;
  z-index: 2;
  width: auto;
  height: auto;
  clip-path: none;
  background: white;
  padding: 10px;
}
.demo-banner {
  text-align: center;
  background: var(--pale-blue);
  color: var(--muted);
  padding: 6px 12px;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}
.site-header {
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  color: var(--muted);
}
.wordmark img {
  width: clamp(115px, 12vw, 153px);
  height: auto;
}
.wordmark span {
  border-left: 1px solid var(--line);
  padding-left: 12px;
  font-size: 0.82rem;
  font-weight: 600;
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 56px);
  font-size: 0.91rem;
}
nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.cart-toggle {
  justify-self: end;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
}
.cart-toggle:hover,
.secondary:hover {
  background: var(--pale-blue);
}
.count {
  display: grid;
  place-items: center;
  border-radius: 50%;
  min-width: 25px;
  height: 25px;
  background: var(--pale-blue);
  font-size: 0.75rem;
}
.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  min-height: 450px;
  background: var(--pale-blue);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.hero-copy {
  padding: clamp(42px, 6vw, 85px) clamp(30px, 5vw, 74px);
  align-self: center;
}
.overline {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4.9rem);
  margin: 0 0 20px;
}
h2 {
  font-size: clamp(2rem, 3.3vw, 3.35rem);
}
h3 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}
.hero-copy > p {
  max-width: 37ch;
  color: var(--muted);
  margin: 0 0 30px;
}
.primary,
.secondary {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  font-size: 0.875rem;
  font-weight: 600;
}
.primary {
  background: var(--blue);
  color: white;
}
.primary:hover {
  background: var(--blue-hover);
}
.hero figure {
  position: relative;
  min-width: 0;
  margin: 0;
}
.hero figure img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 53%;
}
.hero figcaption {
  position: absolute;
  right: 18px;
  bottom: 14px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #142540eb;
  color: white;
  font-size: 0.7rem;
}
.collection {
  padding-block: 70px 85px;
  scroll-margin-top: 24px;
}
.collection-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.collection h2,
.consult h2 {
  margin-top: 8px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.filters button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 0.8rem;
}
.filters button[aria-pressed='true'],
.filters button:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.grid {
  display: grid;
  gap: 35px 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.product {
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.product-image {
  aspect-ratio: 1.15;
  overflow: hidden;
  background: var(--pale-blue);
}
.product-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 0 12px;
}
.product .species {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
  margin: 0 0 7px;
}
.product .description {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 8px 0 14px;
}
.product-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.product-actions p {
  margin: 0;
}
.product-actions small {
  color: var(--muted);
}
.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
}
.icon:hover {
  background: var(--pale-blue);
}
.add {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.add:hover {
  background: var(--blue-hover);
}
.consult {
  background: var(--pale-blue);
  padding: 40px clamp(24px, 5vw, 70px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.consult h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}
.consult p:last-child {
  margin-bottom: 0;
}
.secondary {
  background: transparent;
  border: 1px solid var(--line);
}
.assist-status:empty {
  display: none;
}
footer {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.78rem;
  padding: 20px 0 35px;
}
footer img {
  height: auto;
}
dialog {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  height: 100dvh;
  max-height: none;
  width: min(100vw, 460px);
  max-width: 100vw;
  padding: 25px;
  border: 0;
  color: var(--ink);
  background: var(--paper);
}
dialog::backdrop {
  background: #142540b8;
}
.drawer-head,
.drawer-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.drawer-head h2 {
  font-size: 2.5rem;
}
.cart-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line img {
  object-fit: cover;
}
.cart-line h3 {
  font-size: 1.5rem;
}
.cart-line p {
  margin: 3px 0 9px;
}
.quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}
.quantity button {
  min-width: 31px;
  min-height: 31px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.quantity button:disabled {
  opacity: 0.45;
  cursor: default;
}
.quantity output {
  min-width: 18px;
  text-align: center;
}
.quantity .remove {
  font-size: 0.76rem;
  padding: 0 7px;
}
.drawer-summary {
  margin-top: 22px;
}
.drawer-summary .primary {
  width: 100%;
  margin-top: 12px;
}
.checkout-note,
.empty {
  padding: 12px;
  margin: 15px 0;
  background: var(--pale-blue);
}
@media (max-width: 900px) {
  .hero {
    min-height: 395px;
  }
  .hero-copy {
    padding-inline: 35px;
  }
  .wrap {
    width: calc(100% - 48px);
  }
}
@media (max-width: 700px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 13px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 35px 22px;
  }
  h1 {
    font-size: clamp(2.25rem, 9.5vw, 3.8rem);
  }
  .hero figure {
    aspect-ratio: 1.3;
  }
  .hero figure img {
    object-position: 50% 48%;
  }
  .collection {
    padding-block: 50px;
  }
  .collection-head {
    align-items: start;
    flex-direction: column;
  }
  .wrap {
    width: calc(100% - 32px);
  }
  .site-header {
    min-height: 63px;
    height: auto;
    grid-template-columns: 1fr auto;
    gap: 0;
    padding-top: 11px;
  }
  .wordmark {
    gap: 7px;
  }
  .wordmark span {
    padding-left: 7px;
    font-size: 0.7rem;
  }
  .site-header nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: center;
    padding: 10px 0;
  }
  .cart-toggle {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.76rem;
  }
  .product .description {
    font-size: 0.82rem;
  }
  .product h3 {
    font-size: clamp(1.12rem, 5.4vw, 1.5rem);
    overflow-wrap: anywhere;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 58px;
  }
}
@media (max-width: 395px) {
  .wordmark span {
    display: none;
  }
}
#assistant-widget .assistant-widget-toggle {
  background: var(--blue);
  font-family: 'Spline Sans', Arial, sans-serif;
}
#assistant-widget .assistant-widget-toggle:hover {
  background: var(--blue-hover);
}
#assistant-widget .assistant-widget-top {
  background: var(--pale-blue);
  color: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.product-image {
  appearance: none;
  border: 0;
  color: inherit;
  display: block;
  width: 100%;
  padding: 0;
}
.product-image img {
  transition: transform 180ms ease-out;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .product-image:hover img {
    transform: scale(1.035);
  }
}
.stock {
  color: #24613f;
  font-size: 0.82rem;
  margin: 0 0 9px;
}
.stock.out,
.inline-warning {
  color: #843b22;
}
.inline-warning {
  background: #fff0e8;
  border-radius: 6px;
  padding: 10px 12px;
}
button:disabled {
  cursor: default;
  opacity: 0.54;
}
.shop-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  height: fit-content;
  max-height: calc(100dvh - 36px);
  width: min(690px, calc(100vw - 36px));
  max-width: none;
  overflow: auto;
  padding: clamp(16px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.shop-modal .drawer-head h2 {
  font-size: clamp(1.72rem, 5.3vw, 2.5rem);
}
.shop-modal .icon {
  flex-shrink: 0;
}
.modal-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(15px, 3vw, 28px);
}
.detail-photo {
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--pale-blue);
  border-radius: 8px;
}
.detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-copy {
  min-width: 0;
}
.detail-copy h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}
.detail-copy .species {
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 0;
}
.detail-copy label {
  display: block;
}
.detail-copy input {
  max-width: 88px;
  margin-bottom: 12px;
}
.detail-copy select {
  width: 100%;
}
.detail-price {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.detail-copy .primary {
  display: flex;
}
.muted {
  color: var(--muted);
}
.checkout-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}
.checkout-fields input {
  display: block;
  width: 100%;
}
.field-wide {
  grid-column: 1 / -1;
}
.checkout-fields label,
.detail-copy label {
  font-size: 0.88rem;
  font-weight: 600;
}
.checkout-fields input,
.detail-copy input,
.detail-copy select {
  min-width: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid #a6b8d0;
  border-radius: 6px;
  padding: 0.55rem 0.6rem;
  margin-top: 4px;
  font: inherit;
  font-size: 1rem;
}
#checkout-form fieldset {
  border: 1px solid var(--line);
  margin: 16px 0;
  padding: 6px 12px 12px;
  border-radius: 8px;
}
#checkout-form legend {
  font-weight: 600;
  padding-inline: 5px;
}
.radio-label {
  display: flex;
  position: relative;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
}
.radio-label input {
  accent-color: var(--blue);
  margin: 6px 0 0;
}
.radio-label small {
  display: block;
  color: var(--muted);
}
.checkout-review {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-block: 9px;
}
.checkout-review strong {
  display: block;
  font-size: 1.28rem;
}
.back-button {
  border: 0;
  background: transparent;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  padding: 4px 0;
}
.order-summary,
.order-lines,
.order-total {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.order-summary div,
.order-lines li,
.order-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0;
}
.order-summary dd {
  margin: 0;
  font-weight: 700;
}
.order-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
#order-message {
  overflow-wrap: anywhere;
}
@media (max-width: 520px) {
  .detail-content,
  .checkout-fields {
    grid-template-columns: 1fr;
  }
  .detail-photo {
    max-height: 240px;
    aspect-ratio: 1.42;
  }
  .product-actions .secondary {
    padding-inline: 10px;
  }
  .checkout-review .primary {
    width: 100%;
  }
  .cart-line {
    grid-template-columns: 52px 1fr;
    gap: 9px;
  }
}

.order-section {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 20px;
}
.order-section h3 {
  font-size: clamp(1.26rem, 4vw, 1.65rem);
}
.order-section h4 {
  margin: 16px 0 8px;
  font-size: 1rem;
}
.parcel-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  background: var(--pale-blue);
  border-radius: 8px;
}
.parcel-details dt,
.order-history time {
  color: var(--muted);
  font-size: 0.85rem;
}
.parcel-details dd {
  margin: 1px 0 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.order-history {
  list-style: none;
  margin: 0;
  padding: 0 0 0 12px;
  border-inline-start: 2px solid var(--line);
}
.order-history li {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 3px 12px;
  padding: 4px 0;
}
.order-history li::before {
  content: '';
  position: absolute;
  inset: 0.82em auto auto -17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.detail-status:empty {
  display: none;
}
.detail-status {
  margin: 8px 0 0;
  color: var(--muted);
}
.order-chat-log:empty {
  display: none;
}
.order-chat-log {
  display: grid;
  gap: 10px;
  margin-block: 12px;
}
.order-chat-turn {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  overflow-wrap: anywhere;
}
.order-chat-turn h4,
.order-chat-turn p {
  margin: 0 0 6px;
}
.order-chat-turn h4 {
  font-size: 0.84rem;
  color: var(--muted);
}
.order-chat-turn .order-chat-answer {
  white-space: pre-wrap;
}
.order-chat-compose {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  margin-top: 6px;
}
.order-chat-compose textarea {
  resize: vertical;
  flex: 1 1 185px;
  min-width: 0;
  box-sizing: border-box;
  width: 100%;
  padding: 8px;
  font: inherit;
  border: 1px solid #a6b8d0;
  border-radius: 6px;
  color: var(--ink);
  background: white;
}
@media (max-width: 420px) {
  .parcel-details {
    grid-template-columns: 1fr;
  }
}

#order-dialog .drawer-head {
  position: sticky;
  top: 0;
  z-index: 1;
  padding-block: 6px;
  background: var(--paper);
}
#order-dialog .drawer-head h2 {
  overflow-wrap: anywhere;
}
