:root {
  color-scheme: light;
  --ink: #240024;
  --muted: #733B73;
  --paper: #DAB1DA;
  --panel: #fff7ff;
  --line: rgba(115, 59, 115, 0.28);
  --accent: #5E095E;
  --accent-mid: #733B73;
  --header: #592A59;
  --button-alt: #954795;
  --accent-soft: #FFADFF;
  --shadow: 0 18px 45px rgba(94, 9, 94, 0.16);
  --home-section-space: clamp(19px, 3vw, 41px);
  --hero-pattern-gap: clamp(14px, 2.25vw, 31px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(218, 177, 218, 0.42);
  background: var(--header);
  backdrop-filter: blur(14px);
  color: var(--paper);
}

.mobile-menu-toggle,
.mobile-site-search {
  display: none;
}

.mobile-site-search {
  position: relative;
}

.mobile-site-search input[type="search"] {
  appearance: none;
}

.mobile-site-search input[type="search"]::-webkit-search-cancel-button {
  appearance: none;
}

.site-search-button {
  position: absolute;
  top: 50%;
  right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-search-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.site-search-button:hover,
.site-search-button:focus-visible {
  background: rgba(255, 247, 255, 0.16);
  color: #fff;
}

.mobile-nav-pages {
  display: contents;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.brand-wordmark {
  width: auto;
  height: 56px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 30px;
  color: var(--paper);
  font-size: 1.12rem;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0 10px;
  color: var(--paper);
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(36, 0, 36, 0.28);
  transition: color 180ms ease, text-shadow 180ms ease;
}

.site-nav a::before,
.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  display: block;
  height: 2px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a::before {
  bottom: 4px;
  width: 100%;
  background: var(--paper);
}

.site-nav a::after {
  bottom: 0;
  width: 50%;
  background: var(--accent-soft);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-soft);
}

.site-nav a[aria-current] {
  color: var(--paper);
}

.site-nav a[aria-current]:hover,
.site-nav a[aria-current]:focus-visible {
  color: var(--accent-soft);
}

.site-nav a:hover::before,
.site-nav a:hover::after,
.site-nav a:focus-visible::before,
.site-nav a:focus-visible::after,
.site-nav a[aria-current]::before,
.site-nav a[aria-current]::after {
  opacity: 1;
  transform: translateY(1px);
}

.site-nav a:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 6px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: auto;
  padding: clamp(21px, 3.5vw, 48px) clamp(18px, 4vw, 56px) var(--hero-pattern-gap);
}

.hero-copy {
  max-width: 720px;
}

.hero-media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: center;
  align-items: center;
  gap: clamp(10px, 1.5vw, 18px);
  transform: translateY(clamp(-30px, -1.55vw, -18px));
}

.hero-yarn-sprite {
  display: none;
}

.hero-product-scene {
  display: none;
}

.eyebrow,
.tag {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.75rem, 6.2vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  line-height: 1.15;
}

.hero-copy > p:not(.eyebrow),
.section-intro p,
.section-heading > p,
.section-subheading,
.contact p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-copy > p:not(.eyebrow) {
  font-size: 1.34rem;
}

.product-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

.button.primary,
.button.small {
  background: var(--accent);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 173, 255, 0.28);
  color: var(--accent);
  border-color: var(--accent-mid);
}

.button.primary:hover,
.button.primary:focus,
.button.small:hover,
.button.small:focus {
  background: var(--accent-mid);
  border-color: var(--accent-mid);
}

.button.secondary:hover,
.button.secondary:focus {
  background: var(--accent-soft);
}

.button.small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.92rem;
}

.ravelry-product-button {
  margin-left: auto;
}

.product-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}

.product-actions .button.small {
  padding: 0 12px;
  white-space: nowrap;
}

.product-actions .ravelry-product-button {
  margin-left: 0;
}

.product-actions .paypal-product-button,
.product-actions .contact-options-button {
  margin-left: 0;
}

.button.small.details-product-button,
.button.small.details-product-button:hover,
.button.small.details-product-button:focus {
  background: #954795;
  border-color: #954795;
  color: #fff;
}

.button.small.details-product-button {
  padding: 0 12px;
}

.download-product-button {
  margin-left: auto;
}

.button.small.contact-options-button {
  height: 2.625rem;
  margin-left: auto;
  min-height: 2.625rem;
  white-space: nowrap;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@keyframes ghost-yarn-cycle {
  from {
    background-position-x: 0;
  }

  to {
    background-position-x: calc(var(--ghost-sprite-size) * -12);
  }
}

@keyframes ghost-yarn-bob {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }

  50% {
    transform: translate3d(0, -18px, 0) rotate(2deg);
  }
}

.section-intro,
.product-section,
.pattern-catalog-section,
.process,
.contact {
  padding: clamp(38px, 6vw, 82px) clamp(18px, 4vw, 56px);
}

.product-section,
.pattern-catalog-section,
.process,
.contact {
  padding-block: var(--home-section-space);
}

.home-main {
  display: flex;
  flex-direction: column;
}

.home-main .hero {
  order: 1;
}

.home-main #finished-goods {
  order: 2;
  padding-top: var(--hero-pattern-gap);
}

.home-main #patterns {
  order: 3;
  padding-top: var(--home-section-space);
}

.home-main .process {
  order: 4;
}

.home-main .contact {
  order: 5;
}

#patterns {
  padding-top: var(--hero-pattern-gap);
}

.section-intro {
  border-top: 1px solid var(--line);
}

.subscribe-section {
  display: flex;
  justify-content: center;
  padding: clamp(38px, 6vw, 82px) clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  width: min(100%, 560px);
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid rgba(255, 173, 255, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(94, 9, 94, 0.96), rgba(115, 59, 115, 0.92)),
    var(--accent);
  box-shadow: var(--shadow);
}

.subscribe-title {
  max-width: 500px;
  color: #fff;
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  font-weight: 900;
  line-height: 0.98;
}

.subscribe-description {
  max-width: 500px;
  margin: 12px 0 0;
  color: var(--paper);
  font-size: clamp(0.94rem, 1.3vw, 1.05rem);
  line-height: 1.5;
}

.subscribe-fields {
  display: flex;
  max-width: 500px;
  margin-top: 16px;
  gap: 8px;
}

.subscribe-fields input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.62rem 0.82rem;
  border: 1px solid rgba(255, 247, 255, 0.46);
  border-radius: 6px;
  outline: none;
  background: rgba(255, 247, 255, 0.08);
  color: #fff;
  font: inherit;
}

.subscribe-fields input::placeholder {
  color: rgba(255, 247, 255, 0.78);
}

.subscribe-fields input:focus {
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(255, 173, 255, 0.2);
}

.subscribe-fields button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--accent-soft);
  border-radius: 6px;
  background: var(--button-alt);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.subscribe-fields button:hover,
.subscribe-fields button:focus-visible {
  transform: translateY(-1px);
  background: var(--accent-mid);
}

.subscribe-fields button:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

.mobile-home-subscribe {
  display: none;
}

@media (min-width: 621px) {
  .site-nav {
    gap: 8px clamp(14px, 1.7vw, 26px);
    font-size: clamp(1.12rem, 1.14vw, 1.28rem);
  }

  .site-header .mobile-site-search {
    display: block;
    flex: 0 1 clamp(144px, 11vw, 190px);
    min-width: 144px;
  }

  .site-header .mobile-site-search input {
    width: 100%;
    min-height: 38px;
    padding: 0 40px 0 13px;
    border: 1px solid rgba(255, 247, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 247, 255, 0.12);
    color: #fff;
    font: inherit;
    font-size: inherit;
  }

  .site-header .mobile-site-search input::placeholder {
    color: rgba(255, 247, 255, 0.72);
  }

  .site-header .mobile-site-search input:focus-visible {
    outline: 2px solid var(--accent-soft);
    outline-offset: 3px;
  }

  .site-header .site-search-button {
    width: 32px;
    height: 32px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.95fr);
    width: min(100%, 1480px);
    min-height: clamp(520px, 64vh, 710px);
    margin-inline: auto;
    padding: clamp(42px, 5vw, 68px) clamp(24px, 5vw, 56px) clamp(36px, 4vw, 56px);
  }

  .hero h1 {
    margin-bottom: 0;
    padding-block: 0;
    font-size: clamp(3rem, 4.9vw, 4.9rem);
    line-height: 0.98;
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: 650px;
    margin-top: clamp(20px, 2.1vw, 32px);
    font-size: clamp(1.22rem, 1.55vw, 1.48rem);
    font-weight: 500;
    line-height: 1.38;
    text-align: left;
  }

  .hero-media {
    align-self: center;
    gap: 0;
    justify-content: center;
    overflow: visible;
    transform: translateY(clamp(0px, calc(2.1vw - 23px), 13px));
  }

  .hero-product-scene {
    position: relative;
    display: grid;
    place-items: center;
    width: min(100%, clamp(430px, 39vw, 650px));
    aspect-ratio: 1;
    overflow: visible;
  }

  .hero-product-bubble {
    position: relative;
    width: 96%;
    aspect-ratio: 1;
    padding: clamp(10px, 1.2vw, 16px);
    overflow: hidden;
    border: 1px solid rgba(255, 247, 255, 0.86);
    border-radius: 44% 56% 53% 47% / 50% 43% 57% 50%;
    background: #fff7ff;
    box-shadow: 0 28px 58px rgba(36, 0, 36, 0.2);
  }

  .hero-product-bubble::after {
    position: absolute;
    inset: clamp(10px, 1.2vw, 16px);
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 247, 255, 0.52);
    content: "";
    pointer-events: none;
  }

  .hero-product-bubble .hero-photo {
    border-radius: inherit;
  }

  .hero-yarn-sprite {
    --ghost-sprite-size: clamp(240px, 18.75vw, 360px);
    position: absolute;
    top: clamp(-34px, -2vw, -24px);
    left: clamp(-66px, -3.4vw, -62px);
    z-index: 2;
    display: block;
    width: var(--ghost-sprite-size);
    height: var(--ghost-sprite-size);
    overflow: visible;
    filter: drop-shadow(0 12px 18px rgba(36, 0, 36, 0.16));
    pointer-events: none;
    transform-origin: 50% 70%;
    animation: ghost-yarn-bob 2.6s ease-in-out infinite;
  }

  .hero-yarn-sprite-frame {
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("assets/spooky-loopz-ghost-yarn-sprite.png");
    background-repeat: repeat-x;
    background-size: calc(var(--ghost-sprite-size) * 12) var(--ghost-sprite-size);
    animation: ghost-yarn-cycle 1.05s steps(12) infinite;
  }

  .hero-media .hero-photo {
    display: block;
  }

  .hero .subscribe-form {
    --subscribe-art-space: clamp(88px, 5.8vw, 108px);
    --subscribe-button-width: clamp(112px, 7vw, 124px);
    --subscribe-pad-left: clamp(12px, 1.2vw, 16px);
    --subscribe-pad-right: clamp(18px, 1.6vw, 24px);
    --subscribe-pad-y: clamp(12px, 1.2vw, 16px);
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--subscribe-button-width);
    grid-template-areas:
      "title title"
      "description description"
      "input button";
    align-items: center;
    width: min(100%, clamp(488px, 38.4vw, 584px));
    margin-top: clamp(24px, 3vw, 36px);
    padding: var(--subscribe-pad-y) var(--subscribe-pad-right) var(--subscribe-pad-y) var(--subscribe-pad-left);
    gap: 9px 14px;
  }

  .hero .subscribe-form::before {
    position: absolute;
    top: clamp(4px, 0.55vw, 8px);
    right: calc(var(--subscribe-pad-right) + 6px);
    width: clamp(96px, 6.2vw, 118px);
    height: clamp(58px, 4.65vw, 76px);
    background: url("assets/spooky-loopz-skull-hooks.png") center / contain no-repeat;
    content: "";
    pointer-events: none;
  }

  .hero .subscribe-title {
    grid-area: title;
    max-width: calc(100% - var(--subscribe-art-space) - 16px);
    font-size: clamp(1.08rem, 1.45vw, 1.32rem);
    line-height: 1.02;
    white-space: nowrap;
  }

  .hero .subscribe-title span {
    white-space: nowrap;
  }

  .hero .subscribe-description {
    grid-area: description;
    max-width: calc(100% - var(--subscribe-art-space) - 16px);
    margin-top: 0;
    font-size: clamp(0.94rem, 1.12vw, 1.06rem);
    line-height: 1.42;
  }

  .hero .subscribe-fields {
    display: contents;
  }

  .hero .subscribe-fields input {
    grid-area: input;
    width: 100%;
    min-height: 40px;
    padding-block: 0.42rem;
    font-size: 0.92rem;
  }

  .hero .subscribe-fields button {
    grid-area: button;
    width: 100%;
    min-height: 40px;
    padding-inline: 10px;
    font-size: 0.92rem;
  }
}

@media (min-width: 921px) and (max-width: 1180px) {
  .site-header {
    gap: 14px;
    padding-inline: clamp(14px, 2vw, 24px);
  }

  .brand-mark {
    width: 56px;
    height: 56px;
  }

  .brand-wordmark {
    height: 46px;
  }

  .site-nav {
    gap: 8px 16px;
    font-size: 1.08rem;
  }

  .site-header .mobile-site-search {
    flex-basis: 142px;
    min-width: 132px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.86fr);
  }

  .hero-product-scene {
    width: min(100%, clamp(360px, 37vw, 500px));
  }

  .hero-yarn-sprite {
    --ghost-sprite-size: clamp(222px, 18vw, 267px);
    top: clamp(-30px, -2.2vw, -22px);
    left: clamp(-60px, -5vw, -52px);
  }
}

