/* Shared across index.html, pricing.html, contact.html */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700;9..144,900&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #FAF7F1;
  --bg-panel: #F1ECE2;
  --ink: #1C2620;
  --ink-soft: #4B564E;
  --accent: #2F4739;
  --accent-soft: #DCE6DE;
  --gold: #B7902E;
  --free: #C0392B;
  --rule: #D8D0C0;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}

a { color: var(--accent); }

.wrap { max-width: 900px; margin: 0 auto; padding: 0 24px; }

header.top { padding: 30px 0 18px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.brand-logo { display: flex; align-items: center; }
.logo-img { height: 54px; width: auto; display: block; }

.profile-link {
  display: flex; align-items: center; gap: 13px;
  padding: 6px 10px; margin: -6px -10px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.profile-link:hover { background: var(--accent-soft); }
.profile-text { text-align: right; line-height: 1.3; }
.profile-name {
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 1rem;
  color: var(--ink); transition: color 0.15s ease;
}
.profile-link:hover .profile-name { color: var(--accent); }
.profile-title { font-size: 0.82rem; color: var(--ink-soft); transition: color 0.15s ease; }
.profile-link:hover .profile-title { color: var(--accent); }

.profile-photo-wrap { position: relative; width: 54px; height: 54px; flex: 0 0 auto; }
.profile-photo-fallback {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 1rem;
}
.profile-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 50%; object-fit: cover;
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--rule);
  transition: box-shadow 0.15s ease;
  z-index: 2;
}
.profile-link:hover .profile-photo { box-shadow: 0 0 0 2px var(--accent); }

.li-badge {
  position: absolute; right: -3px; bottom: -3px;
  width: 22px; height: 22px;
  background: #0A66C2;
  border-radius: 50%;
  border: 2px solid var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
}
.li-badge svg { width: 12px; height: 12px; }

.site-nav {
  display: flex; justify-content: center; gap: 28px;
  padding: 2px 0 18px; margin-bottom: 22px;
  border-bottom: 1px solid var(--rule);
}
.nav-link {
  font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 0.92rem;
  color: var(--ink-soft); text-decoration: none;
  padding: 4px 2px; border-bottom: 2px solid transparent;
}
.nav-link:hover { color: var(--ink); }
.nav-link.current { color: var(--accent); border-bottom-color: var(--accent); }

.btn {
  display: inline-block;
  background: var(--free);
  color: #fff;
  text-decoration: none;
  padding: 16px 34px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.15rem;
}
.btn:hover { background: #a53125; }

.page-hero { padding: 20px 0 10px; text-align: center; }
.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 2.6rem);
  line-height: 1.12;
  margin: 0 0 14px;
}
.page-hero .sub { font-size: 1.1rem; color: var(--ink-soft); max-width: 58ch; margin: 0 auto; }

section.cta {
  border-top: 2px solid var(--rule);
  padding: 44px 0 60px;
  text-align: center;
  background: var(--accent-soft);
  border-radius: 10px;
  margin: 20px 0 40px;
}
.cta h2 { font-family: 'Fraunces', serif; font-weight: 900; font-size: 1.9rem; margin: 0 0 12px; }
.cta p { color: var(--ink-soft); max-width: 50ch; margin: 0 auto 26px; font-size: 1.05rem; }
.contact-note { display: block; margin-top: 16px; font-size: 0.95rem; color: var(--ink-soft); }
.contact-note a { color: var(--ink); font-weight: 600; }

footer { padding: 22px 0 40px; font-size: 0.85rem; color: var(--ink-soft); text-align: center; }
footer a { color: var(--ink-soft); text-decoration: underline; }

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