html {
  overflow-x: hidden;
}

.craft-page {
  --craft-ink: #18272f;
  --craft-blue: #31556d;
  --craft-blue-deep: #19384b;
  --craft-blue-light: #dce6e9;
  --craft-gold: #c99116;
  --craft-gold-deep: #a66e09;
  --craft-gold-light: #f0dfad;
  --craft-paper: #f8f3ea;
  --craft-paper-bright: #fffdf8;
  --craft-fibre: #d6cdbd;
  --craft-rule: rgba(24, 39, 47, 0.28);
  overflow-x: hidden;
  background: var(--craft-paper);
  color: var(--craft-ink);
  font-family: Arial, Helvetica, sans-serif;
}

.craft-page :focus-visible {
  outline-color: var(--craft-gold-deep);
}

.craft-page .museum-header {
  border-color: var(--craft-rule);
  background: rgba(248, 243, 234, 0.93);
  backdrop-filter: blur(1rem);
}

.craft-page .museum-nav a[aria-current="page"] {
  color: var(--craft-gold-deep);
}

.craft-kicker {
  margin: 0 0 1.25rem;
  color: var(--craft-gold-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.craft-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(20rem, 0.72fr) minmax(32rem, 1.28fr);
  gap: clamp(2.5rem, 7vw, 7.5rem);
  align-items: center;
  width: min(calc(100% - 2rem), 92rem);
  min-height: calc(100svh - 5rem);
  margin-inline: auto;
  padding-block: clamp(4rem, 8vw, 7rem) clamp(6rem, 11vw, 10rem);
}

.craft-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 6%;
  right: 46%;
  width: min(36vw, 34rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 145, 22, 0.18), rgba(201, 145, 22, 0) 70%);
}

.craft-hero__copy {
  position: relative;
  z-index: 4;
}

.craft-hero h1 {
  max-width: none;
  margin: 0;
  color: var(--craft-blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.1rem, 8.6vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.085em;
  line-height: 0.78;
}

.craft-lede {
  max-width: 31rem;
  margin: clamp(2.5rem, 5vw, 4.5rem) 0 0 clamp(0rem, 4vw, 3.5rem);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.1vw, 1.95rem);
  line-height: 1.42;
}

.craft-hero__art {
  position: relative;
  z-index: 2;
  min-width: 0;
  margin: 0;
  transform: rotate(0.7deg);
}

.craft-hero__art::before,
.craft-hero__art::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid var(--craft-rule);
  background: var(--craft-paper-bright);
  box-shadow: 0 1.5rem 3rem rgba(24, 39, 47, 0.08);
}

.craft-hero__art::before {
  inset: 3% -3% -2% 4%;
  transform: rotate(2.5deg);
}

.craft-hero__art::after {
  inset: -2% 4% 3% -3%;
  background: var(--craft-blue-light);
  transform: rotate(-2.3deg);
}

.craft-hero__image-wrap {
  position: relative;
  z-index: 2;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--craft-ink);
  background: var(--craft-paper-bright);
  box-shadow: 0 2rem 5rem rgba(24, 39, 47, 0.16);
}

.craft-hero__image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 3rem rgba(24, 39, 47, 0.05);
}

.craft-hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.craft-hero__art:hover img {
  transform: scale(1.025);
}

.craft-hero__art figcaption {
  position: relative;
  z-index: 3;
  margin-top: 1rem;
  color: rgba(24, 39, 47, 0.67);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.craft-hero__thread {
  position: absolute;
  right: 2%;
  bottom: 3rem;
  left: 2%;
  height: 2rem;
  overflow: hidden;
}

.craft-hero__thread::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  border-top: 0.18rem solid var(--craft-gold);
  border-radius: 50%;
  transform: rotate(-0.6deg);
}

.craft-hero__thread::after {
  content: "";
  position: absolute;
  top: calc(50% - 0.35rem);
  left: 21%;
  width: 0.72rem;
  aspect-ratio: 1;
  border: 0.16rem solid var(--craft-gold);
  border-radius: 50%;
  background: var(--craft-paper);
}

.craft-actions {
  position: relative;
  min-height: 100svh;
  padding: clamp(5rem, 9vw, 9rem) max(1rem, calc((100vw - 92rem) / 2));
  overflow: hidden;
  background: var(--craft-blue-deep);
  color: var(--craft-paper-bright);
}

.craft-actions::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.045) 1px, transparent 1px) 0 0 / 5.5rem 100%,
    linear-gradient(rgba(255, 253, 248, 0.04) 1px, transparent 1px) 0 0 / 100% 5.5rem;
}