@media (min-width: 1181px) and (max-width: 1500px) {
  .hero-yarn-sprite {
    left: -88px;
  }
}

@media (min-width: 921px) {
  .hero {
    padding-bottom: clamp(14px, 2vw, 28px);
  }

  .hero-copy {
    align-self: center;
    transform: translateY(clamp(-18px, calc(1.7vw - 42px), -14px));
  }

  .home-main #finished-goods {
    padding-top: clamp(4px, 0.8vw, 12px);
  }

  .home-main .product-section > .section-heading,
  .home-main .product-section > .home-mobile-carousel {
    width: min(100%, 1480px);
    margin-inline: auto;
  }

  .home-main .home-product-grid {
    gap: clamp(18px, 1.45vw, 22px);
  }

  .home-main .home-product-grid .product-copy {
    padding: clamp(16px, 1.25vw, 20px);
  }
}

@media (min-width: 1240px) {
  .home-main #patterns {
    padding-top: clamp(18px, calc(5.1vw - 47px), 49px);
  }
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-bottom: 6px;
}

.custom-work-products {
  border-top: 1px solid var(--line);
}

.free-patterns-section {
  border-top: 1px solid var(--line);
}

.pattern-connect-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 3vw, 28px);
  min-height: 58px;
  padding: 8px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 247, 255, 0.5);
  color: var(--ink);
}

.pattern-connect-banner p {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.95rem, 1.2vw, 1.12rem);
  font-weight: 800;
  line-height: 1.3;
  text-align: left;
}

.pattern-connect-blurb-line {
  display: inline;
}

.connect-share {
  --connect-size: 42px;
  --connect-width: 184px;
  position: relative;
  flex: 0 0 var(--connect-width);
  width: var(--connect-width);
  min-height: var(--connect-size);
  color: var(--accent);
}

.connect-share-trigger {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--connect-size);
  padding: 0 18px;
  border: 1px solid rgba(115, 59, 115, 0.18);
  border-radius: 999px;
  background: var(--panel);
  box-shadow: 0 8px 20px rgba(94, 9, 94, 0.14);
  color: var(--accent);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.connect-share nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--connect-size);
  font-size: 0;
}

.connect-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--connect-size);
  width: var(--connect-size);
  height: var(--connect-size);
  margin: 0 -10px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 6px 15px rgba(94, 9, 94, 0.14);
  color: var(--panel);
  text-decoration: none;
  transition: margin 180ms ease, border-radius 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.connect-share a:first-child {
  margin-left: 0;
  border-top-left-radius: 999px;
  border-bottom-left-radius: 999px;
}

.connect-share a:last-child {
  margin-right: 0;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
}

.connect-share svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.connect-share .connect-share-instagram-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.connect-share-instagram-icon .instagram-dot {
  fill: currentColor;
  stroke: none;
}

.connect-share:hover .connect-share-trigger,
.connect-share:focus-within .connect-share-trigger {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
}

.connect-share:hover a,
.connect-share:focus-within a {
  margin: 0 2px;
  border-radius: 999px;
  color: var(--accent);
}

.connect-share a:hover,
.connect-share a:focus-visible {
  color: #fff;
  transform: translateY(-1px);
}

.connect-share a:nth-child(1):hover,
.connect-share a:nth-child(1):focus-visible {
  background: #C13584;
}

.connect-share a:nth-child(2):hover,
.connect-share a:nth-child(2):focus-visible {
  background: #3B5998;
}

.connect-share a:nth-child(3):hover,
.connect-share a:nth-child(3):focus-visible {
  background: #FE2C55;
}

.connect-share a:nth-child(4):hover,
.connect-share a:nth-child(4):focus-visible {
  background: #FF0000;
}

.connect-share-trigger:focus-visible,
.connect-share a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.custom-work-heading {
  margin-bottom: 18px;
}

.section-subheading {
  margin: 0;
}

.home-main .product-section .section-heading .eyebrow {
  font-size: 0.95rem;
}

.home-main .product-section .section-subheading {
  font-size: 1.26rem;
}

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

.carousel-dots {
  display: none;
}

.product-carousel {
  position: relative;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: -6px 0 14px;
}

.featured-patterns-section .section-heading .carousel-controls {
  align-self: end;
  margin: 0 0 calc(6px + (clamp(2rem, 4vw, 3.4rem) - 38px) / 2);
}

.featured-patterns-section .section-heading .carousel-controls[hidden] {
  display: none;
}

.carousel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.carousel-button:hover,
.carousel-button:focus {
  background: var(--accent-mid);
  border-color: var(--accent-mid);
  transform: translateY(-1px);
}

.carousel-button:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

.carousel-button:disabled {
  opacity: 0.38;
  cursor: default;
  transform: none;
}

.product-carousel.is-static .carousel-controls {
  display: none;
}

:is(.patterns-page, .finished-goods-page) .product-carousel .carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 24px;
  margin-top: 12px;
}

:is(.patterns-page, .finished-goods-page) .product-carousel .carousel-dots[hidden],
:is(.patterns-page, .finished-goods-page) .product-carousel.is-static .carousel-dots {
  display: none;
}

:is(.patterns-page, .finished-goods-page) .product-carousel .carousel-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

:is(.patterns-page, .finished-goods-page) .product-carousel .carousel-dot::before {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(115, 59, 115, 0.34);
  content: "";
  transition: width 180ms ease, background 180ms ease, opacity 180ms ease;
}

:is(.patterns-page, .finished-goods-page) .product-carousel .carousel-dot.is-active::before {
  width: 23px;
  background: var(--accent);
}

:is(.patterns-page, .finished-goods-page) .product-carousel .carousel-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

:is(.patterns-page, .finished-goods-page) .product-carousel .product-grid {
  display: flex;
  grid-template-columns: none;
  gap: clamp(16px, 2vw, 22px);
  align-items: flex-start;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0 2px 6px;
  scroll-behavior: smooth;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

:is(.patterns-page, .finished-goods-page) .product-carousel .product-grid::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

:is(.patterns-page, .finished-goods-page) .product-carousel .product-card {
  flex: 0 0 min(82vw, 330px);
  scroll-snap-align: start;
}

.carousel-track:focus-visible {
  border-radius: 8px;
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (min-width: 760px) {
  :is(.patterns-page, .finished-goods-page) .product-carousel .product-card {
    flex-basis: min(44vw, 340px);
  }
}

@media (min-width: 1160px) {
  :is(.patterns-page, .finished-goods-page) .product-carousel .product-card {
    flex-basis: clamp(280px, 24vw, 340px);
  }
}

.pattern-catalog-section {
  border-top: 1px solid var(--line);
}

.pattern-sort-control {
  display: flex;
  justify-content: flex-end;
}

.pattern-sort-control select {
  min-height: 42px;
  max-width: 100%;
  padding: 0 42px 0 14px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background:
    linear-gradient(45deg, transparent 50%, var(--panel) 50%) calc(100% - 20px) 50% / 6px 6px no-repeat,
    linear-gradient(135deg, var(--panel) 50%, transparent 50%) calc(100% - 14px) 50% / 6px 6px no-repeat,
    var(--accent);
  color: #fff;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  appearance: none;
  cursor: pointer;
}

.pattern-sort-control select:focus {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

.pattern-sort-control option {
  background: var(--panel);
  color: var(--ink);
}

.pattern-catalog-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.pattern-catalog-list li + li {
  border-top: 1px solid var(--line);
}

.pattern-catalog-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-inline: -12px;
  padding: 16px 12px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.pattern-catalog-list a:hover,
.pattern-catalog-list a:focus {
  background: rgba(255, 173, 255, 0.22);
}

.pattern-catalog-name {
  color: var(--ink);
  font-size: clamp(1.08rem, 1.35vw, 1.25rem);
  font-weight: 900;
  line-height: 1.15;
}

.pattern-catalog-status {
  color: var(--accent-mid);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(94, 9, 94, 0.1);
}

.product-card.is-unavailable {
  filter: grayscale(1);
  opacity: 0.62;
}

.linked-card {
  position: relative;
}

.product-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.linked-card .button {
  position: relative;
  z-index: 2;
}

.linked-card .product-actions {
  position: relative;
  z-index: 2;
}

.product-card > img,
.product-media > img:first-child {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #FFADFF;
}

.product-media {
  position: relative;
  overflow: hidden;
  background: #FFADFF;
}

.sold-out-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: clamp(11px, 2.5vw, 28px);
  object-fit: contain;
  background: transparent;
  pointer-events: none;
}

.product-copy {
  display: grid;
  min-height: 250px;
  padding: 20px;
}

.product-copy p:not(.tag) {
  color: var(--muted);
}

.product-footer {
  align-self: end;
  justify-content: space-between;
  margin-top: 18px;
}

.product-footer span {
  color: var(--accent);
  font-size: 1.18rem;
  font-weight: 900;
}

.price-with-unit {
  display: inline-flex;
  align-items: baseline;
  gap: 0.22em;
}

.price-with-unit small {
  color: var(--accent-mid);
  font-size: 0.72em;
  font-weight: 900;
  line-height: 1;
}

.paypal-product-button {
  display: inline-flex;
  justify-content: flex-end;
  margin-left: auto;
}

.paypal-product-button input[type="submit"] {
  min-width: 8.25rem;
  padding: 0 1.25rem;
}

.product-actions .paypal-product-button input[type="submit"] {
  box-sizing: border-box;
  height: 38px;
  min-height: 38px;
  min-width: 0;
  padding: 0 12px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: normal;
}

.paypal-product-button img {
  width: auto;
  max-width: 100%;
}

@media (min-width: 921px) {
  .home-product-grid {
    align-items: stretch;
  }

  .home-product-grid .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .home-product-grid .product-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
  }

  .home-product-grid .product-footer {
    align-self: stretch;
    justify-content: space-between;
    margin-top: auto;
  }
}

@media (min-width: 921px) and (hover: hover) {
  .finished-goods-page .home-product-grid,
  .patterns-page .product-grid {
    align-items: start;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  :is(.finished-goods-page, .patterns-page) .product-card {
    align-self: start;
    height: auto;
    transition: box-shadow 220ms ease;
  }

  :is(.finished-goods-page, .patterns-page) .product-card:hover,
  :is(.finished-goods-page, .patterns-page) .product-card:focus-within {
    box-shadow: var(--shadow);
  }

  :is(.finished-goods-page, .patterns-page) .product-copy {
    display: block;
    min-height: 0;
    padding: 14px 16px;
  }

  :is(.finished-goods-page, .patterns-page) .product-copy > .tag,
  :is(.finished-goods-page, .patterns-page) .product-copy > h3 {
    margin: 0;
    line-height: 1.25;
  }

  :is(.finished-goods-page, .patterns-page) .product-copy > .tag {
    display: block;
    margin-bottom: 6px;
  }

  :is(.finished-goods-page, .patterns-page) .product-copy > h3 {
    display: block;
    font-size: clamp(1rem, 1.15vw, 1.16rem);
  }

  :is(.finished-goods-page, .patterns-page) .product-copy > p:not(.tag),
  :is(.finished-goods-page, .patterns-page) .product-footer {
    max-height: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 260ms ease, margin 180ms ease, opacity 180ms ease;
  }

  :is(.finished-goods-page, .patterns-page) .product-card:hover .product-copy > p:not(.tag),
  :is(.finished-goods-page, .patterns-page) .product-card:focus-within .product-copy > p:not(.tag) {
    max-height: 160px;
    margin-top: 10px;
    opacity: 1;
  }

  .finished-goods-page .product-card:hover .highland-cow-card-blurb,
  .finished-goods-page .product-card:focus-within .highland-cow-card-blurb {
    margin-bottom: 24px;
  }

  .finished-goods-page .product-copy p.availability-note span {
    display: block;
    margin-top: 0.34em;
  }

  :is(.finished-goods-page, .patterns-page) .product-card:hover .product-footer,
  :is(.finished-goods-page, .patterns-page) .product-card:focus-within .product-footer {
    max-height: 76px;
    margin-top: 12px;
    overflow: visible;
    opacity: 1;
  }

  :is(.finished-goods-page, .patterns-page) .product-footer {
    flex-wrap: nowrap;
    gap: 8px;
  }

  :is(.finished-goods-page, .patterns-page) .product-footer span {
    flex: 0 0 auto;
    font-size: 1rem;
  }

  :is(.finished-goods-page, .patterns-page) .product-actions {
    flex: 0 0 auto;
    gap: 6px;
  }

  :is(.finished-goods-page, .patterns-page) .product-actions .button.small {
    box-sizing: border-box;
    width: 66px;
    height: 32px;
    min-height: 32px;
    padding: 0 6px;
    font-size: 0.8rem;
  }

  .patterns-page .product-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: nowrap;
  }

  .patterns-page .product-footer > span {
    flex: 0 0 auto;
    min-width: 0;
    white-space: nowrap;
    font-size: 0.76rem;
    line-height: 1;
  }

  .patterns-page .product-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    min-width: 0;
    flex: 0 1 auto;
    gap: 5px;
  }

  .patterns-page .product-actions .button.small {
    flex: 0 0 60px;
    width: 60px;
    min-width: 60px;
    max-width: 60px;
    padding: 0 4px;
    font-size: 0.72rem;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
  }

  .patterns-page .product-actions .button.small.ravelry-product-button {
    flex: 0 0 120px;
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    padding: 0 4px;
    font-size: 0.68rem;
    letter-spacing: 0;
    white-space: nowrap;
  }

  :is(.finished-goods-page, .patterns-page) .product-actions .paypal-product-button input[type="submit"] {
    box-sizing: border-box;
    width: 82px;
    min-width: 82px;
    max-width: 82px;
    height: 32px;
    min-height: 32px;
    padding: 0 8px;
    font-size: 0.8rem;
  }
}

