/* =========================================================
   Wet Nose Knowledge
   Global Styles
   ========================================================= */


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

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

  /* =======================================================
     Custom Properties
     ======================================================= */

  :root {
    /* Colors */
    --color-cream: #fcfbf5;
    --color-cream-dark: #f3efe3;

    --color-sage: #a9b99a;
    --color-sage-light: #dce4d5;

    --color-green: #465b42;
    --color-green-dark: #263828;

    --color-rust: #b65c38;
    --color-rust-dark: #944426;

    --color-text: #252821;
    --color-text-light: #5f665c;

    --color-white: #ffffff;

    /* Typography */
    --font-heading: Georgia, "Times New Roman", serif;
    --font-body: Arial, Helvetica, sans-serif;

    /* Layout */
    --container-width: 75rem;
    --container-padding: 1.25rem;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.75rem;
    --radius-pill: 999rem;

    /* Shadows */
    --shadow-sm: 0 0.25rem 1rem rgba(0, 0, 0, 0.06);
    --shadow-md: 0 0.75rem 2rem rgba(0, 0, 0, 0.10);

    /* Animation */
    --transition: 200ms ease;
  }


  /* =======================================================
     Reset
     ======================================================= */

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    margin: 0;

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

    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
  }

  body.nav-open {
    overflow: hidden;
  }
  /* =======================================================
   Mobile Navigation Backdrop
   ======================================================= */

  body::before {
    content: "";

    position: fixed;
    inset: 0;

    z-index: 999;

    background:
      rgba(38, 56, 40, 0.12);

    -webkit-backdrop-filter:
      blur(0.45rem);

    backdrop-filter:
      blur(0.45rem);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
      opacity 250ms ease,
      visibility 250ms ease;
  }


  body.nav-open::before {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;
  }

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

  img {
    height: auto;
  }

  button,
  input,
  textarea,
  select {
    font: inherit;
  }

  button {
    color: inherit;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  ul,
  ol {
    margin-top: 0;
  }

  main {
    display: block;
  }


  /* =======================================================
     Typography
     ======================================================= */

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin-top: 0;

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

    font-family: var(--font-heading);
    line-height: 1.1;
  }

  h1 {
    font-size: clamp(2.75rem, 8vw, 5.5rem);
  }

  h2 {
    font-size: clamp(2.1rem, 6vw, 3.75rem);
  }

  h3 {
    font-size: clamp(1.4rem, 4vw, 1.9rem);
  }

  p {
    margin-top: 0;
  }

  p:last-child {
    margin-bottom: 0;
  }


  /* =======================================================
     Global Layout
     ======================================================= */

  .container {
    width: min(
      calc(100% - (var(--container-padding) * 2)),
      var(--container-width)
    );

    margin-inline: auto;
  }

  .section {
    padding-block: var(--space-xl);
  }

  .section--large {
    padding-block: var(--space-2xl);
  }

  .section--sage {
    background: var(--color-sage-light);
  }

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

  .section--rust {
    background: var(--color-rust);
    color: var(--color-white);
  }


  /* =======================================================
     Buttons
     ======================================================= */

  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 3rem;

    padding: 0.85rem 1.5rem;

    border: 0.125rem solid transparent;
    border-radius: var(--radius-pill);

    font-weight: 700;
    line-height: 1;

    cursor: pointer;

    transition:
      background-color var(--transition),
      color var(--transition),
      border-color var(--transition),
      transform var(--transition),
      box-shadow var(--transition);
  }

  .button:hover,
  .button:focus-visible {
    transform: translateY(-0.125rem);
  }

  .button--primary {
    background: var(--color-rust);
    color: var(--color-white);
  }

  .button--primary:hover,
  .button--primary:focus-visible {
    background: var(--color-rust-dark);
    box-shadow: var(--shadow-sm);
  }

  .button--secondary {
    border-color: var(--color-green);
    color: var(--color-green);
  }

  .button--secondary:hover,
  .button--secondary:focus-visible {
    background: var(--color-green);
    color: var(--color-white);
  }


  /* =======================================================
     Navigation
     ======================================================= */

  .site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: var(--color-cream);

    box-shadow:
      0 0.125rem 0.75rem rgba(0, 0, 0, 0.05);
  }

  .site-nav__inner {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 6.5rem;
  }


  /* ---------- Logo ---------- */

  .site-nav__logo {
    position: relative;
    z-index: 1002;

    display: block;
    flex-shrink: 0;

    width: 5.5rem;
  }

  .site-nav__logo img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
  }

  .site-nav__toggle {
    position: relative;
    z-index: 1002;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 0.35rem;

    width: 3.25rem;
    height: 3.25rem;

    padding: 0.7rem;

    background: var(--color-rust);

    border: 0.125rem solid var(--color-rust);
    border-radius: 50%;

    cursor: pointer;

    transition:
      background-color var(--transition),
      border-color var(--transition),
      transform var(--transition);
  }

  .site-nav__toggle span {
    display: block;

    width: 100%;
    height: 0.125rem;

    background: var(--color-white);

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

    transition:
      transform var(--transition),
      opacity var(--transition);
  }


  /* ---------- Hamburger Open State ---------- */

  .site-nav__toggle.is-open span:nth-child(1) {
    transform: translateY(0.45rem) rotate(45deg);
  }

  .site-nav__toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .site-nav__toggle.is-open span:nth-child(3) {
    transform: translateY(-0.45rem) rotate(-45deg);
  }


  /* ---------- Mobile Dropdown ---------- */

  .site-nav__menu {
    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    padding:
      0.75rem
      var(--container-padding)
      1.75rem;

    background: var(--color-cream);

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

    box-shadow:
      0 0.875rem 1.5rem rgba(0, 0, 0, 0.08);

    visibility: hidden;
    opacity: 0;

    transform: translateY(-0.75rem);

    pointer-events: none;

    transition:
      visibility var(--transition),
      opacity var(--transition),
      transform var(--transition);
  }

  .site-nav__menu.is-open {
    visibility: visible;
    opacity: 1;

    transform: translateY(0);

    pointer-events: auto;
  }


  /* ---------- Mobile Navigation Links ---------- */

  .site-nav__list {
    display: flex;
    flex-direction: column;

    margin: 0;
    padding: 0;

    list-style: none;
  }

  .site-nav__list li {
    border-bottom:
      0.0625rem solid rgba(38, 56, 40, 0.12);
  }

  .site-nav__list li:last-child {
    border-bottom: 0;
  }

  /* ---------- Active Navigation Link ---------- */
  .site-nav__list a:not(.button).is-active {
    color: var(--color-rust);
    font-weight: 700;
  }
  .site-nav__list a:not(.button) {
    display: block;

    padding: 1rem 0;

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

    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;

    transition: color var(--transition);
  }

  .site-nav__list a:not(.button):hover,
  .site-nav__list a:not(.button):focus-visible {
    color: var(--color-rust);
  }


  /* ---------- Desktop CTA Hidden on Mobile ---------- */

  .site-nav__cta {
    display: none;
  }
  


  /* =======================================================
     Interior Page Header
     ======================================================= */

  .page-header {
    padding-block: var(--space-lg);

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

  .page-header__inner {
    max-width: 50rem;
  }

  .page-header__eyebrow {
    margin-bottom: var(--space-sm);

    color: var(--color-rust);

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

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

  .page-header__title {
    margin-bottom: var(--space-md);
  }

  .page-header__intro {
    max-width: 42rem;

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

    font-size: 1.05rem;
  }

  
  /* =======================================================
     Utility Classes
     ======================================================= */

  .text-center {
    text-align: center;
  }

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

  .max-width-text {
    max-width: 45rem;
  }

  .visually-hidden {
    position: absolute;

    width: 0.0625rem;
    height: 0.0625rem;

    padding: 0;
    margin: -0.0625rem;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
  }

}

/* =========================================================
   Mobile Navigation Actions
   Phone Button + Hamburger Group
   ========================================================= */

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

  .site-nav__mobile-actions {
    display: flex;

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

    gap: 0.6rem;

    margin-left: auto;
  }


  /* =========================
     Phone Button
     ========================= */

  .site-nav__phone {
    display: inline-flex;

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

    flex:
      0
      0
      auto;

    width: 2.75rem;
    height: 2.75rem;

    padding: 0;

    border:
      0.125rem solid
      var(--color-rust);

    border-radius: 50%;

    background:
      var(--color-cream);

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

    text-decoration: none;

    box-shadow:
      0 0.3rem 0.8rem
      rgba(38, 56, 40, 0.1);

    transition:
      background-color 300ms ease,
      border-color 300ms ease,
      color 300ms ease,
      transform 300ms ease,
      box-shadow 300ms ease;
  }

  .site-nav__phone-icon {
    display: block;

    width: 1.15rem;
    height: 1.15rem;

    fill: currentColor;
  }


  .site-nav__phone:hover,
  .site-nav__phone:focus-visible {
    background:
      var(--color-rust);

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

    color:
      var(--color-white);

    transform:
      translateY(-0.1rem);

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


  .site-nav__phone:focus-visible {
    outline:
      0.15rem solid
      var(--color-green-dark);

    outline-offset:
      0.18rem;
  }

}


/* =========================================================
   Desktop Navigation
   Hide Mobile Phone Button
   ========================================================= */

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

  .site-nav__mobile-actions {
    display: contents;
  }


  .site-nav__phone {
    display: none;
  }

}


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

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

  .site-nav__phone {
    transition: none;
  }

}