.craft-actions__intro {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(10rem, 0.4fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: start;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.craft-actions__intro .craft-kicker {
  color: var(--craft-gold);
}

.craft-actions__intro h2 {
  max-width: 13ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.craft-actions__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2.2rem);
}

.craft-action {
  position: relative;
  display: flex;
  min-height: clamp(27rem, 41vw, 37rem);
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.28);
  color: var(--craft-ink);
  box-shadow: 0 1.2rem 2.7rem rgba(0, 0, 0, 0.14);
  transition: transform 400ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 400ms ease;
}

.craft-action:hover {
  z-index: 3;
  box-shadow: 0 1.8rem 3.5rem rgba(0, 0, 0, 0.2);
  transform: translateY(-0.65rem) rotate(-0.35deg);
}

.craft-action--make {
  background: var(--craft-paper-bright);
  transform: rotate(-0.6deg);
}

.craft-action--ask {
  background: var(--craft-blue-light);
  transform: translateY(1.5rem) rotate(0.55deg);
}

.craft-action--ask:hover {
  transform: translateY(0.85rem) rotate(0deg);
}

.craft-action--share {
  background: var(--craft-gold-light);
  transform: rotate(-0.35deg);
}

.craft-action__shape {
  position: absolute;
  top: 12%;
  right: 8%;
  left: 8%;
  height: 52%;
}

.craft-action__shape i {
  position: absolute;
  display: block;
}

.craft-action--make .craft-action__shape i:nth-child(1) {
  top: 8%;
  left: 8%;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid var(--craft-ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(24, 39, 47, 0.18) 1px, transparent 1.5px) 0 0 / 1.3rem 1.3rem,
    var(--craft-paper);
  transform: rotate(-3deg);
}

.craft-action--make .craft-action__shape i:nth-child(2) {
  right: 7%;
  bottom: 8%;
  width: 43%;
  aspect-ratio: 1;
  background: var(--craft-blue);
  box-shadow: 0.55rem 0.65rem 1.2rem rgba(24, 39, 47, 0.18);
  transform: rotate(4deg);
}

.craft-action--make .craft-action__shape i:nth-child(3) {
  top: 31%;
  right: 2%;
  width: 67%;
  height: 2rem;
  border-top: 0.22rem solid var(--craft-gold);
  border-radius: 50%;
  transform: rotate(16deg);
}

.craft-action--ask .craft-action__shape i:nth-child(1) {
  top: 5%;
  left: 19%;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid var(--craft-ink);
  border-radius: 50%;
  background: var(--craft-paper-bright);
}

.craft-action--ask .craft-action__shape i:nth-child(2) {
  top: 36%;
  left: 47%;
  width: 34%;
  height: 46%;
  border-left: 1px solid var(--craft-ink);
  transform: rotate(24deg);
}

.craft-action--ask .craft-action__shape i:nth-child(3) {
  top: 31%;
  left: 46%;
  width: 1rem;
  aspect-ratio: 1;
  border: 0.19rem solid var(--craft-gold);
  border-radius: 50%;
  background: var(--craft-blue-light);
}

.craft-action--share .craft-action__shape i:nth-child(1),
.craft-action--share .craft-action__shape i:nth-child(2),
.craft-action--share .craft-action__shape i:nth-child(3) {
  top: 20%;
  width: 39%;
  aspect-ratio: 1;
  border: 1px solid var(--craft-ink);
  border-radius: 50%;
}

.craft-action--share .craft-action__shape i:nth-child(1) {
  left: 9%;
  background: rgba(49, 85, 109, 0.66);
}

.craft-action--share .craft-action__shape i:nth-child(2) {
  right: 9%;
  background: rgba(201, 145, 22, 0.62);
}

.craft-action--share .craft-action__shape i:nth-child(3) {
  top: 47%;
  left: 30%;
  background: rgba(255, 253, 248, 0.6);
}

.craft-action h3 {
  position: relative;
  z-index: 2;
  margin: auto 0 0.9rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
}

.craft-action p {
  position: relative;
  z-index: 2;
  max-width: 22rem;
  margin: 0;
  line-height: 1.5;
}

.craft-closing {
  position: relative;
  display: grid;
  grid-template-columns: minmax(22rem, 1fr) minmax(0, 1fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: center;
  width: min(calc(100% - 2rem), 92rem);
  min-height: 96svh;
  margin-inline: auto;
  padding-block: clamp(5rem, 10vw, 9rem);
}

.craft-closing::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -20%;
  bottom: 3%;
  width: min(60vw, 50rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 85, 109, 0.15), rgba(49, 85, 109, 0) 68%);
}

