/* =========================================================
   About Page
   ========================================================= */


/* =========================================================
   Mobile / Base
   0rem+
   ========================================================= */

@media only screen and (min-width: 0rem) {

  /* =======================================================
     Shared Eyebrows
     ======================================================= */

  .about-story__eyebrow,
  .positive-approach__eyebrow,
  .experience__eyebrow,
  .every-dog__eyebrow,
  .training-cta__eyebrow {
    margin-bottom: 0.75rem;
    color: #904c32;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }


  /* =======================================================
     Scroll Reveal
     ======================================================= */

  [data-reveal] {
    opacity: 0;

    transform: translateY(1.5rem);

    transition:
      opacity 700ms ease,
      transform 800ms
      cubic-bezier(0.16, 1, 0.3, 1);
  }


  [data-reveal].is-visible {
    opacity: 1;

    transform: translateY(0);
  }


  /* =======================================================
     Founder Story
     ======================================================= */

  .about-story {
    position: relative;

    overflow: hidden;

    padding:
      4rem
      0
      5rem;

    background: var(--color-cream);
  }


  .about-story__inner {
    display: flex;
    flex-direction: column;

    gap: 3.5rem;
  }


  .about-story__content {
    max-width: 46rem;
  }


  .about-story__title {
    margin-bottom: 1.75rem;

    font-size:
      clamp(
        2.75rem,
        11vw,
        5rem
      );

    line-height: 0.98;
  }


  .about-story__title span {
    display: block;

    margin-top: 0.2em;

    color: var(--color-rust);
  }


  .about-story__copy p {
    margin-bottom: 1rem;

    color: var(--color-text-light);

    font-size: 1.05rem;
    line-height: 1.7;
  }


  /* ---------- Founder Visual ---------- */

  .about-story__visual {
    position: relative;

    width: 100%;
    max-width: 36rem;

    margin-inline: auto;
  }


  .about-story__image-wrap {
    position: relative;

    overflow: hidden;

    min-height: 28rem;

    border-radius:
      44% 56% 49% 51% /
      39% 43% 57% 61%;

    background: var(--color-sage-light);
  }


  .about-story__image-wrap img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
  }


  .about-story__note {
    position: relative;

    z-index: 2;

    margin:
      -3rem
      0.75rem
      0;

    padding: 1.5rem;

    overflow: hidden;

    border-radius:
      1.5rem
      1.5rem
      0.5rem
      1.5rem;

    background: var(--color-green-dark);
    color: var(--color-white);

    box-shadow:
      0 1rem 2rem
      rgba(38, 56, 40, 0.15);
  }


  .about-story__note-small {
    display: block;

    margin-bottom: 0.5rem;

    color: var(--color-sage-light);

    font-size: 0.7rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.1em;
  }


  .about-story__note p {
    position: relative;

    z-index: 2;

    max-width: 25rem;

    margin: 0;

    font-family: var(--font-heading);
    font-size: 1.15rem;
    line-height: 1.45;
  }


  .about-story__paw {
    position: absolute;

    right: -1rem;
    bottom: -1.5rem;

    width: 8rem;
    height: 8rem;

    fill: var(--color-sage-light);

    opacity: 0.08;

    transform: rotate(-15deg);
  }


  /* =======================================================
     Positive Approach
     ======================================================= */

  .positive-approach {
    padding:
      5rem
      0;

    background: var(--color-white);
  }


  .positive-approach__header {
    max-width: 50rem;

    margin-bottom: 3rem;
  }


  .positive-approach__title {
    margin-bottom: 1rem;
  }


  .positive-approach__intro {
    color: var(--color-text-light);

    font-size: 1.05rem;
    line-height: 1.65;
  }


  .positive-approach__cards {
    display: flex;
    flex-direction: column;

    gap: 1rem;
  }


  /* ---------- Positive Approach Cards ---------- */

  .approach-card {
    position: relative;

    overflow: hidden;

    padding: 1.5rem;

    border:
      0.0625rem solid
      rgba(38, 56, 40, 0.06);

    border-radius: 1.5rem;

    background: var(--color-cream);

    box-shadow:
      0 0.5rem 1.5rem
      rgba(38, 56, 40, 0.05);

    transition:
      transform 350ms ease,
      box-shadow 350ms ease;
  }


  .approach-card--cream {
    background: #f6eddb;
  }


  .approach-card--sage {
    background: #e3e9dd;
  }


  .approach-card--peach {
    background: #f3dac5;
  }


  .approach-card--dark {
    background: var(--color-green-dark);
    color: var(--color-white);
  }


  .approach-card:hover {
    transform: translateY(-0.25rem);

    box-shadow:
      0 1rem 2rem
      rgba(38, 56, 40, 0.1);
  }


  .approach-card__number {
    display: block;

    margin-bottom: 1rem;

    color: var(--color-rust);

    font-family: var(--font-heading);
    font-size: 1rem;
  }


  /* =======================================================
     Positive Approach Image Icons
     ======================================================= */

  .approach-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 4.75rem;
    height: 4.75rem;

    margin-bottom: 1.25rem;

    border-radius: 50%;

    background:
      rgba(255, 255, 255, 0.6);
  }


  .approach-card__icon img {
    display: block;

    width: 3rem;
    height: 3rem;

    object-fit: contain;
  }


  .approach-card--dark
  .approach-card__icon {
    background:
      var(--color-sage-light);
  }


  .approach-card h3 {
    margin-bottom: 0.75rem;

    font-size: 1.65rem;
  }


  .approach-card p {
    color: var(--color-text-light);

    line-height: 1.65;
  }


  .approach-card--dark h3 {
    color: var(--color-white);
  }


  .approach-card--dark p {
    color:
      rgba(255, 255, 255, 0.78);
  }


  /* =======================================================
     Experience
     ======================================================= */

  .experience {
    padding:
      5rem
      0;

    background: var(--color-sage-light);
  }


  .experience__header {
    max-width: 48rem;

    margin-bottom: 3rem;
  }


  .experience__title {
    margin-bottom: 1rem;
  }


  .experience__intro {
    color: var(--color-text-light);

    font-size: 1.05rem;
    line-height: 1.65;
  }


  .experience__badges {
    display: flex;
    flex-direction: column;

    gap: 1.5rem;
  }


  .experience-badge {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 1.5rem;

    padding:
      2rem
      1.5rem;

    border:
      0.0625rem solid
      rgba(38, 56, 40, 0.08);

    border-radius: 1.75rem;

    background: var(--color-cream);

    text-align: center;

    box-shadow:
      0 0.75rem 2rem
      rgba(38, 56, 40, 0.06);
  }
  .experience-badge__circle--akc img {
    transform: translateX(0.2rem);
    }


  /* ---------- Experience Badge Circles ---------- */

  .experience-badge__circle {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 10rem;
    height: 10rem;

    padding: 1.25rem;

    border:
      0.2rem solid
      rgba(38, 56, 40, 0.12);

    border-radius: 50%;

    background: var(--color-white);
  }


  .experience-badge__circle--akc {
    background: #f6eddb;
  }


  .experience-badge__circle img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
  }


  /* ---------- Experience Copy ---------- */

  .experience-badge__eyebrow {
    margin-bottom: 0.4rem;

    color: var(--color-rust);

    font-size: 0.75rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.1em;
  }


  .experience-badge__content h3 {
    margin-bottom: 0.75rem;

    font-size:
      clamp(
        1.6rem,
        6vw,
        2.2rem
      );
  }


  .experience-badge__content p {
    max-width: 31rem;

    margin-inline: auto;

    color: var(--color-text-light);

    line-height: 1.65;
  }


  /* =======================================================
     Every Dog Is Different
     ======================================================= */

  .every-dog {
    padding:
      5rem
      0;

    background: #f8f5ed;
  }


  .every-dog__inner {
    display: flex;
    flex-direction: column;

    gap: 3rem;
  }


  /* ---------- Image ---------- */

  .every-dog__visual {
    width: 100%;
  }


  .every-dog__image-wrap {
    position: relative;

    overflow: hidden;

    min-height: 24rem;

    border-radius:
      2rem
      2rem
      6rem
      2rem;

    background: var(--color-sage-light);

    box-shadow:
      0 1rem 2rem
      rgba(38, 56, 40, 0.08);
  }


  .every-dog__image-wrap img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
  }


  /* ---------- Copy ---------- */

  .every-dog__content {
    max-width: 46rem;
  }


  .every-dog__title {
    margin-bottom: 1.25rem;
  }


  .every-dog__content > p {
    margin-bottom: 1rem;

    color: var(--color-text-light);

    font-size: 1.05rem;
    line-height: 1.7;
  }


  .every-dog__traits {
    display: flex;
    flex-wrap: wrap;

    gap: 0.6rem;

    margin-top: 1.75rem;
  }


  .every-dog__traits span {
    padding:
      0.5rem
      0.9rem;

    border:
      0.0625rem solid
      rgba(38, 56, 40, 0.1);

    border-radius: var(--radius-pill);

    background: #f3dac5;
    color: var(--color-green-dark);

    font-size: 0.85rem;
    font-weight: 700;
  }
}

