

.wl-full-note {
  margin: 1.1rem 0 0.3rem;
  padding: 0.8rem 1rem 0.85rem;
  
  border: 1px dashed rgba(249, 248, 242, 0.3);
  border-radius: 10px;
  background: rgba(249, 248, 242, 0.045);
  transform: rotate(-0.35deg);
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: rgba(249, 248, 242, 0.82);
  text-align: left;
}

.wl-full-note__status {
  display: block;
  margin-top: 0.55rem;
  font-style: normal;
  font-weight: 500;
  color: rgba(249, 248, 242, 0.98);
}

.wl-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.wl-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(42, 42, 42, 0.4);
  transition: opacity 0.6s var(--moc-ease, cubic-bezier(0.2, 0.8, 0.2, 1)), visibility 0.6s;
  
  backdrop-filter: var(--glass-blur-lg, blur(24px));
  -webkit-backdrop-filter: var(--glass-blur-lg, blur(24px));
}
.wl-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  will-change: opacity;
}

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

.wl-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transform: translateY(100%);
  max-height: 90svh;
  background: var(--cream, #F9F8F2);
  border-radius: 24px 24px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.6s var(--moc-ease, cubic-bezier(0.2, 0.8, 0.2, 1));
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.15);
}
.wl-overlay.is-open .wl-panel {
  transform: translateY(0);
  will-change: transform;
}

.wl-close {
  position: sticky;
  top: 0;
  align-self: flex-end;
  z-index: 10;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(42, 42, 42, 0.06);
  margin: 0.75rem 0.75rem 0 0;
  flex-shrink: 0;
  transition: background 0.3s var(--moc-ease, cubic-bezier(0.2, 0.8, 0.2, 1));
}
.wl-close svg {
  width: 18px;
  height: 18px;
  color: var(--charcoal, #2C2C2C);
}
.wl-close:hover {
  background: rgba(42, 42, 42, 0.12);
}

.wl-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 1.5rem 2rem;
}
.wl-overlay,
.wl-panel,
.wl-scroll {
  overscroll-behavior: contain;
}

