@font-face {
  font-family: Barlow Condensed;
  src: url(assets/barlow-condensed.woff2) format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

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

:root {
  color-scheme: light;
  --night: #170f15;
  --ink: #261a24;
  --cream: #fff5e7;
  --paper: #f8eee2;
  --card: #fffaf3;
  --ochre: #ffc35c;
  --rust: #d9773a;
  --berry: #b8325a;
  --sky: #5d9ad6;
  --moss: #6f9a3e;
  --lilac: #ece2f4;
  --muted: #6b5a63;
  --cream-muted: #d8c8cc;
  --line: #261a241a;
  --dye: linear-gradient(90deg, var(--berry), var(--rust), var(--ochre), var(--moss), var(--sky), #7b56b0);
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --italic: Fraunces, Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--night);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; min-width: 0; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: .18rem solid var(--ochre); outline-offset: .25rem; border-radius: .2rem; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
h1, h2, h3 { text-wrap: balance; }

.shell { width: min(100% - var(--gutter) * 2, 80rem); margin-inline: auto; }

.skip {
  position: absolute;
  z-index: 20;
  top: .75rem;
  left: var(--gutter);
  transform: translateY(-200%);
  padding: .75rem 1rem;
  color: var(--ink);
  background: var(--cream);
}
.skip:focus { transform: translateY(0); }

.eyebrow {
  color: var(--ochre);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow-dark { color: var(--berry); }

.dye-stripe { height: 4px; background: var(--dye); }

/* Header */
.masthead {
  position: sticky;
  top: 0;
  z-index: 10;
  color: var(--cream);
  background: #170f15d9;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid #fff5e71a;
}

.masthead-inner {
  min-height: 4.6rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font: 800 1.5rem/.95 var(--display);
  letter-spacing: .03em;
  text-decoration: none;
  text-transform: uppercase;
}
.brand img { width: 2.6rem; height: 2.6rem; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px #fff5e726; }
.brand-accent { color: var(--ochre); white-space: nowrap; }
.masthead .button { justify-self: end; }

.main-nav, .footer-social nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem clamp(1rem, 2.6vw, 2.25rem);
  font-size: .9375rem;
  font-weight: 600;
}
.main-nav a, .footer-social a { text-decoration: none; opacity: .85; transition: opacity .2s; }
.main-nav a:hover, .footer-social a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--ochre); }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .55rem 1.15rem .6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.button-outline { border-color: #fff5e74d; }
.button-outline:hover { color: var(--night); background: var(--cream); border-color: var(--cream); }
.button-bright {
  min-height: 3.3rem;
  padding-inline: 1.7rem;
  color: var(--night);
  background: var(--ochre);
  box-shadow: 0 10px 30px -10px #ffc35c99;
}
.button-bright:hover { background: #ffd385; transform: translateY(-2px); box-shadow: 0 14px 34px -10px #ffc35cb3; }
.button-ghost { min-height: 3.3rem; padding-inline: 1.4rem; color: var(--cream); border-color: #fff5e740; }
.button-ghost:hover { border-color: var(--cream); background: #fff5e70f; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(60rem 40rem at 85% 30%, #5d9ad62b, transparent 60%),
    radial-gradient(45rem 35rem at 10% 90%, #d9773a24, transparent 60%),
    var(--night);
  padding-block: clamp(3rem, 7vw, 6.5rem) clamp(3.5rem, 8vw, 7rem);
}

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

.hero h1 {
  margin-top: 1rem;
  font: 800 clamp(3.75rem, 8vw, 8rem)/.88 var(--display);
  letter-spacing: -.015em;
  text-wrap: initial;
}
.hero h1 em {
  display: block;
  margin-top: .12em;
  color: var(--ochre);
  font: italic 800 .85em/.95 var(--italic);
  letter-spacing: -.06em;
}

.hero-lede {
  max-width: 29rem;
  margin-top: 1.6rem;
  color: var(--cream-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin-top: 2.2rem;
  padding: 1.2rem 0 0;
  border-top: 1px solid #fff5e71f;
  list-style: none;
  color: var(--cream-muted);
  font-size: .875rem;
}
.hero-points li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-points li::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--dye);
  background-size: 600% 100%;
}
.hero-points li:nth-child(2)::before { background-position: 50% 0; }
.hero-points li:nth-child(3)::before { background-position: 100% 0; }

.hero-figure { position: relative; }

.hero-halo {
  position: absolute;
  inset: 8% -4% -6% 6%;
  border-radius: 2rem;
  background: conic-gradient(from 200deg, var(--berry), var(--rust), var(--ochre), var(--moss), var(--sky), #7b56b0, var(--berry));
  filter: blur(48px);
  opacity: .45;
}

.hero-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 1.25rem;
  background: #6b4a3a;
  box-shadow: 0 40px 80px -30px #000c, 0 0 0 1px #fff5e71f;
  transform: rotate(1.2deg);
  transition: transform .5s var(--ease);
}
.hero-image:hover { transform: rotate(0) scale(1.01); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hero-image:hover img { transform: scale(1.04); }

.hero-chip {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: grid;
  gap: .15rem;
  max-width: calc(100% - 2rem);
  padding: .7rem 1rem .75rem;
  border-radius: .8rem;
  color: var(--cream);
  background: #170f15c7;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -12px #000a;
}
.hero-chip-kicker { color: var(--ochre); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero-chip-name { font: 800 1.3rem/1.05 var(--display); letter-spacing: .01em; }
.hero-chip-name::after { content: " →"; color: var(--ochre); font-family: system-ui, sans-serif; font-size: .85em; }

/* Shop */
.designs { background: var(--paper); padding-block: clamp(3.5rem, 7vw, 6.5rem); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.section-head h2, .process h2 {
  margin-top: .6rem;
  font: 800 clamp(3rem, 6vw, 5.5rem)/.9 var(--display);
  letter-spacing: -.015em;
  text-wrap: initial;
}
.section-sub { max-width: 36rem; margin-top: .9rem; color: var(--muted); line-height: 1.55; }

.text-link {
  width: fit-content;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--ochre);
  text-decoration-thickness: .14em;
  transition: text-decoration-color .2s;
}
.text-link:hover { text-decoration-color: currentColor; }

.design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}

.design { min-width: 0; }

.design-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: .6rem;
  border-radius: 1rem;
  background: var(--card);
  box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line);
  text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.design-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px var(--line), 0 24px 40px -22px #261a2466;
}

.design-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: .7rem;
  background: #e9dacb;
}
.design-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.design-link:hover .design-photo img { transform: scale(1.05); }

.design-badge {
  position: absolute;
  z-index: 1;
  top: .7rem;
  left: .7rem;
  padding: .32rem .65rem;
  border-radius: 999px;
  color: var(--night);
  background: var(--ochre);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.design-info { display: flex; flex: 1; flex-direction: column; padding: .95rem .45rem .35rem; }
.design-info h3 { font: 800 1.4rem/1.05 var(--display); letter-spacing: .005em; overflow-wrap: anywhere; }
.design-meta { margin-top: .4rem; color: var(--muted); font-size: .84rem; line-height: 1.4; }

.design-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: auto;
  padding-top: .9rem;
}
.design-price { font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.design-cta {
  color: var(--berry);
  font-size: .82rem;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .25s, transform .25s var(--ease);
}
.design-link:hover .design-cta, .design-link:focus-visible .design-cta { opacity: 1; transform: none; }

.etsy-api-credit { margin: -.75rem 0 1.5rem; color: var(--muted); font-size: .875rem; line-height: 1.5; }
[data-etsy-catalog][hidden], [data-etsy-fallback][hidden] { display: none; }

/* Process */
.process {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
  background:
    radial-gradient(40rem 30rem at 100% 0%, #b8325a14, transparent 60%),
    var(--lilac);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
}
.process-copy { grid-area: 1 / 2; }
.process-copy > p:not(.eyebrow) { max-width: 31rem; margin-top: 1.1rem; font-size: 1.0625rem; line-height: 1.65; }
.process-channel { display: inline-block; margin-top: 1.3rem; }

.process-video {
  display: block;
  overflow: hidden;
  border-radius: 1.1rem;
  color: var(--cream);
  background: var(--night);
  text-decoration: none;
  box-shadow: 0 30px 60px -30px #261a2488;
  transition: transform .35s var(--ease);
}
.process-video:hover { transform: translateY(-3px); }
.video-poster { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #503248; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.process-video:hover .video-poster img { transform: scale(1.04); }
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  background: var(--ochre);
  box-shadow: 0 10px 30px -6px #000a;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease);
}
.video-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  width: 1.1rem;
  height: 1.3rem;
  background: var(--night);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translate(-50%, -50%);
}
.process-video:hover .video-play { transform: translate(-50%, -50%) scale(1.08); }
.video-time { position: absolute; right: .7rem; bottom: .7rem; padding: .2rem .45rem; border-radius: .3rem; background: #170f15d9; font-size: .8rem; font-weight: 600; }
.video-caption { display: block; padding: 1rem 1.2rem; font-weight: 700; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: 0;
  list-style: none;
}
.steps li {
  padding: 1.4rem 1.4rem 1.5rem;
  border-radius: 1rem;
  background: #fffaf3b3;
  box-shadow: 0 0 0 1px var(--line);
}
.step-num {
  display: inline-block;
  color: transparent;
  background: var(--dye);
  -webkit-background-clip: text;
  background-clip: text;
  font: 800 1.1rem/1 var(--display);
  letter-spacing: .12em;
}
.steps h3 { margin-top: .5rem; font: 800 2rem/1 var(--display); }
.steps p { margin-top: .45rem; color: var(--muted); line-height: 1.5; }

/* Footer */
.footer { background: var(--night); color: var(--cream); }
.footer-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem 2.25rem;
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
}
.footer-brand p { margin-top: .8rem; color: var(--cream-muted); }
.footer-social h2 { margin-bottom: .65rem; color: var(--ochre); font: 800 1.4rem/1 var(--display); letter-spacing: .02em; }
.footer-fine { padding: 1.2rem 0 2rem; border-top: 1px solid #fff5e714; color: #fff5e773; font-size: .8rem; }

/* Responsive */
@media (max-width: 60rem) {
  .hero-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-figure { max-width: 34rem; }
  .hero h1 { font-size: clamp(3.4rem, 12vw, 6.2rem); }
}

@media (max-width: 43rem) {
  .masthead-inner { grid-template-columns: 1fr auto; min-height: 4rem; gap: .6rem 1rem; }
  .main-nav { display: none; }
  .brand { font-size: 1.3rem; }
  .brand img { width: 2.25rem; height: 2.25rem; }
  .button-outline { min-height: 2.4rem; padding-inline: .9rem; font-size: .875rem; }
  .hero-lede { margin-top: 1.2rem; }
  .hero-actions { margin-top: 1.5rem; }
  .hero-actions .button { flex: 1 1 auto; }
  .hero-image { transform: none; border-radius: 1rem; }
  .hero-chip-name { font-size: 1.15rem; }
  .process-layout { grid-template-columns: minmax(0, 1fr); }
  .process-copy { grid-area: auto; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .design-link { padding: .45rem; border-radius: .85rem; }
  .design-info { padding: .7rem .25rem .2rem; }
  .design-info h3 { font-size: 1.15rem; }
  .design-meta { font-size: .78rem; }
  .design-cta { display: none; }
}

@media (max-width: 24rem) {
  .brand span { font-size: 1.1rem; }
  .design-grid { grid-template-columns: minmax(0, 1fr); }
}

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