@charset "UTF-8";

/* divider height */
:root {
  --divider-h: clamp(50px, 11.8vw, 170px);
}

/* hero */

.hero {
  position: relative;

  background: var(--c_main);
  color: var(--c_black);

  overflow: hidden;

  padding-bottom: calc(var(--divider-h) + 40px);
}

.hero__inner {
  position: relative;

  max-width: 1280px;
  min-height: 700px;

  margin: auto;

  display: flex;
  align-items: center;

  padding: 0 20px;
}

/* catch copy */

.hero__intro {
  position: relative;

  z-index: 2;

  flex: 0 0 48%;

  display: flex;
  align-items: center;

  padding-left: 30px;

  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.85);
}

.hero__intro > div {
  max-width: 600px;
}

.hero__label {
  margin-bottom: 20px;

  font-size: 12px;

  letter-spacing: 0.2em;

  opacity: 0.85;
}

.hero__title {
  margin: 0;

  font-size: clamp(42px, 4vw, 56px);

  font-weight: 700;

  line-height: 1.5;

  letter-spacing: 0.05em;
}

.hero__title-main {
  display: inline-block;

  font-size: 0.72em;

  white-space: nowrap;
}

.hero__title em {
  color: var(--c_accent);

  font-style: normal;
}

.hero__description {
  margin-top: 25px;

  font-size: 16px;

  line-height: 2;

  opacity: 0.9;
}

.hero__action {
  margin-top: 35px;
}

.hero__action .btn {
  max-width: 240px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
}

.hero__action .btn__arrow {
  flex-shrink: 0;
  margin-left: 15px;
}

.hero__action .btn--ghost {
  background: transparent;

  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.25);
}

.hero__action .btn--ghost:hover {
  color: var(--c_main);

  background: #fff;

  border-color: #fff;
}

.hero__action .btn--ghost:hover .btn__arrow {
  border-color: var(--c_main);
}

.hero__action .btn__arrow {
  transform: translateY(1px) rotate(45deg);
}

.hero__action .btn:hover .btn__arrow,
.hero__action .btn:focus .btn__arrow {
  transform: translate(3px, 1px) rotate(45deg);
}

/* hero media */

.hero__media {
  --hero-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 621 458'%3E%3Cpath fill='white' d='M621 234C621 357.712 481.984 458 310.5 458C139.016 458 0 357.712 0 234C0 171.5 43.301 134.33 122.51 82C177.749 45.5062 277.748 0 358.554 0C530.038 0 621 110.288 621 234Z'/%3E%3C/svg%3E");

  position: absolute;

  top: 50%;
  right: -130px;

  width: 850px;

  aspect-ratio: 621 / 458;

  transform: translateY(-50%);

  z-index: 1;

  mask-image: var(--hero-mask);
  mask-size: 100% 100%;
  mask-position: center;
  mask-repeat: no-repeat;

  -webkit-mask-image: var(--hero-mask);
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
}

.hero__media::after {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(138, 121, 104, 0.18),
    transparent 50%
  );

  z-index: 1;
}

.hero__media img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transform: scale(1.04);
}

/* scroll cue */

.hero__scroll-cue {
  position: absolute;

  right: 35px;
  bottom: 50px;

  width: 20px;
  height: 110px;

  z-index: 5;

  color: var(--c_accent);

  font-size: 10px;

  letter-spacing: 0.25em;

  opacity: 0.9;
}

.hero__scroll-cue span {
  position: absolute;

  left: 10px;
  top: 0;

  color: var(--c_accent);

  font-size: 10px;

  letter-spacing: 0.25em;

  white-space: nowrap;

  writing-mode: vertical-rl;
}

.hero__scroll-cue::after {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 1px;
  height: 100px;

  background: var(--c_accent);

  opacity: 0.8;
}

.hero__scroll-cue::before {
  content: "";

  position: absolute;

  left: -4px;
  top: 0;

  width: 9px;
  height: 9px;

  border-radius: 50%;

  background: var(--c_accent);

  animation:
    heroScrollCircle 1.6s ease-in-out infinite,
    heroScrollFade 1.6s ease-out infinite;
}

