:root {
  --ink: #151515;
  --cream: #fff8df;
  --orange: #ff6b18;
  --pink: #ffb7cf;
  --yellow: #ffd84a;
  --blue: #a8d9ff;
  --green: #bde7a7;
  --purple: #b9a7ff;
  --line: #15151526;
  --wrap: min(1180px, calc(100% - 48px));
  --fun: "Fredoka", sans-serif;
  --sans: "DM Sans", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wrap {
  width: var(--wrap);
  margin: auto;
}
.section {
  padding: 105px 0;
}
.eyebrow {
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 17px;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.8rem;
}
.pill:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--ink);
}
.dark {
  background: var(--ink);
  color: white;
}
header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  background: #fff8dff5;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  border-color: var(--line);
}
.nav {
  height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.logo {
  font-family: var(--fun);
  font-weight: 700;
}
.logo i {
  font-style: normal;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
  margin-right: 8px;
}
.nav nav {
  display: flex;
  gap: 26px;
  font-size: 0.78rem;
  font-weight: 700;
}
.desktop-call {
  justify-self: end;
}
.nav button,
.mobile {
  display: none;
}
.hero {
  padding-top: 78px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero-copy {
  padding: 80px clamp(30px, 6vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1,
h2 {
  font-family: var(--fun);
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 0;
}
.hero h1 {
  font-size: clamp(4.5rem, 8.4vw, 8.5rem);
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.lead {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 30px 0 0;
}
.actions {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 38px;
}
.tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.7rem;
}
.hero-img {
  position: relative;
  min-height: calc(100vh - 78px);
  overflow: hidden;
}
.hero-img img {
  object-position: center 35%;
}
.hero-img b {
  position: absolute;
  right: 28px;
  top: 90px;
  width: 125px;
  height: 125px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--fun);
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(8deg);
}
.ticker {
  width: 100%;
  overflow: hidden;

  background: var(--orange);

  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);

  white-space: nowrap;
}

.ticker-track {
  display: flex;
  width: max-content;

  animation: ticker-scroll 28s linear infinite;
}

.ticker-track span {
  flex-shrink: 0;

  padding: 11px 0;

  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 58px;
}
.heading h2,
.split h2,
.photos h2,
.faq h2,
.contact h2 {
  font-size: clamp(3.2rem, 5.7vw, 5.8rem);
}
.heading > p {
  max-width: 430px;
  margin: 0;
  color: #71695f;
}
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.services article {
  min-height: 330px;
  padding: 28px;
  border: 2px solid var(--ink);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
}
.services strong {
  font-size: 2.4rem;
  margin: auto 0 20px;
}
.services h3,
.price-grid h3 {
  font-family: var(--fun);
  font-size: 1.8rem;
  margin: 0 0 10px;
}
.services p {
  margin: 0;
}
.yellow {
  background: var(--yellow);
}
.pink {
  background: var(--pink);
}
.blue {
  background: var(--blue);
}
.green {
  background: var(--green);
}
.split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  background: var(--purple);
  border-block: 2px solid var(--ink);
}
.split > div:first-child {
  min-height: 680px;
}
.split-copy {
  padding: 80px clamp(35px, 7vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-copy > p:not(.eyebrow) {
  max-width: 500px;
}
.split-copy ul {
  list-style: "✓  ";
  padding-left: 20px;
  font-weight: 700;
}
.prices {
  background: white;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.price-grid article {
  min-height: 430px;
  border: 1.5px solid var(--line);
  border-radius: 30px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.price-grid article.featured {
  background: var(--orange);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}
.price-grid article > div {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.price-grid h3 {
  font-size: 2rem;
  margin-top: 80px;
}
.price-grid p {
  color: #71695f;
}
.featured p {
  color: #33251c;
}
.price-grid article > b {
  font-family: var(--fun);
  font-size: 2.6rem;
  margin-top: auto;
}
.note {
  font-size: 0.78rem;
  color: #71695f;
  margin-top: 28px;
}
.photos {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1fr;
}
.photos figure {
  height: 620px;
  margin: 0;
  position: relative;
}
.photos figcaption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.7rem;
  font-weight: 800;
}
.photos > div {
  padding: 50px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.photos > div p:last-child {
  color: #71695f;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
}
.faq details p {
  color: #71695f;
}
.contact {
  padding: 110px 0;
  text-align: center;
  background: var(--orange);
  border-top: 2px solid var(--ink);
}
.contact .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact p:not(.eyebrow) {
  max-width: 550px;
}
.light {
  background: white;
  margin-top: 20px;
}
footer {
  background: #151515;
  color: white;
}
.foot {
  padding: 50px 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 70px;
}
.foot > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.78rem;
}
.foot p {
  margin: 0;
  color: #aaa;
}
@media (max-width: 950px) {
  :root {
    --wrap: min(820px, calc(100% - 34px));
  }
  .nav nav,
  .desktop-call {
    display: none;
  }
  .nav {
    height: 72px;
    grid-template-columns: 1fr auto;
  }
  .nav button {
    display: block;
    border: 0;
    background: none;
    width: 46px;
  }
  .nav button span {
    display: block;
    height: 2px;
    background: #111;
    margin: 6px;
  }
  .mobile.open {
    display: flex;
    position: fixed;
    top: 72px;
    inset-inline: 0;
    height: calc(100vh - 72px);
    background: var(--cream);
    padding: 30px 22px;
    flex-direction: column;
  }
  .mobile > a:not(.pill) {
    font-family: var(--fun);
    font-size: 2.4rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .mobile .pill {
    margin-top: auto;
  }
  .hero {
    padding-top: 72px;
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 70px 34px 55px;
  }
  .hero-img {
    min-height: 620px;
  }
  .services,
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .split > div:first-child {
    min-height: 580px;
  }
  .photos {
    grid-template-columns: 1fr 1fr;
  }
  .photos > div {
    grid-column: 1/-1;
    order: -1;
    padding: 70px 30px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .foot {
    grid-template-columns: 1fr 1fr;
  }
  .foot > div:last-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 600px) {
  :root {
    --wrap: calc(100% - 28px);
  }
  .section {
    padding: 72px 0;
  }
  .hero h1 {
    font-size: clamp(4rem, 19vw, 6rem);
  }
  .hero-copy {
    padding: 60px 20px 45px;
  }
  .actions {
    flex-direction: column;
  }
  .hero-img {
    min-height: 520px;
  }
  .heading {
    display: block;
  }
  .heading > p {
    margin-top: 25px;
  }
  .services,
  .price-grid {
    grid-template-columns: 1fr;
  }
  .services article {
    min-height: 270px;
  }
  .price-grid article {
    min-height: 350px;
  }
  .price-grid h3 {
    margin-top: 50px;
  }
  .split > div:first-child {
    min-height: 450px;
  }
  .split-copy {
    padding: 60px 22px;
  }
  .photos {
    display: block;
  }
  .photos > div {
    padding: 65px 22px;
  }
  .photos figure {
    height: 460px;
  }
  .contact {
    padding: 80px 0;
  }
  .foot {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .foot > div:last-child {
    grid-column: auto;
  }
}
