.reservation-grid {
  --grid-gutter: calc(var(--site-gutter-mobile, 6vw) - 11px);
  --cell-max-width: calc((var(--site-max-width, 1500px) - (11px * (8 - 1))) / 8);

  display: grid;
  position: relative;
  grid-area: 1/1/-1/-1;
  grid-template-rows: repeat(6, minmax(24px, auto));
  grid-template-columns:
    minmax(var(--grid-gutter), 1fr)
    repeat(8, minmax(0, var(--cell-max-width)))
    minmax(var(--grid-gutter), 1fr);
  row-gap: 11px;
  column-gap: 11px;
  overflow-x: hidden;
  overflow-x: clip;
}

@media (min-width: 768px) {
  .reservation-grid {
    --grid-gutter: calc(var(--site-gutter, 4vw) - 11px);
    --cell-max-width: calc((var(--site-max-width, 1500px) - (11px * (24 - 1))) / 24);
    --inset-padding: 0vw;

    --row-height-scaling-factor: 0.0215;
    --container-width: min(
      var(--site-max-width, 1500px),
      calc(100vw - var(--site-gutter, 4vw) * 2 - var(--inset-padding))
    );

    grid-template-rows: repeat(40, minmax(calc(var(--container-width) * var(--row-height-scaling-factor)), auto));
    grid-template-columns:
      minmax(var(--grid-gutter), 1fr)
      repeat(24, minmax(0, var(--cell-max-width)))
      minmax(var(--grid-gutter), 1fr);
  }
}

.reservation-grid__form {
  grid-area: 1/2/7/10;
  z-index: 1;
}

.reservation-grid__form .block {
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .reservation-grid__form {
    grid-area: 1/2/38/-2;
    z-index: 1;
  }

  .reservation-grid__form .block {
    justify-content: flex-start;
  }
}
@font-face {
  font-family: "Perrrot";
  src: url("/fonts/perrrot.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --ink: #161410;
  --ink-70: #4a463f;
  --ink-50: #76716a;
  --ink-30: #a8a299;
  --paper: #ffffff;
  --sheet: #ffffff;
  --line: #161410;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito", "Avenir Next", "Avenir", sans-serif;
  min-height: 100vh;
  padding: 40px 20px 72px;
  display: flex;
  justify-content: center;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--ink) 0.6px, transparent 0.6px);
  background-size: 22px 22px;
  opacity: 0;
  z-index: 0;
}
#nd-reservation-form {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.nd-sheet {
  background: var(--sheet);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 44px 44px 40px;
  box-shadow: 7px 9px 0 rgba(22, 20, 16, 0.9);
}
.nd-header {
  text-align: center;
  margin-bottom: 26px;
}

.nd-hero-dog {
  width: 132px;
  height: auto;
  display: block;
  margin: 0 auto ;
}

.nd-wordmark {
  width: 184px;
  height: auto;
  display: block;
}

.sw-wordmark {
  width: 188px;
  height: auto;
  display: block;
  transform: translateY(20%);
}

.reservation-logos {
  display: flex;
  gap: 0.2em;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  margin: 0 auto 22px;
}

.nd-title {
  font-family: "Perrrot", "Nunito", sans-serif;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
  svg {
    width: 100%;
    height: auto;
    display: block;
  }
}
.nd-wave {
  display: block;
  width: 100%;
  height: 9px;
  margin: 22px 0;
  color: var(--ink);
}

.nd-blurb {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-70);
  margin-bottom: 10px;
}

.nd-blurb a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
}

.nd-blurb a:hover {
  opacity: 0.55;
}

.nd-blurb-note {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-50);
  font-style: italic;
  margin-bottom: 2px;
}
.nd-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 11px 20px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: var(--sheet);
  color: var(--ink);
  text-decoration: none;
  font-family: "Perrrot", "Nunito", sans-serif;
  font-size: 17px;
  letter-spacing: 0.02em;
  transition:
    transform 0.1s ease,
    box-shadow 0.12s ease,
    background 0.15s ease,
    color 0.15s ease;
}

.nd-menu-link:hover {
  box-shadow: 3px 3px 0 var(--ink);
}