/* =========================================================
   Tablet
   43.75rem+ / 700px+
   ========================================================= */

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

  :root {
    --container-padding: 2rem;
  }

  .page-header {
    padding-block: var(--space-xl);
  }

}


/* =========================================================
   Desktop
   56.25rem+ / 900px+
   ========================================================= */

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

  .site-nav__inner {
    min-height: 8rem;
  }

  .site-nav__logo {
    width: 7rem;
  }

  .site-nav__toggle {
    display: none;
  }
  body::before,
  body.nav-open::before {
    display: none;
  }

  .site-nav__menu {
    position: static;

    width: auto;

    padding: 0;

    background: transparent;

    border: 0;
    box-shadow: none;

    visibility: visible;
    opacity: 1;

    transform: none;

    pointer-events: auto;
  }

  .site-nav__list {
    flex-direction: row;
    align-items: center;

    gap: 1.75rem;
  }

  .site-nav__list li {
    border: 0;
  }

  .site-nav__list a:not(.button) {
    position: relative;

    padding: 0.65rem 0;

    font-size: 0.95rem;
  }

  .site-nav__list a:not(.button)::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0.2rem;

    width: 100%;
    height: 0.125rem;

    background: var(--color-rust);

    transform: scaleX(0);
    transform-origin: right;

    transition: transform var(--transition);
  }

  .site-nav__list a:not(.button):hover::after,
  .site-nav__list a:not(.button):focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .site-nav__cta {
    display: block;

    margin-left: 0.25rem;
  }

  .site-nav__cta .button {
    padding-inline: 1.35rem;

    white-space: nowrap;
  }

}


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

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

  .site-nav__list {
    gap: 2.25rem;
  }

  .site-nav__logo {
    width: 7rem;
  }

}

