:root {
  --mf-font: Inter, "Helvetica Neue", Arial, sans-serif;
  --mf-size: 14px;
  --mf-tracking: -0.014em;
  --mf-lh: 1.5;
  --mf-page: #000000;
  --mf-text: #e6e1d8;
  --mf-body: #b8b3aa;
  --mf-muted: #8e8a83;
  --mf-line: rgba(230, 225, 216, 0.16);
  --mf-divider: rgba(230, 225, 216, 0.7);
  --mf-pad: 16px;
  --mf-max: 560px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--mf-page);
  color: var(--mf-text);
  font-family: var(--mf-font);
  font-size: var(--mf-size);
  font-weight: 400;
  font-synthesis: none;
  line-height: var(--mf-lh);
  letter-spacing: var(--mf-tracking);
  -webkit-font-smoothing: antialiased;
}

.ss27 {
  width: 100%;
  background: var(--mf-page);
  color: var(--mf-text);
}

@property --ss27-vig {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 0%;
}

.ss27-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  pointer-events: none;
  --ss27-vig: 0%;
}

.ss27-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 50% 46%, transparent var(--ss27-vig), #000 calc(var(--ss27-vig) + 36%));
}

.ss27-loader__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0 20px;
  font-family: var(--mf-font);
  font-size: var(--mf-size);
  font-weight: 400;
  letter-spacing: var(--mf-tracking);
  text-transform: uppercase;
  line-height: 1;
  color: var(--mf-text);
}

.ss27-loader__char {
  opacity: 0.18;
  animation: ss27-loader-letter 2.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.07s);
}

.ss27-loader__space {
  width: 0.38em;
}

@keyframes ss27-loader-letter {
  0%,
  100% {
    opacity: 0.18;
    color: var(--mf-text);
  }

  12%,
  28% {
    opacity: 1;
    color: var(--mf-text);
  }
}

.ss27-loader.is-done {
  animation: ss27-loader-out 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ss27-fade {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 88px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.74) 30%, rgba(0, 0, 0, 0.44) 58%, rgba(0, 0, 0, 0.16) 82%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 50;
}

.ss27-fade.ss27-fade--top {
  top: 0;
  bottom: auto;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.74) 30%, rgba(0, 0, 0, 0.44) 58%, rgba(0, 0, 0, 0.16) 82%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  transition: opacity 0.18s linear;
}

@keyframes ss27-loader-out {
  0% {
    --ss27-vig: 0%;
    opacity: 1;
  }

  70% {
    --ss27-vig: 115%;
    opacity: 1;
  }

  100% {
    --ss27-vig: 165%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ss27-modal__panel {
    transition: none;
  }

  .ss27-modal__panel.is-visible {
    transform: translateX(0);
  }

  .ss27-loader__char {
    animation: none;
    opacity: 0.7;
    color: var(--mf-text);
  }

  .ss27-loader.is-done {
    animation: ss27-loader-fade 0.5s ease forwards;
  }

  @keyframes ss27-loader-fade {
    to {
      opacity: 0;
    }
  }
}

.ss27__phone {
  width: 100%;
  max-width: var(--mf-max);
  margin-inline: auto;
  position: relative;
}

.ss27__wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 18px var(--mf-pad) 120px;
}

.ss27__header {
  order: 1;
}

.ss27__hero {
  order: 2;
}

.ss27__book {
  order: 3;
}

.ss27__sections {
  order: 4;
}

.ss27__footer {
  order: 5;
}

.ss27__logo {
  display: inline-flex;
  align-self: flex-start;
}

.ss27__logo img {
  display: block;
  width: auto;
  filter: invert(1);
}

.ss27__eyebrow {
  margin: 0;
  font-size: var(--mf-size);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--mf-text);
}

.ss27__hero {
  margin-top: 12px;
}

.ss27__canvas-wrap {
  position: relative;
  width: 100%;
  height: clamp(360px, calc(52vh + 40px), 500px);
}

.ss27__canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}

.ss27__canvas.is-dragging {
  cursor: grabbing;
}

.ss27__book {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.ss27__caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  margin: 0;
  font-size: var(--mf-size);
  color: var(--mf-text);
}

