/* Atlas Estate Solutions — one-page site */
:root {
  --ink: #1a2332;
  --ink-soft: #2c3546;
  --cream: #f6f1e8;
  --paper: #fffdf8;
  --rule: #c4a36a;
  --rule-dim: #d9c7a3;
  --text: #22262e;
  --muted: #5b616c;
  --line: #e6dfd2;
  --max: 68rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.5rem 0.85rem;
  z-index: 10;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--ink);
}

.wordmark svg { width: 2.4rem; height: 2.4rem; flex: none; }

.wordmark-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.wordmark-text strong {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.wordmark-text span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

nav { display: flex; gap: 1.5rem; }

nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
}
nav a:hover, nav a:focus-visible { border-bottom-color: var(--rule); }

.hero {
  padding: 4.5rem 0 5rem;
}

.eyebrow {
  display: inline-block;
  color: #7a6233;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
}

h1 {
  margin: 0 0 1.15rem;
  max-width: 16ch;
  color: var(--ink);
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 2px;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover, .btn-primary:focus-visible { background: var(--ink-soft); }
.btn-ghost {
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-inline: 0;
  border-radius: 0;
}
.btn-ghost:hover, .btn-ghost:focus-visible { color: #7a6233; }

.panel {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 4.25rem 0;
}

h2 {
  margin: 0 0 0.5rem;
  color: var(--ink);
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
}

.section-intro {
  margin: 0 0 2.5rem;
  max-width: 36rem;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  padding: 1.5rem 1.4rem 1.6rem;
  border: 1px solid var(--line);
  background: var(--cream);
}

.step-num {
  display: block;
  margin-bottom: 0.85rem;
  color: #7a6233;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.15rem;
  font-weight: 560;
}

.steps h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  font-weight: 650;
  color: var(--ink);
}

.steps p { margin: 0; color: var(--muted); font-size: 1.02rem; }

.contact {
  padding: 4.5rem 0 5rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  padding: 2.4rem;
  background: var(--ink);
  color: var(--cream);
}

.contact-card h2 { color: var(--paper); }

.contact-card p {
  margin: 0 0 1.25rem;
  color: #c9cfd8;
  max-width: 34rem;
}

.email {
  color: var(--rule);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}
.email:hover, .email:focus-visible { color: #e4c88a; }

.aside {
  border-left: 1px solid rgba(196, 163, 106, 0.35);
  padding-left: 2rem;
}

.aside h3 {
  margin: 0 0 0.6rem;
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--paper);
}

.aside p { margin: 0; color: #c9cfd8; }

footer {
  padding: 1.6rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

footer a { text-decoration: none; }
footer a:hover, footer a:focus-visible { color: var(--ink); }

@media (max-width: 800px) {
  .steps, .contact-card { grid-template-columns: 1fr; }
  .aside { border-left: 0; padding-left: 0; border-top: 1px solid rgba(196, 163, 106, 0.35); padding-top: 1.5rem; }
  .hero { padding-top: 2.8rem; }
  nav { display: none; }
}