.craft-closing__line {
  position: relative;
  width: min(100%, 38rem);
  aspect-ratio: 1;
}

.craft-closing__line::before,
.craft-closing__line::after {
  content: "";
  position: absolute;
}

.craft-closing__line::before {
  top: 50%;
  left: 4%;
  width: 92%;
  height: 45%;
  border-top: 0.28rem solid var(--craft-gold);
  border-right: 0.28rem solid var(--craft-gold);
  border-radius: 0 100% 0 0;
  transform: rotate(-27deg);
}

.craft-closing__line::after {
  top: 16%;
  left: 14%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid var(--craft-rule);
  border-radius: 50%;
}

.craft-closing__line span {
  position: absolute;
  z-index: 2;
  width: clamp(2.5rem, 6vw, 5.5rem);
  aspect-ratio: 1;
  border: 1px solid var(--craft-ink);
  background: var(--craft-paper-bright);
  box-shadow: 0.45rem 0.55rem 1rem rgba(24, 39, 47, 0.12);
  transform: rotate(5deg);
}

.craft-closing__line span:nth-child(1) { top: 9%; left: 43%; background: var(--craft-blue); }
.craft-closing__line span:nth-child(2) { top: 41%; right: 5%; border-radius: 50%; background: var(--craft-gold-light); }
.craft-closing__line span:nth-child(3) { bottom: 5%; left: 45%; background: var(--craft-paper-bright); }
.craft-closing__line span:nth-child(4) { top: 43%; left: 3%; border-radius: 50%; background: var(--craft-blue-light); }