/* =========================================================
   Footer
   ========================================================= */


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

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

  .site-footer {
    padding-top: var(--space-xl);

    background: var(--color-green-dark);
    color: rgba(255, 255, 255, 0.82);

    text-align: center;
  }


  /* =======================================================
     Main Footer Layout
     ======================================================= */

  .site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;

    gap: var(--space-lg);

    padding-bottom: var(--space-lg);
  }


  .site-footer__brand,
  .site-footer__section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }


  /* =======================================================
     Logo
     ======================================================= */

  .site-footer__logo {
    display: inline-flex;

    margin-bottom: var(--space-md);
  }


  .site-footer__logo-circle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 10rem;
    height: 10rem;

    padding: 1rem;

    border-radius: 50%;

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

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


  .site-footer__logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
  }


  .site-footer__logo:hover .site-footer__logo-circle,
  .site-footer__logo:focus-visible .site-footer__logo-circle {
    transform:
      translateY(-0.2rem)
      scale(1.025);

    box-shadow:
      0 0.75rem 1.75rem
      rgba(0, 0, 0, 0.16);
  }


  /* =======================================================
     Brand Copy
     ======================================================= */

  .site-footer__brand p {
    max-width: 32rem;

    margin-inline: auto;
  }


  /* =======================================================
     Headings
     ======================================================= */

  .site-footer__heading {
    margin-bottom: var(--space-sm);

    color: var(--color-white);

    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;

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


  /* =======================================================
     Navigation Links
     ======================================================= */

  .site-footer__links,
  .site-footer__contact {
    margin: 0;
    padding: 0;

    list-style: none;

    text-align: center;
  }


  .site-footer__links li + li,
  .site-footer__contact li + li {
    margin-top: 0.65rem;
  }


  .site-footer__links a,
  .site-footer__contact a,
  .site-footer__legal a,
  .site-footer__bottom p a {
    color: inherit;

    transition:
      color var(--transition);
  }


  .site-footer__links a:hover,
  .site-footer__links a:focus-visible,
  .site-footer__contact a:hover,
  .site-footer__contact a:focus-visible,
  .site-footer__legal a:hover,
  .site-footer__legal a:focus-visible,
  .site-footer__bottom p a:hover,
  .site-footer__bottom p a:focus-visible {
    color: var(--color-rust);
  }


  /* =======================================================
     Follow / Social
     ======================================================= */

  .site-footer__follow {
    margin-top: 2rem;
  }


  .site-footer__follow-label {
    margin-bottom: 0.7rem;

    color: rgba(255, 255, 255, 0.68);

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

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


  .site-footer__socials {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 0.75rem;
  }


  .site-footer__social-link {
    position: relative;
    z-index: 0;

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

    width: 3rem;
    height: 3rem;

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

    border-radius: 50%;

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

    box-shadow:
      0 0.35rem 1rem
      rgba(0, 0, 0, 0.08);

    transition:
      background-color 400ms ease,
      border-color 400ms ease,
      color 400ms ease,
      box-shadow 400ms ease;
  }


  .site-footer__social-link::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -1;

    border-radius: 50%;

    background: var(--color-rust);

    opacity: 0;

    transform: scale(1);

    transition:
      transform 450ms ease,
      opacity 450ms ease;
  }


  .site-footer__social-icon {
    position: relative;
    z-index: 1;

    width: 1.65rem;
    height: 1.65rem;

    fill: currentColor;
  }


  .site-footer__social-link:hover,
  .site-footer__social-link:focus-visible {
    background: var(--color-rust);
    border-color: var(--color-rust);
    color: var(--color-white);

    box-shadow:
      0 0.75rem 1.5rem
      rgba(0, 0, 0, 0.18);
  }


  .site-footer__social-link:hover::before,
  .site-footer__social-link:focus-visible::before {
    opacity: 0.25;

    transform: scale(1.16);
  }


  /* =======================================================
     Footer Bottom
     ======================================================= */

  .site-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: var(--space-sm);

    padding-block: 1.5rem;

    border-top:
      0.0625rem solid
      rgba(255, 255, 255, 0.15);

    font-size: 0.85rem;

    text-align: center;
  }


  .site-footer__bottom p {
    margin: 0;
  }


  .site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 1.25rem;
  }

}


/* =========================================================
   Tablet
   43.75rem+
   ========================================================= */

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

  .site-footer {
    text-align: left;
  }


  .site-footer__grid {
    grid-template-columns:
      2fr
      1fr
      1.4fr;

    align-items: start;
  }


  .site-footer__brand,
  .site-footer__section {
    align-items: flex-start;
  }


  .site-footer__brand p {
    margin-inline: 0;
  }


  .site-footer__links,
  .site-footer__contact {
    text-align: left;
  }


  .site-footer__follow {
    margin-top: 2.25rem;
  }


  .site-footer__socials {
    justify-content: flex-start;
  }


  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    gap: var(--space-md);

    text-align: left;
  }


  .site-footer__legal {
    justify-content: flex-start;
  }

}