.process {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 32px;
  background: #FFADFF;
}

.process ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process li {
  padding: 14px 20px 20px;
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  background: var(--button-alt);
  color: var(--panel);
}

.process strong {
  display: block;
  color: #fff;
  font-size: calc(1em + 3pt);
}

.process-underlined-line {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.process-link-button {
  --primary-color: #fff;
  --hovered-color: var(--accent-soft);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary-color);
  font-weight: 800;
  text-decoration: none;
  vertical-align: baseline;
}

.process-link-button span {
  position: relative;
}

.process-link-button::after {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--hovered-color);
  content: "";
  transition: width 0.25s ease-out;
}

.process-link-button span::before {
  position: absolute;
  inset: 0;
  width: 0;
  overflow: hidden;
  color: var(--hovered-color);
  content: attr(data-label);
  transition: width 0.25s ease-out;
}

.process-link-button svg {
  width: 0.75em;
  height: 0.75em;
  color: var(--primary-color);
  transition: color 0.2s ease, transform 0.2s ease;
  transition-delay: 0.1s;
}

.process-link-button:hover,
.process-link-button:focus-visible {
  color: var(--primary-color);
}

.process-link-button:hover::after,
.process-link-button:focus-visible::after,
.process-link-button:hover span::before,
.process-link-button:focus-visible span::before {
  width: 100%;
}

.process-link-button:hover svg,
.process-link-button:focus-visible svg {
  color: var(--hovered-color);
  transform: translateX(3px);
}

.process-link-button:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 4px;
}

.feedback-link {
  --primary-color: var(--accent);
  --hovered-color: var(--button-alt);
}

.feedback-link:focus-visible {
  outline-color: var(--accent);
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.feedback-cta {
  background: #FFADFF;
}

@media (min-width: 621px) {
  .home-main > .contact p:not(.eyebrow) {
    margin-bottom: 0;
  }
}

.page-hero {
  padding: clamp(42px, 7vw, 88px) clamp(18px, 4vw, 56px) clamp(32px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.finished-goods-hero,
.patterns-hero {
  padding-top: clamp(12px, 1.6vw, 22px);
  padding-bottom: clamp(14px, 2vw, 24px);
}

.finished-goods-intro,
.patterns-intro {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  font-weight: 900;
  line-height: 1.15;
}

.page-hero h1 {
  max-width: 860px;
  margin-bottom: 14px;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.18rem, 2vw, 1.5rem);
}

.feedback-hero {
  display: grid;
  gap: 0;
  padding-top: clamp(21px, 3.5vw, 48px);
  padding-bottom: clamp(42px, 6vw, 76px);
}

.feedback-hero h1 {
  max-width: 980px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.feedback-subheadline {
  margin-bottom: clamp(18px, 3vw, 34px);
}

.feedback-testbox {
  display: flex;
  justify-content: center;
  justify-self: center;
  width: min(100%, 820px);
}

.feedback-form {
  width: 100%;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(115, 59, 115, 0.28);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.feedback-field {
  display: grid;
  gap: 7px;
  margin-top: 16px;
}

.feedback-form > .feedback-field:first-of-type {
  margin-top: 0;
}

.feedback-field label,
.feedback-rating legend {
  color: var(--ink);
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  font-weight: 800;
  line-height: 1.2;
}

.feedback-required {
  margin-left: 2px;
  color: var(--accent);
}

.feedback-form input[type="email"],
.feedback-form input[type="text"],
.feedback-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--accent-mid);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.35;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.feedback-form input[type="email"]::placeholder,
.feedback-form input[type="text"]::placeholder {
  color: rgba(36, 0, 36, 0.5);
}

.feedback-form textarea {
  min-height: 132px;
  resize: vertical;
}

.feedback-form input[type="email"]:focus,
.feedback-form input[type="text"]:focus,
.feedback-form textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 173, 255, 0.5);
}

.feedback-rating {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}

.feedback-rating-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feedback-rating-option {
  display: grid;
  grid-template-rows: minmax(44px, auto) 32px;
  gap: 8px;
  align-items: center;
  justify-items: center;
  min-height: 102px;
  padding: 12px 8px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
  cursor: pointer;
}

.feedback-rating-option:last-child {
  border-right: 0;
}

.feedback-rating-option input {
  appearance: none;
  width: 21px;
  height: 21px;
  margin: 0;
  border: 2px solid var(--accent-mid);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.feedback-rating-option input:checked {
  border-color: var(--accent);
  background:
    radial-gradient(circle at center, var(--accent) 0 42%, transparent 45%),
    #fff;
}

.feedback-rating-option input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 173, 255, 0.58);
}

.feedback-permission {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 20px;
  align-items: center;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}

.feedback-permission-copy {
  display: grid;
  gap: 2px;
  color: var(--ink);
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  font-weight: 800;
  line-height: 1.2;
}

.feedback-permission-copy span:last-child {
  color: var(--muted);
  font-size: 0.88em;
  font-weight: 700;
}

.feedback-permission-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: flex-end;
}

.feedback-permission-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.feedback-permission-option input {
  appearance: none;
  width: 21px;
  height: 21px;
  margin: 0;
  border: 2px solid var(--accent-mid);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.feedback-permission-option input:checked {
  border-color: var(--accent);
  background:
    radial-gradient(circle at center, var(--accent) 0 42%, transparent 45%),
    #fff;
}

.feedback-permission-option input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 173, 255, 0.58);
}

.feedback-actions {
  margin-top: 20px;
  text-align: center;
}

.feedback-submit {
  min-width: 154px;
  border: 0;
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
}

@media (max-width: 620px) {
  .feedback-hero {
    gap: 0;
    padding: 32px 18px 40px;
  }

  .feedback-hero h1 {
    margin-bottom: 4px;
    font-size: 1.9rem;
    white-space: nowrap;
  }

  .feedback-subheadline {
    margin-bottom: 18px;
  }

  .feedback-form {
    padding: 18px 14px;
  }

  .feedback-rating-options {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .feedback-rating-option {
    grid-template-rows: minmax(34px, auto) 28px;
    gap: 7px;
    justify-items: center;
    min-height: 84px;
    padding: 10px 4px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    font-size: 0.62rem;
    text-align: center;
  }

  .feedback-rating-option:last-child {
    border-right: 0;
    border-bottom: 0;
  }

  .feedback-permission {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .feedback-permission-options {
    justify-content: center;
  }

  .feedback-submit {
    width: 100%;
  }
}

.contact-support-hero {
  padding-top: clamp(18px, 2.5vw, 34px);
  padding-bottom: clamp(18px, 2.4vw, 32px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.contact-support-hero.feedback-cta {
  background: #FFADFF;
}

.contact-support-hero .eyebrow {
  font-size: clamp(1rem, 1.15vw, 1.28rem);
  line-height: 1.1;
}

.contact-support-hero p.contact-support-copy {
  display: grid;
  gap: 4px;
  max-width: min(100%, 90rem);
  margin: 0;
  font-size: clamp(1.05rem, 1.25vw, 1.42rem);
  line-height: 1.38;
  overflow-wrap: break-word;
}

@media (min-width: 1700px) {
  .contact-support-hero .contact-support-copy span {
    white-space: nowrap;
  }
}

.about-image-hero {
  padding: clamp(12px, 1.8vw, 23px) clamp(18px, 4vw, 56px) clamp(18px, 3vw, 34px);
}

.about-photo-header {
  --about-badge-size: clamp(118px, 12vw, 164px);
  --about-badge-diameter: calc(var(--about-badge-size) - clamp(12px, 1.25vw, 18px));
  --about-badge-inset: 3px;
  position: relative;
  max-width: clamp(1260px, 76vw, 1500px);
  margin-inline: auto;
  padding-bottom: calc(var(--about-badge-diameter) * 0.5);
}

.about-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(4px, 0.55vw, 7px);
  aspect-ratio: 2.78 / 1;
  min-height: 270px;
  padding: clamp(3px, 0.45vw, 6px);
  overflow: hidden;
  border: 1px solid rgba(255, 247, 255, 0.82);
  border-radius: 8px;
  background: #fff7ff;
  box-shadow: 0 18px 45px rgba(94, 9, 94, 0.18);
}

.about-hero-panel {
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: var(--panel);
}

.about-hero-panel:first-child {
  border-radius: 5px 0 0 5px;
}

.about-hero-panel:last-child {
  border-radius: 0 5px 5px 0;
}

.about-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-hero-badge {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: var(--about-badge-diameter);
  height: var(--about-badge-diameter);
  padding: var(--about-badge-inset);
  border: 4px solid #fff7ff;
  border-radius: 50%;
  background: var(--panel);
  box-shadow: 0 14px 30px rgba(36, 0, 36, 0.2);
  transform: translateX(-50%);
}

.about-hero-badge img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.about-ghost-sprite {
  --about-ghost-sprite-size: clamp(118px, 9.8vw, 154px);
  --ghost-sprite-size: var(--about-ghost-sprite-size);
  position: absolute;
  top: clamp(46px, 4.6vw, 66px);
  left: calc(33.333% - clamp(26px, 1.85vw, 36px));
  z-index: 3;
  width: var(--ghost-sprite-size);
  height: var(--ghost-sprite-size);
  overflow: visible;
  filter: drop-shadow(0 10px 14px rgba(36, 0, 36, 0.18));
  pointer-events: none;
  transform-origin: 50% 70%;
  animation: ghost-yarn-bob 2.6s ease-in-out infinite;
}

.about-ghost-sprite-frame {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("assets/about-ghost-yarn-sprite.png");
  background-position: 0 0;
  background-repeat: repeat-x;
  background-size: calc(var(--ghost-sprite-size) * 12) var(--ghost-sprite-size);
  animation: ghost-yarn-cycle 1.05s steps(12) infinite;
}

.finished-goods-hero .finished-goods-intro,
.patterns-hero .patterns-intro {
  max-width: none;
}

.finished-goods-page > .finished-goods-hero + .product-section,
.patterns-page > .patterns-hero + .product-section {
  padding-top: clamp(10px, 1.4vw, 20px);
}

.pattern-detail-hero {
  padding-bottom: clamp(24px, 4vw, 44px);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: stretch;
  padding: clamp(32px, 5vw, 64px) clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.product-detail-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(94, 9, 94, 0.1);
}

.product-detail-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(94, 9, 94, 0.1);
}

.product-detail-card p:not(.tag) {
  color: var(--muted);
  font-size: 1.08rem;
}

.product-detail-card .product-footer {
  margin-top: auto;
}

.product-detail-page,
.corset-detail-page {
  background: var(--paper);
}

.corset-product-viewer {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background-color: var(--paper);
  color: var(--ink);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
}

.corset-product-viewer p {
  margin: 0;
  color: var(--muted);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

.corset-product-viewer .section {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  width: 920px;
  max-width: calc(100% - 40px);
  min-height: 610px;
  margin: 0 auto;
  padding: 56px 0;
}

.corset-product-viewer .section-fluid {
  position: relative;
  display: block;
  width: 100%;
}

.corset-product-viewer [type="radio"]:checked,
.corset-product-viewer [type="radio"]:not(:checked) {
  position: absolute;
  visibility: hidden;
}

.corset-product-viewer .corset-gallery {
  position: absolute;
  top: 60px;
  left: 0;
  z-index: 9;
  display: block;
  width: 500px;
}

.corset-product-viewer .corset-gallery-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  box-shadow: var(--shadow);
}

.corset-product-viewer .corset-gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.corset-product-viewer .corset-gallery-track::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.corset-product-viewer .corset-gallery-track:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 4px;
}

.corset-product-viewer .corset-gallery-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  margin: 0;
  scroll-snap-align: center;
}

.corset-product-viewer .corset-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.corset-product-viewer .corset-gallery-slide img.corset-gallery-image-square {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.corset-product-viewer .corset-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  box-shadow: 0 10px 22px rgba(94, 9, 94, 0.18);
  transform: translateY(-50%);
}

.corset-product-viewer .corset-gallery-arrow-prev {
  left: 10px;
}

.corset-product-viewer .corset-gallery-arrow-next {
  right: 10px;
}

.corset-product-viewer .corset-gallery-arrow:hover,
.corset-product-viewer .corset-gallery-arrow:focus {
  transform: translateY(calc(-50% - 1px));
}

.corset-product-viewer .corset-gallery-arrow:disabled {
  transform: translateY(-50%);
}

.corset-product-viewer .corset-gallery.is-static .corset-gallery-arrow,
.corset-product-viewer .corset-gallery.is-static .corset-gallery-dots {
  display: none;
}

.corset-product-viewer .corset-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.corset-product-viewer .corset-gallery-dots button {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 2px solid var(--accent-mid);
  border-radius: 999px;
  background: var(--panel);
  cursor: pointer;
  transition: background 200ms linear, border-color 200ms linear, transform 200ms linear;
}

.corset-product-viewer .corset-gallery-dots button:hover,
.corset-product-viewer .corset-gallery-dots button:focus-visible,
.corset-product-viewer .corset-gallery-dots button.is-active {
  border-color: var(--ink);
  background: var(--accent);
  transform: scale(1.12);
}

.corset-product-viewer .corset-gallery-dots button:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 4px;
}

.corset-product-viewer .back-color {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  display: block;
  width: 100vw;
  height: 100%;
  background-image: linear-gradient(196deg, var(--paper), var(--panel));
  transform: translateX(-50%);
}

