/* ============================================================
   Contact
   ============================================================ */

html, body { width: 100%; height: 100%; overflow: hidden; }
body { color: rgba(255,255,255,0.6); }

/* ---- Background photo ---- */
@keyframes kenburns-bg {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.bg-photo {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  filter: grayscale(0.55) brightness(0.32) saturate(0.5);
  transform-origin: center center;
  animation: kenburns-bg 24s ease-in-out infinite alternate;
}
.bg-photo picture { display: block; width: 100%; height: 100%; }
.bg-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.bg-photo::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.48); }

.bg-scanlines {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px, transparent 3px,
    rgba(0,0,0,0.22) 3px, rgba(0,0,0,0.22) 4px
  );
}

/* ---- Layout ---- */
#contact-main {
  position: fixed; inset: 0; z-index: 10;
  overflow-y: auto;
  padding: 136px 40px 140px;
  max-width: 1160px; margin: 0 auto;
}

.page-eyebrow {
  font-size: 9px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.page-eyebrow::before {
  content: ''; display: inline-block;
  width: 20px; height: 1px; background: #fff200; flex-shrink: 0;
}
.page-heading {
  font-size: clamp(34px, 4.2vw, 62px);
  font-weight: 700; letter-spacing: -0.045em; line-height: 0.88;
  color: #fff; margin-bottom: 64px;
}

.contact-grid {
  display: grid; grid-template-columns: 5fr 6fr;
  gap: 72px; padding-top: 10px;
}

/* ---- Main card ---- */
.main-card {
  padding: 32px 36px;
  background: rgba(255,255,255,0.024);
  border: 0.5px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}
.main-card-name {
  font-size: 28px; font-weight: 700; letter-spacing: -0.03em;
  color: rgba(255,255,255,0.6); margin-bottom: 2px;
}
.main-card-role {
  font-size: 9px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: #fff200; margin-bottom: 28px;
}
.detail-list { display: flex; flex-direction: column; gap: 13px; }
.detail-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.6); text-decoration: none;
  transition: color 0.22s;
}
a.detail-item:hover { color: #fff; }
.detail-item svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.38; }

/* ---- Team ---- */
.team-label {
  font-size: 9px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin: 32px 0 14px;
}
.team-list { display: flex; flex-direction: column; gap: 6px; }
.team-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px;
  border: 0.5px solid rgba(255,255,255,0.055);
  background: rgba(255,255,255,0.018);
  transition: background 0.22s, border-color 0.22s;
}
.team-row:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
.team-name { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 6px; }
.team-role {
  font-size: 8px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.team-tel {
  display: inline-block; margin-top: 6px;
  font-size: 11px; font-weight: 300;
  color: rgba(255,255,255,0.45); text-decoration: none;
  transition: color 0.22s;
}
.team-tel:hover { color: #fff200; }
.team-email {
  font-size: 11px; font-weight: 300;
  color: rgba(255,255,255,0.6); text-decoration: none;
  transition: color 0.22s; flex-shrink: 0;
}
.team-email:hover { color: #fff200; }

/* ---- Form ---- */
.contact-form { display: flex; flex-direction: column; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }

.field { margin-bottom: 28px; position: relative; }
.field label {
  display: block;
  font-size: 8px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 9px;
}
.field input,
.field textarea {
  width: 100%; box-sizing: border-box;
  background: transparent; border: none;
  border-bottom: 0.5px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 300;
  padding: 10px 0; outline: none; resize: none;
}
.field::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  height: 1px; width: 0; background: rgba(255,242,0,0.7);
  transition: width 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.field:focus-within::after { width: 100%; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,0.13); }
.field textarea { min-height: 116px; }

#form-submit {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 9px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: #fff200; cursor: pointer;
  padding: 14px 30px;
  background: #060606; border: none;
  transition: background 0.22s, color 0.22s, transform 0.22s;
  margin-top: 4px;
}
#form-submit:hover { background: #fff200; color: #060606; transform: scale(1.03); }
#form-submit .arr { font-size: 15px; line-height: 1; }

/* ---- Footer pinned ---- */
#site-footer {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 20; padding: 18px 40px;
}

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 768px) {
  #contact-main { padding: 100px 24px 120px; }
  .page-heading { font-size: clamp(25px, 6.7vw, 37px); margin-bottom: 44px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .main-card { padding: 24px; }
  .team-email { display: none; }
  #site-footer { padding: 20px 24px; }
}

/* ---- Honeypot: never shown to humans, never announced to screen readers ---- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ---- Form status notice ---- */
.form-notice {
  padding: 12px 16px; margin-bottom: 24px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.02em;
  border: 0.5px solid transparent;
}
.form-notice--ok {
  color: #fff200;
  border-color: rgba(255,242,0,0.35);
  background: rgba(255,242,0,0.07);
}
.form-notice--error {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}
