:root {
  --sand: #d6cfc8;
  --shell: #f1eeeb;
  --white: #ffffff;
  --black: #000000;
  --radius: 16px;
  --gap: 14px;
  --maxw: 560px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family:
    "Big Caslon", "Book Antiqua", "Palatino Linotype", Palatino, Georgia, serif;
  color: var(--black);
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 32px 16px;
  min-height: 100svh;
  position: relative;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.page {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url("/assets/img/background.webp") center center / cover no-repeat;
  background-image: url("/assets/img/background.jpg");
  will-change: transform;
  -webkit-transform: translateZ(0);
}

@supports (background-image: url("/assets/img/background.webp")) {
  .bg {
    background-image: url("/assets/img/background.webp");
  }
}

/* vignette overlay */
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at center,
    rgba(120, 115, 109, 0.2) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px); /* softens background under card */
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 20px;
  /* max-width: 540px; */
  width: 100%;
  margin: 5px auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  text-align: center;
  position: relative;
  z-index: 1; /* ensures it sits above vignette overlay */
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  text-align: center;
  position: relative;
  z-index: 1;
}

.logo {
  width: clamp(140px, 40vw, 220px);
  height: auto;
  display: block;
  margin: 0 auto 20px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.05));
}

.tagline {
  margin: 0 auto 20px;
  color: #fff;
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 100;
  letter-spacing: 0.5px;
  /* text-transform: uppercase; */
}

.cta {
  min-width: 220px;
  height: 50px;
  border: none;
  outline: none;
  color: #111;
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 999px; /* pill shape */
  padding: 0 28px;
  font-size: 16px;
  font-weight: 500;
  line-height: 50px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.6s ease;
}

.cta:focus-visible {
  outline: 2px solid #d4af37;
  outline-offset: 3px;
}

.cta:hover {
  transform: translateY(-2px);
}

.cta:before {
  content: "";
  background: linear-gradient(
    45deg,
    #d4af37,
    #ffd700,
    #fff1b0,
    #ffd700,
    #d4af37
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 300%;
  z-index: -1;
  filter: blur(4px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: shimmer 12s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  border-radius: 999px;
}

.cta:hover:before,
.cta:focus-visible:before {
  opacity: 1;
}

.cta:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #d6cfc8;
  left: 0;
  top: 0;
  border-radius: 999px;
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.form-card {
  margin: 22px auto 0;
  width: 100%;
  background: rgba(214, 207, 200, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  text-align: left;
  display: none; /* revealed by button */
}

.form-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
}
.form-sub {
  margin: 0 0 18px;
  color: #444;
  font-size: 14px;
}

.grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr 1fr;
}
.grid > .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #222;
}

input,
select,
textarea {
  -webkit-appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  border: 1px solid var(--sand);
  background: #f1eeeb;
  color: #111;
  padding: 12px 12px;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition:
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

select {
  background: #f1eeeb
    url("data:image/svg+xml;utf8,<svg fill='%23333' height='24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>")
    no-repeat right 12px center;
  background-size: 16px 16px;
  padding-right: 40px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: #bfb7ae;
  box-shadow: 0 0 0 4px rgba(214, 207, 200, 0.25);
}

.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}
.btn {
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14px;
  cursor: pointer;
  transition:
    transform 0.08s ease,
    opacity 0.2s ease;

  text-decoration: none;
  display: inline-block;
}
.btn:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}
.btn:active {
  transform: translateY(0);
  opacity: 0.9;
}

.note {
  font-size: 12px;
  color: #555;
}

.hp {
  display: none;
} /* honeypot container */

@media (max-width: 560px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
/* Footer */
.site-footer {
  width: 100%;
  padding: 12px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.site-footer .social-link {
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer .social-link:hover {
  color: #ffd700; /* gold accent on hover */
}
.thanks-card {
  margin: 22px auto 0;
  width: 100%;
  max-width: 560px;
  background: rgba(214, 207, 200, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  color: var(--black);
}

.thanks-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
}

.thanks-text {
  margin: 0 0 18px;
  font-size: 16px;
}