.craft-closing__copy h2 {
  max-width: 11ch;
  margin: 0 0 2rem;
  color: var(--craft-blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 7.8vw, 7.8rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

.craft-closing__copy > p:not(.craft-kicker) {
  max-width: 32rem;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.craft-closing__copy a {
  display: inline-flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--craft-gold-deep);
  color: var(--craft-gold-deep);
  font-weight: 700;
  text-decoration: none;
}

.craft-closing__copy a span {
  transition: transform 250ms ease;
}

.craft-closing__copy a:hover span {
  transform: translateX(0.35rem);
}

.craft-page .museum-footer {
  background: var(--craft-blue-deep);
}

@media (max-width: 70rem) {
  .craft-hero {
    grid-template-columns: minmax(17rem, 0.76fr) minmax(27rem, 1.24fr);
  }
}

@media (max-width: 56rem) {
  .craft-hero {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    min-height: auto;
    padding-top: 4rem;
  }

  .craft-hero__copy {
    max-width: 44rem;
  }

  .craft-hero__art {
    width: min(92%, 43rem);
    margin-inline: auto;
  }

  .craft-hero__thread {
    bottom: 2rem;
  }

  .craft-actions__grid {
    grid-template-columns: 1fr;
    width: min(100%, 40rem);
    margin-inline: auto;
  }

  .craft-action {
    min-height: 31rem;
  }

  .craft-action--ask {
    transform: rotate(0.55deg);
  }

  .craft-action--ask:hover {
    transform: translateY(-0.65rem) rotate(0deg);
  }

  .craft-closing {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .craft-closing__line {
    width: min(80vw, 35rem);
  }
}

@media (max-width: 40rem) {
  .craft-hero,
  .craft-closing {
    width: min(calc(100% - 1.25rem), 92rem);
  }

  .craft-hero h1 {
    font-size: clamp(3.8rem, 18.5vw, 6rem);
  }

  .craft-lede {
    margin-top: 2rem;
    font-size: 1.2rem;
  }

  .craft-hero__art {
    width: calc(100% - 1rem);
  }

  .craft-hero__art::before {
    inset: 2% -2% -1% 3%;
  }

  .craft-hero__art::after {
    inset: -1% 3% 2% -2%;
  }

  .craft-hero__art figcaption {
    font-size: 0.68rem;
  }

  .craft-actions {
    padding-inline: 0.625rem;
  }

  .craft-actions__intro {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .craft-actions__intro h2,
  .craft-closing__copy h2 {
    font-size: clamp(3.5rem, 17vw, 5.6rem);
  }

  .craft-action {
    min-height: 29rem;
    padding: 1.4rem;
  }

  .craft-closing__line {
    width: min(88vw, 32rem);
  }
}

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

/* The wide worktable leads; the earlier thread study becomes a small pinned note. */
.craft-hero__image-wrap {
  aspect-ratio: 1.58;
  border-radius: 0.35rem 3.5rem 0.35rem 0.35rem;
}

.craft-hero__image-wrap img {
  object-position: center;
}

.craft-hero__memory {
  position: absolute;
  z-index: 6;
  right: -1.2rem;
  bottom: clamp(3.5rem, 6vw, 6.5rem);
  width: clamp(8rem, 14vw, 13rem);
  aspect-ratio: 1;
  margin: 0;
  padding: 0.45rem;
  border: 1px solid rgba(24, 39, 47, 0.25);
  background: var(--craft-paper-bright);
  box-shadow: 0.8rem 1rem 2.2rem rgba(24, 39, 47, 0.2);
  transform: rotate(5deg);
}

.craft-hero__memory::before {
  position: absolute;
  z-index: 2;
  top: -0.65rem;
  left: 35%;
  width: 34%;
  height: 1.5rem;
  background: rgba(240, 223, 173, 0.82);
  content: "";
  transform: rotate(-3deg);
}

.craft-hero__memory img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 56rem) {
  .craft-hero__memory {
    right: 1rem;
    bottom: 3.4rem;
    width: clamp(7rem, 22vw, 11rem);
  }
}

@media (max-width: 40rem) {
  .craft-hero__image-wrap {
    aspect-ratio: 0.95;
  }

  .craft-hero__image-wrap img {
    object-position: 66% center;
  }

  .craft-hero__memory {
    right: 0.2rem;
    bottom: 3rem;
    width: 7.5rem;
  }
}

@media (prefers-contrast: more) {
  .craft-page {
    --craft-ink: #000;
    --craft-blue: #17455f;
    --craft-blue-deep: #082d42;
    --craft-gold-deep: #7b5100;
    --craft-rule: #000;
  }

  .craft-hero__image-wrap,
  .craft-action,
  .craft-closing__line span {
    border-width: 2px;
  }
}

@media print {
  .craft-hero,
  .craft-actions,
  .craft-closing {
    min-height: auto;
    break-inside: avoid;
  }

  .craft-hero__art,
  .craft-action,
  .craft-closing__line span {
    box-shadow: none;
  }
}

/* Tactile details: the page should feel assembled by warm, capable hands. */
.craft-page {
  background:
    radial-gradient(circle at 10% 18%, rgba(201, 145, 22, 0.13), transparent 25rem),
    radial-gradient(circle at 88% 8%, rgba(49, 85, 109, 0.12), transparent 28rem),
    repeating-linear-gradient(116deg, transparent 0 4.9rem, rgba(24, 39, 47, 0.018) 4.9rem 5rem),
    var(--craft-paper);
}

.craft-page .museum-header {
  box-shadow: 0 0.75rem 2.5rem rgba(25, 56, 75, 0.06);
}

.craft-page .museum-nav a[aria-current="page"] {
  position: relative;
  text-decoration: none;
}

.craft-page .museum-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0.28rem;
  bottom: 0.42rem;
  left: 0.28rem;
  height: 0.32rem;
  border-radius: 60% 40% 55% 45%;
  background: var(--craft-gold);
  transform: rotate(-1.8deg);
}

.craft-hero {
  isolation: isolate;
}

.craft-hero::after {
  content: "";
  position: absolute;
  z-index: -3;
  top: 5%;
  right: -6%;
  width: min(63vw, 59rem);
  aspect-ratio: 1.12;
  background:
    linear-gradient(90deg, rgba(49, 85, 109, 0.045) 1px, transparent 1px) 0 0 / 1.5rem 100%,
    linear-gradient(rgba(49, 85, 109, 0.04) 1px, transparent 1px) 0 0 / 100% 1.5rem,
    var(--craft-blue-light);
  clip-path: polygon(3% 8%, 93% 0, 100% 92%, 8% 100%);
  transform: rotate(1.2deg);
}

.craft-hero__copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -3.5rem;
  left: -3rem;
  width: 8rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--craft-paper-bright) 0 12%, transparent 13%),
    conic-gradient(from 0deg, var(--craft-gold-light) 0 12.5%, var(--craft-paper-bright) 12.5% 25%, var(--craft-gold-light) 25% 37.5%, var(--craft-paper-bright) 37.5% 50%, var(--craft-gold-light) 50% 62.5%, var(--craft-paper-bright) 62.5% 75%, var(--craft-gold-light) 75% 87.5%, var(--craft-paper-bright) 87.5%);
  box-shadow: 0.5rem 0.65rem 0 rgba(25, 56, 75, 0.06);
  opacity: 0.9;
  transform: rotate(8deg);
}

