@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-v20.woff2") format("woff2");
}

@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/dm-serif-display-latin-v17.woff2") format("woff2");
}

@font-face {
  font-family: "Great Vibes";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/great-vibes-latin-v21.woff2") format("woff2");
}

:root {
  --site-sage: #586d58;
  --site-sage-dark: #586d58;
  --site-cream: #fbf8f3;
  --site-tan: #f4efe6;
  --site-ink: #303030;
  --site-focus: #173c30;
  --sage: var(--site-sage);
  --cream: var(--site-cream);
  --tan: var(--site-tan);
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--site-tan);
  color: #3f3f3f;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

:where(
  body[data-page="home"],
  body[data-page="about"],
  body[data-page="contact"],
  body[data-page="visit"]
) .section-title {
  font: 400 40px/1.2 "DM Serif Display", serif;
}

:where(
  body[data-page="home"],
  body[data-page="about"],
  body[data-page="contact"],
  body[data-page="visit"]
) .divider {
  width: 80px;
  height: 3px;
  margin: 20px auto 50px;
  border-radius: 2px;
  background: var(--site-sage);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10001;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 16px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font: 600 14px/1.2 "Inter", sans-serif;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.site-skip-link:focus {
  transform: translateY(0);
}

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid #fff !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 5px var(--site-focus) !important;
}

