:root {
  color-scheme: light;
  --paper: #f1efe7;
  --paper-2: #e4e2d9;
  --ink: #1d2a2b;
  --blue: #9dd6e0;
  --blue-dark: #315b62;
  --lime: #d5ff3f;
  --muted: #506164;
  --line: rgb(29 42 43 / 18%);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  --shell: 1180px;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.shell {
  width: min(var(--shell), calc(100% - 4rem));
  margin-inline: auto;
}

.demo-bar {
  padding: 0.55rem 1rem;
  color: var(--ink);
  background: var(--lime);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.6rem;
  padding-inline: max(2rem, calc((100vw - var(--shell)) / 2));
  background: rgb(241 239 231 / 92%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.logo strong {
  color: var(--blue-dark);
  font-size: 1.25rem;
  letter-spacing: -0.08em;
}

.site-header nav {
  display: flex;
  gap: 2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-header nav a:hover {
  color: var(--ink);
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.55rem 0.75rem 0.55rem 1rem;
  color: var(--ink);
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
}

.cart-count {
  display: grid;
  width: 1.4rem;
  height: 1.4rem;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
  font-size: 0.62rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
}

.button-light {
  color: var(--ink);
  background: var(--paper);
}

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

.button:active {
  transform: scale(0.96);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 0.8fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
  min-height: calc(100svh - 6.4rem);
  padding-block: clamp(5rem, 10vw, 9rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.3rem;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--blue-dark);
  border-radius: 50%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--sans);
  letter-spacing: -0.09em;
  line-height: 0.88;
  text-transform: uppercase;
}

h1 {
  max-width: 8ch;
  margin-bottom: 2rem;
  font-size: clamp(4.8rem, 10vw, 9.6rem);
}

h1 em,
h2 em {
  color: var(--blue-dark);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.07em;
  text-transform: none;
}

.hero-lede {
  max-width: 31rem;
  color: var(--muted);
  font-size: 1.03rem;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.text-link {
  padding-bottom: 0.35rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
  margin-top: 4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
}

.hero-proof span {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hero-proof strong {
  color: var(--ink);
  font-size: 0.68rem;
}

.hero-art {
  position: relative;
  min-height: 39rem;
  overflow: hidden;
  background: var(--blue);
  border-radius: 1.5rem;
  isolation: isolate;
}

.art-sun {
  position: absolute;
  top: 10%;
  right: -8%;
  width: 62%;
  aspect-ratio: 1;
  border: 1px solid rgb(29 42 43 / 32%);
  border-radius: 50%;
}

.art-sun::before,
.art-sun::after {
  position: absolute;
  inset: 12%;
  border: 1px solid rgb(29 42 43 / 25%);
  border-radius: 50%;
  content: '';
}

.art-sun::after {
  inset: 25%;
}

.art-line {
  position: absolute;
  height: 1px;
  background: rgb(29 42 43 / 35%);
  transform: rotate(-35deg);
}

.line-one {
  top: 37%;
  right: -10%;
  left: 14%;
}

.line-two {
  top: 55%;
  right: 18%;
  left: -12%;
  transform: rotate(48deg);
}

.object-shadow {
  position: absolute;
  right: 13%;
  bottom: 15%;
  width: 65%;
  height: 9%;
  background: rgb(29 42 43 / 25%);
  border-radius: 50%;
  filter: blur(1rem);
}

.object-object {
  position: absolute;
  right: 24%;
  bottom: 19%;
  width: 42%;
  height: 48%;
  background: linear-gradient(115deg, #edf0df 10%, #cbd1c0 58%, #87999a);
  border: 1px solid rgb(29 42 43 / 28%);
  border-radius: 48% 48% 42% 40%;
  box-shadow: 1.5rem 1.8rem 0 rgb(29 42 43 / 10%);
  transform: rotate(10deg);
}

.object-object::before {
  position: absolute;
  top: 8%;
  left: 13%;
  width: 72%;
  height: 13%;
  background: rgb(29 42 43 / 22%);
  border-radius: 50%;
  content: '';
}

.object-object::after {
  position: absolute;
  right: 10%;
  bottom: 15%;
  width: 10%;
  height: 32%;
  background: rgb(29 42 43 / 26%);
  border-radius: 50%;
  content: '';
}

.art-label {
  position: absolute;
  top: 2rem;
  left: 2rem;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.35;
}

.art-label span {
  display: block;
  margin-top: 0.7rem;
  color: var(--blue-dark);
  font-size: 0.62rem;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
}

.art-price {
  position: absolute;
  right: 1.7rem;
  bottom: 1.7rem;
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-align: right;
}

.art-price strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 3.5rem;
  letter-spacing: -0.13em;
  line-height: 0.9;
}

.section {
  padding-block: clamp(6rem, 12vw, 11rem);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-intro h2,
.delivery h2,
.closing h2 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(4rem, 8vw, 8rem);
}

.section-intro > p {
  max-width: 29rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
  text-wrap: pretty;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2rem;
}

.filter-row button {
  min-height: 2.5rem;
  padding: 0.5rem 0.85rem;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
}

.filter-row button:hover,
.filter-row button.is-active {
  color: var(--ink);
  background: var(--blue);
  border-color: var(--blue);
}

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

.product-card {
  background: var(--paper-2);
  border-radius: 1rem;
  overflow: hidden;
}

.product-art {
  position: relative;
  min-height: 25rem;
  overflow: hidden;
  background: var(--blue);
}

.product-art-cup {
  background: #d4d6c8;
}

.product-art-cup::before {
  position: absolute;
  top: 23%;
  left: 29%;
  width: 42%;
  height: 40%;
  background: #9b7561;
  border: 1px solid rgb(29 42 43 / 35%);
  border-radius: 10% 10% 38% 38%;
  box-shadow: inset 0 0 0 1.2rem rgb(243 239 224 / 35%);
  content: '';
}

.product-art-cup::after {
  position: absolute;
  top: 34%;
  left: 22%;
  width: 20%;
  height: 18%;
  border: 1px solid rgb(29 42 43 / 35%);
  border-radius: 50%;
  content: '';
}

.product-art-bag {
  background: #c3d9d8;
}

.product-art-bag::before {
  position: absolute;
  top: 24%;
  left: 25%;
  width: 50%;
  height: 48%;
  background: #2f5d60;
  border-radius: 8% 8% 16% 16%;
  content: '';
}

.product-art-bag::after {
  position: absolute;
  top: 15%;
  left: 37%;
  width: 26%;
  height: 22%;
  border: 0.7rem solid #2f5d60;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  content: '';
}

.product-art-lamp {
  background: #d8d5c7;
}

.product-art-lamp::before {
  position: absolute;
  top: 20%;
  left: 26%;
  width: 48%;
  height: 38%;
  background: #e5bb54;
  border-radius: 50% 50% 30% 30%;
  box-shadow: 0 2rem 4rem rgb(229 187 84 / 55%);
  content: '';
}

.product-art-lamp::after {
  position: absolute;
  top: 56%;
  left: 47%;
  width: 6%;
  height: 24%;
  background: var(--ink);
  content: '';
}

.product-art span::after {
  position: absolute;
  right: 12%;
  bottom: 12%;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgb(29 42 43 / 35%);
  border-radius: 50%;
  content: '↗';
  font-size: 1.2rem;
  text-align: center;
  line-height: 3rem;
}

.product-meta {
  position: relative;
  display: grid;
  gap: 0.45rem;
  padding: 1.2rem;
}

.product-meta > span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-meta > strong {
  font-size: 1.35rem;
  letter-spacing: -0.06em;
}

.product-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.product-meta > b {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.product-meta button {
  justify-self: start;
  margin-top: 0.7rem;
  padding: 0.4rem 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
}

.selection-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.journal {
  background: var(--blue);
}

.journal .eyebrow {
  color: #284a4f;
}

.journal-grid {
  display: grid;
  grid-template-columns: minmax(20rem, 0.84fr) minmax(0, 0.8fr);
  gap: clamp(3rem, 10vw, 10rem);
  align-items: center;
}

.journal-visual {
  position: relative;
  min-height: 34rem;
  padding: 2rem;
  overflow: hidden;
  background: var(--ink);
  border-radius: 1rem;
}

.journal-visual::before {
  position: absolute;
  top: -15%;
  right: -20%;
  width: 90%;
  aspect-ratio: 1;
  border: 1px solid rgb(213 255 63 / 35%);
  border-radius: 50%;
  content: '';
}

.journal-visual::after {
  position: absolute;
  right: -4%;
  bottom: -15%;
  width: 60%;
  aspect-ratio: 1;
  background: var(--lime);
  border-radius: 50%;
  content: '';
}

.journal-visual > span {
  position: relative;
  z-index: 1;
  color: var(--lime);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.journal-visual strong {
  position: absolute;
  z-index: 1;
  bottom: 2rem;
  left: 2rem;
  color: var(--paper);
  font-size: clamp(2.6rem, 5vw, 5rem);
  letter-spacing: -0.09em;
  line-height: 0.88;
  text-transform: uppercase;
}

.journal-visual em {
  color: var(--lime);
  font-family: var(--serif);
  font-weight: 400;
  text-transform: none;
}

.journal-visual i {
  position: absolute;
  z-index: 2;
  top: 2rem;
  right: 2rem;
  color: var(--paper);
  font-size: 0.65rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
}

.journal-copy h2 {
  max-width: 8ch;
  margin-bottom: 1.5rem;
  font-size: clamp(4rem, 8vw, 8rem);
}

.journal-copy > p:not(.eyebrow) {
  max-width: 29rem;
  color: rgb(29 42 43 / 72%);
  font-size: 1rem;
  text-wrap: pretty;
}

.journal-list {
  display: grid;
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid rgb(29 42 43 / 25%);
}

.journal-list a {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.8rem;
  align-items: center;
  min-height: 3.7rem;
  border-bottom: 1px solid rgb(29 42 43 / 25%);
  font-size: 0.8rem;
}

.journal-list a span {
  color: var(--blue-dark);
  font-size: 0.62rem;
  font-weight: 700;
}

.journal-list a strong {
  font-size: 1.2rem;
  font-weight: 400;
}

.delivery {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(20rem, 1fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
}

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

.delivery-grid article {
  min-height: 17rem;
  padding: 1.2rem;
  border-top: 1px solid var(--line);
}

.delivery-grid article > span {
  color: var(--blue-dark);
  font-size: 0.65rem;
  font-weight: 700;
}

.delivery-grid h3 {
  margin-top: 4.2rem;
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
  letter-spacing: -0.05em;
}

.delivery-grid p {
  color: var(--muted);
  font-size: 0.82rem;
}

.closing {
  color: var(--ink);
  background: var(--lime);
}

.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.closing .eyebrow {
  color: var(--ink);
}

.closing h2 {
  margin-bottom: 2rem;
}

.cart-panel {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: min(24rem, 100%);
  flex-direction: column;
  padding: 1.5rem;
  color: var(--paper);
  background: var(--ink);
  box-shadow: -1rem 0 3rem rgb(29 42 43 / 20%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition:
    opacity 180ms ease-out,
    transform 180ms ease-out;
}

.cart-panel[hidden] {
  display: none;
}

.cart-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.cart-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgb(241 239 231 / 25%);
}

.cart-panel-head button {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--paper);
  background: transparent;
  border: 1px solid rgb(241 239 231 / 30%);
  border-radius: 50%;
  cursor: pointer;
  font: inherit;
  font-size: 1.5rem;
}

.cart-panel > p {
  color: rgb(241 239 231 / 65%);
  font-size: 0.8rem;
}

#cart-empty {
  margin-top: 2rem;
}

#cart-items {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

#cart-items li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgb(241 239 231 / 18%);
  font-size: 0.82rem;
}

#cart-items strong {
  color: var(--lime);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgb(241 239 231 / 25%);
}

.cart-total strong {
  color: var(--lime);
  font-size: 1.3rem;
}

.cart-note {
  margin-top: 0.7rem;
  color: rgb(241 239 231 / 50%) !important;
  font-size: 0.68rem !important;
}

.toast {
  position: fixed;
  z-index: 30;
  right: 1rem;
  bottom: 1rem;
  max-width: 20rem;
  padding: 0.8rem 1rem;
  color: var(--ink);
  background: var(--lime);
  border-radius: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition:
    opacity 180ms ease-out,
    transform 180ms ease-out;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  color: var(--muted);
  font-size: 0.7rem;
}

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

@media (max-width: 800px) {
  .shell {
    width: min(var(--shell), calc(100% - 2rem));
  }
  .site-header {
    padding-inline: 1rem;
  }
  .site-header nav {
    display: none;
  }
  .hero,
  .journal,
  .delivery {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero {
    padding-block: 4.5rem 5rem;
  }
  .hero-art {
    min-height: 28rem;
  }
  .section-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-art {
    min-height: 20rem;
  }
  .journal-grid {
    grid-template-columns: 1fr;
  }
  .journal-visual {
    min-height: 25rem;
  }
  .delivery-grid {
    grid-template-columns: 1fr;
  }
  .delivery-grid article {
    min-height: 0;
    padding-block: 1.2rem 1.5rem;
  }
  .delivery-grid h3 {
    margin-top: 2rem;
  }
  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .demo-bar {
    font-size: 0.57rem;
  }
  .cart-button {
    min-height: 2.6rem;
    padding-inline: 0.7rem;
    font-size: 0.68rem;
  }
  .hero h1 {
    font-size: clamp(4rem, 19vw, 6rem);
  }
  .hero-lede {
    font-size: 0.95rem;
  }
  .hero-art {
    min-height: 24rem;
  }
  .art-label {
    left: 1.2rem;
    top: 1.2rem;
  }
  .art-price {
    right: 1.2rem;
    bottom: 1.2rem;
  }
  .art-price strong {
    font-size: 2.8rem;
  }
  .section-intro h2,
  .delivery h2,
  .closing h2,
  .journal-copy h2 {
    font-size: clamp(3.7rem, 17vw, 5.4rem);
  }
  .product-meta {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .button:hover,
  .cart-panel.is-open,
  .toast.is-visible {
    transform: none;
  }
}
