/* Aspectlytic — single stylesheet */
/* Palette: bg #0b0c0d | surface #15171a | text #e8e6e1 | muted #8a8680 | accent #d4b86a */

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

:root {
  --bg:      #0b0c0d;
  --surface: #15171a;
  --text:    #e8e6e1;
  --muted:   #8a8680;
  --accent:  #d4b86a;
  --radius:  6px;
  --max-w:   760px;
  --font:    -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  min-height: 100vh;
  padding: 0 1.25rem;
}

/* ── Layout wrapper ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 0 3rem;
}

/* ── Header / Wordmark ── */
.site-header {
  margin-bottom: 3rem;
}

.wordmark {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  line-height: 1.1;
}

.wordmark .accent-letter {
  color: var(--accent);
}

.tagline {
  margin-top: 0.65rem;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--muted);
  font-weight: 400;
}

/* ── Sections ── */
.section {
  margin-bottom: 2.75rem;
}

.section h2 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section p,
.section address {
  font-style: normal;
  font-size: 1rem;
  color: var(--text);
  max-width: 60ch;
}

/* ── Service cards ── */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

@media (max-width: 540px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  background-color: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
}

.card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Contact ── */
.contact-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.contact-link:hover,
.contact-link:focus {
  border-bottom-color: var(--accent);
  outline: none;
}

.contact-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Wordmark as home link ── */
.wordmark-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

/* ── Section: spacing between stacked paragraphs/addresses ── */
.section p + p,
.section address + p {
  margin-top: 0.75rem;
}

/* ── Address block ── */
.address-block {
  font-style: normal;
  line-height: 1.7;
}

/* ── Map embed: responsive 16:9 ── */
.map-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background-color: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Subtle note (e.g. effective date) ── */
.muted-note {
  color: var(--muted);
  font-size: 0.875rem;
}

/* ── Prose: long-form content like privacy policy ── */
.prose h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.prose p,
.prose ul {
  font-size: 1rem;
  color: var(--text);
  max-width: 60ch;
  margin-bottom: 0.75rem;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose ul li {
  margin-bottom: 0.4rem;
}

.prose a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.prose a:hover,
.prose a:focus {
  border-bottom-color: var(--accent);
  outline: none;
}

/* ── Footer ── */
.site-footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}

.site-footer p {
  margin-bottom: 0.25rem;
}

.site-footer .footer-nav {
  margin-top: 0.5rem;
}

.site-footer .footer-nav a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-footer .footer-nav a:hover,
.site-footer .footer-nav a:focus {
  color: var(--text);
  border-bottom-color: var(--muted);
  outline: none;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
