/* ---------------------------------------------------------------
   79th Place Properties
   Palette: ink navy (sky) / stone parchment (ground) — a deliberate
   duality for an Arizona holding company. Section marks (§ 1, § 2…)
   echo the numbered-section convention used throughout the
   Company's own governing instruments, not a generic UI pattern.
   ------------------------------------------------------------- */

:root {
  --ink:        #101B2D;
  --ink-2:      #1C2C45;
  --stone:      #EEE8DA;
  --stone-2:    #E2D9C4;
  --text-dark:  #1C1A16;
  --text-muted: #57544A;
  --text-light: #F3EFE4;
  --text-light-muted: #B9C2CF;
  --accent:     #A9764F;
  --accent-dark:#7C5A3C;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text-dark);
  background: var(--stone);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------------- Topbar ---------------- */

.topbar {
  background: var(--ink);
  color: var(--text-light);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.topnav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--text-light-muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.topnav a:hover {
  color: var(--text-light);
  border-color: var(--accent);
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-light);
  overflow: hidden;
}

.hero__horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(169, 118, 79, 0.16), transparent);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  padding: 108px 28px 96px;
}

.hero__kicker {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text-light-muted);
  margin: 0 0 18px;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.14;
  margin: 0 0 22px;
  max-width: 16ch;
  animation: rise 0.7s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--text-light-muted);
  max-width: 46ch;
  margin: 0 0 40px;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 2px;
  transition: background 0.15s ease;
}

.button:hover {
  background: var(--accent-dark);
}

/* ---------------- Shared section label ---------------- */

.about__label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 8px;
}

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

/* ---------------- About ---------------- */

.about {
  padding: 88px 0;
  border-bottom: 1px solid var(--stone-2);
}

.about__grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
}

.about__body .lead {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.5;
  margin: 0 0 20px;
  max-width: 34ch;
}

.about__body p:not(.lead) {
  max-width: 62ch;
  color: var(--text-muted);
}

/* ---------------- What We Do ---------------- */

.work {
  padding: 88px 0;
  border-bottom: 1px solid var(--stone-2);
}

.work__label { margin-bottom: 40px; }

.work__list {
  margin: 0;
}

.work__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 26px 0;
  border-top: 1px solid var(--stone-2);
}

.work__row:last-child {
  border-bottom: 1px solid var(--stone-2);
}

.work__row dt {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
}

.mark {
  display: block;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--accent-dark);
  margin-bottom: 6px;
}

.work__row dd {
  margin: 0;
  color: var(--text-muted);
  max-width: 56ch;
}

/* ---------------- Contact ---------------- */

.contact {
  background: var(--ink);
  color: var(--text-light);
  padding: 88px 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}

.contact__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.9rem;
  margin: 0 0 8px;
}

.contact__entity {
  color: var(--text-light-muted);
  margin: 0;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.contact__link {
  text-decoration: none;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.15s ease;
}

.contact__link:hover {
  color: var(--accent);
}

.contact__note {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  margin: 10px 0 0;
}

/* ---------------- Footer ---------------- */

.footer {
  background: var(--ink-2);
  color: var(--text-light-muted);
  font-size: 0.85rem;
  padding: 22px 0;
}

.footer p { margin: 0; }

/* ---------------- Responsive ---------------- */

@media (max-width: 700px) {
  body { font-size: 16.5px; }

  .hero__inner { padding: 76px 24px 64px; }

  .about__grid,
  .work__row,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about { padding: 64px 0; }
  .work { padding: 64px 0; }
  .contact { padding: 64px 0; }
}
