/* Page layout. Temporary: placeholder homepage until the full site is built. */

:root {
  --text: #b8a074;          /* same gold as the logo (and the stars at their brightest) */
  --text-soft: rgba(184, 160, 116, 0.78);
  --font: "Playfair Display", Georgia, "Times New Roman", serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  /* dark halo so text stays readable over the stars, mountains and sage */
  text-shadow: 0 0 6px rgba(5, 6, 8, 0.95), 0 0 18px rgba(5, 6, 8, 0.8);
}

/* ---------- Logo ---------- */

.site-header {
  display: flex;
  justify-content: center;
  padding: clamp(16px, 4vh, 48px) 16px 0;
}

.site-logo {
  display: block;
  line-height: 0;
}

.site-logo img {
  display: block;
  width: clamp(150px, 20vw, 300px);
  max-height: 32vh;
  height: auto;
  object-fit: contain;
  /* soft glow so the gold reads against the dark sky */
  filter: drop-shadow(0 0 18px rgba(217, 191, 138, 0.12));
}

/* ---------- Page body: stacked boxes ---------- */

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 5vh, 48px);
  padding: clamp(28px, 6vh, 64px) 16px clamp(32px, 6vh, 64px);
}

/* Thin gold frame. Slight shading inside keeps text readable over the mountains and sage. */
.panel {
  box-sizing: border-box;
  width: 100%;
  max-width: 46rem;   /* both boxes share one width */
  padding: clamp(22px, 4vh, 40px) clamp(18px, 4vw, 44px);
  border: 1px solid rgba(184, 160, 116, 0.6);
  background: rgba(5, 6, 8, 0.5);
}

.panel a {
  color: var(--text);
  text-underline-offset: 3px;
}

/* ---------- Intro ---------- */

.intro {
  text-align: center;
}

.intro__title {
  margin: 0 0 1.1rem;
  font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.9rem);
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
}

.intro__text {
  max-width: 36rem;   /* keep lines a comfortable reading length in the wider box */
  margin: 0 auto 1rem;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-soft);
  text-wrap: pretty;
}

.intro__area {
  margin: 0;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-soft);
  text-wrap: balance;
}

/* ---------- Inquiry form ---------- */

.inquiry {
  scroll-margin-top: 24px;
}

.inquiry__title {
  margin: 0 0 0.8rem;
  text-align: center;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem);
  font-weight: 500;
  line-height: 1.2;
}

.inquiry__text {
  margin: 0 auto 1.8rem;
  max-width: 34rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-soft);
  text-wrap: pretty;
}

.form__group {
  margin: 0 0 1.6rem;
  padding: 0;
  border: 0;
  min-width: 0;
}

.form__legend {
  width: 100%;
  margin: 0 0 0.9rem;
  padding: 0 0 0.45rem;
  border-bottom: 1px solid rgba(184, 160, 116, 0.25);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field--wide {
  grid-column: 1 / -1;
}

.field__label {
  font-size: 0.88rem;
  color: var(--text-soft);
}

.req {
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(184, 160, 116, 0.35);
  border-radius: 2px;
  background: rgba(5, 6, 8, 0.65);
  color: #e9dcc0;
  font: inherit;
  font-size: 1rem; /* 16px keeps phones from zooming in on tap */
  text-shadow: none;
  color-scheme: dark; /* dark date/time pickers */
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field select option {
  background: #0c0e11;
  color: #e9dcc0;
}

.field ::placeholder {
  color: rgba(184, 160, 116, 0.45);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(184, 160, 116, 0.2);
}

.field .is-invalid {
  border-color: #d98a7a;
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-bottom: 16px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  font-size: 0.95rem;
  color: var(--text-soft);
  cursor: pointer;
}

.check input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: none;
  accent-color: var(--text);
}

/* Spam trap: kept off-screen rather than display:none so bots still see it */
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.form__turnstile {
  min-height: 65px;
}

.button {
  min-height: 48px;
  padding: 12px 36px;
  border: 1px solid var(--text);
  border-radius: 2px;
  background: var(--text);
  color: #0a0b0d;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.button:hover,
.button:focus-visible {
  background: transparent;
  color: var(--text);
}

.button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.form__status {
  margin: 0;
  min-height: 1.4em;
  font-size: 0.95rem;
}

.form__status.is-error {
  color: #e3a395;
}

.form__note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.form__done {
  padding: 16px 0 8px;
  text-align: center;
  color: var(--text-soft);
  outline: none;
}

.form__done-title {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  color: var(--text);
}

@media (max-width: 560px) {
  .form__grid,
  .checks {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 16px;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}

.site-footer p {
  margin: 0;
}
