:root {
  --bg: #0b1020;
  --card: #0f172a;
  --ink: #e5e7eb;
  --muted: #9ca3af;
  --accent: #d6a15d; /* amber */
  --sage: #8ca38b;   /* sage */
  --border: rgba(255,255,255,.1);
}

/* Reset & base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 20% 10%, #111827 0%, var(--bg) 50%, #060912 100%);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,.25);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.brand {
  display: flex;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .2px;
}
.brand a { color: var(--ink); text-decoration: none; }

/* Container */
.container {
  width: min(760px, 92%);
  margin: 24px auto;
}

/* Contact card */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}

/* Typography */
h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 5vw, 40px);
  margin: 0 0 10px 0;
}
p {
  line-height: 1.7;
  color: #e8eaed;
}

/* Form fields */
label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 600;
}
input[type=text],
input[type=email],
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0c1426;
  color: var(--ink);
  font-size: 15px;
}
textarea {
  min-height: 140px;
  resize: vertical;
}

/* Button */
.btn {
  margin-top: 14px;
  background: var(--accent);
  color: #111;
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}
.btn:hover {
  background: #e7b16c;
}

/* Small text */
.small {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

/* Success & error boxes */
.success {
  border-left: 4px solid #27ae60;
  padding-left: 12px;
}
.error {
  border-left: 4px solid #e74c3c;
  padding-left: 12px;
}

/* Footer */
.footer {
  margin-top: auto;
  padding: 18px 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Accessibility helper */
.sr-only {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}