:root {
  --ink: #111111;
  --muted: #3f3f3f;
  --line: #e4e4e4;
  --paper: #ffffff;
  --blue: #6292d5;
  --teal: #5ba19b;
  --mint: #9ed1c7;
  --pink: #e3457f;
  --orange: #daa520;
  --max: 1120px;
  --font: "Space Grotesk", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 400;
}

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

a { color: inherit; }

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #111;
  color: #fff;
  padding: 0.5rem 0.8rem;
  z-index: 5;
}

.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 88px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo img { height: 42px; width: auto; }

.logo span {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-search {
  position: relative;
}

.nav-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav-search input {
  width: 9.5rem;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.35rem 1.9rem 0.35rem 0.6rem;
  font-size: 16px;
}

.nav-search button {
  position: absolute;
  top: 0;
  right: 0;
  width: 1.9rem;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
}

.nav-search button svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.nav a {
  text-decoration: none;
  font-size: 16px;
}

.nav a:hover { text-decoration: underline; text-underline-offset: 0.25em; }

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.cart-link span {
  min-width: 1.4rem;
  height: 1.4rem;
  display: inline-grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

.hero {
  padding: 3.25rem 0 1.25rem;
}

.hero .wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.35rem 2.5rem;
}

.hero-portraits {
  position: relative;
  z-index: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  width: calc(7.25rem * 3 - 1.5rem * 2);
  row-gap: 0.75rem;
  pointer-events: none;
}

.hero-portraits img {
  width: 7.25rem;
  height: 7.25rem;
  margin-left: -1.5rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 5px #fff;
}

.hero-portraits img:nth-child(3n + 1) {
  margin-left: 0;
}

.hero h1,
.page-title h1,
.product-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero p,
.lede {
  max-width: 40rem;
  font-size: 1.35rem;
  line-height: 1.4;
}

.hero .lede {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 0;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
}

.hero-intro {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 40rem;
}

.hero-intro h3 {
  margin: 0 0 0.45rem;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hero-intro .lede p {
  margin: 0;
}

.page-title { padding: 2.5rem 0 0.5rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2.2rem 1.5rem;
  padding: 2rem 0 4rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
}

.card-text {
  text-decoration: none;
}

.visual {
  position: relative;
  min-width: 0;
}

.product-swiper {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e7eef6;
}

.product-swiper .swiper-slide,
.product-swiper .swiper-slide a {
  display: block;
  height: 100%;
}

.card img,
.product-layout img,
.placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 1.36rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55));
}

.carousel-prev { left: 0.15rem; }
.carousel-next { right: 0.15rem; }

.carousel-arrow svg {
  width: 1.36rem;
  height: 1.36rem;
  display: block;
}

.placeholder {
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 500;
}

.card h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.card .kind {
  display: block;
  margin-top: calc(0.15rem - 4px);
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.3;
}

.price { font-weight: 500; }

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  padding: 2.5rem 0 4rem;
  align-items: start;
}

.product-copy .price { display: block; margin: 1rem 0; font-size: 1.4rem; }

.product-copy .text { font-size: 1.15rem; }

.product-copy .text p:has(.maker-portraits) {
  display: flow-root;
}

.product-copy .text .maker-portraits {
  float: left;
  display: flex;
  margin: 0.15rem 0.85rem 0.35rem 0;
}

.product-copy .text .maker-portraits img {
  width: 5.5rem;
  height: 5.5rem;
  margin-left: -2.75rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px #fff;
}

.product-copy .text .maker-portraits img:first-child {
  margin-left: 0;
}

.product-copy .text .video {
  margin: 1.4rem 0;
}

.product-copy .text .video iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

form .row,
.pickup { margin-top: 2.5rem; }

.pickup-row {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.pickup-row input { width: 10rem; }

.pickup p { margin: 0.6rem 0 0; }

label { display: block; font-size: 0.95rem; margin-bottom: 0.3rem; }

input[type="text"],
input[type="email"],
input[type="number"],
textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  background: #fff;
  padding: 0.75rem 0.8rem;
  border-radius: 0;
}

input[type="number"].qty {
  width: 5.5rem;
}

button,
.button {
  appearance: none;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 1.15rem;
  cursor: pointer;
  display: inline-block;
}

button.ghost,
.button.ghost {
  background: transparent;
  color: var(--ink);
}

button.link {
  background: none;
  color: var(--ink);
  border: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

.buy { display: flex; gap: 0.7rem; align-items: end; margin: 1.2rem 0 1.5rem; }

.flash {
  margin: 1.25rem auto 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--pink);
  background: #fff5f8;
}

.test-note {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  background: #f3f7fc;
}

.cart,
.checkout {
  padding-bottom: 4rem;
}

table.lines {
  width: 100%;
  border-collapse: collapse;
}

table.lines th,
table.lines td {
  text-align: left;
  padding: 0.9rem 0.6rem 0.9rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

table.lines th { font-weight: 500; font-size: 0.9rem; }

table.lines .num,
table.lines td:last-child,
table.lines th:last-child { text-align: right; }

.thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  background: #e7eef6;
}

.totals { margin-top: 1rem; margin-left: auto; width: min(320px, 100%); }

.totals div { display: flex; justify-content: space-between; padding: 0.3rem 0; }

.totals .grand { font-size: 1.25rem; font-weight: 500; margin-top: 0.4rem; }

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
  gap: 3rem;
  align-items: start;
}

.summary {
  background: #f6f8fb;
  padding: 1.2rem 1.3rem 1.4rem;
}

.summary h2 { margin-top: 0; font-weight: 500; }

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.site-footer a { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media (max-width: 800px) {
  body { font-size: 16px; }
  .site-header .wrap { min-height: 72px; }
  .logo img { height: 32px; }
  .logo span { display: none; }
  .hero-portraits { width: calc(5.5rem * 3 - 1.15rem * 2); }
  .hero-portraits img { width: 5.5rem; height: 5.5rem; margin-left: -1.15rem; }
  .product-layout,
  .checkout-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .nav { gap: 0.7rem; }
  .nav-search input { width: 6.5rem; }
  table.lines .hide { display: none; }
}