@keyframes heroScrollCircle {
  0% {
    top: 0;
  }

  100% {
    top: 95px;
  }
}

@keyframes heroScrollFade {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  80% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
  }
}

/* section divider */

.section-divider {
  position: absolute;

  left: 50%;
  bottom: -1px;

  width: 100vw;
  height: var(--divider-h);

  line-height: 0;

  pointer-events: none;

  z-index: 3;

  transform: translateX(-50%);
}

.section-divider svg {
  display: block;

  width: 100%;
  height: 100%;
}

.section-divider--after-hero path,
.section-divider--after-puppy path,
.section-divider--after-flow path {
  fill: var(--c_sub);
}

.section-divider--after-about path,
.section-divider--after-breed path {
  fill: var(--c_white);
}

/* content-block */

.content-block {
  position: relative;

  padding-top: 100px;
  padding-bottom: 100px;
}

.content-block--with-divider {
  padding-bottom: calc(var(--divider-h) + 60px);
}

.content-block + .content-block {
  padding-top: 100px;
}

.content-block__title {
  margin-bottom: 40px;
}

.overline {
  margin-bottom: 15px;

  color: var(--c_accent);

  font-size: 11px;

  font-weight: 500;

  letter-spacing: 0.2em;

  text-transform: uppercase;
}

.content-block__lead {
  margin: -15px auto 50px;

  color: var(--c_dark-gray);

  text-align: center;

  line-height: 2;
}

/* about */

.content-block.about-highlights {
  position: relative;

  background: var(--c_sub);

  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding-left: max(20px, calc((100vw - 1080px) / 2));
  padding-right: max(20px, calc((100vw - 1080px) / 2));
}

.about-highlights__lead {
  margin: 50px auto 0;
}

.about-features__grid {
  gap: 20px;
}

.about-features__tile {
  position: relative;

  padding: 45px 35px;

  background: #fdf1ee;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(138, 121, 104, 0.12);

  overflow: hidden;
}

.about-features__tile-index {
  position: absolute;

  top: 25px;
  right: 30px;

  font-size: 13px;

  letter-spacing: 0.15em;

  color: var(--c_white);

  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.about-features__tile-media {
  height: 180px;

  margin: -45px -35px 30px;

  border-radius: 12px 12px 0 0;

  overflow: hidden;
}

.about-features__tile-media img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.about-features__tile-title {
  margin-bottom: 18px;

  font-size: 23px;

  font-weight: 500;

  line-height: 1.65;
}

.about-features__tile-text {
  color: var(--c_dark-gray);

  font-size: 13px;

  line-height: 2;
}

/* puppy */

.puppy-highlights {
  background: var(--c_white);
}

.puppy-highlights__card {
  height: 100%;

  overflow: hidden;

  border: none;
  border-radius: 28px;

  box-shadow: 0 8px 24px rgba(138, 121, 104, 0.16);
}

.puppy-highlights__card .media-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;

  overflow: hidden;

  background: #f8f5f3;
}

.puppy-highlights__card .media-card__image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;

  transform: none;
}

.puppy-highlights__card .media-card__body {
  padding: 25px 25px 28px;
}

.puppy-highlights__card-tag {
  display: inline-block;

  margin-bottom: 8px;

  color: var(--c_accent);

  font-size: 10px;

  letter-spacing: 0.15em;
}

.puppy-highlights__card .media-card__title {
  font-size: 20px;
}

.puppy-highlights__card .media-card__text {
  color: var(--c_dark-gray);
}

/* breed */

.breed-overview {
  background: var(--c_sub);

  width: 100vw;

  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding-left: max(20px, calc((100vw - 1080px) / 2));
  padding-right: max(20px, calc((100vw - 1080px) / 2));
}

.breed-overview__inner {
  max-width: 1080px;

  margin: auto;

  display: grid;

  grid-template-columns: 1.05fr 0.95fr;

  gap: 80px;

  align-items: center;
}

.breed-overview__media {
  overflow: hidden;

  border-radius: 28px;

  aspect-ratio: 1 / 1.05;
}