.craft-hero h1 {
  text-shadow: 0.035em 0.045em 0 rgba(201, 145, 22, 0.18);
}

.craft-hero__notions {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.craft-notion {
  position: absolute;
  display: block;
}

.craft-notion--button {
  top: 14%;
  left: 40%;
  width: 3.8rem;
  aspect-ratio: 1;
  border: 0.15rem solid var(--craft-blue-deep);
  border-radius: 50%;
  background:
    radial-gradient(circle at 37% 37%, var(--craft-blue-deep) 0 0.17rem, transparent 0.19rem),
    radial-gradient(circle at 63% 37%, var(--craft-blue-deep) 0 0.17rem, transparent 0.19rem),
    radial-gradient(circle at 37% 63%, var(--craft-blue-deep) 0 0.17rem, transparent 0.19rem),
    radial-gradient(circle at 63% 63%, var(--craft-blue-deep) 0 0.17rem, transparent 0.19rem),
    var(--craft-gold-light);
  box-shadow: 0.4rem 0.5rem 0 rgba(25, 56, 75, 0.09);
  transform: rotate(-10deg);
  animation: craft-button-wobble 8s ease-in-out infinite;
}

.craft-notion--thimble {
  right: -0.5%;
  bottom: 18%;
  width: 3.4rem;
  height: 4rem;
  border: 0.14rem solid var(--craft-blue-deep);
  border-radius: 48% 48% 18% 18%;
  background:
    radial-gradient(circle at 1px 1px, rgba(25, 56, 75, 0.45) 1px, transparent 1.3px) 0 0 / 0.58rem 0.58rem,
    var(--craft-paper-bright);
  transform: rotate(14deg);
}

.craft-notion--needle {
  top: 17%;
  right: 2%;
  width: 8rem;
  height: 0.13rem;
  border-radius: 50%;
  background: var(--craft-blue-deep);
  box-shadow: 0 0.08rem 0 rgba(255, 255, 255, 0.7);
  transform: rotate(38deg);
}

.craft-notion--needle::before {
  content: "";
  position: absolute;
  top: -0.32rem;
  left: 0;
  width: 0.8rem;
  height: 0.55rem;
  border: 0.11rem solid var(--craft-blue-deep);
  border-radius: 50%;
}

.craft-notion--crosses {
  bottom: 9%;
  left: 40%;
  width: 6rem;
  height: 4rem;
  opacity: 0.55;
  background:
    linear-gradient(45deg, transparent 44%, var(--craft-gold) 45% 55%, transparent 56%) 0 0 / 1.4rem 1.4rem,
    linear-gradient(-45deg, transparent 44%, var(--craft-gold) 45% 55%, transparent 56%) 0 0 / 1.4rem 1.4rem;
  transform: rotate(-7deg);
}

.craft-hero__art {
  filter: drop-shadow(0 2rem 2rem rgba(25, 56, 75, 0.11));
}

.craft-hero__art::before,
.craft-hero__art::after {
  border-radius: 0.2rem 0.7rem 0.25rem 0.45rem;
}

.craft-hero__art::before {
  background:
    radial-gradient(circle at 1px 1px, rgba(25, 56, 75, 0.12) 1px, transparent 1.4px) 0 0 / 1.1rem 1.1rem,
    var(--craft-paper-bright);
}

.craft-hero__art::after {
  background:
    repeating-linear-gradient(90deg, transparent 0 0.7rem, rgba(49, 85, 109, 0.11) 0.7rem 0.78rem),
    var(--craft-blue-light);
}

.craft-hero__image-wrap {
  border-radius: 0.2rem 0.65rem 0.25rem 0.4rem;
  box-shadow:
    0.45rem 0.5rem 0 rgba(201, 145, 22, 0.14),
    0 2.5rem 5rem rgba(24, 39, 47, 0.17);
}

.craft-hero__image-wrap::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0.75rem;
  border: 1px dashed rgba(25, 56, 75, 0.22);
  pointer-events: none;
}

.craft-tape {
  position: absolute;
  z-index: 6;
  width: 22%;
  height: 8%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.2) 0 0.7rem, transparent 0.7rem 1.3rem),
    rgba(240, 223, 173, 0.88);
  box-shadow: 0 0.18rem 0.35rem rgba(25, 56, 75, 0.12);
  clip-path: polygon(3% 3%, 97% 0, 100% 88%, 2% 100%);
}

