:root {
  --paper: #f7ebe6;
  --cream: #fffaf6;
  --rose: #e3b5b5;
  --dust: #b9707a;
  --ink: #5a3239;
  --line: #ecd0cd
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  color: var(--ink);
  font: 17px/32px Kalam, "Segoe Print", cursive;
  background: var(--paper) repeating-linear-gradient(transparent 0 31px, var(--line) 31px 32px)
}

body:before {
  content: "";
  position: fixed;
  left: 44px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #dfa3a3;
  opacity: .6;
  z-index: -1
}

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

a {
  color: var(--dust)
}

h1,
h2,
h3 {
  font-family: Caveat, cursive;
  line-height: 1.1;
  margin: 0 0 16px;
  font-weight: 700
}

h1 {
  font-size: 3.4rem
}

h2 {
  font-size: 2.5rem
}

h3 {
  font-size: 1.9rem
}

p {
  margin: 0 0 32px
}

header {
  padding: 22px 20px 8px 64px;
  border-bottom: 2px dashed var(--dust);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 5
}

.top {
  position: relative;
  display: flex;
  justify-content: center;
  max-width: 1040px;
  margin: auto
}

.logo {
  font: 700 2.3rem Caveat, cursive;
  color: var(--ink);
  text-decoration: none;
  line-height: 1
}

.c1 {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  left: -22px
}

.lgl {
  display: block;
  line-height: 0
}

.tx {
  display: flex;
  flex-direction: column;
  align-items: flex-start
}

.logo {
  font: 700 2.3rem Caveat, cursive;
  color: var(--ink);
  text-decoration: none;
  line-height: 1
}

.lg {
  display: block;
  height: 76px;
  animation: gl 6.5s forwards
}

.lg img {
  display: block;
  height: 100%;
  width: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 40%, transparent 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 40%, transparent 60%, transparent 100%);
  -webkit-mask-size: 100% 250%;
  mask-size: 100% 250%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  animation: rv 6.5s forwards
}

@keyframes rv {
  0% {
    -webkit-mask-position: 0 100%;
    mask-position: 0 100%;
    animation-timing-function: ease-in-out
  }
  76.92%,
  100% {
    -webkit-mask-position: 0 0;
    mask-position: 0 0
  }
}

@keyframes gl {
  0%,
  76.92% {
    filter: drop-shadow(0 0 0 rgba(217, 150, 160, 0)) drop-shadow(0 0 0 rgba(217, 150, 160, 0));
    animation-timing-function: ease-in-out
  }
  100% {
    filter: drop-shadow(0 0 5px rgba(217, 150, 160, .95)) drop-shadow(0 0 14px rgba(201, 124, 138, .7))
  }
}

.logo>span:last-child {
  animation: tg 6.5s forwards
}

@keyframes tg {
  0%,
  76.92% {
    text-shadow: 0 0 0 rgba(217, 150, 160, 0), 0 0 0 rgba(217, 150, 160, 0);
    animation-timing-function: ease-in-out
  }
  100% {
    text-shadow: 0 0 5px rgba(217, 150, 160, .95), 0 0 14px rgba(201, 124, 138, .7)
  }
}

.tag {
  display: block;
  font: 1.25rem/1.1 Caveat, cursive;
  color: var(--dust);
  margin-top: 4px
}

nav {
  max-width: 1040px;
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  left: -22px;
  gap: 2px 6px;
  font: 1.35rem/1.6 Caveat, cursive
}

nav a,
nav li>a {
  color: var(--ink);
  text-decoration: none;
  padding: 0 10px;
  border-radius: 12px 4px 14px 4px
}

nav a:hover,
nav a.is-active {
  background: var(--rose)
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 6px
}

.navlinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 6px
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  padding: 8px 9px;
  border: 2px solid var(--ink);
  border-radius: 10px 4px 10px 4px;
  background: var(--cream);
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px
}

nav li {
  position: relative
}

nav li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  flex-direction: column;
  background: var(--cream);
  border: 2px solid var(--ink);
  padding: 6px;
  border-radius: 12px 4px 12px 4px;
  z-index: 9;
  width: max-content
}

nav li:hover ul,
nav li:focus-within ul {
  display: flex
}

.lang {
  margin-left: auto;
  white-space: nowrap;
  font: 1.2rem Caveat;
  flex-shrink: 0
}

header .top {
  max-height: 120px;
  opacity: 1;
  overflow: hidden;
  transition: max-height .25s ease, opacity .2s ease, margin .25s ease
}

header nav {
  transition: margin .25s ease
}

header.is-collapsed {
  padding-top: 6px;
  padding-bottom: 6px
}

header.is-collapsed .top {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  margin-bottom: 0;
  pointer-events: none
}

header.is-collapsed nav {
  margin-top: 0
}

main {
  max-width: 1040px;
  margin: auto;
  padding: 24px 20px 40px 0
}

section {
  margin: 0 0 56px
}

.row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center
}

.row.rev {
  grid-template-columns: 1fr 1.2fr;
}

