@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-ext-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bone: #fbf8f2;
  --sand: #f4ece0;
  --ink: #1f2330;
  --ink-soft: #4a4f5e;
  --casita: #c8694c;
  --casita-deep: #a3563d;
  --casita-tint: #fbe9e2;
  --sage: #7e8a66;
  --sage-tint: #eef0e7;
  --rosa: #e7bfb1;
  --verde: #4f7256;
  --line: #e6dfd1;
  --content: 74rem;
  --narrow: 55rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.375rem;
  --shadow-soft: 0 1px 2px rgb(31 35 48 / 0.05), 0 6px 18px rgb(31 35 48 / 0.06);
  --shadow-card: 0 1px 2px rgb(31 35 48 / 0.04), 0 12px 28px rgb(31 35 48 / 0.08);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  color-scheme: light;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--bone);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  transform: translateY(0);
}

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

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

.announcement {
  padding: 0.55rem 1rem;
  background: var(--ink);
  color: var(--bone);
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgb(251 248 242 / 0.97);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 4.75rem;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  width: 2.45rem;
  height: 2.45rem;
  flex: 0 0 auto;
  border-radius: 0.45rem;
}

.brand-copy {
  line-height: 1;
}

.brand-name {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 650;
}

.brand-studio {
  display: block;
  margin-top: 0.3rem;
  color: var(--ink-soft);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 1.65rem;
}

