:root {
    --spred: #C03F46;
    --sprink:#c85bb4;
    --splue: #5168ad;
    --borderW: 2px;
    --num-blobs: 4;
    --dark: #111;
}

html {
    margin: 0;
}

body {
    font-family: "Forum", serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
}

.bg-spred {
  background-color: var(--spred);
}

a {
    color: var(--splue);
}

a:hover {

}

.shirt-buttons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

/* the “placket” (shirt front strip) */
.shirt-buttons::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    #cfcfcf,
    #cfcfcf 4px,
    transparent 4px,
    transparent 10px
  );
  opacity: 0.6;
}

/* each button */
.shirt-buttons li {
  position: relative;
  padding: 10px 16px 10px 48px;
  background: #f7f7f7;
  border-radius: 999px;
  border: 2px solid #d8d8d8;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  width: fit-content;
  max-width: 100%;
}

/* the “button hole + thread” */
.shirt-buttons li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: url("/img/button.png");
  border: 2px solid #999;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}

/* hover = shirt strain / fabric pull */
.shirt-buttons li:hover {
  transform: translateX(6px);
  background: #ffffff;
  border-color: #999;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.shirt-buttons li:hover::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 28px;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    #b0b0b0,
    #b0b0b0 3px,
    transparent 3px,
    transparent 6px
  );
  transform: translateY(-50%);
  opacity: 0.7;
}

.blob-btn {
  z-index: 1;
  position: relative;
  padding: 20px 46px;
  margin-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
  color: white;
  font-size: 16px;
  font-weight: bold;
  background-color: transparent;
  outline: none;
  border: none;
  transition: color 0.5s;
  cursor: pointer;
  border-radius: 30px;
}

/* border layer */
.blob-btn::before {
  content: "";
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: var(--borderW) solid var(--sprink);
  border-radius: 30px;
}

/* background offset layer */
.blob-btn::after {
  content: "";
  z-index: -2;
  position: absolute;
  left: calc(var(--borderW) * 1.5);
  top: calc(var(--borderW) * 1.5);
  width: 100%;
  height: 100%;
  border-radius: 30px;
  transition: all 0.3s 0.2s;
}

/* hover shift */
.blob-btn:hover {
  color: white;
}

.blob-btn:hover::after {
  left: 0;
  top: 0;
  transition: all 0.3s;
}

/* inner white layer */
.blob-btn__inner {
  z-index: -1;
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: var(--splue);
}

/* blob container with goo filter */
.blob-btn__blobs {
  position: relative;
  display: block;
  height: 100%;
  filter: url("#goo");
}

/* base blob style */
.blob-btn__blob {
  position: absolute;
  top: var(--borderW);
  width: 25%; /* 100% / 4 blobs */
  height: 100%;
  background: var(--sprink);
  border-radius: 100%;
  transform: translate3d(0, 150%, 0) scale(1.7);
  transition: transform 0.45s;
}

/* fallback if goo filter exists */
@supports (filter: url("#goo")) {
  .blob-btn__blob {
    transform: translate3d(0, 150%, 0) scale(1.4);
  }
}

/* manual nth-child layout (SCSS loop replacement) */
.blob-btn__blob:nth-child(1) {
  left: 0%;
  transition-delay: 0s;
}

.blob-btn__blob:nth-child(2) {
  left: 30%;
  transition-delay: 0.08s;
}

.blob-btn__blob:nth-child(3) {
  left: 60%;
  transition-delay: 0.16s;
}

.blob-btn__blob:nth-child(4) {
  left: 90%;
  transition-delay: 0.24s;
}

/* hover animation trigger */
.blob-btn:hover .blob-btn__blob {
  transform: translateZ(0) scale(1.7);
}

@supports (filter: url("#goo")) {
  .blob-btn:hover .blob-btn__blob {
    transform: translateZ(0) scale(1.4);
  }
}



@keyframes gradient-flow {
    from {
        background-position: 0% 0%;
    }
    to {
        background-position: 200% 0%;
    }
}

.fabric-seam {
    position: relative;
    height: 0;
    z-index: 100;
}

/* Folded fabric */
.fabric-seam::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;

    top: -1.5rem;
    height: 3rem;

    box-shadow:
        inset 0 8px 8px -8px rgba(0,0,0,0.25),
        inset 0 -8px 8px -8px rgba(0,0,0,0.25);

    z-index: 1;
}

/* Stitching */
.fabric-seam::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;

    border-top: 5px dashed #762024;

    transform: translateY(-50%);
    z-index: 2;
}

.carousel-item {
    position: relative;
    padding: 5rem;
    min-height: 95vh;
    border-radius: 2px;
    overflow: hidden;

    background-color: #c5c5c5;
    background-image:
      linear-gradient(0deg, rgba(255,255,255,0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
      linear-gradient(45deg, rgba(255,255,255,0.03) 1px, transparent 1px),
      linear-gradient(-45deg, rgba(255,255,255,0.03) 1px, transparent 1px);

    background-size:
      4px 4px,
      4px 4px,
      8px 8px,
      8px 8px;

    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,.35),
      inset 0 -8px 12px rgba(0,0,0,.25),
      0 12px 24px rgba(0,0,0,.3);
}

.carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 3rem;
    border-radius: inherit;

    background:
      linear-gradient(
        135deg,
        #ffffff 0%,
        #d7d7d7 15%,
        #a5a5a5 30%,
        #ececec 50%,
        #8d8d8d 70%,
        #f8f8f8 100%
      );

    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;

    pointer-events: none;

    box-shadow:
      /* top edge highlight */
      inset 0 3px 4px rgba(255,255,255,.8),

      /* bottom bevel */
      inset 0 -5px 8px rgba(0,0,0,.35),

      /* left/right metal depth */
      inset 4px 0 4px rgba(255,255,255,.25),
      inset -4px 0 4px rgba(0,0,0,.25);
}

.carousel-item::after {
    content: "";
    position: absolute;

    top: 3rem;
    left: 3rem;
    right: 3rem;
    bottom: 3rem;

    border-radius: 2px;

    box-shadow:
      inset 0 3px 4px rgba(0,0,0,.4),
      inset 0 -2px 2px rgba(255,255,255,.2);

    pointer-events: none;
}

.border-top {
    border-color: var(--spred);
}

.navbtn {
    padding: 3rem;
}

.navbtn:active {
    background-color: var(--spred);
}

.navbtn:hover {
    background-color: var(--spred);
}

.sticky-btn {
  position: sticky;
  bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Section spacing */
.service-section {
    margin: 2.5rem 0;
}

/* Headings */
.service-title {
    margin: 0;
    padding: 1rem 0;
}

/* Lists */
.service-list {
    padding-left: 1rem;
    margin-bottom: 0;
}

.service-list li {
    margin-bottom: 0.25rem;
}

/* Images */
.service-img {
    width: 100%;
    height: auto;
    display: block;
}