.craft-tape--left {
  top: -1%;
  left: 8%;
  transform: rotate(-7deg);
}

.craft-tape--right {
  right: 8%;
  bottom: 4%;
  transform: rotate(5deg);
}

.craft-hero__pin {
  position: absolute;
  z-index: 7;
  top: 3%;
  right: 3%;
  width: 1.1rem;
  aspect-ratio: 1;
  border: 0.15rem solid rgba(25, 56, 75, 0.45);
  border-radius: 50%;
  background: var(--craft-gold);
  box-shadow: 0.18rem 0.25rem 0.35rem rgba(25, 56, 75, 0.25);
}

.craft-hero__thread {
  height: 4rem;
}

.craft-hero__thread::before {
  top: 44%;
  height: 2rem;
  border-width: 0.2rem;
  border-right: 0.2rem solid var(--craft-gold);
  border-bottom: 0.2rem solid var(--craft-gold);
  border-radius: 0 50% 50% 50%;
  animation: craft-thread-breathe 8s ease-in-out infinite;
}

.craft-hero__thread::after {
  box-shadow:
    22vw 0.18rem 0 -0.12rem var(--craft-gold),
    50vw -0.08rem 0 -0.12rem var(--craft-gold);
}

.craft-actions {
  background:
    radial-gradient(circle at 12% 20%, rgba(201, 145, 22, 0.17), transparent 21rem),
    linear-gradient(45deg, rgba(255, 253, 248, 0.025) 25%, transparent 25%, transparent 75%, rgba(255, 253, 248, 0.025) 75%) 0 0 / 2.4rem 2.4rem,
    linear-gradient(-45deg, rgba(255, 253, 248, 0.025) 25%, transparent 25%, transparent 75%, rgba(255, 253, 248, 0.025) 75%) 0 0 / 2.4rem 2.4rem,
    var(--craft-blue-deep);
}

.craft-actions::after {
  content: "";
  position: absolute;
  inset: 1.2rem;
  border: 1px dashed rgba(240, 223, 173, 0.22);
  pointer-events: none;
}

.craft-actions__garland {
  position: absolute;
  z-index: 1;
  top: clamp(17rem, 27vw, 25rem);
  right: -2%;
  left: -2%;
  height: 7rem;
  pointer-events: none;
  transform: rotate(-2deg);
}

.craft-actions__garland::before {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 0.17rem solid rgba(201, 145, 22, 0.65);
  border-radius: 50%;
}

.craft-actions__garland span {
  position: absolute;
  bottom: -0.8rem;
  width: 1.5rem;
  aspect-ratio: 1;
  border: 0.12rem solid var(--craft-gold-light);
  border-radius: 50%;
  background: var(--craft-blue-deep);
  box-shadow: 0 0 0 0.3rem rgba(201, 145, 22, 0.1);
}

.craft-actions__garland span:nth-child(1) { left: 8%; bottom: 1.1rem; }
.craft-actions__garland span:nth-child(2) { left: 28%; bottom: -0.25rem; width: 0.8rem; }
.craft-actions__garland span:nth-child(3) { left: 50%; bottom: -0.9rem; width: 1.9rem; background: var(--craft-gold); }
.craft-actions__garland span:nth-child(4) { right: 28%; bottom: -0.1rem; width: 0.95rem; }
.craft-actions__garland span:nth-child(5) { right: 8%; bottom: 1.7rem; width: 1.35rem; background: var(--craft-paper-bright); }

.craft-action {
  border: 0;
  border-radius: 0.2rem 0.8rem 0.25rem 0.55rem;
  box-shadow:
    0.45rem 0.55rem 0 rgba(201, 145, 22, 0.17),
    1rem 1.2rem 0 rgba(0, 0, 0, 0.08),
    0 1.8rem 3.5rem rgba(0, 0, 0, 0.17);
}

.craft-action::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0.75rem;
  border: 1px dashed rgba(24, 39, 47, 0.28);
  border-radius: 0.15rem 0.55rem 0.2rem 0.4rem;
  pointer-events: none;
}

.craft-action::after {
  content: "";
  position: absolute;
  top: 1.45rem;
  right: 1.45rem;
  width: 1.8rem;
  aspect-ratio: 1;
  border: 1px solid rgba(24, 39, 47, 0.38);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 38%, currentColor 0 0.09rem, transparent 0.11rem),
    radial-gradient(circle at 62% 38%, currentColor 0 0.09rem, transparent 0.11rem),
    radial-gradient(circle at 38% 62%, currentColor 0 0.09rem, transparent 0.11rem),
    radial-gradient(circle at 62% 62%, currentColor 0 0.09rem, transparent 0.11rem),
    rgba(255, 253, 248, 0.5);
  opacity: 0.6;
}