.site-skip-link:focus-visible {
  outline-color: #fff !important;
  box-shadow: 0 0 0 5px #111 !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(88, 109, 88, 0.98);
  box-shadow: 0 5px 20px rgba(31, 43, 34, 0.18);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  width: min(100% - 36px, 1240px);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-header .site-brand {
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 3px;
  min-width: 0;
  min-height: 48px;
  padding: 4px 6px 4px 0;
  border-radius: 10px;
  color: #fffaf1;
  text-decoration: none;
}

.site-header .site-brand:hover,
.site-header .site-brand:focus-visible {
  color: #fff;
  text-decoration: none;
}

.site-brand__name {
  display: block;
  width: 125px;
  aspect-ratio: 1120 / 452;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  line-height: 0;
  background-image: url("/assets/images/kellys-wordmark-v4.png");
  background-image: image-set(
    url("/assets/images/kellys-wordmark-v4.webp") type("image/webp"),
    url("/assets/images/kellys-wordmark-v4.png") type("image/png")
  );
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.site-brand__tagline {
  display: block;
  color: rgba(255, 250, 241, 0.9);
  font: 600 11px/1.15 "Inter", sans-serif;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header .site-navigation {
  display: block;
}

.site-header .site-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .site-nav-list li {
  margin: 0;
  padding: 0;
}

.site-header .site-nav-list a {
  position: relative;
  display: flex;
  min-height: 44px;
  align-items: center;
  margin: 0;
  padding: 12px 10px;
  border-radius: 8px;
  color: #fffaf1;
  font: 600 13px/1.2 "Inter", sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-header .site-nav-list a:hover,
.site-header .site-nav-list a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  text-decoration: none;
  transform: none;
}

.site-header .site-nav-list a[aria-current] {
  color: #304637;
  background: #fffaf1;
}

.site-header .site-nav-list .site-nav-feature {
  display: block;
}

.site-header .site-nav-list .site-nav-lemonade {
  min-height: 82px;
  margin-left: 3px;
  padding: 0 4px;
  background: transparent;
}

.site-nav-lemonade__image {
  display: block;
  width: 64px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 6px 6px rgba(27, 38, 29, 0.28));
}

.site-header .site-nav-list .site-nav-lemonade:hover,
.site-header .site-nav-list .site-nav-lemonade:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.site-mobile-nav {
  display: none;
  position: relative;
}

.site-mobile-nav summary {
  display: flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 250, 241, 0.9);
  border-radius: 10px;
  color: #304637;
  background: #fffaf1;
  font: 600 14px/1 "Inter", sans-serif;
  cursor: pointer;
  list-style: none;
}

.site-mobile-nav summary::-webkit-details-marker {
  display: none;
}

.site-mobile-nav summary::before {
  width: 18px;
  height: 12px;
  content: "";
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}

.site-mobile-nav[open] summary {
  color: #fff;
  border-color: #fffaf1;
  background: #304637;
}

.site-mobile-nav .site-navigation {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(84vw, 330px);
  padding: 10px;
  border: 1px solid rgba(48, 48, 48, 0.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(48, 48, 48, 0.18);
  max-height: calc(100dvh - 104px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.site-mobile-nav .site-nav-list {
  display: grid;
  gap: 3px;
}

.site-mobile-nav .site-nav-list a {
  padding: 13px 14px;
  font-size: 15px;
}

.site-header .site-mobile-nav .site-nav-list a {
  color: var(--site-ink);
}

.site-header .site-mobile-nav .site-nav-list a:hover,
.site-header .site-mobile-nav .site-nav-list a:focus-visible {
  color: #253125;
  background: rgba(88, 109, 88, 0.13);
}

.site-header .site-mobile-nav .site-nav-list a[aria-current] {
  color: #fff;
  background: var(--site-sage);
}

main[id] {
  scroll-margin-top: 104px;
}

main[tabindex="-1"]:focus {
  outline: none;
}

body.has-grand-opening-popup {
  overflow: hidden;
}

.grand-opening-popup {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(30, 46, 35, 0.78);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0s linear 0.2s;
}

.grand-opening-popup.is-visible {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.grand-opening-popup__dialog {
  position: relative;
  width: min(92vw, 460px);
  max-height: calc(100dvh - 40px);
  margin: auto;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 26px;
  background: var(--site-cream);
  box-shadow:
    0 26px 70px rgba(14, 25, 17, 0.38),
    0 7px 20px rgba(14, 25, 17, 0.2);
  transform: translateY(12px) scale(0.975);
  transition: transform 0.2s ease;
}

.grand-opening-popup.is-visible .grand-opening-popup__dialog {
  transform: translateY(0) scale(1);
}

.grand-opening-popup__bar {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 13px 9px 24px;
  background: var(--site-sage);
  color: #fff;
}

.grand-opening-popup__brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.grand-opening-popup__brand-name {
  font: 400 33px/0.85 "Great Vibes", cursive;
}

.grand-opening-popup__brand-tagline {
  margin-top: 7px;
  font: 600 9px/1 "Inter", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.grand-opening-popup__close {
  position: static;
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
  cursor: pointer;
}

.grand-opening-popup__close svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.25;
}

.grand-opening-popup__close:is(:hover, :focus-visible) {
  background: #fff;
  color: var(--site-sage);
}

.grand-opening-popup__close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.grand-opening-popup__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 34px 28px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 100% 0, rgba(185, 155, 102, 0.15), transparent 35%),
    radial-gradient(circle at 0 100%, rgba(88, 109, 88, 0.11), transparent 38%),
    var(--site-cream);
}

.grand-opening-popup__content::before,
.grand-opening-popup__content::after {
  position: absolute;
  width: 94px;
  height: 94px;
  border: 1px solid rgba(88, 109, 88, 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.grand-opening-popup__content::before {
  top: -57px;
  right: -42px;
}

.grand-opening-popup__content::after {
  bottom: -64px;
  left: -51px;
}

.grand-opening-popup__mark {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid rgba(88, 109, 88, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.64);
  color: var(--site-sage);
  box-shadow: 0 7px 20px rgba(52, 69, 54, 0.08);
}

.grand-opening-popup__mark svg {
  width: 54px;
  height: 42px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.grand-opening-popup__mark-cone {
  color: #a77f45;
}

.grand-opening-popup__eyebrow {
  margin: 13px 0 2px;
  color: var(--site-sage);
  font: 600 11px/1.2 "Inter", sans-serif;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.grand-opening-popup__title {
  margin: 0;
  color: #26372b;
  font: 400 clamp(36px, 9vw, 44px)/1.08 "DM Serif Display", Georgia, serif;
  letter-spacing: -0.02em;
}

.grand-opening-popup__subtitle {
  margin: 1px 0 7px;
  color: #a77f45;
  font: 400 clamp(30px, 8vw, 38px)/1.1 "Great Vibes", cursive;
}

.grand-opening-popup__description {
  max-width: 32ch;
  margin: 0;
  color: #4b554c;
  font-size: 14px;
  line-height: 1.55;
}

.grand-opening-popup__dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  margin-top: 20px;
  border: 1px solid rgba(88, 109, 88, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(52, 69, 54, 0.07);
}

.grand-opening-popup__date {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  padding: 14px 10px;
}

.grand-opening-popup__date + .grand-opening-popup__date {
  border-left: 1px solid rgba(88, 109, 88, 0.22);
}

.grand-opening-popup__date span {
  color: #657066;
  font: 600 10px/1.2 "Inter", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.grand-opening-popup__date strong {
  color: #26372b;
  font: 400 21px/1.2 "DM Serif Display", Georgia, serif;
}

.grand-opening-popup__location {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 16px 0 0;
  color: #4e5d51;
  font: 600 12px/1.35 "Inter", sans-serif;
}

.grand-opening-popup__location svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--site-sage);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

footer {
  width: 100%;
  margin-top: 80px;
  padding: 56px 7vw 26px;
  background-color: var(--site-sage);
  color: #fff;
}

body:is([data-page="coffee-menu"], [data-page="ice-cream-menu"]) footer {
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(130px, 0.8fr));
  gap: clamp(28px, 4vw, 52px);
  width: min(100%, 1160px);
  margin: 0 auto;
}

.footer-col {
  min-width: 0;
}

footer .footer-heading {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  color: #fff;
}

.footer-col:first-child .footer-heading {
  max-width: 15ch;
  font: 400 clamp(24px, 2.1vw, 28px)/1.15 "DM Serif Display", Georgia, serif;
}

.footer-col:not(:first-child) .footer-heading {
  font: 400 19px/1.25 "DM Serif Display", Georgia, serif;
}

.footer-col p {
  margin: 0 0 5px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.55;
}

.footer-col:first-child > p:nth-of-type(2),
.footer-col:first-child > p:nth-of-type(3) {
  display: inline;
  font-weight: 600;
}

.footer-col:first-child > p:nth-of-type(2)::after {
  content: " · ";
  color: rgba(255, 255, 255, 0.55);
}

.footer-col a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 2px;
  padding: 4px 0;
  overflow-wrap: anywhere;
}

footer a,
footer a:visited {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.18s ease;
}

footer a:is(:hover, :focus-visible) {
  color: #fff;
  background: transparent;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, 1160px);
  margin: 40px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}

.footer-built {
  white-space: nowrap;
}

.footer-built .autonomous-link {
  display: inline-flex;
  gap: 0.25em;
  margin-left: 3px;
  padding: 3px 0;
}

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

@media (min-width: 981px) {
  .footer-grid {
    grid-template-columns:
      minmax(230px, 1.25fr)
      minmax(230px, 1fr)
      minmax(100px, 0.55fr)
      minmax(150px, 0.75fr);
    gap: clamp(24px, 3vw, 44px);
  }

  .footer-col:nth-child(2) a[href^="mailto:"] {
    max-width: none;
    overflow-wrap: normal;
    white-space: nowrap;
  }
}

@media (max-width: 980px) {
  .site-header__inner {
    min-height: 76px;
    gap: 18px;
  }

  .site-desktop-nav {
    display: none !important;
  }

  .site-header .site-nav-list .site-nav-feature {
    display: none;
  }

  .site-mobile-nav {
    display: block;
  }

  .site-brand__name {
    width: 118px;
  }

  .site-brand__tagline {
    display: block;
    font-size: 10px;
    letter-spacing: 0.11em;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 36px;
  }
}

@media (max-width: 760px) {
  footer {
    padding: 42px 24px 22px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px 24px;
  }

  .footer-col:nth-child(-n + 2) {
    grid-column: 1 / -1;
  }

  .footer-col:not(:first-child) a {
    min-height: 38px;
    display: flex;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 30px;
  }

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

}

@media (max-width: 480px) {
  .grand-opening-popup {
    padding: 16px;
  }

  .grand-opening-popup__dialog {
    width: 100%;
    max-height: calc(100dvh - 32px);
    border-radius: 22px;
  }

  .grand-opening-popup__bar {
    min-height: 68px;
    padding: 8px 10px 8px 20px;
  }

  .grand-opening-popup__brand-name {
    font-size: 30px;
  }

  .grand-opening-popup__close {
    width: 42px;
    height: 42px;
  }

  .grand-opening-popup__content {
    padding: 19px 20px 23px;
  }

  .grand-opening-popup__mark {
    width: 62px;
    height: 62px;
  }

  .grand-opening-popup__mark svg {
    width: 48px;
    height: 38px;
  }

  .grand-opening-popup__eyebrow {
    margin-top: 11px;
  }

  .grand-opening-popup__title {
    font-size: clamp(34px, 10vw, 40px);
  }

  .grand-opening-popup__subtitle {
    font-size: clamp(29px, 9vw, 35px);
  }

  .grand-opening-popup__dates {
    margin-top: 16px;
  }

  .grand-opening-popup__date {
    padding: 12px 8px;
  }

  .grand-opening-popup__date strong {
    font-size: 19px;
  }

  .site-header__inner {
    width: min(100% - 24px, 1240px);
    gap: 12px;
  }

  .site-brand__name {
    width: 112px;
  }
}

@media (max-width: 350px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-col:nth-child(n) {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  :where(a, button, input, textarea, select, summary):focus-visible {
    outline: 3px solid Highlight !important;
    box-shadow: none !important;
  }

  .site-header .site-nav-list a[aria-current] {
    border: 2px solid currentColor;
  }
}
