/* Arka Look — Contact Page */

.contact-page {
  background: var(--green-800);
  padding-top: var(--nav-h);
  min-height: 100vh;
}

.contact-inner {
  padding: 80px 56px 120px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: start;
}

/* ── Left column ── */
.contact-info h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1;
  margin-bottom: 28px;
}
.contact-info h1 em { color: var(--gold-400); font-weight: 400; }
.contact-info__heading { text-align: center; }
.contact-info__sub {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(246,242,232,0.7);
  max-width: 420px;
  margin-bottom: 56px;
}

.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-detail__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold-400);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.contact-detail__value { font-size: 14px; color: rgba(246,242,232,0.85); }

/* ── Form ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
/* Same reasoning as .contact-thanks[hidden] below: the flex rule above
   would otherwise beat the UA [hidden] rule at equal specificity. */
.contact-form[hidden] { display: none; }

.form-field { display: flex; flex-direction: column; gap: 10px; }
.form-field--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-field--half .form-field { gap: 10px; }

.form-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold-400);
  text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 16px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(232,169,58,0.7);
  color: var(--paper);
  font-size: 16px;
  font-family: var(--sans);
  font-weight: 300;
  transition: border-color var(--trans);
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(246,242,232,0.6); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-bottom-color: var(--gold-100); }

/* Error state */
.form-input[aria-invalid="true"],
.form-select[aria-invalid="true"],
.form-textarea[aria-invalid="true"] { border-bottom-color: #ff8a80; }
.form-error {
  font-size: 13px;
  color: #ff8a80;
  margin-top: 6px;
  min-height: 0;
}
.form-required {
  color: var(--gold-400);
  margin-left: 2px;
}
/* Off-screen rather than display:none/visibility:hidden — those are the
   first two things a careful scraper checks for and skips; this stays in
   the layout (just off the visible canvas) so it still "looks" fillable
   to a naive bot while remaining invisible and unreachable for everyone
   else (aria-hidden, tabindex="-1", no keyboard/AT path to it either). */
.form-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-banner {
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.form-banner--error {
  border: 1px solid rgba(255,138,128,0.4);
  background: rgba(255,138,128,0.08);
  color: #ff8a80;
}
.form-banner--error a { color: inherit; text-decoration: underline; }
.form-banner[hidden] { display: none; }

.form-required-note {
  font-size: 12px;
  color: rgba(246,242,232,0.7);
  margin-bottom: 8px;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23e8a93a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
  cursor: pointer;
}
.form-select option { background: var(--green-800); color: var(--paper); }

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

/* ── File Upload ── */
.form-upload {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-upload-zone {
  border: 1px dashed rgba(232,169,58,0.3);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: border-color var(--trans), background var(--trans);
  position: relative;
}
.form-upload-zone:hover,
.form-upload-zone.is-dragover {
  border-color: var(--gold-400);
  background: rgba(232,169,58,0.04);
}
.form-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.form-upload-icon { color: var(--gold-400); opacity: 0.7; }
.form-upload-text {
  font-size: 13px;
  color: rgba(246,242,232,0.6);
  text-align: center;
  line-height: 1.5;
}
.form-upload-text strong {
  color: var(--gold-400);
  font-weight: 400;
}
.form-upload-hint {
  font-size: 11px;
  color: rgba(246,242,232,0.6);
  letter-spacing: 0.06em;
}
.form-upload-name {
  font-size: 12px;
  color: var(--gold-400);
  margin-top: 4px;
  display: none;
}
.form-upload-name.visible { display: block; }

/* ── Submit ── */
.form-submit { margin-top: 8px; }

/* ── Thank you state ── */
.contact-thanks {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 40px;
  border: 1px solid rgba(232,169,58,0.3);
  text-align: left;
  gap: 0;
}
/* The [hidden] attribute alone would lose to the flex rule above (equal
   specificity, both author-origin) — this more-specific rule is what
   actually keeps the panel hidden by default, no inline style needed. */
.contact-thanks[hidden] { display: none; }
.contact-thanks svg { margin-bottom: 24px; }
.contact-thanks h3 {
  font-family: var(--serif);
  font-size: 42px;
  font-style: italic;
  color: var(--gold-400);
  font-weight: 300;
  margin-bottom: 16px;
}
.contact-thanks p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(246,242,232,0.75);
  font-weight: 300;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 60px 32px 80px;
  }
}

@media (max-width: 768px) {
  .contact-inner { padding: 48px 24px 60px; }
  .form-field--half { grid-template-columns: 1fr; }
}
