/* ---------- Nav ---------- */
header.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.05rem 0;
  transition: padding .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease), transform .55s var(--ease)
}

header.nav.hide {
  transform: translateY(-110%)
}

.nav-inner {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3.25rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem
}

header.nav.solid {
  background: rgba(250, 247, 242, .86);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(185, 165, 217, .4), var(--shadow-sm);
  padding-block: .5rem
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem
}

.brand svg {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  transition: transform .6s var(--ease)
}

.brand:hover svg {
  transform: rotate(-6deg) scale(1.05)
}

.brand .bname {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .14em;
  color: var(--indigo);
  line-height: 1;
  transition: color .4s var(--ease)
}

.brand:hover .bname {
  color: var(--violet)
}

.brand .bsub {
  font-family: var(--sans);
  font-size: .56rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--violet)
}

nav.links {
  display: flex;
  align-items: center;
  gap: 1.7rem
}

nav.links a {
  position: relative;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 400;
  padding: .2rem 0
}

nav.links a.plain::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 1.5px;
  width: 0;
  background: linear-gradient(90deg, var(--violet), var(--slate));
  transition: width .4s var(--ease)
}

nav.links a.plain:hover {
  color: var(--violet)
}

nav.links a.plain:hover::after {
  width: 100%
}

nav.links a.plain.active {
  color: var(--violet)
}

nav.links a.plain.active::after {
  width: 100%
}

.nav-cta {
  margin-left: .2rem
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: .4rem
}

.burger span {
  width: 26px;
  height: 2px;
  background: var(--indigo);
  border-radius: 2px;
  transition: .4s var(--ease)
}

/* ---------- Footer ---------- */
footer {
  background: linear-gradient(180deg, #f4eee7, #ece3f2);
  padding: 4.5rem 0 2rem;
  position: relative;
  overflow: hidden
}

.footer-tag {
  text-align: center;
  margin-bottom: 2.6rem
}

.footer-tag .strokes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: .4rem
}

.footer-tag .brush {
  height: 12px;
  border-radius: 20px;
  filter: blur(.3px)
}

.footer-tag .brush.l {
  width: 170px;
  background: linear-gradient(90deg, transparent, var(--lavender) 40%, #9a89c4)
}

.footer-tag .brush.r {
  width: 130px;
  background: linear-gradient(90deg, #9fb0d0, transparent)
}

.footer-tag .heart {
  color: var(--violet);
  font-size: 1.4rem
}

.footer-tag .line {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  color: var(--indigo);
  letter-spacing: .01em
}

.footer-tag .line .forme {
  font-family: var(--script-2);
  color: var(--violet);
  font-size: clamp(2.4rem, 5.6vw, 3.9rem);
  vertical-align: -.08em;
  margin-left: .2rem;
  display: inline-block;
  transition: transform .5s var(--ease)
}

.footer-tag:hover .line .forme {
  transform: translateY(-3px) rotate(-3deg)
}

.footer-tag .underbrush {
  width: 220px;
  height: 10px;
  margin: .6rem auto 0;
  border-radius: 20px;
  background: linear-gradient(90deg, transparent, var(--sage) 40%, var(--sage-deep), transparent)
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.2rem;
  padding-top: 2.6rem;
  border-top: 1px solid rgba(185, 165, 217, .5)
}

.footer-cols .fbrand {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  max-width: 32ch
}

.footer-cols .fbrand p.pull {
    margin: 0;
}

.footer-cols .fbrand .row {
  display: flex;
  align-items: center;
  gap: .7rem
}

.footer-cols p {
  color: var(--ink-soft);
  font-size: .92rem
}

.footer-cols h5 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .74rem;
  color: var(--violet);
  margin-bottom: 1rem
}

.footer-cols ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem
}

.footer-cols ul a {
  font-size: .92rem;
  color: var(--ink);
  position: relative;
  width: fit-content;
  transition: color .3s var(--ease), padding .3s var(--ease)
}

.footer-cols ul a::before {
  content: "→";
  position: absolute;
  left: -18px;
  opacity: 0;
  color: var(--violet);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  transform: translateX(-4px)
}

.footer-cols ul a:hover {
  color: var(--violet);
  padding-left: 4px
}

.footer-cols ul a:hover::before {
  opacity: 1;
  transform: none
}

.socials {
  display: flex;
  gap: .7rem;
  margin-top: .4rem
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--violet);
  transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease)
}

.socials a:hover {
  transform: translateY(-4px);
  background: var(--violet);
  color: #fff
}

.socials svg {
  width: 18px;
  height: 18px
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(185, 165, 217, .5);
  font-size: .8rem;
  color: var(--ink-soft)
}

.copyright a {
  color: var(--violet)
}

@media(max-width:960px) {
  nav.links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 340px);
    background: rgba(250, 247, 242, .97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 1.4rem;
    transform: translateX(100%);
    transition: transform .5s var(--ease);
    box-shadow: var(--shadow-lg);
    z-index: 99;
    padding: 2rem
  }

  nav.links.open {
    transform: none
  }

  nav.links a {
    font-size: 1rem
  }

  .burger {
    display: flex;
    z-index: 100
  }

  .burger.x span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
  }

  .burger.x span:nth-child(2) {
    opacity: 0
  }

  .burger.x span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
  }

  /* ---------- Footer ---------- */
    .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 2rem
  }

}

@media(max-width:600px) {
  .nav-cta {
    display: none
  }

  /* ---------- Footer ---------- */
    .footer-cols {
    grid-template-columns: 1fr;
    text-align: center
  }

  .footer-cols .fbrand {
    margin-inline: auto;
    align-items: center
  }

  .footer-cols ul {
    align-items: center
  }

  .socials {
    justify-content: center
  }
}