.nd-menu-link:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.nd-menu-link-arrow {
  width: 20px;
  height: 12px;
  flex: none;
  transition: transform 0.15s ease;
}

.nd-menu-link:hover .nd-menu-link-arrow {
  transform: translateX(3px);
}
.nd-field {
  margin-bottom: 24px;
}

.nd-label {
  display: block;
  font-family: "Perrrot", "Nunito", sans-serif;
  font-size: 19px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

.nd-label .nd-optional {
  font-family: "Nunito", "Avenir Next", sans-serif;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--ink-30);
  margin-left: 6px;
  font-style: italic;
  text-transform: none;
}

.nd-input,
.nd-select,
.nd-textarea {
  width: 100%;
  font-family: "Nunito", "Avenir Next", "Avenir", sans-serif;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--sheet);
  border: 1.5px solid var(--line);
  border-radius: 11px;
  padding: 12px 15px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition:
    box-shadow 0.12s ease,
    border-color 0.12s ease;
}

.nd-input::placeholder,
.nd-textarea::placeholder {
  color: var(--ink-30);
}

.nd-input:focus,
.nd-select:focus,
.nd-textarea:focus {
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.nd-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M1.5 2 Q7 9 12.5 2' stroke='%23161410' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
  cursor: pointer;
}

.nd-textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
}

.nd-field-note {
  margin-top: 7px;
  font-size: 12px;
  color: var(--ink-50);
  font-style: italic;
  line-height: 1.5;
}

.nd-field-error {
  display: none;
  margin-top: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #b03a63;
  line-height: 1.5;
  padding: 9px 12px;
  border: 1.5px solid #e7a7be;
  border-radius: 9px;
  background: #fdeef3;
}

.nd-field-error.visible {
  display: block;
}
.nd-contact-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.nd-toggle-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: calc(50% - 4px);
  vertical-align: top;
  padding: 11px 0;
  margin-top: 4px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  font-family: "Perrrot", "Nunito", sans-serif;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--sheet);
  cursor: pointer;
  transition:
    transform 0.12s ease,
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.12s ease;
  user-select: none;
}

.nd-pill-b {
  margin-left: 8px;
}

.nd-toggle-pill:hover {
  box-shadow: 3px 3px 0 var(--ink);
}
#nd-pref-email:checked ~ .nd-pill-a,
#nd-pref-sms:checked ~ .nd-pill-b {
  background: var(--ink);
  color: var(--sheet);
  box-shadow: none;
}
.nd-contact-field {
  margin-top: 16px;
  display: none;
}
#nd-pref-email:checked ~ #nd-email-field {
  display: block;
}
#nd-pref-sms:checked ~ #nd-phone-field {
  display: block;
}
.nd-newsletter-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.nd-newsletter-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--sheet);
  cursor: pointer;
  margin-top: 1px;
  transition: background 0.15s ease;
  position: relative;
}

.nd-newsletter-label input[type="checkbox"]:checked {
  background: var(--ink);
}

.nd-newsletter-label input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: 2px solid var(--sheet);
  border-top: none;
  border-left: none;
  transform: rotate(42deg);
}

.nd-newsletter-text {
  font-family: "Nunito", "Avenir Next", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-70);
}
.nd-submit {
  width: 100%;
  font-family: "Perrrot", "Nunito", sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sheet);
  background: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 13px;
  padding: 15px;
  cursor: pointer;
  transition:
    transform 0.1s ease,
    box-shadow 0.1s ease,
    background 0.15s ease,
    color 0.15s ease;
  margin-top: 6px;
  box-shadow: 4px 4px 0 rgba(22, 20, 16, 0.25);
}

.nd-submit:hover {
  background: var(--sheet);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.nd-submit:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}
#nd-confirmation {
  display: none;
}

.nd-confirm-dog {
  width: 168px;
  height: auto;
  display: block;
  margin: 6px auto 18px;
}

.nd-confirm-title {
  font-family: "Perrrot", "Nunito", sans-serif;
  font-size: 38px;
  line-height: 1.05;
  color: var(--ink);
  text-align: center;
  margin-bottom: 18px;
}

.nd-confirm-body {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-70);
  margin-bottom: 12px;
}

.nd-confirm-body strong {
  color: var(--ink);
  font-weight: 800;
}

