/* Self-hosted Fraunces (variable font, latin subset). Licensed under the SIL
   Open Font License 1.1, see assets/fonts/OFL.txt. The weight range 400-600 and
   the optical-size axis are baked into each file, so font-optical-sizing picks
   the right cut automatically as the type scales. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/fraunces-latin-roman.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/fraunces-latin-italic.woff2") format("woff2");
}

:root {
  --bg: #15130e;
  --bg-soft: #1e1b14;
  --surface: #211d15;
  --border: #38301f;
  --gold: #d4af37;
  --gold-bright: #f0d27a;
  --text: #f4efe3;
  --text-muted: #b1a890;
  --maxw: 720px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(212, 175, 55, 0.10), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) 1.5rem 1rem;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.logo {
  width: 92px;
  height: auto;
  filter: drop-shadow(0 6px 28px rgba(212, 175, 55, 0.30));
}

.wordmark {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 9vw, 4rem);
  letter-spacing: 0.01em;
  margin: 0.5rem 0 0;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.05rem, 3.4vw, 1.35rem);
  color: var(--gold);
  margin: 0.4rem 0 1.4rem;
}

.lede {
  max-width: 38rem;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.cta {
  display: inline-block;
  padding: 0.8rem 1.9rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #2a2008;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.32);
}

.cta:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

/* ---------- Sections ---------- */
section {
  border-top: 1px solid var(--border);
  padding: clamp(2.2rem, 5vw, 3.2rem) 0;
}

h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0 0 1rem;
  color: var(--text);
}

h2::after {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  margin-top: 0.6rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.about p {
  margin: 0;
  font-size: 1.08rem;
  color: var(--text-muted);
}

.about strong { color: var(--text); font-weight: 600; }

/* ---------- Services ---------- */
.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.service {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.service:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.service h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  color: var(--gold-bright);
  font-weight: 600;
}

.service p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.email {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.email:hover { border-color: var(--gold); }

.socials {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 1.4rem;
}

.socials a {
  display: inline-flex;
  color: var(--text-muted);
  transition: color 0.15s ease, transform 0.15s ease;
}

.socials a:hover { color: var(--gold); transform: translateY(-2px); }

.socials a:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
  border-radius: 4px;
}

.copyright {
  margin: 0.8rem 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 540px) {
  .service-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