.corset-product-viewer .info-wrap {
  position: relative;
  z-index: 9;
  display: block;
  width: 380px;
  margin-left: 540px;
  text-align: left;
}

.corset-product-viewer .title-up {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--accent);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
}

.corset-product-viewer .product-status-sold-out {
  color: #6e6b73;
}

.corset-product-viewer #product-details-title {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--ink);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
}

.corset-product-viewer h4 {
  margin-top: 0;
  margin-bottom: 30px;
  color: var(--accent);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
}

.corset-product-viewer h5 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--ink);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.corset-product-viewer .corset-swatch-group {
  position: relative;
  z-index: 9;
  display: flex;
  align-items: center;
  width: max-content;
  margin-left: 540px;
}

.corset-product-viewer .corset-swatch-group label {
  margin-right: 0;
}

.corset-product-viewer .color-btn:checked + label,
.corset-product-viewer .color-btn:not(:checked) + label {
  position: relative;
  display: block;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin-right: 0;
  overflow: visible;
  border: 3px solid transparent;
  border-radius: 4px;
  background-image: url("assets/wedding-corset-yarn-swatch.png");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
  color: var(--accent);
  cursor: pointer;
  transition: all 200ms linear;
}

.corset-product-viewer .color-btn:checked + label {
  border-color: var(--accent);
  transform: scale(1.1);
}

.corset-product-viewer .color-btn:focus-visible + label {
  outline: 2px solid var(--accent-soft);
  outline-offset: 4px;
}

.corset-product-viewer .corset-swatch-tooltip {
  position: absolute;
  top: 50%;
  left: calc(100% + 12px);
  z-index: 2;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(94, 9, 94, 0.18);
  color: #fff;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translate(4px, -50%);
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.corset-product-viewer .corset-swatch-tooltip::after {
  position: absolute;
  top: 50%;
  right: 100%;
  width: 8px;
  height: 8px;
  background: var(--accent);
  content: "";
  transform: translate(4px, -50%) rotate(45deg);
}

.corset-product-viewer .color-btn + label:hover .corset-swatch-tooltip,
.corset-product-viewer .color-btn + label:focus-visible .corset-swatch-tooltip,
.corset-product-viewer .color-btn:focus-visible + label .corset-swatch-tooltip,
.corset-product-viewer .corset-swatch-group:hover .corset-swatch-tooltip,
.corset-product-viewer .corset-swatch-group:focus .corset-swatch-tooltip,
.corset-product-viewer .corset-swatch-group:focus-within .corset-swatch-tooltip {
  opacity: 1;
  transform: translate(0, -50%);
}

.corset-product-viewer .desc-btn:checked + label,
.corset-product-viewer .desc-btn:not(:checked) + label {
  position: relative;
  display: inline-block;
  margin-right: 25px;
  border: none;
  color: var(--button-alt);
  cursor: pointer;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  opacity: 1;
  transition: color 200ms linear;
}

.corset-product-viewer .desc-btn:checked + label {
  color: var(--accent);
}

.corset-product-viewer .desc-btn:not(:checked) + label:hover {
  color: var(--accent-mid);
}

.corset-product-viewer .desc-sec {
  padding-top: 20px;
  padding-bottom: 30px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 250ms linear;
}

.corset-product-viewer .desc-sec.accor-2 {
  position: absolute;
  top: 25px;
  left: 0;
  z-index: 2;
  width: 100%;
}

.corset-product-viewer #desc-1:checked ~ .desc-sec.accor-1 {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.corset-product-viewer #desc-2:checked ~ .desc-sec.accor-2 {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.corset-product-viewer .desc-sec p + p {
  margin-top: 16px;
}

.corset-product-viewer .corset-detail-specs {
  display: flex;
  justify-content: center;
  gap: 26px;
}

.corset-detail-page .corset-product-viewer .corset-detail-specs {
  flex-wrap: wrap;
  padding-bottom: 0;
  row-gap: 0;
}

.corset-detail-page .corset-product-viewer .corset-detail-credit {
  flex: 0 0 100%;
  margin-top: 6px;
  text-align: center;
}

.corset-detail-page .corset-product-viewer .corset-detail-credit-link {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.16em;
}

.corset-detail-page .corset-product-viewer .corset-detail-credit-link:hover,
.corset-detail-page .corset-product-viewer .corset-detail-credit-link:focus-visible {
  text-decoration: underline;
}

.corset-product-viewer .product-detail-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.corset-product-viewer .section-inline {
  position: relative;
  display: inline-block;
  margin-right: 20px;
  margin-bottom: 10px;
}

.corset-product-viewer .corset-detail-specs .section-inline {
  margin-right: 0;
}

.corset-product-viewer .section-inline p {
  font-size: 14px;
  line-height: 1.35;
}

.corset-product-viewer .section-inline p span {
  font-size: 30px;
  line-height: 1.1;
}

.pattern-detail-page .corset-product-viewer .corset-detail-specs .section-inline p {
  white-space: nowrap;
}

.pattern-detail-page .corset-product-viewer .pattern-detail-stack-specs {
  display: grid;
  justify-content: center;
  justify-items: start;
  row-gap: 10px;
}

.pattern-detail-page .corset-product-viewer .pattern-detail-stack-specs .section-inline {
  margin-bottom: 0;
  text-align: left;
}

.corset-product-viewer .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  height: 48px;
  min-width: 210px;
  margin-top: 24px;
  padding: 0 26px;
  overflow: hidden;
  border: none;
  border-radius: 4px;
  background-color: transparent;
  box-shadow: 0 6px 15px 0 rgba(16, 39, 112, 0.15);
  color: #fff;
  cursor: pointer;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  isolation: isolate;
  letter-spacing: 1px;
  line-height: 2;
  text-decoration: none;
  transition: all 250ms linear;
}

.pattern-detail-page .corset-product-viewer .pattern-product-button {
  margin-top: 16px;
}

.pattern-detail-page .corset-product-viewer .pattern-download-button {
  width: auto;
  min-width: 0;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.35px;
  line-height: 1;
  white-space: nowrap;
}

.corset-product-viewer .paypal-product-button .btn {
  background-color: transparent;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  line-height: 2;
}

.corset-product-viewer .icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.corset-product-viewer .btn::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-color: var(--accent);
  content: "";
  transition: background-color 250ms 300ms ease;
}

.corset-product-viewer .btn:hover,
.corset-product-viewer .btn:focus {
  background-color: var(--accent-mid);
  box-shadow: 0 12px 35px 0 rgba(16, 39, 112, 0.25);
}

.corset-product-viewer .btn:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 4px;
}

.corset-product-viewer .product-unavailable-button {
  cursor: not-allowed;
}

.corset-product-viewer .product-unavailable-button::before {
  background-color: #6e6b73;
}

.corset-product-viewer .product-unavailable-button:hover,
.corset-product-viewer .product-unavailable-button:focus {
  background-color: transparent;
  box-shadow: 0 6px 15px 0 rgba(63, 61, 68, 0.18);
  transform: none;
}

.corset-product-viewer .paypal-product-button {
  justify-content: flex-start;
  margin-left: 0;
}

.corset-product-viewer .paypal-product-button form {
  width: 210px;
}

.corset-product-viewer .clearfix {
  width: 100%;
}

.corset-product-viewer .clearfix::after {
  display: block;
  clear: both;
  content: "";
}

@media screen and (max-width: 991px) {
  .corset-product-viewer .section {
    display: block;
    width: 390px;
    min-height: 0;
    padding: 48px 0 68px;
    text-align: center;
  }

  .corset-product-viewer .corset-gallery {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 390px);
    margin: 0 auto 34px;
  }

  .corset-product-viewer .info-wrap {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .corset-product-viewer .corset-swatch-group {
    justify-content: center;
    width: 40px;
    margin: 0 auto;
  }

  .corset-product-viewer .corset-swatch-group label {
    margin-right: 0;
  }

  .corset-product-viewer .mob-margin {
    margin-top: 0;
  }

  .corset-product-viewer .desc-btn:checked + label,
  .corset-product-viewer .desc-btn:not(:checked) + label {
    margin-right: 15px;
    margin-left: 15px;
  }

  .corset-product-viewer .section-inline {
    margin: 0 7px 10px;
  }

  .corset-product-viewer .paypal-product-button {
    justify-content: center;
  }

  .corset-product-viewer .paypal-product-button form {
    width: 210px;
  }

  .corset-product-viewer .btn {
    margin-top: 24px;
  }
}

@media screen and (max-width: 575px) {
  .corset-product-viewer .section {
    width: min(100% - 32px, 320px);
    max-width: none;
    padding: 36px 0 37px;
  }

  .corset-product-viewer .corset-gallery {
    width: 100%;
    margin-bottom: 28px;
  }

  .corset-product-viewer .corset-gallery-dots {
    gap: 8px;
    margin-top: 14px;
  }

  .corset-product-viewer .corset-gallery-dots button {
    width: 12px;
    height: 12px;
  }

  .corset-product-viewer #product-details-title {
    font-size: 29px;
  }

  .corset-product-viewer h4 {
    margin-bottom: 24px;
  }

  .corset-product-viewer h5 {
    font-size: 16px;
  }

  .corset-product-viewer .desc-sec {
    padding-bottom: 20px;
  }

  .corset-product-viewer .desc-sec p,
  .corset-product-viewer .section-inline p {
    color: var(--ink);
  }

  .corset-product-viewer .color-btn:checked + label,
  .corset-product-viewer .color-btn:not(:checked) + label {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    aspect-ratio: 1 / 1;
  }

  .corset-product-viewer .desc-btn:checked + label,
  .corset-product-viewer .desc-btn:not(:checked) + label {
    margin-right: 10px;
    margin-left: 10px;
    font-size: 17px;
  }

  .corset-product-viewer .section-inline p span {
    font-size: 24px;
    line-height: 1.1;
  }

  .corset-product-viewer .section-inline p {
    font-size: 13px;
  }

  .corset-product-viewer .btn,
  .corset-product-viewer .paypal-product-button .btn {
    width: 100%;
    min-width: 0;
  }

  .corset-product-viewer .paypal-product-button {
    width: 100%;
  }

  .corset-product-viewer .paypal-product-button form {
    width: 100%;
  }
}

.corset-product-viewer .halfling-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.corset-product-viewer .halfling-price-unit {
  margin-left: -0.12em;
  font-size: 22px;
}

.corset-product-viewer .halfling-bundle-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  background-color: var(--accent-soft);
  box-shadow: 0 8px 22px rgba(94, 0, 94, 0.12);
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.corset-product-viewer .halfling-product-action .btn {
  margin-top: 12px;
}

.corset-product-viewer .highland-price-row {
  display: block;
}

.corset-product-viewer .highland-price-row .halfling-price-unit {
  margin-left: 0;
  margin-right: -0.12em;
}

.corset-product-viewer .highland-price-amount {
  display: inline;
}

.highland-detail-page .corset-product-viewer .desc-sec {
  padding-bottom: 15px;
}

.corset-product-viewer .highland-product-action .btn {
  margin-top: 12px;
}

.star-blanket-detail-page .corset-product-viewer .desc-sec {
  padding-bottom: 15px;
}

.star-blanket-detail-page .corset-product-viewer .desc-sec strong {
  color: var(--ink);
  font-weight: 800;
}

.star-blanket-detail-page .corset-product-viewer .star-blanket-product-action .btn {
  margin-top: 12px;
}

@media screen and (min-width: 992px) {
  .halfling-detail-page .corset-product-viewer .section {
    min-height: 592px;
  }

  .demogorgeous-detail-page .corset-product-viewer .section {
    min-height: 596px;
  }

  .no-kings-detail-page .corset-product-viewer .section,
  .fufa-detail-page .corset-product-viewer .section,
  .fice-detail-page .corset-product-viewer .section {
    min-height: 538px;
  }

  .demogorgeous-detail-page .corset-product-viewer .pattern-product-button,
  .no-kings-detail-page .corset-product-viewer .pattern-product-button,
  .fufa-detail-page .corset-product-viewer .pattern-product-button,
  .fice-detail-page .corset-product-viewer .pattern-product-button {
    margin-top: 0;
  }

  .corset-product-viewer .halfling-product-action .btn {
    margin-top: 0;
  }

  .star-blanket-detail-page .corset-product-viewer .section {
    min-height: 534px;
  }

  .star-blanket-detail-page .corset-product-viewer .star-blanket-product-action .btn {
    margin-top: 0;
  }

  .highland-detail-page .corset-product-viewer .section {
    min-height: 539px;
  }

  .highland-detail-page .corset-product-viewer .highland-product-action .btn {
    margin-top: 0;
  }

  .halfling-detail-page .corset-product-viewer .halfling-product-action,
  .highland-detail-page .corset-product-viewer .highland-product-action,
  .star-blanket-detail-page .corset-product-viewer .star-blanket-product-action,
  .demogorgeous-detail-page .corset-product-viewer .pattern-product-action,
  .no-kings-detail-page .corset-product-viewer .pattern-product-action,
  .fufa-detail-page .corset-product-viewer .pattern-product-action,
  .fice-detail-page .corset-product-viewer .pattern-product-action {
    position: absolute;
    top: auto;
    bottom: 56px;
    left: 0;
    margin-top: 0;
  }
}

@media screen and (max-width: 991px) {
  .corset-product-viewer .halfling-price-row {
    justify-content: center;
  }
}

.page-band,
.story-section,
.contact-page {
  padding: clamp(38px, 6vw, 82px) clamp(18px, 4vw, 56px);
}

.search-results-section {
  padding: clamp(38px, 6vw, 82px) clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.search-results-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}

.search-result-card,
.search-empty-state {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(94, 9, 94, 0.1);
}