.ss27__status-dot {
  flex-shrink: 0;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--mf-text);
  animation: ss27-status-blink 2.4s ease-in-out infinite;
}

@keyframes ss27-status-blink {
  0%,
  100% {
    background-color: var(--mf-text);
  }

  50% {
    background-color: #3a3a3a;
  }
}

.ss27__cta {
  margin-top: 0;
}

.ss27__cta .ss27__btn {
  background: var(--mf-text);
  color: var(--mf-page);
  border-color: var(--mf-text);
}

.ss27__cta .ss27__btn:hover {
  opacity: 0.9;
  background: var(--mf-text);
  color: var(--mf-page);
}

.ss27__btn {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 24px;
  background: transparent;
  color: var(--mf-text);
  border: 1px solid var(--mf-text);
  border-radius: 999px;
  font-family: var(--mf-font);
  font-size: var(--mf-size);
  font-weight: 400;
  line-height: var(--mf-lh);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.ss27__btn:hover {
  background: var(--mf-text);
  color: var(--mf-page);
}

.ss27__btn--solid {
  background: var(--mf-text);
  color: var(--mf-page);
}

.ss27__btn--solid:hover {
  opacity: 0.85;
  background: var(--mf-text);
  color: var(--mf-page);
}

.ss27__btn--full {
  width: 100%;
}

.ss27__btn--submit:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.ss27__btn--submit.ss27__btn--ready {
  background: var(--mf-text);
  color: var(--mf-page);
  border-color: var(--mf-text);
}

.ss27__btn--submit.ss27__btn--ready:hover {
  opacity: 0.9;
  background: var(--mf-text);
  color: var(--mf-page);
}

.ss27__sections {
  display: flex;
  flex-direction: column;
  margin-top: 46px;
}

.ss27__section {
  padding: 22px 0;
  border-top: 1px solid var(--mf-divider);
}

.ss27__sections > .ss27__section:first-child {
  padding-top: 0;
  border-top: none;
}

.ss27-town {
  color: #911a31;
}

.ss27-townlogo {
  margin: 22px 0;
}

.ss27-townlogo img {
  display: block;
  width: 100%;
  height: auto;
}

.ss27__section-title {
  margin: 0 0 16px;
  font-size: var(--mf-size);
  font-weight: 400;
  letter-spacing: var(--mf-tracking);
  text-transform: uppercase;
  color: var(--mf-text);
}

.ss27__section-title .ss27-town {
  color: #911a31;
}

.ss27__section-inner {
  display: grid;
  gap: 0;
}

.ss27-info {
  display: grid;
  gap: 11px;
  margin: 0;
}

.ss27-info__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: baseline;
}

.ss27-info__label {
  margin: 0;
  font-size: var(--mf-size);
  letter-spacing: var(--mf-tracking);
  color: var(--mf-muted);
}

.ss27-info__value {
  margin: 0;
  color: var(--mf-text);
  line-height: 1.45;
}

.ss27-info__link {
  color: var(--mf-text);
  text-decoration: none;
  border-bottom: 1px solid var(--mf-line);
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.ss27-info__link::after {
  content: "↗";
  margin-left: 0.4em;
  color: var(--mf-muted);
}

.ss27-info__link:hover {
  border-bottom-color: var(--mf-text);
}

.ss27-gift__name {
  margin: 0 0 14px;
  font-size: var(--mf-size);
  font-weight: 400;
  line-height: var(--mf-lh);
  letter-spacing: var(--mf-tracking);
  text-transform: uppercase;
  color: var(--mf-text);
}

.ss27-gift__body {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}

.ss27-gift__media {
  width: 64px;
  height: calc(var(--mf-size) * var(--mf-lh) * 3 + 22px);
}

.ss27-gift__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ss27-gift-total {
  display: grid;
  gap: 11px;
  margin: 0;
}

.ss27-gift-total__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: baseline;
}

.ss27-gift-total__row dt,
.ss27-gift-total__row dd {
  margin: 0;
}

.ss27-gift-total__row dt {
  font-size: var(--mf-size);
  letter-spacing: var(--mf-tracking);
  color: var(--mf-muted);
  padding-left: 8px;
}

.ss27-gift-total__row dd {
  color: var(--mf-text);
}

