:root {
  color-scheme: dark;
  --bg: #08080b;
  --bg-2: #101018;
  --panel: rgba(18, 18, 28, 0.9);
  --text: #e8e1d2;
  --muted: #b8ad98;
  --dim: #8f846f;
  --accent: #b9834f;
  --accent-2: #d6b077;
  --line: rgba(214, 176, 119, 0.25);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 4%, rgba(185, 131, 79, 0.13), transparent 30rem),
    radial-gradient(circle at 82% 8%, rgba(91, 64, 112, 0.2), transparent 34rem),
    linear-gradient(180deg, #050507 0%, var(--bg) 42%, #030305 100%);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.68;
}

body::before {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), transparent 72%);
}

a {
  color: var(--accent-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(214, 176, 119, 0.35);
}

a:hover,
a:focus { color: #f0d29c; border-bottom-color: #f0d29c; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.65rem 0.9rem;
  color: #08080b;
  background: #f0d29c;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: rgba(5, 5, 8, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
}

.brand { display: flex; flex-direction: column; gap: 0.1rem; }
.brand a { color: var(--text); border: 0; font-size: 1.25rem; letter-spacing: 0.08em; text-transform: uppercase; }
.strapline { color: var(--dim); font-size: 0.86rem; letter-spacing: 0.06em; }

nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; justify-content: flex-end; font-size: 0.94rem; }
nav a { border-bottom-color: transparent; }
nav a[aria-current="page"] { color: #f0d29c; border-bottom-color: var(--accent-2); }

main {
  position: relative;
  width: min(900px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5.5rem 0 6rem;
}

.contact-intro { margin-bottom: 2.2rem; }
.kicker { margin: 0 0 0.8rem; color: var(--accent-2); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2.7rem, 8vw, 5.6rem); font-weight: 500; letter-spacing: -0.055em; line-height: 0.98; }
.contact-intro > p:last-child { max-width: 760px; margin: 1.3rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }

.contact-panel {
  padding: clamp(1.2rem, 4vw, 2.3rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent), var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

form { display: grid; gap: 1.25rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
label { display: grid; gap: 0.38rem; }
label > span { color: var(--muted); font-family: system-ui, sans-serif; font-size: 0.83rem; font-weight: 650; letter-spacing: 0.02em; }

input,
select,
textarea {
  width: 100%;
  padding: 0.78rem 0.85rem;
  color: var(--text);
  background: rgba(6, 6, 10, 0.92);
  border: 1px solid var(--line);
  border-radius: 0.42rem;
  font: 1rem/1.45 system-ui, sans-serif;
}

textarea { min-height: 12rem; resize: vertical; }
input:focus,
select:focus,
textarea:focus,
button:focus-visible { outline: 3px solid rgba(214, 176, 119, 0.42); outline-offset: 2px; }

button {
  justify-self: start;
  padding: 0.78rem 1.15rem;
  color: #0b0b11;
  background: var(--accent-2);
  border: 0;
  border-radius: 0.38rem;
  font: 750 0.9rem/1.3 system-ui, sans-serif;
  cursor: pointer;
}

button:hover { background: #f0d29c; }
.privacy-note { margin: 0; color: var(--dim); font: 0.86rem/1.55 system-ui, sans-serif; }
.trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.notice { margin: 0 0 1.25rem; padding: 1rem; border-radius: 0.5rem; }
.notice h2 { margin: 0 0 0.35rem; font-size: 1.2rem; }
.notice p { margin: 0; }
.notice--success { color: #d8f2dd; background: #15311c; border: 1px solid #376f44; }
.notice--error { color: #ffd9d9; background: #351717; border: 1px solid #7d3c3c; }

footer { position: relative; padding: 2rem 0; color: var(--dim); background: rgba(3, 3, 5, 0.92); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.8rem 1rem; }

@media (max-width: 780px) {
  .header-inner { align-items: flex-start; flex-direction: column; }
  nav { justify-content: flex-start; }
  main { padding-top: 3.5rem; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