.search-result-card {
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.search-result-card:hover,
.search-result-card:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 16px 34px rgba(94, 9, 94, 0.16);
  transform: translateY(-2px);
}

.search-result-card h3,
.search-empty-state h3 {
  margin-bottom: 8px;
}

.search-result-card p:not(.tag),
.search-empty-state p {
  margin-bottom: 0;
  color: var(--muted);
}

.search-empty-state {
  grid-column: 1 / -1;
}

.search-empty-state .button {
  margin-top: 14px;
  margin-right: 8px;
}

.page-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  background: rgba(255, 173, 255, 0.26);
}

.page-band p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.custom-goods-band {
  padding-top: clamp(24px, 3vw, 42px);
  padding-bottom: clamp(24px, 3vw, 42px);
}

.custom-goods-band p:not(.eyebrow) {
  font-size: clamp(1.16rem, 1.85vw, 1.36rem);
  line-height: 1.45;
}

.pattern-support-band > div,
.finished-support-band > div {
  max-width: 760px;
}

.pattern-support-band .button,
.finished-support-band .button {
  flex: 0 0 auto;
}

.highland-kit-band {
  justify-content: flex-start;
  gap: 28px;
}

@media (min-width: 921px) {
  .highland-kit-band {
    padding-bottom: clamp(58px, 5vw, 76px);
  }
}

.highland-kit-copy {
  flex: 0 1 auto;
}

.finished-support-band > .highland-kit-copy {
  max-width: none;
}

.highland-kit-row {
  display: flex;
  align-items: center;
  gap: clamp(42px, 4vw, 68px);
}

.highland-kit-row p:not(.eyebrow) {
  flex: 0 1 auto;
  margin-bottom: 0;
}

.highland-kit-row p:not(.eyebrow) > span {
  display: block;
}

.highland-kit-cta-line {
  text-align: right;
}

.highland-kit-arrow {
  display: inline-block;
  width: 1.05em;
  height: 0.66em;
  margin-left: 0.12em;
  vertical-align: -0.04em;
}

.highland-kit-arrow-lock {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.highland-kit-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.highland-amazon-note {
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  font-weight: 400;
  line-height: 1.45;
}

@media (max-width: 920px) {
  .highland-kit-copy,
  .highland-kit-row,
  .highland-kit-row p:not(.eyebrow) {
    width: 100%;
  }

  .highland-kit-band h2 {
    margin-bottom: 0;
  }

  .highland-kit-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .highland-kit-cta-line {
    text-align: left;
  }

  .highland-kit-actions {
    align-self: flex-start;
    justify-content: flex-start;
  }
}

.story-section,
.contact-page {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 32px;
  border-top: 1px solid var(--line);
}

.about-image-hero + .story-section {
  border-top: 0;
}

.story-copy {
  max-width: 760px;
}

.story-copy p,
.contact-page p {
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-compose {
  position: relative;
  grid-template-columns: minmax(380px, 1.18fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
  overflow: hidden;
  background:
    radial-gradient(circle at 19% 50%, rgba(114, 219, 232, 0.16), transparent 28%),
    linear-gradient(180deg, #fff, #fff7ff);
}

.contact-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(380px, 34vw, 500px);
}

.contact-mail-scene {
  --contact-device-width: clamp(320px, 34vw, 470px);
  --contact-envelope-width: clamp(156px, 13vw, 210px);
  --plane-x1: clamp(76px, 14vw, 112px);
  --plane-y1: clamp(-76px, -6vw, -48px);
  --plane-x2: clamp(190px, 29vw, 274px);
  --plane-y2: clamp(0px, 1vw, 16px);
  --plane-x3: clamp(310px, 42vw, 424px);
  --plane-y3: clamp(-100px, -8vw, -68px);
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 600px);
  min-height: clamp(330px, 32vw, 460px);
  isolation: isolate;
}

.contact-flight-path,
.contact-sparkle,
.contact-cloud,
.contact-paper-plane,
.contact-plant,
.contact-device,
.contact-envelope-3d,
.contact-badge {
  position: absolute;
  pointer-events: none;
}

.contact-flight-path {
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.contact-flight-path-line {
  fill: none;
  stroke: #18bfd6;
  stroke-dasharray: 7 10;
  stroke-linecap: round;
  stroke-width: 2.3;
  opacity: 0.82;
  animation: contact-dash-flow 11s linear infinite;
}

.contact-flight-path-line--two {
  opacity: 0.66;
  animation-duration: 13s;
  animation-direction: reverse;
}

.contact-sparkle {
  z-index: 5;
  width: 9px;
  height: 9px;
  background: #9fdfeb;
  clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%);
  animation: contact-sparkle-pulse 3.8s ease-in-out infinite;
}

.contact-sparkle--one {
  top: 16%;
  left: 18%;
}

.contact-sparkle--two {
  top: 25%;
  left: 39%;
  width: 11px;
  height: 11px;
  animation-delay: -1.2s;
}

.contact-sparkle--three {
  top: 43%;
  right: 12%;
  animation-delay: -2.2s;
}

.contact-sparkle--four {
  bottom: 22%;
  left: 12%;
  width: 7px;
  height: 7px;
  animation-delay: -3s;
}

.contact-cloud {
  top: 8%;
  right: 10%;
  z-index: 2;
  width: clamp(150px, 15vw, 204px);
  height: clamp(88px, 8vw, 118px);
  border-radius: 44% 56% 42% 58% / 58% 46% 54% 42%;
  background: rgba(154, 222, 235, 0.78);
  filter: drop-shadow(0 10px 14px rgba(6, 140, 157, 0.13));
  animation: contact-cloud-float 7.5s ease-in-out infinite;
}

.contact-cloud::before,
.contact-cloud::after,
.contact-cloud span {
  position: absolute;
  border-radius: 999px;
  background: rgba(185, 236, 244, 0.76);
  content: "";
}

.contact-cloud::before {
  top: 9%;
  left: -7%;
  width: 48%;
  height: 62%;
}

.contact-cloud::after {
  right: -8%;
  bottom: 5%;
  width: 45%;
  height: 56%;
}

.contact-cloud span:first-child {
  top: -12%;
  left: 22%;
  width: 50%;
  height: 72%;
}

.contact-cloud span:last-child {
  right: 20%;
  bottom: -10%;
  width: 42%;
  height: 48%;
  background: rgba(126, 213, 228, 0.62);
}

.contact-paper-plane {
  top: 24%;
  left: 16%;
  z-index: 6;
  width: clamp(54px, 5.4vw, 74px);
  height: clamp(38px, 3.7vw, 52px);
  filter: drop-shadow(0 9px 10px rgba(6, 140, 157, 0.16));
  transform-origin: 50% 50%;
  animation: contact-plane-flight 8.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  will-change: opacity, transform;
}

.contact-paper-plane::before,
.contact-paper-plane::after {
  position: absolute;
  content: "";
}

.contact-paper-plane::before {
  inset: 0;
  background: linear-gradient(135deg, #fff, #eef7fb 70%, #cdeef5);
  clip-path: polygon(0 45%, 100% 0, 66% 88%, 48% 57%, 28% 78%);
}

.contact-paper-plane::after {
  top: 43%;
  left: 33%;
  width: 35%;
  height: 34%;
  background: rgba(16, 117, 139, 0.18);
  clip-path: polygon(0 0, 100% 54%, 0 100%);
}

.contact-plant {
  bottom: 14%;
  z-index: 3;
  width: clamp(92px, 10vw, 142px);
  height: clamp(130px, 14vw, 184px);
  transform-origin: 50% 100%;
  animation: contact-leaf-sway 6.8s ease-in-out infinite;
}

.contact-plant::before {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 8px;
  height: 76%;
  border-radius: 999px;
  background: #0aa6b0;
  content: "";
  transform: translateX(-50%) rotate(-7deg);
}

.contact-plant::after {
  position: absolute;
  bottom: 12%;
  left: 5%;
  width: 54%;
  height: 56%;
  border-radius: 100% 0 100% 0;
  background: #10afba;
  content: "";
  transform: rotate(-18deg);
}

.contact-plant span {
  position: absolute;
  width: 38%;
  height: 34%;
  border-radius: 100% 0 100% 0;
  background: #089da8;
  transform-origin: 50% 100%;
}

.contact-plant span:nth-child(1) {
  top: 10%;
  left: 42%;
  transform: rotate(-34deg);
}

.contact-plant span:nth-child(2) {
  top: 26%;
  right: 5%;
  transform: rotate(30deg) scaleX(-1);
}

.contact-plant span:nth-child(3) {
  top: 38%;
  left: 15%;
  background: #16bac4;
  transform: rotate(-42deg);
}

.contact-plant span:nth-child(4) {
  right: 14%;
  bottom: 20%;
  background: #067b90;
  transform: rotate(36deg) scaleX(-1);
}

.contact-plant span:nth-child(5) {
  bottom: 3%;
  left: 22%;
  transform: rotate(-20deg);
}

.contact-plant--left {
  left: 3%;
}

.contact-plant--right {
  right: 5%;
  animation-delay: -2.4s;
  transform: scaleX(-1);
}

.contact-device {
  bottom: 12%;
  left: 50%;
  z-index: 4;
  width: var(--contact-device-width);
  height: calc(var(--contact-device-width) * 0.43);
  overflow: hidden;
  border: clamp(6px, 0.75vw, 10px) solid #17124d;
  border-radius: 10px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.38), transparent 40%),
    #cddce5;
  box-shadow: 0 18px 22px rgba(36, 0, 36, 0.15);
  transform: translateX(-50%);
}

.contact-device::after {
  position: absolute;
  top: 50%;
  right: -4px;
  width: 14px;
  height: 46px;
  border-radius: 999px;
  background: #38298f;
  content: "";
  transform: translateY(-50%);
}

.contact-device-topbar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 18px;
  padding: 0 8px;
  background: #24345f;
}

.contact-device-topbar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6c6c;
}

.contact-device-topbar span:nth-child(2) {
  background: #ffc44f;
}

.contact-device-topbar span:nth-child(3) {
  background: #74d764;
}

.contact-device-pane {
  position: absolute;
  top: 34px;
  left: 18px;
  width: 30%;
  height: calc(100% - 52px);
  border-radius: 5px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 48%),
    rgba(255, 247, 255, 0.32);
}

.contact-device-lines {
  position: absolute;
  top: 38px;
  right: 30px;
  left: 40%;
  display: grid;
  gap: 10px;
}

.contact-device-lines span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
}

.contact-device-lines span:nth-child(1) {
  width: 56%;
}

.contact-device-lines span:nth-child(2) {
  width: 82%;
}

.contact-device-lines span:nth-child(3) {
  width: 68%;
}

.contact-device-lines span:nth-child(4) {
  width: 44%;
}

.contact-envelope-3d {
  top: 43%;
  left: 50%;
  z-index: 7;
  width: var(--contact-envelope-width);
  height: calc(var(--contact-envelope-width) * 0.74);
  filter: drop-shadow(0 12px 16px rgba(36, 0, 36, 0.15));
  transform: translate(-50%, -50%);
  animation: contact-envelope-bob 7.2s ease-in-out infinite;
  will-change: transform;
}

.contact-envelope-shadow {
  position: absolute;
  right: 5%;
  bottom: -20%;
  left: 5%;
  height: 28%;
  border-radius: 50%;
  background: rgba(36, 0, 36, 0.16);
  filter: blur(16px);
}

.contact-envelope {
  position: absolute;
  inset: 0;
}

.contact-envelope-back,
.contact-envelope-front,
.contact-envelope-flap,
.contact-letter-paper {
  position: absolute;
}