.desktop-nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--casita);
  transform: scaleX(0);
  transition: transform 160ms ease-out;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.language-link {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.mobile-nav {
  display: none;
}

.button,
.filter-button {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out, transform 160ms ease-out;
}

.button {
  padding: 0.85rem 1.2rem;
}

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

.button-primary {
  background: var(--casita);
  color: var(--bone);
  box-shadow: var(--shadow-soft);
}

.button-primary:hover {
  background: var(--casita-deep);
}

.button-outline {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.button-outline:hover {
  background: var(--ink);
  color: var(--bone);
}

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

.eyebrow,
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.035em;
}

.eyebrow {
  padding: 0.35rem 0.65rem;
  background: var(--sage-tint);
  color: #465039;
  text-transform: uppercase;
}

.pill {
  padding: 0.38rem 0.65rem;
  background: var(--casita-tint);
  color: #6e3828;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 580;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
}

h2 {
  font-size: clamp(2.15rem, 4vw, 3.45rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

p {
  margin: 0;
}

.lede {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero {
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.05fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.hero-copy {
  display: grid;
  min-width: 0;
  align-items: start;
  gap: 1.5rem;
}

.hero h1 span {
  color: var(--casita);
  font-style: italic;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-art {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 36rem;
  border-radius: var(--radius-xl);
  background: url("/assets/images/hero-background.png") center / cover;
  box-shadow: var(--shadow-card);
}

.hero-preview {
  position: absolute;
  width: clamp(10rem, 28vw, 16.5rem);
  aspect-ratio: 1;
  overflow: hidden;
  border: 0.45rem solid var(--bone);
  border-radius: var(--radius-lg);
  background: var(--bone);
  box-shadow: var(--shadow-card);
}

.hero-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-preview:nth-child(1) {
  top: 8%;
  left: 6%;
  transform: rotate(-5deg);
}

.hero-preview:nth-child(2) {
  top: 18%;
  right: 5%;
  transform: rotate(4deg);
}

.hero-preview:nth-child(3) {
  bottom: 5%;
  left: 28%;
  transform: rotate(1.5deg);
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--sand);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 1rem 0;
  list-style: none;
}

.trust-list li {
  padding-inline: 1rem;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 680;
  text-align: center;
}

.trust-list li:last-child {
  border: 0;
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section-sand {
  background: var(--sand);
}

.section-heading {
  display: grid;
  max-width: 48rem;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.section-heading-row > div {
  display: grid;
  max-width: 48rem;
  gap: 1rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1rem;
}

.category-card {
  position: relative;
  min-height: 16rem;
  padding: 1.45rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bone);
  text-decoration: none;
}

.category-card:nth-child(2) {
  background: var(--casita-tint);
}

.category-card:nth-child(3) {
  background: var(--sage-tint);
}

.category-card:nth-child(4) {
  background: #f4e9e5;
}

.category-number {
  color: var(--casita);
  font-family: "Fraunces", Georgia, serif;
  font-size: 4.5rem;
  font-style: italic;
  line-height: 1;
  opacity: 0.72;
}

.category-card h3 {
  position: absolute;
  right: 1.45rem;
  bottom: 1.45rem;
  left: 1.45rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.4rem;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bone);
  box-shadow: var(--shadow-soft);
}

.product-image-link {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--sand);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease-out;
}

.product-card:hover img {
  transform: scale(1.025);
}

.product-copy {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 0.9rem;
  padding: 1.2rem;
}

.product-copy h3 a {
  text-decoration: none;
}

.product-summary {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 0.3rem;
}

.price {
  font-size: 1.08rem;
  font-variant-numeric: tabular-nums;
  font-weight: 780;
}

.text-link {
  color: var(--casita-deep);
  font-weight: 750;
}

.founder-strip {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--ink);
  color: var(--bone);
}

.founder-inner {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}

.founder-strip .eyebrow {
  background: rgb(251 248 242 / 0.1);
  color: var(--bone);
}

.founder-copy {
  display: grid;
  gap: 1.25rem;
}

.founder-copy p {
  max-width: 60ch;
  color: #d9d5ce;
}

.page-hero {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
  background: var(--sand);
}

.page-hero .narrow {
  display: grid;
  gap: 1.15rem;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.catalog-tools {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bone);
}

.search-label {
  display: grid;
  gap: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.search-input {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #b7b0a5;
  border-radius: var(--radius-md);
  background: var(--bone);
  color: var(--ink);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.filter-button {
  min-height: 2.5rem;
  padding: 0.55rem 0.85rem;
  border-color: var(--line);
  background: var(--bone);
  color: var(--ink);
  font-size: 0.85rem;
}

.filter-button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bone);
}

.results-status {
  min-height: 1.6rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.product-card[hidden] {
  display: none;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

.product-detail-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--sand);
  box-shadow: var(--shadow-card);
}

.product-detail-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.product-detail-copy {
  display: grid;
  gap: 1.3rem;
}

.product-detail-copy h1 {
  font-size: clamp(2.65rem, 5vw, 4.6rem);
}

.product-price {
  font-size: 1.4rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.feature-box {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--sand);
}

.feature-box h2 {
  font-size: 1.5rem;
}

.feature-box ul,
.prose ul,
.steps {
  padding-left: 1.3rem;
}

.feature-box li + li,
.prose li + li,
.steps li + li {
  margin-top: 0.45rem;
}

.etsy-note {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.related {
  margin-top: 5rem;
}

.prose {
  max-width: 70ch;
}

.prose > * + * {
  margin-top: 1.15rem;
}

.prose h2 {
  margin-top: 2.6rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.prose h3 {
  margin-top: 2rem;
}

.notice {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--sage-tint);
}

.site-footer {
  padding-block: 3.5rem 2rem;
  border-top: 1px solid #373b47;
  background: var(--ink);
  color: var(--bone);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
}

.footer-copy {
  max-width: 34rem;
  color: #d9d5ce;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.footer-links h2 {
  margin-bottom: 0.35rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a {
  color: #e4e0d8;
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #454957;
  color: #bfc0c5;
  font-size: 0.78rem;
}

.not-found {
  display: grid;
  min-height: 70vh;
  place-items: center;
  text-align: center;
}

.not-found > div {
  display: grid;
  gap: 1.2rem;
}

@media (max-width: 58rem) {
  .desktop-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-actions .button {
    display: none;
  }

  .mobile-nav {
    display: block;
    grid-column: 1 / -1;
    margin-top: -0.65rem;
    padding-bottom: 0.8rem;
  }

  .mobile-nav summary {
    cursor: pointer;
    font-weight: 750;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav nav {
    display: grid;
    gap: 0.35rem;
    padding-top: 0.7rem;
  }

  .mobile-nav nav a {
    padding: 0.55rem 0;
  }

  .hero-grid,
  .product-detail,
  .founder-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-art {
    min-height: 31rem;
  }

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

  .trust-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-list li:nth-child(2) {
    border-right: 0;
  }

  .trust-list li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 42rem) {
  .announcement {
    padding-inline: 0.75rem;
    font-size: 0.75rem;
    overflow-wrap: anywhere;
  }

  .container,
  .narrow {
    width: min(calc(100% - 1.5rem), var(--content));
  }

  .brand-studio {
    display: none;
  }

  .hero-art {
    max-width: 100%;
    min-height: 23rem;
    overflow: hidden;
  }

  .hero-preview {
    width: clamp(8rem, 42vw, 10rem);
    border-width: 0.3rem;
  }

  .hero {
    padding-block: 3rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 11.5vw, 3.05rem);
    overflow-wrap: break-word;
  }

  .hero .lede {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-actions {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .hero-preview:nth-child(1) {
    top: 7%;
    left: 4%;
  }

  .hero-preview:nth-child(2) {
    top: 18%;
    right: 3%;
  }

  .hero-preview:nth-child(3) {
    bottom: 6%;
    left: 27%;
  }

  .category-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 10rem;
  }

  .section-heading-row,
  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