.ss27-gift__note {
  margin: 10px 0 0;
  color: var(--mf-body);
}

.ss27-gift__foot {
  display: block;
}

.ss27__section--spikes {
  display: grid;
  gap: 20px;
}

.ss27__section--spikes .ss27__section-title {
  margin-bottom: 0;
}

.ss27-spikes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: calc(100% + (var(--mf-pad) * 2));
  margin-inline: calc(var(--mf-pad) * -1);
}

.ss27-spikes__image {
  width: 100%;
}

.ss27-spikes__image--lead {
  margin-bottom: 20px;
}

.ss27-spikes__pair {
  --ss27-spikes-gap: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ss27-spikes-gap);
  padding-inline: var(--ss27-spikes-gap);
}

.ss27-spikes__image img {
  display: block;
  width: 100%;
  height: auto;
}

.ss27__lead {
  margin: 0;
  color: var(--mf-text);
}

.ss27__lead + .ss27__lead {
  margin-bottom: 8px;
}

.ss27__lead + .ss27__body {
  margin-top: 9px;
}

.ss27__body p {
  margin: 0 0 8px;
  color: var(--mf-body);
}

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

.ss27__section--plain {
  padding-bottom: 8px;
}

.ss27__footer {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-top: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ss27__footer-alphabet {
  margin: 0;
  font-size: var(--mf-size);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--mf-text);
}

.ss27__footer-ig-row {
  margin: 0;
  color: var(--mf-text);
}

.ss27__footer-ig-label {
  color: var(--mf-text);
}

.ss27__footer-ig {
  color: var(--mf-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ss27__footer-ig:hover {
  color: var(--mf-body);
}

.ss27__footer-private {
  display: grid;
  gap: 2px;
  color: rgba(230, 225, 216, 0.56);
}

.ss27__footer-private p {
  margin: 0;
}

.ss27-modal--gcal .ss27-modal__panel--gcal {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ss27-modal--gcal .ss27-modal__close::before,
.ss27-modal--gcal .ss27-modal__close::after {
  background: #1f1f1f;
}

.ss27-gcal-frame {
  flex: 1;
  width: 100%;
  min-height: 0;
  border: none;
  background: #fff;
}

body.ss27-modal-open {
  overflow: hidden;
}

.ss27-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  visibility: hidden;
  pointer-events: none;
}

.ss27-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}

.ss27-modal__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 480px);
  background: #000;
  transform: translateX(100%);
  transition: transform 0.48s cubic-bezier(0.33, 1, 0.68, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: clamp(28px, 7vw, 40px) clamp(20px, 5vw, 32px) clamp(24px, 6vw, 32px);
}

.ss27-modal__panel.is-visible {
  transform: translateX(0);
}

.ss27-modal.is-closing .ss27-modal__panel {
  transform: translateX(100%);
}

.ss27-modal__close {
  position: absolute;
  top: clamp(16px, 4vw, 22px);
  right: clamp(16px, 4vw, 22px);
  z-index: 2;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.ss27-modal__close::before,
.ss27-modal__close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 1px;
  background: var(--mf-text);
  transform: translate(-50%, -50%) rotate(45deg);
}

.ss27-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.ss27-modal__close:hover {
  opacity: 0.6;
}

.ss27-modal__form-wrap {
  min-height: 100%;
}

.ss27-modal__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.ss27-modal__intro {
  display: grid;
  gap: 2px;
  margin-bottom: 6px;
}

.ss27-modal__eyebrow,
.ss27-modal__meta {
  margin: 0;
}

.ss27-modal__eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mf-muted);
}

.ss27-modal__meta {
  color: var(--mf-muted);
}

.ss27-modal__sheet {
  border-top: 1px solid var(--mf-line);
  border-bottom: 1px solid var(--mf-line);
}

.ss27-book-row {
  display: grid;
  gap: 8px;
  min-height: 0;
  padding: 16px 0;
  text-align: left;
}

.ss27-book-row + .ss27-book-row {
  border-top: 1px solid var(--mf-line);
}

.ss27-book-row span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mf-muted);
}