.breed-overview__media img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.breed-overview__body > p:not(.breed-overview__action) {
  margin-bottom: 18px;

  color: var(--c_dark-gray);

  font-size: 14px;

  line-height: 2;
}

.breed-overview__action {
  margin-top: 30px;
}

/* flow */

.adoption-steps {
  background: var(--c_white);
}

.adoption-steps__list {
  margin-top: 60px;

  gap: 0;

  list-style: none;
}

.adoption-steps__list > li {
  position: relative;

  min-height: 230px;

  padding: 0 25px;

  border-left: 1px solid var(--c_gray);
}

.adoption-steps__list > li:last-child {
  border-right: 1px solid var(--c_gray);
}

.adoption-steps__index {
  color: var(--c_accent);

  font-size: 16px;

  letter-spacing: 0.15em;
}

.adoption-steps__title {
  margin: 25px 0 15px;

  font-size: 20px;

  font-weight: 500;

  line-height: 1.5;
}

.adoption-steps__list > li p {
  color: var(--c_dark-gray);

  font-size: 13px;

  line-height: 2;
}

/* faq */

.faq {
  background: var(--c_sub);

  width: 100vw;

  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding-left: max(20px, calc((100vw - 1080px) / 2));
  padding-right: max(20px, calc((100vw - 1080px) / 2));
}

.faq__inner {
  max-width: 1080px;

  margin: auto;

  display: grid;

  grid-template-columns: 0.8fr 1.2fr;

  gap: 80px;

  align-items: start;
}

.faq__heading > p:not(.overline) {
  color: var(--c_dark-gray);

  line-height: 2;
}

.faq__action {
  margin-top: 30px;
}

.faq__list details {
  border-top: 1px solid var(--c_gray);
}

.faq__list details:last-child {
  border-bottom: 1px solid var(--c_gray);
}

.faq__list summary {
  position: relative;

  padding: 25px 50px 25px 0;

  cursor: pointer;

  list-style: none;

  font-weight: 500;
}

.faq__list summary::-webkit-details-marker {
  display: none;
}

.faq__list summary::after {
  position: absolute;

  right: 5px;
  top: 20px;

  content: "+";

  color: var(--c_accent);

  font-size: 24px;

  font-weight: 400;
}

.faq__list details[open] summary::after {
  content: "−";
}

.faq__list details p {
  margin: -5px 0 25px;

  padding-right: 45px;

  color: var(--c_dark-gray);

  font-size: 14px;

  line-height: 2;
}

/* tablet / small PC: stack hero */

@media screen and (max-width: 1200px) {
  .hero__inner {
    min-height: auto;

    display: flex;
    flex-direction: column-reverse;

    padding: 60px 40px 0;
  }

  .hero__media {
    position: relative;

    top: auto;
    right: auto;

    width: min(100%, 760px);

    aspect-ratio: 621 / 458;

    transform: none;

    margin: 0 auto;

    z-index: 1;
  }

  .hero__intro {
    flex: none;

    width: 100%;

    display: block;

    padding-left: 0;

    margin-top: 40px;

    text-align: center;
  }

  .hero__intro > div {
    width: 100%;

    max-width: 600px;

    margin-inline: auto;
  }

  .hero__title-main {
    white-space: normal;
  }

  .hero__description {
    margin-top: 20px;
  }

  .hero__action {
    margin-top: 30px;
  }
}

/* smartphone */