.wl-eyebrow {
  display: block;
  font-family: var(--f-sans, 'Lato', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-deep, #5A6457);
  margin-bottom: 0.75rem;
}
.wl-heading {
  font-family: var(--f-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(1.75rem, 1.4vw + 1.3rem, 2.25rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--charcoal, #2C2C2C);
  margin: 0 0 0.6rem;
}
.wl-subline {
  font-family: var(--f-sans, 'Lato', sans-serif);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(44, 44, 44, 0.75);
  margin: 0 0 0.5rem;
}

.wl-field {
  margin-top: 1.25rem;
}
.wl-label {
  display: block;
  font-family: var(--f-sans, 'Lato', sans-serif);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--charcoal, #2C2C2C);
  margin-bottom: var(--field-gap, 0.5rem);
}
.wl-optional {
  font-weight: 300;
  letter-spacing: 0;
  opacity: 0.65;
}
.wl-input {
  display: block;
  width: 100%;
  min-height: var(--field-height, 48px);
  padding: 0 var(--field-pad-x, 1rem);
  background: var(--field-bg, #FDFDFB);
  border: 1px solid var(--field-border, rgba(44, 44, 44, 0.55));
  border-radius: var(--field-radius, 16px);
  font-family: var(--f-sans, 'Lato', sans-serif);
  font-size: 1rem; 
  font-weight: 300;
  color: var(--charcoal, #2C2C2C);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.3s var(--moc-ease, cubic-bezier(0.2, 0.8, 0.2, 1));
}
.wl-input:hover {
  border-color: var(--field-border-hover, rgba(44, 44, 44, 0.70));
}
.wl-input[aria-invalid="true"] {
  border-color: var(--field-error, #5C4033);
}

.wl-select {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%232C2C2C' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
  cursor: pointer;
}

.wl-error {
  margin: 0.5rem 0 0;
  font-family: var(--f-sans, 'Lato', sans-serif);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--field-error, #5C4033);
}
.wl-error--form {
  margin-top: 1rem;
  text-align: center;
}

.wl-microcopy {
  margin: 1.5rem 0 0;
  font-family: var(--f-sans, 'Lato', sans-serif);
  font-size: var(--fs-micro, 0.75rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(44, 44, 44, 0.6);
}

.wl-field--consent {
  margin-top: 1.5rem;
}
.wl-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}
.wl-consent__box {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--sage-deep, #4F6B5A);
  cursor: pointer;
}
.wl-consent__text {
  font-family: var(--f-sans, 'Lato', sans-serif);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--charcoal, #2C2C2C);
}
.wl-casl,
.wl-privacy {
  margin: 0.75rem 0 0;
  font-family: var(--f-sans, 'Lato', sans-serif);
  font-size: var(--fs-micro, 0.75rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(44, 44, 44, 0.75);
}
.wl-privacy {
  margin-top: 0.35rem;
}
.wl-privacy a {
  color: var(--sage-deep, #4F6B5A);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.wl-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 1rem;
  padding: 0.9rem 1.5rem;
  background: var(--charcoal, #2C2C2C);
  color: var(--cream, #F9F8F2);
  border: none;
  border-radius: 14px;
  font-family: var(--f-sans, 'Lato', sans-serif);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s var(--moc-ease, cubic-bezier(0.2, 0.8, 0.2, 1));
}
.wl-submit:hover {
  opacity: 0.92;
}
.wl-submit:disabled {
  opacity: 0.75;
  cursor: default;
}

.wl-state--success {
  text-align: center;
  padding-top: 0.5rem;
}
.wl-success-heading {
  font-family: var(--f-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(1.75rem, 1.4vw + 1.3rem, 2.25rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--charcoal, #2C2C2C);
  margin: 0 0 0.75rem;
  outline: none;
}
.wl-success-body {
  font-family: var(--f-sans, 'Lato', sans-serif);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(44, 44, 44, 0.8);
  margin: 0 auto;
  max-width: 40ch;
}
.wl-divider {
  width: 48px;
  height: 1px;
  border: none;
  background: rgba(44, 44, 44, 0.15);
  margin: 1.75rem auto;
}
.wl-bridge-line {
  font-family: var(--f-sans, 'Lato', sans-serif);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(44, 44, 44, 0.7);
  margin: 0 auto 1.25rem;
  max-width: 42ch;
}
.wl-bridge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.75rem;
  background: transparent;
  color: var(--charcoal, #2C2C2C);
  border: 1.5px solid var(--charcoal, #2C2C2C);
  border-radius: 14px;
  font-family: var(--f-sans, 'Lato', sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s var(--moc-ease, cubic-bezier(0.2, 0.8, 0.2, 1));
}
.wl-bridge:hover {
  opacity: 0.8;
}

@media (min-width: 768px) {
  .wl-panel {
    position: absolute;
    bottom: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translateY(40px);
    width: 92%;
    max-width: 560px;
    max-height: 85svh;
    border-radius: 24px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
  }
  .wl-overlay.is-open .wl-panel {
    transform: translate(-50%, -50%) translateY(0);
  }
  .wl-scroll {
    padding: 0 2.5rem 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wl-overlay,
  .wl-panel,
  .wl-close,
  .wl-input,
  .wl-submit,
  .wl-bridge {
    transition: none;
  }
  .wl-panel {
    transform: translateY(0);
  }
  @media (min-width: 768px) {
    .wl-panel,
    .wl-overlay.is-open .wl-panel {
      transform: translate(-50%, -50%);
    }
  }
}

@media (max-width: 480px) {
  .wl-full-note {
    margin: 0.8rem 0 0.15rem;
    padding: 0.7rem 0.85rem 0.75rem;
    font-size: 1rem;
  }
}
