:root {
  --navy: #161f36;
  --navy-soft: #46516b;
  --accent: #a3855c;
  --grey: #5b6270;
  --bg: #ffffff;
  --bg-soft: #f7f6f3;
  --border: #e6e3db;
  --max-width: 860px;
  --max-width-wide: 1440px;
}

* {
  box-sizing: border-box;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0.01em;
}

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

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

/* Header */
header.site {
  padding: 30px 0;
  border-top: 3px solid var(--navy);
}

header.site .wrap {
  max-width: var(--max-width-wide);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.logo img {
  height: 46px;
  display: block;
}

nav.site {
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  max-width: 100%;
}

nav.site a {
  color: var(--grey);
  text-decoration: none;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transition: color 0.15s ease;
}

nav.site a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  position: relative;
  background: radial-gradient(ellipse 900px 500px at 50% 0%, #faf9f6 0%, var(--bg-soft) 70%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 110px 0;
  text-align: center;
}

.hero .wrap {
  max-width: 620px;
}

.hero .eyebrow {
  display: block;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 40px;
  margin: 0 0 26px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.hero p.lead {
  font-size: 18px;
  color: var(--grey);
  margin: 0;
}

/* Ornament divider */
.ornament {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
}

.ornament::before,
.ornament::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.ornament .diamond {
  width: 5px;
  height: 5px;
  background: var(--accent);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Main sections */
main {
  padding: 0;
}

section.block {
  padding: 88px 0;
}

section.block.alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.block .wrap {
  max-width: 1000px;
}

.section-head {
  margin-bottom: 28px;
}

@media (min-width: 860px) {
  .block .wrap {
    display: grid;
    grid-template-columns: 260px 1fr;
    column-gap: 72px;
  }

  .section-head {
    grid-column: 1;
    margin-bottom: 0;
  }

  .section-body {
    grid-column: 2;
    max-width: 620px;
  }

  .section-body p {
    margin-top: 4px;
  }

  section.block .illustration {
    grid-column: 1 / -1;
    max-width: none;
  }
}

h2 {
  font-size: 24px;
  margin: 0 0 14px;
}

.illustration {
  margin-top: 56px;
}

.illustration .skyline {
  display: block;
  width: 100%;
  height: auto;
}

.skyline .line {
  stroke: var(--navy);
  fill: none;
  stroke-width: 1.3;
  stroke-linecap: round;
  opacity: 0.8;
}

.skyline .accent {
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.3;
  stroke-linecap: round;
}

section.block p {
  color: var(--grey);
  margin: 0 0 14px;
  font-size: 16.5px;
}

/* Contact */
.cta-mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 17px 38px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--bg);
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cta-mail .arrow {
  display: inline-block;
  color: var(--accent);
  transition: transform 0.15s ease;
}

.cta-mail:hover {
  background: var(--bg);
  color: var(--navy);
}

.cta-mail:hover .arrow {
  transform: translateX(3px);
}

/* Footer */
footer.site {
  border-top: 1px solid var(--border);
  border-bottom: 3px solid var(--navy);
  padding: 36px 0;
}

footer.site .wrap {
  max-width: var(--max-width-wide);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--grey);
}

footer.site nav {
  display: flex;
  gap: 22px;
}

footer.site nav a {
  color: var(--grey);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}

footer.site nav a:hover {
  color: var(--accent);
}

/* Legal pages */
.legal main .wrap {
  max-width: var(--max-width);
}

.legal h1 {
  font-size: 28px;
  margin: 48px 0 32px;
}

.legal h2 {
  font-size: 19px;
  margin-top: 32px;
}

.legal p, .legal li {
  color: var(--grey);
}

.legal main {
  padding-bottom: 80px;
}

.legal a.back {
  display: inline-block;
  margin-top: 32px;
  color: var(--grey);
  text-decoration: none;
  font-size: 14px;
}

.legal a.back:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 64px 0; }
  .hero h1 { font-size: 29px; }
  section.block { padding: 56px 0; }
  header.site { padding: 24px 0; }
  header.site .wrap { row-gap: 6px; }
  nav.site {
    gap: 16px;
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 380px) {
  nav.site { gap: 11px; }
  nav.site a { font-size: 11px; letter-spacing: 0.08em; }
}