.ss27-book-row input,
.ss27-book-row textarea,
.ss27-book-row select {
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mf-text);
  font-family: var(--mf-font);
  font-size: var(--mf-size);
  line-height: 1.2;
  letter-spacing: var(--mf-tracking);
  transition: color 0.2s ease;
}

.ss27-book-row input::placeholder,
.ss27-book-row textarea::placeholder {
  color: rgba(230, 225, 216, 0.34);
}

.ss27-book-row select {
  appearance: none;
  padding-right: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%238e8a83' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  cursor: pointer;
}

.ss27-book-row input:focus,
.ss27-book-row textarea:focus,
.ss27-book-row select:focus {
  outline: none;
  color: var(--mf-text);
}

.ss27-book-row textarea {
  resize: vertical;
}

.ss27-modal__actions {
  margin-top: 12px;
}

.ss27-modal__submit {
  min-height: 48px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.ss27-modal__submit:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.ss27-modal__submit.ss27__btn--ready {
  background: var(--mf-text);
  color: var(--mf-page);
  border-color: var(--mf-text);
}

.ss27-modal__success[hidden] {
  display: none;
}

.ss27-modal__success {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100%;
  justify-content: center;
  padding: 8px 0 24px;
}

.ss27-modal__success-title {
  margin: 0;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--mf-text);
}

.ss27-modal__success-text {
  margin: 0;
  color: var(--mf-body);
  line-height: 1.55;
}

.ss27-modal__good {
  margin-top: 12px;
}

.ss27-form__error {
  margin: 0;
  color: #ff7a7a;
  font-size: var(--mf-size);
}

.ss27-form__error[hidden] {
  display: none;
}

[data-ss27-modal-form-view][hidden] {
  display: none;
}

@media (max-width: 899px) {
  .ss27-fade {
    height: 68px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.66) 34%, rgba(0, 0, 0, 0.34) 64%, rgba(0, 0, 0, 0.12) 84%, rgba(0, 0, 0, 0) 100%);
  }

  .ss27-modal__panel {
    width: 100%;
  }

  .ss27-book-row input,
  .ss27-book-row textarea,
  .ss27-book-row select {
    font-size: 16px;
  }
}

@media (max-width: 380px) {
  .ss27__slot-row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 900px) {
  .ss27-fade {
    display: none;
  }

  .ss27 {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
  }

  .ss27__phone {
    position: relative;
    width: min(430px, calc(100vw - 32px));
    height: min(844px, calc(100svh - 48px));
    margin-inline: auto;
    border-radius: 34px;
    overflow: hidden;
    --ss27-topfade: 0;
  }

  .ss27__phone::before,
  .ss27__phone::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 88px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.74) 30%, rgba(0, 0, 0, 0.44) 58%, rgba(0, 0, 0, 0.16) 82%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 2;
  }

  .ss27__phone::before {
    top: 0;
    bottom: auto;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.74) 30%, rgba(0, 0, 0, 0.44) 58%, rgba(0, 0, 0, 0.16) 82%, rgba(0, 0, 0, 0) 100%);
    opacity: var(--ss27-topfade, 0);
    transition: opacity 0.18s linear;
  }

  .ss27__wrap {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    padding: 24px 16px 110px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ss27__header {
    order: 1;
  }

  .ss27__hero {
    order: 2;
  }

  .ss27__book {
    order: 3;
  }

  .ss27__sections {
    order: 4;
  }

  .ss27__footer {
    order: 5;
  }

  .ss27__header-row {
    gap: 6px;
  }

  .ss27__eyebrow {
    font-size: var(--mf-size);
    letter-spacing: 0.01em;
  }

  .ss27__hero {
    display: block;
    position: static;
    margin-top: 12px;
    width: 100%;
    min-height: 0;
    padding: 0;
  }

  .ss27__canvas-wrap {
    width: 100%;
    max-width: none;
    height: clamp(340px, calc(44vh + 40px), 430px);
    margin-inline: auto;
  }

  .ss27__book {
    margin-top: 16px;
    gap: 12px;
  }

  .ss27__sections {
    margin-top: 24px;
  }

  .ss27__footer {
    margin-top: 27px;
  }

  .ss27-modal {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
  }

  .ss27-modal__panel {
    width: 100%;
  }
}