.nd-confirm-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-50);
  font-style: italic;
  margin-top: 18px;
}

.nd-confirm-note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.nd-error {
  display: none;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink);
  font-style: italic;
  text-align: center;
}
.nd-footmark {
  text-align: center;
  margin-top: 22px;
  font-family: "Perrrot", "Nunito", sans-serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-30);
}
@media (max-width: 480px) {
  body {
    padding: 24px 14px 52px;
  }
  .nd-sheet {
    padding: 32px 24px 30px;
    border-radius: 16px;
    box-shadow: 5px 6px 0 rgba(22, 20, 16, 0.9);
  }
  .nd-title {
    font-size: 33px;
  }
  .nd-confirm-title {
    font-size: 31px;
  }
}

.reservation-grid__form {
  --opacity: 100%;
  --origin-x: 50%;
  --origin-y: 50%;
  --block-transform: none;

  opacity: var(--opacity, 1);
  transform: var(--block-transform);
  transform-origin: var(--origin-x) var(--origin-y);
}

.nd-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.nd-pill-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.nd-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 10px 16px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  font-family: "Perrrot", "Nunito", sans-serif;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--sheet);
  cursor: pointer;
  user-select: none;
  transition:
    transform 0.12s ease,
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.12s ease;
}

.nd-pill:hover {
  box-shadow: 3px 3px 0 var(--ink);
}

.nd-pill-radio:checked + .nd-pill {
  background: var(--ink);
  color: var(--sheet);
  box-shadow: none;
}

.nd-pill-radio:focus-visible + .nd-pill {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.nd-pill--off,
.nd-pill--off:hover {
  color: var(--ink-30);
  border-color: #dcd8d1;
  background: #f6f4f0;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  cursor: not-allowed;
  box-shadow: none;
}

.nd-subfield {
  display: none;
  margin-top: 16px;
}

.nd-subfield.visible {
  display: block;
}

.nd-input--short {
  max-width: 140px;
}

.nd-notice {
  display: none;
  margin-top: 14px;
  padding: 12px 15px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: #fbf7ee;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-70);
}

.nd-notice.visible {
  display: block;
}

.nd-notice p {
  margin: 0;
}

.nd-notice p + p {
  margin-top: 8px;
}

.nd-select:disabled {
  color: var(--ink-50);
  cursor: default;
  opacity: 1;
}

.nd-select option:disabled {
  color: var(--ink-30);
}

.nd-availability-status {
  display: none;
}

.nd-availability-status.visible {
  display: block;
}

.nd-availability-status--error {
  color: #b03a63;
  font-style: normal;
  font-weight: 700;
}

.nd-refusal {
  margin-top: 12px;
}

#nd-confirm-large {
  display: none;
}

#nd-confirm-large.visible {
  display: block;
}

/* These appear on interaction, so they shouldn't wait for the page-load stagger. */
.nd-notice .reveal,
.nd-bar-note.reveal {
  transition-delay: 0s !important;
  transition-duration: 0.25s !important;
}

.nd-segmented {
  display: flex;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  background: var(--sheet);
}

.nd-segment {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 0;
  font-family: "Perrrot", "Nunito", sans-serif;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.nd-segment ~ .nd-segment {
  border-left: 1.5px solid var(--line);
}

.nd-pill-radio:not(:checked) + .nd-segment:hover {
  background: #f6f4f0;
}

.nd-pill-radio:checked + .nd-segment {
  background: var(--ink);
  color: var(--sheet);
}

.nd-segment-logo {
  display: block;
  height: 1.4em;
  width: auto;
  transform: translateY(3px);
}

.nd-pill-radio:checked + .nd-segment .nd-segment-logo {
  filter: invert(1);
}

.nd-pill-radio:focus-visible + .nd-segment {
  outline: 2px solid currentColor;
  outline-offset: -5px;
}

.nd-bar-note {
  display: none;
}

.nd-bar-note.visible {
  display: block;
}

@media (max-width: 480px) {
  .nd-segment {
    font-size: 14px;
    letter-spacing: 0.02em;
  }
}

.page-section .page-section__border,
.page-section .page-section__background {
  background-color: transparent;
}

.bg-shader {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bg-shader.visible {
  opacity: 1;
}