/* =========================================================
   Small Tablet
   37.5rem+
   ========================================================= */

@media only screen and (min-width: 37.5rem) {

  .positive-approach__cards {
    flex-direction: row;
    flex-wrap: wrap;
  }


  .approach-card {
    flex:
      1
      1
      calc(50% - 0.5rem);
  }


  .experience-badge {
    flex-direction: row;

    padding: 2rem;

    text-align: left;
  }


  .experience-badge__content p {
    margin-inline: 0;
  }

}

/* =========================================================
   Narrow Tablet / iPad Mini Portrait
   ========================================================= */

@media only screen
  and (min-width: 44rem)
  and (max-width: 47.9375rem) {

  .every-dog__image-wrap {
    min-height: 32rem;
  }

  .every-dog__image-wrap img {
    object-position: center 20%;
  }
}


/* =========================================================
   Tablet
   48rem+
   ========================================================= */

@media only screen and (min-width: 48rem) {

  .about-story {
    padding:
      5rem
      0
      6rem;
  }


  .positive-approach,
  .experience,
  .every-dog {
    padding:
      6rem
      0;
  }


  .about-story__image-wrap {
    min-height: 32rem;
  }


  .experience-badge__circle {
    width: 11rem;
    height: 11rem;
  }


  .every-dog__image-wrap {
    min-height: 30rem;
  }

}