.row.rev>:first-child {
  order: 2
}

.card {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 255px 18px 225px 18px/18px 225px 18px 255px;
  padding: 28px 34px;
  box-shadow: 5px 6px 0 rgba(185, 112, 122, .35)
}

section:last-child.card p{
    margin: 0 0 12px;
    line-height: 30px
}

.ph {
  background: #fff;
  padding: 10px 10px 30px;
  box-shadow: 3px 5px 14px rgba(90, 50, 57, .25);
  transform: rotate(-2deg);
  position: relative;
  margin: 14px
}

.ph:nth-of-type(even),
.rev .ph {
  transform: rotate(2deg)
}

.ph:before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: 96px;
  height: 28px;
  margin-left: -48px;
  background: rgba(217, 150, 160, .6);
  transform: rotate(-4deg)
}

.ph img {
  width: 100%
}

body {
  overflow-x: clip
}

.hb {
  position: relative;
  margin: 14px -20px 0 0;
  padding: 12px 12px 38px;
  background: #fff;
  box-shadow: 3px 5px 14px rgba(90, 50, 57, .25);
  transform: rotate(-1deg)
}

.hb:before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: 110px;
  height: 28px;
  margin-left: -55px;
  background: rgba(217, 150, 160, .6);
  transform: rotate(-3deg);
  z-index: 2
}

.hp {
  position: relative;
  height: 480px;
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
  background: radial-gradient(circle at 75% 40%, #fbe4df, #e9bcbc 70%)
}

.hi {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  transform-origin: 70% 100%;
  animation: br 6s ease-in-out infinite
}

.hb:hover .hi {
  animation-play-state: paused
}

@keyframes br {
  0%,
  100% {
    transform: scale(1)
  }
  50% {
    transform: scale(1.04)
  }
}

.ht {
  position: absolute;
  left: 6%;
  top: 35%;
  transform: translateY(-50%);
  width: min(46%, 480px);
  text-align: left
}

.ht h1 {
  font-size: 3.8rem;
  margin-bottom: 14px
}

.ht p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin: 0
}

.hb.flip .hi {
  object-position: left top;
  transform-origin: 30% 100%
}

.hb.flip .ht {
  left: auto;
  right: 6%
}

@media(max-width:900px) {
  main {
    padding-left: 64px
  }
  .c1 {
    left: 0
  }
  .lg {
    height: 62px
  }
  .top {
    flex-direction: column;
    align-items: center
  }
  .c1 {
    left: -5px;
    gap: 10px
  }
  nav {
    left: 0;
    justify-content: flex-end;
    gap: 10px
  }
  .navlinks {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: auto;
    left: 0;
    width: min(320px, calc(100vw - 48px));
    padding: 12px;
    background: var(--cream);
    border: 2px solid var(--ink);
    border-radius: 12px 4px 12px 4px;
    box-shadow: 3px 4px 0 rgba(90, 50, 57, .25);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    z-index: 20
  }
  .navlinks a {
    display: block;
    padding: 5px 10px
  }
  .navlinks ul {
    display: block
  }
  .navlinks li ul {
    position: static;
    display: flex;
    flex-direction: column;
    width: auto;
    margin-left: 12px;
    border: 0;
    border-left: 2px dashed var(--dust);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 2px 0 2px 8px
  }
  .menu-toggle {
    display: flex;
    order: -1;
    margin-right: auto
  }
  .lang {
    margin-left: auto
  }
  .tag {
    font-size: 1.1rem
  }
  .hp {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    background: #fff
  }
  .hi {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: 300px;
    flex: 0 0 300px;
    object-fit: cover;
    object-position: center top;
    clip-path: none;
    transform-origin: 70% 100%
  }
  .ht {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    padding: 22px 18px 28px;
    text-align: left;
    box-sizing: border-box;
    background: #fff
  }
  .ht h1 {
    font-size: 2.8rem;
    margin-bottom: 10px
  }
  .hb.flip .ht {
    left: auto;
    right: auto
  }
}

@media(min-width: 901px) and (max-width: 1149px){
    main {
      padding-left: 60px
    }
}

.hero {
  text-align: center
}

.hero .ph {
  max-width: 340px;
  margin: 0 auto 20px
}

.marq {
  overflow: hidden;
  margin: 28px -20px 28px 0;
  padding: 10px 0
}

.chips {
  display: flex;
  gap: 14px;
  width: max-content;
  margin: 0;
  padding: 0 14px 0 0;
  list-style: none;
  will-change: transform
}

.chips li {
  white-space: nowrap;
  font: 1.3rem/1.2 Caveat;
  background: #f4cfcf;
  padding: 6px 14px;
  border-radius: 4px;
  box-shadow: 2px 3px 0 rgba(90, 50, 57, .2);
  transform: rotate(-2deg)
}

.chips li:nth-child(3n) {
  transform: rotate(2deg);
  background: #ecc3c6
}

.chips li:nth-child(4n) {
  background: #f9e1d8;
  transform: rotate(-1deg)
}

.chips li.b {
  font-weight: 700
}

