/* ===== WATERMARK ===== */
.watermark {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  width: 50px;
  opacity: 0.85;
  pointer-events: none;
  z-index: 50;
  mix-blend-mode: multiply;
}

/* ===== PINNED PHOTOS ===== */
.pinned-photo {
  position: fixed;
  width: 160px;
  z-index: 5;
  opacity: 0.5;
  transition: opacity 0.25s, transform 0.25s;
  cursor: default;
}

.pinned-photo:hover {
  opacity: 0.85;
  z-index: 20;
}

/* Thumb tack */
.pinned-photo::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #c0392b 0%, #7b1e1e 100%);
  box-shadow: 0 2px 5px rgba(0,0,0,0.45), inset 0 1px 2px rgba(255,255,255,0.25);
  z-index: 2;
}

/* Polaroid / old-camera print frame */
.pinned-photo img {
  display: block;
  width: 100%;
  padding: 10px 10px 28px 10px;
  background: #fff;
  box-shadow:
    2px 4px 10px rgba(0,0,0,0.22),
    0 1px 3px rgba(0,0,0,0.12);
  filter: sepia(0.15) contrast(0.95);
}

/* Individual positions & rotations — left column (3) */
.photo-1 { top: 7%;  left: 1.75rem; transform: rotate(-3.5deg); }
.photo-2 { top: 37%; left: 1.75rem; transform: rotate(2.2deg);  }
.photo-3 { top: 66%; left: 1.75rem; transform: rotate(-1.8deg); }

/* Right column (2) */
.photo-4 { top: 18%; right: 1.75rem; transform: rotate(3.8deg);  }
.photo-5 { top: 54%; right: 1.75rem; transform: rotate(-2.4deg); }

/* Hide on narrow screens where photos would overlap content */
@media (max-width: 1100px) {
  .pinned-photo { display: none; }
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #f0ede6;
  background-image:
    linear-gradient(rgba(0,0,0,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.045) 1px, transparent 1px),
    linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
  color: #1c1c1c;
  min-height: 100vh;
}

/* ===== TITLE BLOCK (bottom-right architectural stamp) ===== */
.title-block {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  border: 1px solid #999;
  padding: 0.5rem 0.75rem;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  line-height: 1.7;
  pointer-events: none;
  z-index: 10;
}

.title-block-row {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.25rem;
  margin-bottom: 0.25rem;
}

.title-block-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}

.hero-content {
  position: relative;
  max-width: 620px;
  width: 100%;
  text-align: center;
  padding: 3.5rem 3rem;
}

/* Corner bracket markers */
.hero-content::before,
.hero-content::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: #888;
  border-style: solid;
}

.hero-content::before {
  top: 0; left: 0;
  border-width: 1px 0 0 1px;
}

.hero-content::after {
  bottom: 0; right: 0;
  border-width: 0 1px 1px 0;
}

.corner-tr,
.corner-bl {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: #888;
  border-style: solid;
}

.corner-tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.corner-bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }

/* ===== TYPOGRAPHY ===== */
.eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: #aaa;
}

.logo {
  font-size: 2.1rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1c1c1c;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.logo strong {
  font-weight: 700;
}

.divider-line {
  width: 60px;
  height: 1px;
  background: #1c1c1c;
  margin: 1.25rem auto;
}

.tagline {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: #666;
  margin-bottom: 2.75rem;
  line-height: 1.6;
  text-transform: uppercase;
}

/* ===== BUTTONS ===== */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 0.8rem 2rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}

.btn-primary {
  background: #1c1c1c;
  color: #f0ede6;
  border-color: #1c1c1c;
}

.btn-primary:hover {
  background: #3a3a3a;
  border-color: #3a3a3a;
}

.btn-secondary {
  background: transparent;
  color: #1c1c1c;
  border-color: #999;
}

.btn-secondary:hover {
  border-color: #1c1c1c;
}

.btn-full {
  width: 100%;
  margin-top: 0.5rem;
}

/* ===== MODALS ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(240, 237, 230, 0.85);
  backdrop-filter: blur(2px);
  z-index: 100;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem 1rem;
  overflow-y: auto;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: #faf9f6;
  border: 1px solid #bbb;
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  margin: auto;
}

.modal-wide {
  max-width: 560px;
}

/* Modal corner brackets */
.modal::before,
.modal::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: #aaa;
  border-style: solid;
}

.modal::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.modal::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.modal-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 0.5rem;
}

.modal h2 {
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: #1c1c1c;
}

.modal-divider {
  width: 40px;
  height: 1px;
  background: #1c1c1c;
  margin: 0.75rem 0 1.25rem;
}

.modal p {
  color: #777;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  letter-spacing: 0;
  font-family: inherit;
}

.modal-close:hover { color: #1c1c1c; }

/* ===== FORM ELEMENTS ===== */
.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: #666;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 0;
  color: #1c1c1c;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #1c1c1c;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

textarea { resize: vertical; }

/* ===== FIELD HINT ===== */
.field-hint {
  display: block;
  font-size: 0.7rem;
  color: #999;
  letter-spacing: 0.04em;
  margin-top: 0.3rem;
  line-height: 1.5;
}

.label-sub {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: #aaa;
  font-weight: 400;
  text-transform: none;
}

/* ===== BUTTON-SELECT GROUP (radio as buttons) ===== */
.btn-select-group {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  margin-top: 0.4rem;
}

.btn-select-wrap {
  flex-wrap: wrap;
  gap: 0.4rem;
}

.btn-select-group input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.btn-select {
  flex: 1;
  display: inline-block;
  padding: 0.6rem 0.75rem;
  border: 1px solid #bbb;
  border-left-width: 0;
  background: #fff;
  color: #666;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-family: inherit;
  user-select: none;
}

.btn-select-group .btn-select:first-of-type {
  border-left-width: 1px;
}

.btn-select-wrap .btn-select {
  flex: none;
  border-left-width: 1px;
}

.btn-select-group input[type="radio"]:checked + .btn-select {
  background: #1c1c1c;
  color: #f0ede6;
  border-color: #1c1c1c;
}

.btn-select:hover {
  border-color: #1c1c1c;
  color: #1c1c1c;
}

.btn-select-group input[type="radio"]:checked + .btn-select:hover {
  color: #f0ede6;
}

/* ===== CHECKBOXES ===== */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.4rem;
  margin-bottom: 0.6rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: #333;
  letter-spacing: 0.02em;
  user-select: none;
}

.checkbox-item input[type="checkbox"] {
  width: 15px;
  height: 15px;
  border: 1px solid #999;
  border-radius: 0;
  cursor: pointer;
  accent-color: #1c1c1c;
  flex-shrink: 0;
}

.other-input {
  margin-top: 0.4rem;
  width: 100%;
  padding: 0.6rem 0.75rem;
  background: #fff;
  border: 1px solid #ccc;
  color: #1c1c1c;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.other-input:focus { border-color: #1c1c1c; }

/* ===== DATE PICKER ===== */
.date-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.date-wrapper input[type="date"] {
  width: 100%;
  padding-right: 2.75rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.date-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 0;
  width: 2.5rem;
  height: 100%;
  cursor: pointer;
}

.date-icon {
  position: absolute;
  right: 0.75rem;
  width: 17px;
  height: 17px;
  color: #888;
  pointer-events: none;
  flex-shrink: 0;
}

/* ===== SUCCESS MESSAGE ===== */
.success-msg {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #3a6b4a;
}

.hidden { display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
  .hero-content { padding: 2.5rem 1.75rem; }
  .logo { font-size: 1.6rem; }
  .title-block { display: none; }
}