@media screen and (max-width: 767px) {
  .hero {
    padding: 20px 20px calc(var(--divider-h) + 30px);
  }

  .hero__inner {
    min-height: auto;

    display: flex;

    flex-direction: column-reverse;

    padding: 0;
  }

  .hero__media {
    position: relative;

    top: auto;
    right: auto;

    width: 100%;

    aspect-ratio: 621 / 458;

    transform: none;

    z-index: 1;
  }

  .hero__intro {
    flex: none;

    display: block;

    width: 100%;

    padding-left: 0;

    margin-top: 25px;
  }

  .hero__intro > div {
    width: 100%;
    max-width: 400px;

    margin-inline: auto;
  }

  .hero__label {
    font-size: 9px;

    letter-spacing: 0.15em;
  }

  .hero__title {
    font-size: 28px;
    line-height: 1.7;
  }

  .hero__title-main {
    font-size: 0.85em;
    white-space: normal;
  }

  .hero__description {
    font-size: 13px;

    line-height: 2;
  }

  .hero__action {
    margin-top: 25px;

    text-align: center;
  }

  .hero__scroll-cue {
    display: none;
  }

  .content-block {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .content-block--with-divider {
    padding-bottom: calc(var(--divider-h) + 40px);
  }

  .content-block + .content-block {
    padding-top: 60px;
  }

  .content-block__title {
    margin-bottom: 25px;
  }

  .content-block__lead {
    margin-top: -5px;

    font-size: 13px;

    text-align: left;
  }

  .content-block.about-highlights {
    width: 100vw;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    padding-left: 20px;
    padding-right: 20px;

    box-sizing: border-box;
  }

  .about-features__grid {
    width: 100%;
    max-width: 400px;

    margin-left: auto;
    margin-right: auto;

    gap: 50px;
  }

  .about-features__tile {
    width: 100%;

    box-sizing: border-box;
  }

  .about-features__tile-media {
    margin-left: -40px;
    margin-right: -40px;
  }

  .about-highlights__lead {
    width: 100%;
    max-width: 400px;

    margin: 50px auto 0;

    padding-left: 0;
    padding-right: 0;

    box-sizing: border-box;

    text-align: left;
  }

  .puppy-highlights {
    padding-left: 20px;
    padding-right: 20px;
  }

  .puppy-highlights .content-block__title,
  .puppy-highlights > .content-block__lead {
    text-align: center;
  }

  .puppy-highlights__grid {
    grid-template-columns: 1fr;

    width: 100%;
    max-width: 400px;

    margin: 40px auto 0;
  }

  .breed-overview {
    width: 100vw;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    padding-left: 20px;
    padding-right: 20px;

    box-sizing: border-box;
  }

  .breed-overview__inner {
    width: 100%;
    max-width: 400px;

    margin-left: auto;
    margin-right: auto;

    grid-template-columns: 1fr;

    gap: 30px;

    box-sizing: border-box;
  }

  .breed-overview__media {
    width: 100%;

    aspect-ratio: 4 / 3;

    box-sizing: border-box;
  }

  .adoption-steps {
    padding-left: 20px;
    padding-right: 20px;
  }

  .adoption-steps .content-block__title,
  .adoption-steps > .content-block__lead {
    text-align: center;
  }

  .adoption-steps__list {
    grid-template-columns: 1fr;

    width: 100%;
    max-width: 400px;

    margin: 40px auto 0;
  }

  .adoption-steps__list > li {
    min-height: auto;

    padding: 25px 0 25px 22px;

    border-left: 1px solid var(--c_gray);
    border-right: 0 !important;
    border-bottom: 1px solid var(--c_gray);
  }

  .adoption-steps__list > li:first-child {
    border-top: 1px solid var(--c_gray);
  }

  .adoption-steps__title {
    margin: 10px 0 5px;
  }

  .faq {
    padding-top: 60px;
    padding-bottom: 60px;

    padding-left: 20px;
    padding-right: 20px;
  }

  .faq__inner {
    width: 100%;
    max-width: 400px;

    margin-inline: auto;

    grid-template-columns: 1fr;

    gap: 40px;
  }

  .faq__heading .content-block__title,
  .faq__heading > p {
    text-align: center;
  }

  .faq__list {
    width: 100%;
  }

  .faq__action {
    margin-top: 30px;
  }

  .faq__list summary {
    padding: 20px 40px 20px 0;

    font-size: 14px;

    line-height: 1.7;
  }

  .faq__list summary::after {
    top: 15px;
  }

  .faq__list details p {
    padding-right: 25px;

    font-size: 13px;
  }

  .breed-overview__action .btn,
  .faq__action .btn {
    max-width: 100%;
  }
}