.btn {
  display: inline-block;
  font: 700 1.6rem/1 Caveat;
  color: var(--cream);
  background: var(--dust);
  padding: 12px 26px;
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 30px 8px 28px 10px;
  box-shadow: 3px 4px 0 var(--ink);
  transition: .15s
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 2px 0 var(--ink)
}

.quote {
  font: 2rem/1.2 Caveat;
  text-align: center;
  color: var(--dust);
  margin: 0 auto 56px;
  max-width: 700px
}

.car {
  --n: 3
}

.vp {
  overflow: hidden;
  padding: 18px 12px 26px;
  margin: 0 -12px
}

.notes {
  display: flex;
  gap: 24px;
  transition: transform .45s ease
}

.notes>* {
  flex: 0 0 calc((100% - (var(--n) - 1)*24px)/var(--n))
}

.ctl {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font: 1.4rem Caveat
}

.arr {
  font: 700 1.8rem/1 Caveat;
  width: 54px;
  height: 44px;
  background: var(--dust);
  color: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 30px 8px 28px 10px;
  box-shadow: 3px 4px 0 var(--ink);
  cursor: pointer
}

.arr:hover:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: 1px 2px 0 var(--ink)
}

.arr:disabled {
  opacity: .35;
  cursor: default;
  box-shadow: none
}

.notes>.ph {
  margin: 0
}

.pcar .notes {
  align-items: flex-start
}

@media(max-width:900px) {
  .car {
    --n: 2
  }
}

@media(max-width:600px) {
  .car {
    --n: 1
  }
}

.note {
  background: #fbe4df;
  padding: 20px 22px 12px;
  line-height: 28px;
  box-shadow: 3px 4px 10px rgba(90, 50, 57, .2);
  transform: rotate(-1deg);
  border-radius: 4px
}

.note:nth-child(even) {
  transform: rotate(1.5deg);
  background: #f6d8da
}

.note b {
  font: 1.5rem Caveat;
  display: block;
  text-align: right
}

.price {
  font: 700 2.4rem Caveat;
  display: inline-block;
  border: 2px solid var(--ink);
  border-radius: 50% 45% 55% 40%;
  padding: 4px 18px;
  margin: 0 14px 0 0;
  background: var(--rose)
}

.pr {
  margin: 0 0 12px;
  font: 1.4rem Caveat
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px
}

ul.m {
  list-style: none;
  padding: 0;
  margin: 0 0 20px
}

ul.m li {
  padding-left: 30px;
  position: relative;
  line-height: 30px;
  margin-bottom: 8px
}

.yes li:before {
  content: "♡";
  position: absolute;
  left: 0;
  color: var(--dust);
  font-size: 1.3rem
}

.no li:before {
  content: "✕";
  position: absolute;
  left: 2px;
  color: var(--ink)
}

.pics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px
}

.fun p {
  margin: 0 0 12px;
  line-height: 30px
}

details {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 18px 6px 20px 6px;
  margin: 0 0 14px;
  box-shadow: 3px 4px 0 rgba(185, 112, 122, .3)
}

summary {
  cursor: pointer;
  font: 700 1.5rem/1.3 Caveat;
  padding: 10px 48px 10px 20px;
  list-style: none;
  position: relative
}

summary::-webkit-details-marker {
  display: none
}

summary:after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 6px;
  font-size: 2rem
}

details[open] summary:after {
  content: "–"
}

details>div {
  padding: 10px 22px 0;
  border-top: 2px dashed var(--line)
}

details p {
  margin: 0 0 18px;
  line-height: 30px
}

.fm label {
  display: block;
  font: 1.35rem/1.2 Caveat;
}

.fm input:not([type=checkbox]),
.fm textarea {
  display: block;
  width: 100%;
  font: 17px/26px Kalam, cursive;
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 12px 4px 12px 4px;
  padding: 6px 12px;
  margin-top: 2px;
  margin-bottom: 14px;
}

.fm input {
  margin-bottom: 14px;
}

.fm input:read-only {
  background: var(--rose);
}

.fm .ck {
  display: flex;
  gap: 8px;
  align-items: center
}

.fm small {
  display: block;
  line-height: 22px;
  margin: 0 0 14px;
  color: var(--dust)
}

footer {
  border-top: 2px dashed var(--dust);
  padding: 20px 20px 30px 64px;
  text-align: center;
  font: 1.2rem/1.6 Caveat
}

footer a {
  margin: 0 10px
}

footer ul {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    justify-content: center;
    margin-block-start: 0;
    margin-block-end: 0;
}

@media(max-width:600px) {
    footer ul {
        flex-direction: column;
    }
}


@media(max-width:760px) {
  body:before {
    left: 14px
  }
  header,
  main,
  footer {
    padding-left: 30px
  }

  .row,
  .row.rev,
  .two {
    grid-template-columns: 1fr
  }
  .row.rev>:first-child {
    order: 0
  }
  h1 {
    font-size: 2.6rem
  }
  .card {
    padding: 22px 20px
  }
}