/* =========================================================
   Short Landscape Screens
   ========================================================= */
@media only screen
  and (orientation: landscape)
  and (max-height: 31rem)
  and (max-width: 64rem) {

  .every-dog__image-wrap {
    min-height: 22rem;
  }

  .every-dog__image-wrap img {
    object-position: center 28%;
  }
}
@media only screen
  and (min-width: 48rem)
  and (max-width: 63.9375rem) {

  .every-dog__image-wrap {
    min-height: 32rem;
  }

  .every-dog__image-wrap img {
    object-position: center 20%;
  }

}


/* =========================================================
   Desktop
   64rem+
   ========================================================= */

@media only screen and (min-width: 64rem) {

  /* =======================================================
     Founder Story
     ======================================================= */

  .about-story__inner {
    flex-direction: row;
    align-items: center;

    gap: 5rem;
  }


  .about-story__content {
    flex:
      1
      1
      57%;
  }


  .about-story__visual {
    flex:
      1
      1
      43%;

    margin-inline: 0;
  }


  .about-story__image-wrap {
    min-height: 36rem;
  }


  .about-story__note {
    margin:
      -4rem
      1rem
      0
      3rem;
  }


  /* =======================================================
     Positive Approach
     ======================================================= */

  .positive-approach__cards {
    flex-wrap: nowrap;
  }


  .approach-card {
    flex:
      1
      1
      0;

    min-height: 20rem;

    padding: 2rem;
  }


  .approach-card__icon {
    width: 5rem;
    height: 5rem;
  }


  .approach-card__icon img {
    width: 3.2rem;
    height: 3.2rem;
  }


  /* =======================================================
     Experience
     ======================================================= */

  .experience__badges {
    flex-direction: row;

    gap: 2rem;
  }


  .experience-badge {
    flex:
      1
      1
      50%;

    flex-direction: column;

    padding:
      2.5rem;

    text-align: center;
  }


  .experience-badge__content p {
    margin-inline: auto;
  }


  /* =======================================================
     Every Dog
     ======================================================= */

  .every-dog__inner {
    flex-direction: row;
    align-items: center;

    gap: 5rem;
  }


  .every-dog__visual {
    flex:
      1
      1
      46%;
  }


  .every-dog__content {
    flex:
      1
      1
      54%;
  }


  .every-dog__image-wrap {
    min-height: 34rem;
  }
}

