:root {
  --bg: #070708;
  --bg-raised: #0d0d0f;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2efe9;
  --muted: #a49f96;
  --accent: #d9a13c;
  --accent-bright: #e8b256;
  --serif: ui-serif, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(217, 161, 60, 0.35); }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-bright); }

/* faint film grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

.top, main > section, .foot {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  color: var(--text);
}
.brand span { color: var(--accent); font-style: italic; }
.brand:hover { color: var(--text); }
.top-link {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 32px;
  min-height: 78vh;
  padding-block: 40px 72px;
}
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  margin-bottom: 18px;
}
h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.lede {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 33rem;
  margin-bottom: 34px;
}
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.quiet { color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.quiet:hover { color: var(--text); border-color: var(--accent); }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #131108;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.6;
  padding: 14px 28px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--accent-bright); color: #131108; transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }
.btn:disabled { opacity: 0.6; cursor: default; transform: none; }

.hero-photo { position: relative; }
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 45%, black 55%, transparent 97%);
  mask-image: radial-gradient(ellipse 90% 90% at 50% 45%, black 55%, transparent 97%);
}

/* services */
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  margin-bottom: 12px;
}
.services { padding-block: 48px; }
.services h2 { margin-bottom: 30px; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: rgba(217, 161, 60, 0.4); transform: translateY(-2px); }
.card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.22rem;
  margin-bottom: 10px;
}
.card p { color: var(--muted); font-size: 0.95rem; }

/* contact */
.contact { padding-block: 64px 80px; }
.contact-sub { color: var(--muted); max-width: 34rem; margin-bottom: 30px; }
#contact-form { max-width: 620px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.field input,
.field textarea {
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 13px 15px;
  transition: border-color 0.15s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 161, 60, 0.15);
}

/* honeypot: visually removed, still in the form for bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#turnstile-slot { margin-bottom: 18px; }
#turnstile-slot:empty { margin-bottom: 0; }

.form-status { margin-top: 16px; font-size: 0.98rem; }
.form-status.ok { color: #9ec97f; }
.form-status.err { color: #e08b8b; }

.contact-alt { color: var(--muted); margin-top: 26px; font-size: 0.95rem; }

/* footer */
.foot {
  border-top: 1px solid var(--line);
  padding-block: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

/* mobile */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 8px 56px;
    gap: 10px;
  }
  .hero-photo { order: -1; max-width: 420px; margin-inline: auto; }
  .hero-photo img {
    -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 42%, black 50%, transparent 96%);
    mask-image: radial-gradient(ellipse 85% 85% at 50% 42%, black 50%, transparent 96%);
  }
  .hero-actions { gap: 18px; }
}