.craft-action__tape {
  position: absolute;
  z-index: 4;
  top: -0.8rem;
  left: 34%;
  width: 32%;
  height: 3.4rem;
  background: rgba(240, 223, 173, 0.78);
  box-shadow: 0 0.15rem 0.35rem rgba(24, 39, 47, 0.12);
  clip-path: polygon(2% 7%, 98% 0, 100% 91%, 0 100%);
  transform: rotate(-2deg);
}

.craft-action--ask .craft-action__tape {
  background: rgba(255, 253, 248, 0.72);
  transform: rotate(2.5deg);
}

.craft-action--share .craft-action__tape {
  background: rgba(220, 230, 233, 0.76);
  transform: rotate(-1deg);
}

.craft-action--make {
  background:
    radial-gradient(circle at 1px 1px, rgba(24, 39, 47, 0.055) 1px, transparent 1.3px) 0 0 / 1.2rem 1.2rem,
    var(--craft-paper-bright);
}

.craft-action--ask {
  background:
    repeating-linear-gradient(90deg, transparent 0 1.6rem, rgba(49, 85, 109, 0.055) 1.6rem 1.68rem),
    var(--craft-blue-light);
}

.craft-action--share {
  background:
    linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.15) 75%) 0 0 / 1.2rem 1.2rem,
    var(--craft-gold-light);
}

.craft-action__shape {
  filter: drop-shadow(0.5rem 0.6rem 0.5rem rgba(24, 39, 47, 0.11));
}

.craft-action--make .craft-action__shape i:nth-child(1) {
  border-radius: 0.2rem 0.65rem 0.15rem 0.45rem;
  box-shadow: 0.4rem 0.5rem 0 rgba(201, 145, 22, 0.14);
}

.craft-action--make .craft-action__shape i:nth-child(2) {
  border-radius: 0.2rem 0.6rem 0.2rem 0.35rem;
}

.craft-action--ask .craft-action__shape i:nth-child(1) {
  box-shadow:
    0 0 0 0.55rem rgba(255, 253, 248, 0.52),
    0.6rem 0.7rem 0 rgba(25, 56, 75, 0.09);
}

.craft-action--ask .craft-action__shape::after {
  content: "?";
  position: absolute;
  top: 13%;
  left: 37%;
  color: rgba(25, 56, 75, 0.17);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(7rem, 13vw, 12rem);
  font-style: italic;
  line-height: 1;
}

.craft-action--share .craft-action__shape i {
  box-shadow: inset 0 0 0 0.55rem rgba(255, 253, 248, 0.15);
}

.craft-action--share .craft-action__shape::after {
  content: "";
  position: absolute;
  top: 13%;
  right: 9%;
  width: 30%;
  aspect-ratio: 1;
  border: 0.15rem dashed rgba(24, 39, 47, 0.42);
  border-radius: 50%;
}

.craft-closing {
  isolation: isolate;
}

.craft-closing::after {
  content: "";
  position: absolute;
  z-index: -2;
  top: 12%;
  left: -13%;
  width: min(48vw, 40rem);
  aspect-ratio: 1;
  border-radius: 47% 53% 42% 58%;
  background:
    linear-gradient(90deg, rgba(49, 85, 109, 0.06) 1px, transparent 1px) 0 0 / 1.3rem 100%,
    linear-gradient(rgba(49, 85, 109, 0.05) 1px, transparent 1px) 0 0 / 100% 1.3rem,
    var(--craft-blue-light);
  transform: rotate(-9deg);
}

.craft-closing__line::after {
  background:
    radial-gradient(circle at 1px 1px, rgba(25, 56, 75, 0.1) 1px, transparent 1.3px) 0 0 / 1.2rem 1.2rem,
    rgba(255, 253, 248, 0.6);
  box-shadow:
    0 0 0 0.8rem rgba(255, 253, 248, 0.45),
    0.7rem 0.9rem 0 rgba(25, 56, 75, 0.07);
}

.craft-closing__line span {
  border-radius: 0.2rem 0.6rem 0.2rem 0.45rem;
  box-shadow:
    0.35rem 0.45rem 0 rgba(201, 145, 22, 0.14),
    0.6rem 0.7rem 1.1rem rgba(24, 39, 47, 0.1);
}