/* =========================================================
   Large Desktop
   75rem+
   ========================================================= */

@media only screen and (min-width: 75rem) {

  .about-story__inner {
    gap: 7rem;
  }


  .about-story__visual {
    max-width: 38rem;
  }


  .positive-approach__cards {
    gap: 1.25rem;
  }


  .experience-badge__circle {
    width: 12rem;
    height: 12rem;
  }


  .every-dog__inner {
    gap: 7rem;
  }

}

/* =========================================================
   Universal Interior Page CTA
   ========================================================= */

@media only screen and (min-width: 0rem) {

  .page-cta {
    position: relative;

    overflow: hidden;

    padding:
      5rem
      0;

    background: #f3dac5;

    color: var(--color-green-dark);

    text-align: center;
  }


  .page-cta__inner {
    position: relative;

    z-index: 1;

    max-width: 52rem;
  }


  .page-cta__content {
    position: relative;

    z-index: 2;

    max-width: 46rem;

    margin-inline: auto;
  }


  .page-cta__eyebrow {
    margin-bottom: 0.75rem;

    color: var(--color-rust-dark);

    font-size: 0.8rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.13em;
  }


  .page-cta__title {
    margin-bottom: 1rem;

    color: var(--color-green-dark);

    font-size:
      clamp(
        2.4rem,
        9vw,
        4rem
      );

    line-height: 1.05;
  }


  .page-cta__text {
    max-width: 40rem;

    margin:
      0
      auto
      1.75rem;

    color:
      rgba(
        38,
        56,
        40,
        0.78
      );

    font-size: 1.05rem;
    line-height: 1.6;
  }


  .page-cta__button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 0.75rem;

    padding:
      1rem
      1.6rem;

    border:
      0.125rem solid
      rgba(
        255,
        255,
        255,
        0.75
      );

    border-radius:
      var(--radius-pill);

    background:
      var(--color-rust);

    color:
      var(--color-white);

    font-weight: 700;

    text-decoration: none;

    box-shadow:
      0 0.5rem 1.25rem
      rgba(
        38,
        56,
        40,
        0.1
      );

    transition:
      background-color var(--transition),
      transform 350ms ease,
      box-shadow 350ms ease;
  }


  .page-cta__button span {
    transition:
      transform 350ms ease;
  }


  .page-cta__button:hover,
  .page-cta__button:focus-visible {
    background:
      var(--color-rust-dark);

    transform:
      translateY(-0.2rem);

    box-shadow:
      0 0.85rem 1.75rem
      rgba(
        38,
        56,
        40,
        0.16
      );
  }


  .page-cta__button:hover span,
  .page-cta__button:focus-visible span {
    transform:
      translateX(0.3rem);
  }


  .page-cta__paw {
    position: absolute;

    right: -2rem;
    bottom: -2.5rem;

    width: 10rem;
    height: 10rem;

    fill:
      var(--color-green-dark);

    opacity: 0.075;

    transform:
      rotate(-15deg);

    pointer-events: none;
  }


  .page-cta__decor--left {
    position: absolute;

    left: -6rem;
    top: -6rem;

    width: 15rem;
    height: 15rem;

    border:
      2rem solid
      rgba(
        38,
        56,
        40,
        0.055
      );

    border-radius: 50%;

    pointer-events: none;
  }

}


@media only screen and (min-width: 48rem) {

  .page-cta {
    padding:
      5.5rem
      0;
  }


  .page-cta__paw {
    right: -1rem;

    width: 12rem;
    height: 12rem;
  }


  .page-cta__decor--left {
    left: -5rem;
    top: -7rem;

    width: 18rem;
    height: 18rem;
  }

}


@media only screen and (min-width: 64rem) {

  .page-cta {
    padding:
      6rem
      0;
  }


  .page-cta__paw {
    right: 3%;

    bottom: -3rem;

    width: 14rem;
    height: 14rem;
  }


  .page-cta__decor--left {
    left: -7rem;
    top: -8rem;

    width: 21rem;
    height: 21rem;
  }

}


@media (prefers-reduced-motion: reduce) {

  .page-cta__button,
  .page-cta__button span {
    transition: none;
  }

}

/* =========================================================
   Reduced Motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  [data-reveal] {
    opacity: 1;

    transform: none;

    transition: none;
  }


  .approach-card,
  .training-cta__button {
    transition: none;
  }

}