:root {
  --bg: #1a1a1a;
  --surface: #222222;
  --gold: #C9A84C;
  --gold-soft: rgba(201, 168, 76, 0.12);
  --gold-border: rgba(201, 168, 76, 0.35);
  --text: #f5f5f0;
  --text-muted: #999999;
  --border: #2e2e2e;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }

/* Section-level page headings keep the smaller "page headline" size,
   so promoting H2→H1 inside .section-head doesn't visibly inflate typography.
   The hero H1 keeps the larger global size via .hero-copy h1. */
.section-head h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
}

/* Global keyboard focus ring — accessibility. */
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Form inputs already paint their own focus state (border-color: gold).
   Suppress the outline on those so we don't double-style. */
form.contact-form input:focus-visible,
form.contact-form textarea:focus-visible {
  outline: none;
}

p { color: var(--text); }
p.muted { color: var(--text-muted); }

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover { opacity: 0.8; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}
.logo .pdx { color: var(--gold); }
.logo-mark {
  height: 18px;
  width: auto;
  flex-shrink: 0;
  margin-right: 8px;
  display: block;
  vertical-align: middle;
}
@media (max-width: 768px) {
  .logo-mark { height: 16px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a:not(.btn) {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-links a:not(.btn):hover { color: var(--gold); opacity: 1; }
.nav-links a.active { color: var(--gold); }

.nav-phone {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav-phone:hover { color: var(--gold); opacity: 1; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: #1a1a1a;
  border-color: var(--gold);
}
.btn-primary:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(201, 168, 76, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold-border);
}
.btn-outline:hover {
  background: var(--gold-soft);
  opacity: 1;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(5rem, 11vw, 8.5rem) 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(26, 26, 26, 0.96) 0%,
    rgba(26, 26, 26, 0.88) 28%,
    rgba(26, 26, 26, 0.55) 60%,
    rgba(26, 26, 26, 0.2) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 36rem;
}
.hero-copy h1 {
  margin-bottom: 1.25rem;
}
.hero-copy .subline {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 36ch;
}
.hero-copy .hero-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-link {
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s ease;
}
.hero-link:hover {
  color: var(--gold);
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Generic section ---------- */
section.block {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 60ch;
}
.section-head .eyebrow {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}
.section-head p {
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1023px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .cards-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.card:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
}

.card h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.6rem;
  text-wrap: balance;
}
.card p {
  color: var(--text-muted);
  font-size: 0.97rem;
}

/* ---------- Stats / why ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.stat {
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}
.stat .num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
  line-height: 1.1;
}
.stat .label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  display: grid;
  gap: 2.25rem;
}
.faq-item {
  display: grid;
  gap: 0.5rem;
}
.faq-item h3 {
  margin: 0;
}
.faq-item p {
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 820px) {
  .testimonials { grid-template-columns: 1fr; }
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  border-radius: 4px;
  padding: 2.25rem 2rem;
  margin: 0;
}
.testimonial blockquote {
  margin: 0 0 1.25rem;
}
.testimonial blockquote p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--text);
  font-style: italic;
  text-wrap: balance;
}
.testimonial figcaption {
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- Service area ---------- */
.area {
  text-align: center;
  padding: clamp(3rem, 5vw, 4rem) 0;
}
.area p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 50ch;
  margin: 0 auto;
}
.area .neighborhoods {
  margin-top: 0.5rem;
  color: var(--text);
  letter-spacing: 0.04em;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  margin: 0 auto;
  border: 1px solid var(--gold-border);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.02));
  border-radius: 6px;
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  margin-block: 4rem;
}
.cta-banner h2 {
  margin-bottom: 1.5rem;
}

/* ---------- Pricing table ---------- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.pricing-table th {
  background: rgba(0,0,0,0.2);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table td.rate {
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}

.pricing-note {
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
}

/* ---------- Service list (services page) ---------- */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-prose {
  max-width: 760px;
}
.feature-prose p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.feature-prose p:last-child { margin-bottom: 0; }
.feature-prose .feature-sublead {
  color: var(--text);
  margin-top: 1.25rem;
  margin-bottom: 0.6rem;
}
.feature-prose .bullet-list {
  margin-bottom: 1.25rem;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.bullet-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.about-photo {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--gold-border);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(201, 168, 76, 0.06);
  object-fit: cover;
}
.about-copy p {
  margin-bottom: 1.2rem;
  color: var(--text);
  font-size: 1.05rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
}
.contact-info h3 { margin-bottom: 1rem; }
.contact-info .phone {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}
.contact-info .email-link {
  display: block;
  margin-bottom: 1.5rem;
}