.contact-envelope-back {
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 72%;
  border-radius: 4px;
  background: linear-gradient(145deg, #ffbc3b, #ff8a2d);
  clip-path: polygon(0 0, 50% 48%, 100% 0, 100% 100%, 0 100%);
}

.contact-letter-paper {
  right: 17%;
  bottom: 40%;
  left: 17%;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 7px;
  height: 78%;
  padding: 13px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 14px rgba(36, 0, 36, 0.1);
  transform: translateY(20%);
  animation: contact-letter-peek 7.2s ease-in-out infinite;
  will-change: transform;
}

.contact-letter-paper span {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: rgba(115, 59, 115, 0.16);
}

.contact-letter-paper span:nth-child(1) {
  width: 68%;
}

.contact-letter-paper span:nth-child(2) {
  width: 92%;
}

.contact-letter-paper span:nth-child(3) {
  width: 78%;
}

.contact-envelope-flap {
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  height: 72%;
  border-radius: 4px;
  background: linear-gradient(145deg, #ffc35a, #ff9730);
  clip-path: polygon(0 0, 50% 62%, 100% 0, 100% 100%, 0 100%);
  transform-origin: 50% 35%;
  animation: contact-flap-soft 7.2s ease-in-out infinite;
  will-change: transform;
}

.contact-envelope-front {
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  height: 72%;
  border-radius: 4px;
  background:
    linear-gradient(32deg, transparent 49%, rgba(255, 255, 255, 0.38) 50%, transparent 52%),
    linear-gradient(148deg, transparent 49%, rgba(124, 61, 27, 0.16) 50%, transparent 52%),
    linear-gradient(145deg, #ffca67, #ff9f32);
  clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%);
}

.contact-badge {
  z-index: 8;
  display: grid;
  place-items: center;
  width: clamp(46px, 4.5vw, 62px);
  height: clamp(46px, 4.5vw, 62px);
  border-radius: 15px 15px 6px 15px;
  background: linear-gradient(145deg, #ffc657, #ff9530);
  box-shadow: 0 10px 14px rgba(36, 0, 36, 0.14);
}

.contact-badge--globe {
  bottom: 12%;
  left: 17%;
}

.contact-badge--heart {
  right: 19%;
  bottom: 10%;
  border-radius: 15px 15px 15px 6px;
}

.contact-badge--globe::before,
.contact-badge--globe::after,
.contact-badge--heart::before,
.contact-badge--heart::after {
  position: absolute;
  content: "";
}

.contact-badge--globe::before {
  width: 58%;
  height: 58%;
  border: 3px solid #fff;
  border-radius: 50%;
}

.contact-badge--globe::after {
  width: 43%;
  height: 58%;
  border-right: 2px solid #fff;
  border-left: 2px solid #fff;
  box-shadow: 0 9px 0 -7px #fff, 0 -9px 0 -7px #fff;
}

.contact-badge--heart::before {
  width: 42%;
  height: 42%;
  border-radius: 10px 10px 0 10px;
  background: #fff;
  transform: translateY(3px) rotate(45deg);
}

.contact-badge--heart::after {
  width: 21%;
  height: 21%;
  border-radius: 50%;
  background: #fff;
  box-shadow: -12px 0 0 #fff;
  transform: translate(6px, -5px);
}

.contact-form {
  display: grid;
  justify-self: center;
  gap: 13px;
  width: min(100%, 390px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-form-heading {
  display: grid;
  justify-items: center;
  margin-bottom: 6px;
}

.contact-form-heading h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  font-size: clamp(2.3rem, 3.1vw, 3.35rem);
  line-height: 1;
}

.contact-field {
  display: grid;
}

.contact-control {
  position: relative;
}

.contact-field-icon {
  position: absolute;
  top: 50%;
  left: 21px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #4c5a60;
  transform: translateY(-50%);
}

.contact-field-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 0;
  outline: none;
  background: #eef5f7;
  color: var(--ink);
  font: inherit;
  box-shadow: 0 9px 14px rgba(36, 0, 36, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transition: box-shadow 180ms ease, background 180ms ease, transform 180ms ease;
}

.contact-field input {
  min-height: 54px;
  padding: 0 20px 0 54px;
  border-radius: 999px;
}

.contact-field textarea {
  min-height: 184px;
  padding: 18px 22px;
  border-radius: 28px;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(36, 0, 36, 0.58);
}

.contact-field input:focus,
.contact-field textarea:focus {
  background: #f7fcfd;
  box-shadow: 0 0 0 3px rgba(255, 188, 59, 0.34), 0 10px 16px rgba(36, 0, 36, 0.14);
}

.contact-submit.button.primary {
  justify-self: center;
  width: min(100%, 216px);
  min-height: 40px;
  margin-top: 2px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffc63d, #ff7d2f);
  color: #fff;
  box-shadow: 0 10px 14px rgba(255, 125, 47, 0.18);
  cursor: pointer;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

@keyframes contact-dash-flow {
  0% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: -136;
  }
}

@keyframes contact-sparkle-pulse {
  0%,
  100% {
    opacity: 0.36;
    transform: scale(0.78) rotate(0deg);
  }

  50% {
    opacity: 1;
    transform: scale(1.18) rotate(45deg);
  }
}

@keyframes contact-cloud-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }

  50% {
    transform: translate3d(10px, -8px, 0) rotate(2deg);
  }
}

@keyframes contact-plane-flight {
  0%,
  100% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) rotate(-22deg) scale(0.82);
  }

  10%,
  86% {
    opacity: 1;
  }

  30% {
    transform: translate3d(var(--plane-x1), var(--plane-y1), 0) rotate(16deg) scale(0.96);
  }

  56% {
    transform: translate3d(var(--plane-x2), var(--plane-y2), 0) rotate(-12deg) scale(1);
  }

  84% {
    transform: translate3d(var(--plane-x3), var(--plane-y3), 0) rotate(9deg) scale(0.92);
  }
}

@keyframes contact-leaf-sway {
  0%,
  100% {
    transform: rotate(-1deg);
  }

  50% {
    transform: rotate(2.5deg);
  }
}

.contact-plant--right {
  animation-name: contact-leaf-sway-reverse;
}

@keyframes contact-leaf-sway-reverse {
  0%,
  100% {
    transform: scaleX(-1) rotate(1deg);
  }

  50% {
    transform: scaleX(-1) rotate(-2.5deg);
  }
}

@keyframes contact-envelope-bob {
  0%,
  100% {
    transform: translate3d(-50%, -50%, 0) rotate(-1deg);
  }

  50% {
    transform: translate3d(-50%, calc(-50% - 8px), 0) rotate(1deg);
  }
}

@keyframes contact-letter-peek {
  0%,
  18%,
  100% {
    transform: translateY(20%);
  }

  42%,
  76% {
    transform: translateY(-34%);
  }
}

@keyframes contact-flap-soft {
  0%,
  18%,
  100% {
    transform: translateY(0) scaleY(1);
  }

  42%,
  76% {
    transform: translateY(8%) scaleY(0.9);
  }
}

.about-values-mobile-break {
  display: none;
}

@media (min-width: 921px) {
  .about-page .about-image-hero {
    padding-bottom: 0;
  }

  .about-page .about-image-hero + .story-section {
    padding-top: clamp(22px, 3vw, 44px);
  }

  .about-page .story-section {
    grid-template-columns: minmax(300px, 0.46fr) minmax(0, 1.54fr);
    gap: clamp(22px, 2.2vw, 34px);
    padding-bottom: clamp(24px, 2.8vw, 38px);
  }

  .about-page .who-i-am-section {
    grid-template-columns: minmax(300px, 0.46fr) minmax(0, 1.54fr);
    gap: clamp(22px, 2.2vw, 34px);
    padding-bottom: clamp(32px, 3vw, 42px);
  }

  .about-page .story-copy {
    max-width: 900px;
  }

  .about-page .story-copy p {
    font-size: clamp(1.22rem, 1.28vw, 1.5rem);
    line-height: 1.45;
  }

  .about-page .page-process {
    padding-top: clamp(24px, 2.6vw, 36px);
  }

  .about-page .page-process--light {
    padding-bottom: clamp(72px, 6vw, 92px);
  }
}

.page-process {
  border-top: 1px solid var(--line);
}

.page-process--light {
  background: var(--paper);
}

.contact-card {
  display: grid;
  gap: 12px;
  align-content: start;
  justify-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(94, 9, 94, 0.1);
}

.contact-card h3,
.contact-card p {
  margin: 0;
}