.craft-closing__line span::before,
.craft-closing__line span::after {
  content: "";
  position: absolute;
  top: 45%;
  left: 18%;
  width: 64%;
  height: 1px;
  background: rgba(24, 39, 47, 0.38);
  transform: rotate(45deg);
}

.craft-closing__line span::after { transform: rotate(-45deg); }

.craft-closing__flower {
  position: absolute;
  z-index: 5;
  top: 4%;
  right: 8%;
  width: 5.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--craft-blue-deep) 0 12%, transparent 13%),
    conic-gradient(from 22deg, var(--craft-gold) 0 12%, transparent 12% 20%, var(--craft-gold) 20% 32%, transparent 32% 40%, var(--craft-gold) 40% 52%, transparent 52% 60%, var(--craft-gold) 60% 72%, transparent 72% 80%, var(--craft-gold) 80% 92%, transparent 92%);
  filter: drop-shadow(0.35rem 0.45rem 0 rgba(25, 56, 75, 0.1));
  animation: craft-flower-turn 18s linear infinite;
}

.craft-closing__spool {
  position: absolute;
  z-index: 5;
  bottom: 5%;
  left: 12%;
  width: 4rem;
  height: 5.5rem;
  border-top: 0.65rem solid var(--craft-blue-deep);
  border-bottom: 0.65rem solid var(--craft-blue-deep);
  background: repeating-linear-gradient(0deg, var(--craft-gold) 0 0.22rem, var(--craft-gold-light) 0.22rem 0.43rem);
  box-shadow: 0.35rem 0.45rem 0 rgba(25, 56, 75, 0.08);
  transform: rotate(-8deg);
}

.craft-closing__needle {
  position: absolute;
  z-index: 5;
  right: 12%;
  bottom: 12%;
  width: 8rem;
  height: 0.16rem;
  border-radius: 50%;
  background: var(--craft-blue-deep);
  transform: rotate(-26deg);
}

.craft-closing__needle::before {
  content: "";
  position: absolute;
  top: -0.3rem;
  left: 0;
  width: 0.8rem;
  height: 0.55rem;
  border: 0.11rem solid var(--craft-blue-deep);
  border-radius: 50%;
}

@keyframes craft-button-wobble {
  0%, 100% { transform: rotate(-10deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-0.35rem); }
}

@keyframes craft-thread-breathe {
  0%, 100% { transform: rotate(-0.6deg) scaleY(1); }
  50% { transform: rotate(0.2deg) scaleY(1.16); }
}

@keyframes craft-flower-turn {
  to { transform: rotate(360deg); }
}

@media (max-width: 56rem) {
  .craft-hero::after {
    top: 31%;
    right: -7%;
    width: 90%;
  }

  .craft-notion--button { top: 43%; left: 3%; }
  .craft-notion--needle { top: 45%; right: 1%; }
  .craft-notion--thimble { right: 2%; bottom: 10%; }
  .craft-notion--crosses { bottom: 5%; left: 4%; }

  .craft-actions__garland {
    top: 24rem;
    height: 82%;
    transform: rotate(0);
  }

  .craft-actions__garland::before {
    right: auto;
    left: 50%;
    width: 2rem;
    border-right: 0.17rem solid rgba(201, 145, 22, 0.55);
    border-bottom: 0;
  }

  .craft-actions__garland span { display: none; }

  .craft-closing::after {
    top: 5%;
    left: -20%;
    width: 33rem;
  }
}

@media (max-width: 40rem) {
  .craft-hero__copy::before {
    top: -2.2rem;
    left: -1.5rem;
    width: 5.5rem;
  }

  .craft-notion--button { width: 2.8rem; }
  .craft-notion--needle { width: 5rem; }
  .craft-notion--thimble { width: 2.6rem; height: 3.1rem; }
  .craft-notion--crosses { width: 4.5rem; }

  .craft-actions::after { inset: 0.45rem; }

  .craft-action {
    box-shadow:
      0.3rem 0.4rem 0 rgba(201, 145, 22, 0.17),
      0.65rem 0.8rem 0 rgba(0, 0, 0, 0.08),
      0 1.2rem 2.5rem rgba(0, 0, 0, 0.15);
  }

  .craft-closing__flower { width: 4rem; }
  .craft-closing__spool { width: 3rem; height: 4rem; }
  .craft-closing__needle { width: 5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .craft-page *,
  .craft-page *::before,
  .craft-page *::after {
    animation: none !important;
    transition: none !important;
  }
}