form.contact-form {
  display: grid;
  gap: 1rem;
}
form.contact-form label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}
form.contact-form input:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
form.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.form-status {
  margin-top: 0.5rem;
  font-size: 0.95rem;
}
.form-status.success { color: var(--gold); }
.form-status.error { color: #e07a7a; }

/* ---------- Booking section (Calendly + policy) ---------- */
.booking-section {
  margin-top: 4rem;
}

.booking-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 2rem;
  align-items: start;
}

.policy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.75rem;
}
.policy-card h3 {
  color: var(--text);
  margin-bottom: 0.85rem;
}
.policy-card p {
  color: var(--text);
  font-size: 0.97rem;
  margin-bottom: 1rem;
}
.policy-card p.muted {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 1.25rem;
  margin-bottom: 0;
}
.policy-card strong {
  color: var(--gold);
  font-weight: 600;
}

.policy-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
  display: grid;
  gap: 0.65rem;
}
.policy-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.policy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.policy-list li strong {
  color: var(--text);
  font-weight: 600;
}

.calendly-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.5rem;
  overflow: hidden;
}
.calendly-inline-widget {
  width: 100%;
  min-width: 0 !important;
  min-height: 700px;
}

/* ---------- Payment section (pricing page) ---------- */
.payment-section {
  margin-top: 4rem;
}
.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.payment-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.75rem;
}
.payment-block h3 {
  color: var(--gold);
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}
.payment-block p {
  color: var(--text);
  font-size: 0.97rem;
  margin-bottom: 0.85rem;
}
.payment-block p:last-child { margin-bottom: 0; }

.payment-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.payment-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.payment-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.payment-list li strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}
.footer-area {
  letter-spacing: 0.02em;
}
.footer-contact a { color: var(--text); }
.footer-contact a + a { margin-left: 1rem; }
.footer-meta { color: var(--text-muted); font-size: 0.85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero-bg {
    object-position: center;
  }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(26, 26, 26, 0.88) 0%,
      rgba(26, 26, 26, 0.78) 55%,
      rgba(26, 26, 26, 0.62) 100%
    );
  }
  .about-grid,
  .contact-grid,
  .booking-grid,
  .payment-grid {
    grid-template-columns: 1fr;
  }
  .about-photo {
    max-width: 380px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .calendly-inline-widget {
    min-height: 800px;
    height: 800px !important;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 1rem;
    display: none;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--border); }
  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    min-height: 48px;
    font-size: 1rem;
  }
  .nav-links .btn {
    margin: 1rem 1.5rem 0;
    text-align: center;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
  }
  /* Phone moves to the top of the drawer on mobile and gets gold emphasis. */
  .nav-links .nav-phone-item {
    order: -1;
    border-top: none;
  }
  .nav-links .nav-phone {
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    padding: 1rem 1.5rem;
    min-height: 48px;
  }
}

@media (max-width: 640px) {
  .pricing-table th, .pricing-table td { padding: 0.85rem 0.9rem; font-size: 0.95rem; }
  .contact-info .phone { font-size: 1.45rem; }
}

.footer-privacy {
  color: var(--text-muted);
}
.footer-privacy:hover { color: var(--gold); opacity: 1; }

/* ---------- About: secondary photo ---------- */
.about-secondary {
  border-bottom: none;
  text-align: center;
}
.about-secondary-photo {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: inline-block;
  border-radius: 4px;
}
@media (max-width: 640px) {
  .about-secondary-photo { max-width: 85vw; }
}

/* ---------- Honeypot ---------- */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--gold);
  color: var(--bg);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  left: 0;
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

/* ---------- 404 page ---------- */
.error-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}
.error-inner {
  text-align: center;
  max-width: 520px;
}
.error-inner .eyebrow {
  display: block;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.error-inner h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 1.25rem;
}
.error-inner p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}