.contact-card p {
  color: var(--accent);
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 920px) {
  .site-header,
  .contact,
  .section-heading,
  .page-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .story-section,
  .contact-page,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .process {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-product-bubble .hero-photo {
    min-height: 0;
  }

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

@media (max-width: 620px) {
  .site-header {
    position: static;
    gap: 4px;
    padding: 8px 12px 10px;
  }

  .mobile-site-header {
    position: sticky;
    top: 0;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-areas:
      "menu brand"
      "nav nav";
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    box-shadow: 0 8px 22px rgba(36, 0, 36, 0.16);
  }

  .hero {
    position: relative;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "blurb"
      "media";
    gap: clamp(12px, 3.8vw, 18px);
    padding: clamp(20px, 6vw, 28px) 18px clamp(20px, 5vw, 30px);
    overflow: visible;
  }

  .hero-copy {
    display: contents;
  }

  .hero-media {
    grid-area: media;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    transform: translateY(clamp(8px, 3vw, 14px));
  }

  .mobile-menu-toggle {
    grid-area: menu;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 247, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 247, 255, 0.08);
    color: var(--paper);
    cursor: pointer;
  }

  .mobile-menu-icon {
    display: grid;
    gap: 4px;
    width: 18px;
  }

  .mobile-menu-icon span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .mobile-site-header.is-menu-open .mobile-menu-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-site-header.is-menu-open .mobile-menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .mobile-site-header.is-menu-open .mobile-menu-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-menu-toggle:focus-visible,
  .mobile-site-search input:focus-visible,
  .site-search-button:focus-visible {
    outline: 2px solid var(--accent-soft);
    outline-offset: 3px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    height: clamp(48px, 13.5vw, 70px);
    width: clamp(48px, 13.5vw, 70px);
  }

  .brand-wordmark {
    height: clamp(38px, 10.6vw, 56px);
  }

  .site-nav {
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    gap: 3px;
    font-size: clamp(0.91rem, 3.9vw, 1.06rem);
    line-height: 1.1;
  }

  .mobile-site-header .brand {
    grid-area: brand;
    justify-self: start;
    gap: 7px;
    width: 100%;
  }

  .mobile-site-header .brand-mark {
    height: 44px;
    width: 44px;
    flex: 0 0 auto;
  }

  .mobile-site-header .brand-wordmark {
    display: block;
    height: clamp(33px, 9.2vw, 42px);
    max-width: calc(100% - 51px);
  }

  .mobile-site-header .site-nav {
    grid-area: nav;
    display: grid;
    grid-template-columns: minmax(126px, max-content) minmax(0, 1fr);
    grid-template-areas: "pages menu-search";
    width: 100%;
    max-height: 0;
    overflow: hidden;
    align-items: start;
    gap: 8px;
    border-top: 0 solid rgba(255, 247, 255, 0.18);
    font-size: clamp(0.96rem, 4.2vw, 1.08rem);
    font-weight: 700;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease, border-top-width 180ms ease, padding-top 180ms ease;
  }

  .mobile-site-header.is-menu-open .site-nav {
    max-height: 240px;
    padding-top: 8px;
    border-top-width: 1px;
    opacity: 1;
    transform: none;
  }

  .mobile-site-header .mobile-nav-pages {
    grid-area: pages;
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  .mobile-site-header .site-nav a {
    justify-content: flex-start;
    min-height: 38px;
    padding: 9px 7px;
    border-radius: 6px;
  }

  .mobile-site-header .site-nav a::before,
  .mobile-site-header .site-nav a::after {
    display: none;
  }

  .mobile-site-header .site-nav a:hover,
  .mobile-site-header .site-nav a:focus-visible,
  .mobile-site-header .site-nav a[aria-current] {
    background: rgba(255, 247, 255, 0.1);
  }

  .mobile-site-header .mobile-site-search {
    grid-area: menu-search;
    display: block;
    min-width: 0;
  }

  .mobile-site-header .mobile-site-search input {
    width: 100%;
    min-height: 36px;
    padding: 0 39px 0 12px;
    border: 1px solid rgba(255, 247, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 247, 255, 0.12);
    color: #fff;
    font: inherit;
    font-weight: 400;
    font-size: 0.92rem;
  }

  .mobile-site-header .mobile-site-search input::placeholder {
    color: rgba(255, 247, 255, 0.72);
  }

  .mobile-site-header .site-search-button {
    right: 3px;
    width: 30px;
    height: 30px;
  }

  .eyebrow {
    color: var(--ink);
    margin-bottom: 4px;
    font-size: clamp(0.68rem, 3.25vw, 0.82rem);
    line-height: 1.2;
    letter-spacing: 0.03em;
    white-space: normal;
  }

  h1 {
    color: var(--ink);
    margin-bottom: 8px;
    font-size: clamp(1.95rem, 9.4vw, 2.36rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.45rem);
    line-height: 1.05;
  }

  .hero .eyebrow,
  .hero h1,
  .hero-copy > p:not(.eyebrow) {
    grid-column: 1 / -1;
  }

  .hero h1 {
    grid-area: title;
    margin-bottom: 0;
  }

  .hero-copy > p:not(.eyebrow) {
    grid-area: blurb;
    color: var(--ink);
    margin-bottom: 0;
    font-size: clamp(1.03rem, 4.9vw, 1.18rem);
    line-height: 1.35;
  }

  .hero-product-scene {
    position: relative;
    display: grid;
    place-items: center;
    width: min(78vw, 332px);
    aspect-ratio: 1;
    margin-inline: auto;
    overflow: visible;
  }

  .hero-product-bubble {
    position: relative;
    width: 92%;
    aspect-ratio: 1;
    padding: clamp(7px, 2.2vw, 10px);
    overflow: hidden;
    border: 1px solid rgba(255, 247, 255, 0.86);
    border-radius: 44% 56% 53% 47% / 50% 43% 57% 50%;
    background: #fff7ff;
    box-shadow: 0 18px 38px rgba(36, 0, 36, 0.18);
  }

  .hero-product-bubble::after {
    position: absolute;
    inset: clamp(7px, 2.2vw, 10px);
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 247, 255, 0.52);
    content: "";
    pointer-events: none;
  }

  .hero-product-bubble .hero-photo {
    display: block;
    border-radius: inherit;
    min-height: 0;
  }

  .hero-yarn-sprite {
    --ghost-sprite-size: clamp(118px, 31vw, 154px);
    position: absolute;
    top: clamp(-12px, -2.4vw, -8px);
    left: clamp(-18px, -4.5vw, -8px);
    z-index: 2;
    display: block;
    width: var(--ghost-sprite-size);
    height: var(--ghost-sprite-size);
    overflow: visible;
    filter: drop-shadow(0 9px 14px rgba(36, 0, 36, 0.16));
    pointer-events: none;
    transform-origin: 50% 70%;
    animation: ghost-yarn-bob 2.6s ease-in-out infinite;
  }

  .hero-yarn-sprite-frame {
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("assets/spooky-loopz-ghost-yarn-sprite.png");
    background-repeat: repeat-x;
    background-size: calc(var(--ghost-sprite-size) * 12) var(--ghost-sprite-size);
    animation: ghost-yarn-cycle 1.05s steps(12) infinite;
  }

  .hero-photo {
    display: none;
  }

  .hero-media .hero-photo {
    display: block;
  }

  .subscribe-form {
    grid-column: 1 / -1;
    grid-row: 4;
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(88px, 26vw, 120px);
    grid-template-areas:
      "title art"
      "description art"
      "input button";
    align-items: center;
    gap: 8px 12px;
    margin-top: 10px;
    padding: 14px;
  }

  .subscribe-form::before {
    grid-area: art;
    align-self: start;
    justify-self: end;
    width: 100%;
    height: clamp(74px, 23vw, 104px);
    background: url("assets/spooky-loopz-skull-hooks.png") center / contain no-repeat;
    content: "";
    pointer-events: none;
    transform: translateY(-7px);
  }

  .subscribe-title {
    grid-area: title;
    font-size: clamp(1rem, 4.35vw, 1.16rem);
    line-height: 1.05;
    white-space: normal;
  }

  .subscribe-title span {
    white-space: nowrap;
  }

  .subscribe-description {
    grid-area: description;
    margin-top: 2px;
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .subscribe-fields {
    display: contents;
  }

  .subscribe-fields input {
    grid-area: input;
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding-block: 0.42rem;
    font-size: 0.88rem;
  }

  .subscribe-fields button {
    grid-area: button;
    width: 100%;
    min-height: 38px;
    padding-inline: 8px;
    font-size: 0.88rem;
  }

  .hero .subscribe-form {
    display: none;
  }

  .home-main > .subscribe-form:not(.mobile-home-subscribe) {
    display: none;
  }

  .mobile-home-subscribe {
    display: grid;
  }

  .home-main > .subscribe-form {
    order: 4;
    width: calc(100% - 36px);
    margin: 0 auto 32px;
  }

  .home-main .process {
    order: 5;
  }

  .home-main .contact {
    order: 6;
  }

  .home-main #finished-goods {
    padding-top: var(--hero-pattern-gap);
  }

  .home-main #patterns {
    padding-top: 0;
  }

  .product-section,
  .pattern-catalog-section,
  .process,
  .contact {
    padding: 32px 18px;
  }

  .pattern-connect-banner {
    gap: 4px;
    min-height: 44px;
    padding: 6px 12px;
  }

  .pattern-connect-banner p {
    font-size: clamp(0.74rem, 3.15vw, 0.82rem);
    line-height: 1.16;
  }

  .pattern-connect-blurb-line {
    display: block;
  }

  .pattern-connect-blurb-line:first-child {
    white-space: nowrap;
  }

  .connect-share {
    --connect-size: 20.5px;
    --connect-width: 88px;
    min-height: 32px;
  }

  .connect-share-trigger {
    min-height: 32px;
    padding: 0 8px;
    font-size: 0.76rem;
  }

  .connect-share nav {
    min-height: 32px;
  }

  .connect-share a {
    margin: 0 -4px;
  }

  .connect-share:hover a,
  .connect-share:focus-within a {
    margin: 0 0.75px;
  }

  .connect-share svg {
    width: 11px;
    height: 11px;
  }

  .section-heading {
    gap: 10px;
    margin-bottom: 18px;
  }

  .featured-patterns-section .section-heading {
    margin-bottom: 14px;
  }

  .featured-patterns-section .section-heading .carousel-controls {
    margin: 0;
  }

  .home-main .product-section .section-heading .eyebrow {
    font-size: 0.82rem;
  }

  .home-main .product-section .section-subheading {
    font-size: clamp(1.05rem, 5vw, 1.24rem);
    line-height: 1.35;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-mobile-carousel {
    --home-carousel-card-width: clamp(260px, 78vw, 324px);
    --home-carousel-card-overlap: clamp(-62px, -14vw, -45px);
    --home-carousel-side-pad: max(18px, calc((100vw - var(--home-carousel-card-width)) / 2));

    margin-inline: -18px;
    overflow: hidden;
  }

  .home-mobile-carousel .home-product-grid {
    display: flex;
    grid-template-columns: none;
    gap: 0;
    align-items: stretch;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 8px var(--home-carousel-side-pad) 6px;
    scroll-behavior: smooth;
    scroll-padding-inline: var(--home-carousel-side-pad);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .home-mobile-carousel .home-product-grid::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .home-mobile-carousel .product-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 var(--home-carousel-card-width);
    scroll-snap-align: center;
    transform: scale(0.9);
    opacity: 0.48;
    filter: saturate(0.82);
    transition: transform 220ms ease, opacity 220ms ease, filter 220ms ease, box-shadow 220ms ease;
  }

  .home-mobile-carousel .product-card + .product-card {
    margin-left: var(--home-carousel-card-overlap);
  }

  .home-mobile-carousel .product-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  .home-mobile-carousel .product-footer {
    align-self: stretch;
    justify-content: space-between;
    margin-top: auto;
    width: 100%;
  }

  .home-mobile-carousel .product-card.is-carousel-active {
    position: relative;
    z-index: 1;
    transform: scale(1);
    opacity: 1;
    filter: none;
    box-shadow: var(--shadow);
  }

  .home-mobile-carousel .product-card.is-unavailable {
    opacity: 0.68;
    filter: grayscale(1);
  }

  .home-mobile-carousel .product-card.is-unavailable.is-carousel-active {
    opacity: 0.86;
    filter: grayscale(1);
  }

  .home-mobile-carousel [data-mobile-carousel-track]:focus-visible {
    border-radius: 8px;
    outline: 2px solid var(--accent);
    outline-offset: 4px;
  }

  .home-mobile-carousel .carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 22px;
    margin-top: 8px;
  }

  .carousel-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 22px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .carousel-dot::before {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(115, 59, 115, 0.34);
    content: "";
    transition: width 180ms ease, background 180ms ease, opacity 180ms ease;
  }

  .carousel-dot.is-active::before {
    width: 23px;
    background: var(--accent);
  }

  .carousel-dot:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }

  .pattern-catalog-list a {
    margin-inline: -8px;
    padding: 16px 8px;
  }

  .pattern-sort-control,
  .pattern-sort-control select {
    width: 100%;
  }

  .product-copy {
    min-height: auto;
    padding: 16px;
  }

  .product-card h3 {
    font-size: 1.22rem;
  }

  .product-copy p:not(.tag) {
    font-size: 1rem;
    line-height: 1.45;
  }

  .product-footer {
    gap: 10px;
    margin-top: 16px;
  }

  .product-footer span {
    font-size: 1.08rem;
  }

  .product-actions {
    gap: 6px;
  }

  .product-actions .button.small,
  .product-actions .paypal-product-button input[type="submit"],
  .button.small.contact-options-button {
    height: 36px;
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.88rem;
  }

  .patterns-page .product-carousel .product-grid {
    align-items: stretch;
    padding-bottom: 10px;
  }

  .patterns-page .product-carousel .product-card {
    display: flex;
    flex-direction: column;
    height: clamp(430px, 112vw, 456px);
  }

  .patterns-page .product-card > img {
    flex: 0 0 auto;
  }

  .patterns-page .product-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    padding: 14px;
    overflow: hidden;
  }

  .patterns-page .product-copy > .tag {
    margin-bottom: 8px;
    font-size: clamp(0.72rem, 3.35vw, 0.82rem);
    line-height: 1.08;
  }

  .patterns-page .product-card h3 {
    display: -webkit-box;
    font-size: clamp(1.04rem, 4.85vw, 1.22rem);
    line-height: 1.12;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .patterns-page .product-copy p:not(.tag) {
    display: -webkit-box;
    margin-top: 9px;
    font-size: clamp(0.92rem, 4vw, 1rem);
    line-height: 1.28;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .patterns-page .product-footer {
    align-self: stretch;
    flex-wrap: nowrap;
    gap: 6px;
    margin-top: auto;
    width: 100%;
  }

  .patterns-page .product-footer > span {
    flex: 0 0 auto;
    font-size: 1.02rem;
    line-height: 1;
    white-space: nowrap;
  }

  .patterns-page .product-actions {
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
    gap: 5px;
  }

  .patterns-page .product-actions .button.small {
    height: 34px;
    min-height: 34px;
    padding: 0 8px;
    font-size: 0.8rem;
  }

  .finished-goods-page .product-carousel .product-grid {
    align-items: stretch;
    padding-bottom: 10px;
  }

  .finished-goods-page .product-carousel .product-card {
    display: flex;
    flex-direction: column;
    height: clamp(428px, 112vw, 456px);
  }

  .finished-goods-page .product-card > img,
  .finished-goods-page .product-media {
    flex: 0 0 auto;
  }

  .finished-goods-page .product-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    padding: 14px;
    overflow: hidden;
  }

  .finished-goods-page .product-copy > .tag {
    margin-bottom: 8px;
    font-size: clamp(0.72rem, 3.35vw, 0.82rem);
    line-height: 1.08;
  }

  .finished-goods-page .product-card h3 {
    display: -webkit-box;
    font-size: clamp(1.04rem, 4.85vw, 1.22rem);
    line-height: 1.12;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .finished-goods-page .product-copy p:not(.tag) {
    display: -webkit-box;
    margin-top: 9px;
    font-size: clamp(0.92rem, 4vw, 1rem);
    line-height: 1.28;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .finished-goods-page .product-copy p.availability-note {
    -webkit-line-clamp: 3;
  }

  .finished-goods-page .product-copy p.availability-note span {
    display: block;
    margin-top: 0.34em;
  }

  .finished-goods-page .product-smiley {
    display: inline-block;
    margin-left: 0.16em;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
  }

  .finished-goods-page .product-footer {
    align-self: stretch;
    flex-wrap: nowrap;
    gap: 6px;
    margin-top: auto;
    width: 100%;
  }

  .finished-goods-page .product-footer > span {
    flex: 0 0 auto;
    font-size: 1rem;
    line-height: 1;
    white-space: nowrap;
  }

  .finished-goods-page .price-with-unit {
    gap: 0.16em;
  }

  .finished-goods-page .price-with-unit small {
    font-size: 0.68em;
  }

  .finished-goods-page .product-actions {
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
    gap: 4px;
  }

  .finished-goods-page .product-actions .button.small,
  .finished-goods-page .product-actions .paypal-product-button input[type="submit"] {
    height: 34px;
    min-height: 34px;
    padding: 0 7px;
    font-size: 0.8rem;
  }

  .finished-goods-page .product-carousel .product-card.is-unavailable {
    filter: grayscale(1);
    opacity: 0.86;
  }

  .home-mobile-carousel .product-footer {
    gap: 6px;
  }

  .home-mobile-carousel .product-footer > span {
    flex: 0 0 auto;
    min-width: 0;
    text-align: left;
    white-space: nowrap;
  }

  .home-mobile-carousel .product-actions {
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
    gap: 4px;
    margin-left: 0;
  }

  .home-mobile-carousel .product-actions .button.small,
  .home-mobile-carousel .product-actions .paypal-product-button input[type="submit"] {
    height: 35px;
    min-height: 35px;
    padding: 0 8px;
    font-size: 0.84rem;
  }

  .home-mobile-carousel .price-with-unit {
    gap: 0.16em;
  }

  .home-main #finished-goods .home-mobile-carousel .product-footer > span {
    font-size: 1rem;
  }

  .home-main #finished-goods .home-mobile-carousel .price-with-unit small {
    font-size: 0.68em;
  }

  .home-main #finished-goods .home-mobile-carousel .product-actions .button.small,
  .home-main #finished-goods .home-mobile-carousel .product-actions .paypal-product-button input[type="submit"] {
    height: 34px;
    min-height: 34px;
    padding: 0 7px;
    font-size: 0.8rem;
  }

  .home-main #patterns .paid-pattern-card .product-footer {
    gap: 6px;
    flex-wrap: nowrap;
  }

  .home-main #patterns .paid-pattern-card .product-footer > span {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.98rem;
  }

  .home-main #patterns .paid-pattern-card .product-actions {
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
    gap: 4px;
  }

  .home-main #patterns .paid-pattern-card .product-actions .button.small {
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    max-width: none;
    height: 32px;
    min-height: 32px;
    padding: 0 7px;
    font-size: 0.78rem;
    line-height: 1;
    white-space: nowrap;
  }

  .home-main #patterns .paid-pattern-card .product-actions .button.small.ravelry-product-button {
    padding: 0 7px;
    font-size: 0.74rem;
  }

  .process {
    gap: 10px;
    padding-block: 18px 20px;
  }

  .process h2,
  .contact h2 {
    font-size: clamp(1.62rem, 7.4vw, 2.05rem);
    line-height: 1.02;
  }

  .process ol {
    gap: 12px;
  }

  .process li {
    padding: 14px 14px 15px;
    border-left-width: 4px;
    font-size: clamp(0.84rem, 3.7vw, 0.98rem);
    line-height: 1.34;
  }

  .process strong {
    margin-bottom: 4px;
    font-size: 1.12em;
    line-height: 1.12;
  }

  .process-link-button {
    gap: 0.22rem;
  }

  .process-link-button svg {
    width: 0.68em;
    height: 0.68em;
  }

  .contact {
    gap: 12px;
    padding-block: 24px;
  }

  .home-main > .contact {
    padding-top: 18px;
  }

  .home-main > .feedback-cta p:not(.eyebrow) {
    margin-bottom: 0;
  }

  .pattern-support-band,
  .finished-support-band {
    gap: 12px;
    padding-block: 24px;
  }

  .pattern-support-band h2,
  .finished-support-band h2 {
    font-size: clamp(1.62rem, 7.4vw, 2.05rem);
    line-height: 1.02;
  }

  .pattern-support-band p:not(.eyebrow),
  .finished-support-band p:not(.eyebrow) {
    margin-top: 12px;
    font-size: clamp(0.94rem, 4.2vw, 1.02rem);
    line-height: 1.36;
  }

  .highland-amazon-note {
    font-size: clamp(0.86rem, 3.7vw, 0.94rem);
    line-height: 1.36;
  }

  .pattern-support-band .button,
  .finished-support-band .button {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.92rem;
  }

  .contact .eyebrow {
    margin-bottom: 6px;
  }

  .contact p {
    margin-top: 12px;
    font-size: clamp(0.94rem, 4.2vw, 1.02rem);
    line-height: 1.36;
  }

  .contact .button {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.92rem;
  }

  .about-page {
    overflow-x: hidden;
  }

  .about-page .about-image-hero {
    margin-bottom: 6px;
    padding: 12px 18px 0;
  }

  .about-photo-header {
    --about-badge-size: clamp(108px, 31vw, 124px);
    --about-badge-diameter: calc(var(--about-badge-size) - 12px);
    --about-badge-inset: 3px;
    width: 100%;
    max-width: 100%;
    padding-bottom: calc(var(--about-badge-diameter) * 0.46);
  }

  .about-photo-strip {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1.36 / 1;
    gap: 3px;
    padding: 3px;
  }

  .about-hero-photo {
    object-position: center top;
  }

  .about-hero-panel--webby .about-hero-photo {
    object-position: center center;
  }

  .about-ghost-sprite {
    --about-ghost-sprite-size: clamp(46px, 14vw, 60px);
    top: clamp(28px, 8.6vw, 35px);
    left: calc(33.333% - clamp(19px, 5.8vw, 24px));
  }

  .about-page .about-hero-badge {
    border-width: 4px;
  }

  .about-page .story-section,
  .about-page .page-process {
    gap: 8px;
    padding: 30px 18px;
  }

  .about-page .about-image-hero + .story-section {
    padding-top: 18px;
  }

  .about-page .page-process--light {
    gap: 14px;
  }

  .about-page .story-section h2,
  .about-page .page-process h2 {
    margin-bottom: 0;
    font-size: clamp(1.86rem, 8.3vw, 2.28rem);
    line-height: 1.02;
  }

  .about-page .story-section .eyebrow,
  .about-page .page-process .eyebrow {
    margin-bottom: 12px;
  }

  .about-page .story-section h2 {
    font-size: clamp(1.32rem, 7vw, 1.75rem);
    white-space: nowrap;
  }

  .about-title-desktop-break,
  .about-title-mobile-break,
  .about-values-desktop-break {
    display: none;
  }

  .about-values-mobile-break {
    display: initial;
  }

  .about-page .story-copy {
    max-width: none;
  }

  .about-page .story-copy p {
    margin-bottom: 15px;
    font-size: clamp(1rem, 4.35vw, 1.12rem);
    line-height: 1.48;
  }

  .about-page .story-copy p:last-child {
    margin-bottom: 0;
  }

  .about-page .page-process ol {
    gap: 12px;
  }

  .about-page .page-process li {
    padding: 15px 15px 16px;
    font-size: clamp(0.92rem, 4vw, 1rem);
    line-height: 1.4;
  }

  .about-page .page-process--light {
    padding-bottom: 34px;
  }

  .site-footer {
    padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
    font-size: 0.95rem;
  }
}

@media (max-width: 920px) {
  .contact-compose {
    gap: 24px;
  }

  .contact-form {
    justify-self: center;
    width: min(100%, 390px);
  }

  .contact-visual {
    min-height: 350px;
  }
}

@media (max-width: 620px) {
  .contact-compose {
    gap: 22px;
    padding: 16px 18px;
  }

  .contact-form {
    order: 2;
    width: 100%;
    padding: 0;
  }

  .contact-form-heading h1 {
    font-size: clamp(2.15rem, 11vw, 2.8rem);
  }

  .contact-field textarea {
    min-height: 150px;
  }

  .contact-submit {
    width: 100%;
  }

  .contact-visual {
    order: 1;
    min-height: auto;
  }

  .contact-mail-scene {
    --contact-device-width: clamp(260px, 80vw, 330px);
    --contact-envelope-width: clamp(126px, 38vw, 166px);
    --plane-x1: clamp(58px, 18vw, 78px);
    --plane-y1: clamp(-62px, -13vw, -42px);
    --plane-x2: clamp(138px, 42vw, 176px);
    --plane-y2: clamp(0px, 3vw, 12px);
    --plane-x3: clamp(210px, 60vw, 258px);
    --plane-y3: clamp(-84px, -17vw, -56px);
    min-height: 300px;
  }

  .contact-cloud {
    top: 8%;
    right: 4%;
  }

  .contact-badge--globe {
    left: 12%;
  }

  .contact-badge--heart {
    right: 13%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-flight-path-line,
  .contact-sparkle,
  .contact-cloud,
  .contact-paper-plane,
  .contact-plant,
  .contact-envelope-3d,
  .contact-envelope-flap,
  .contact-letter-paper {
    animation: none;
  }

  .contact-paper-plane {
    opacity: 1;
    transform: translate3d(var(--plane-x3), var(--plane-y3), 0) rotate(9deg) scale(0.92);
  }

  .contact-envelope-3d {
    transform: translate3d(-50%, -50%, 0);
  }

  .contact-letter-paper {
    transform: translateY(-30%);
  }

  .contact-envelope-flap {
    transform: translateY(8%) scaleY(0.9);
  }
}

@media (max-width: 340px) {
  .home-main #patterns .paid-pattern-card .product-footer {
    gap: 4px;
  }

  .home-main #patterns .paid-pattern-card .product-footer > span {
    font-size: 0.84rem;
  }

  .home-main #patterns .paid-pattern-card .product-actions {
    gap: 3px;
  }

  .home-main #patterns .paid-pattern-card .product-actions .button.small {
    height: 30px;
    min-height: 30px;
    padding: 0 5px;
    font-size: 0.7rem;
  }

  .home-main #patterns .paid-pattern-card .product-actions .button.small.ravelry-product-button {
    padding: 0 5px;
    font-size: 0.68rem;
  }

  .home-main #finished-goods .home-mobile-carousel .product-footer {
    gap: 4px;
  }

  .home-main #finished-goods .home-mobile-carousel .product-footer > span {
    font-size: 0.9rem;
  }

  .home-main #finished-goods .home-mobile-carousel .product-actions {
    gap: 3px;
  }

  .home-main #finished-goods .home-mobile-carousel .product-actions .button.small,
  .home-main #finished-goods .home-mobile-carousel .product-actions .paypal-product-button input[type="submit"] {
    height: 32px;
    min-height: 32px;
    padding: 0 6px;
    font-size: 0.76rem;
  }
}

@media (min-width: 900px) {
  .patterns-page .product-card:hover .product-footer,
  .patterns-page .product-card:focus-within .product-footer {
    max-height: 92px;
    margin-top: 12px;
    overflow: visible;
  }

  .patterns-page .product-footer {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
  }

  .patterns-page .product-footer > span {
    min-width: 0;
    white-space: nowrap;
    font-size: 0.92rem;
  }

  .patterns-page .product-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-left: 0;
    min-width: 0;
    width: 100%;
  }

  .patterns-page .product-actions .button.small {
    flex: 0 0 74px;
    width: 74px;
    min-width: 74px;
    max-width: 74px;
    height: 32px;
    min-height: 32px;
    padding: 0 6px;
    font-size: 0.78rem;
    line-height: 1;
    white-space: nowrap;
  }

  .patterns-page .product-actions .button.small.ravelry-product-button {
    flex: 0 0 118px;
    width: 118px;
    min-width: 118px;
    max-width: 118px;
    padding: 0 6px;
    font-size: 0.74rem;
    letter-spacing: 0;
  }
}

.patterns-page .paid-pattern-card .product-footer {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

.patterns-page .paid-pattern-card .product-footer > span {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 0.92rem;
}

.patterns-page .paid-pattern-card .product-actions {
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
  gap: 5px;
}

.patterns-page .paid-pattern-card .product-actions .button.small {
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  max-width: none;
  height: 34px;
  min-height: 34px;
  padding: 0 8px;
  font-size: 0.82rem;
  line-height: 1;
  white-space: nowrap;
}

.patterns-page .paid-pattern-card .product-actions .button.small.ravelry-product-button {
  flex-basis: auto;
  width: auto;
  min-width: 0;
  max-width: none;
  padding: 0 8px;
  font-size: 0.8rem;
}

@media (min-width: 900px) {
  .patterns-page .paid-pattern-card .product-footer > span {
    font-size: 0.86rem;
  }

  .patterns-page .paid-pattern-card .product-actions .button.small {
    height: 32px;
    min-height: 32px;
    padding: 0 6px;
    font-size: 0.78rem;
  }

  .patterns-page .paid-pattern-card .product-actions .button.small.ravelry-product-button {
    padding: 0 6px;
    font-size: 0.74rem;
  }
}

@media (min-width: 921px) and (hover: hover) {
  .patterns-page .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) and (hover: hover) {
  .patterns-page .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Contact form port from the FreeFrontEnd/CodePen SVG animation demo. */
.contact-compose {
  grid-template-columns: minmax(420px, 1fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
  border-top: clamp(14px, 1.7vw, 24px) solid var(--paper);
  background: linear-gradient(180deg, #fff, #fffaff);
}

.contact-visual {
  display: grid;
  place-items: center end;
  min-height: clamp(390px, 36vw, 560px);
}

.contact-source-illustration {
  width: min(100%, 660px);
  max-height: 36rem;
  object-fit: contain;
  filter: drop-shadow(0 20px 34px rgba(36, 0, 36, 0.08));
}

.contact-form {
  display: grid;
  justify-self: center;
  gap: 16px;
  width: min(100%, 25rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: "Quicksand", Arial, Helvetica, sans-serif;
}

.contact-form-heading {
  display: grid;
  justify-items: center;
  margin-bottom: 6px;
  padding-bottom: 2px;
}

.contact-form-heading h1 {
  display: grid;
  justify-items: center;
  width: 100%;
  margin: 0;
  color: var(--ink);
  font-family: "Pacifico", "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(2.45rem, 3.4vw, 3.55rem);
  font-weight: 400;
  line-height: 1;
}

.contact-title-art {
  display: block;
  width: min(100%, 25rem);
  height: auto;
}

.contact-field {
  display: grid;
}

.contact-control {
  position: relative;
}

.contact-field-icon {
  position: absolute;
  top: 50%;
  left: 1.5rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  color: var(--accent);
  transform: translateY(-50%);
}

.contact-field-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 0;
  outline: none;
  background-color: #fff7ff;
  color: var(--ink);
  font: inherit;
  font-size: 1.1rem;
  box-shadow: 0 7px 8px rgba(94, 9, 94, 0.12);
  transition: box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.contact-field input {
  min-height: 3.3rem;
  padding: 0.5rem 1.4rem 0.5rem 3.5rem;
  border-radius: 2rem;
}

.contact-field textarea {
  min-height: 12.6rem;
  padding: 1.1rem 1.8rem;
  border-radius: 2rem;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--muted);
  font-family: "Quicksand", Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 1;
}

.contact-field input:focus,
.contact-field textarea:focus {
  background-color: #fff7ff;
  box-shadow: 0 0 0 3px rgba(255, 173, 255, 0.34), 0 8px 10px rgba(94, 9, 94, 0.13);
}

.contact-submit.button.primary {
  justify-self: center;
  width: auto;
  min-width: 13.25rem;
  min-height: 2.5rem;
  margin-top: 2px;
  padding: 0 3rem;
  border: 0;
  border-radius: 3rem;
  background-image: linear-gradient(131deg, #5e095e, #954795, #954795, #ffadff);
  background-size: 300% 100%;
  color: #fff;
  font-family: "Quicksand", Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 2.5rem;
  box-shadow: none;
  cursor: pointer;
  transition: background-size 0.3s ease-in-out, box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.contact-submit.button.primary:hover,
.contact-submit.button.primary:focus-visible {
  background-size: 100% 100%;
  box-shadow: 0 0.5em 0.5em -0.4em rgba(94, 9, 94, 0.58);
  transform: translateY(-0.15em);
}

@media (min-width: 921px) {
  .contact-compose {
    padding-block: clamp(26px, 3.5vw, 48px);
  }

  .contact-title-art {
    transform: translateY(clamp(-12px, calc(8.75px - 1.44vw), -6px));
  }
}

@media (max-width: 920px) {
  .contact-compose {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .contact-form {
    order: 2;
  }

  .contact-visual {
    order: 1;
    place-items: center;
    min-height: 340px;
  }

  .contact-source-illustration {
    width: min(100%, 560px);
    max-height: none;
  }

  .contact-support-hero p.contact-support-copy {
    font-size: clamp(0.86rem, 3.65vw, 0.95rem);
    line-height: 1.38;
  }
}

@media (max-width: 620px) {
  .contact-compose {
    gap: 22px;
    padding: 16px 18px;
  }

  .contact-form {
    order: 2;
    width: 100%;
    gap: 14px;
  }

  .contact-form-heading h1 {
    font-size: clamp(2.25rem, 11vw, 2.95rem);
  }

  .contact-title-art {
    width: min(88%, 19.5rem);
  }

  .contact-field textarea {
    min-height: 11.5rem;
  }

  .contact-submit.button.primary {
    width: min(100%, 13.25rem);
    padding: 0 1.5rem;
  }

  .contact-visual {
    order: 1;
    min-height: auto;
  }

  .contact-support-hero p.contact-support-copy {
    font-size: clamp(0.84rem, 3.35vw, 0.92rem);
    line-height: 1.36;
  }
}
