:root {
  --ink: #0b1f2a;
  --ink-soft: #163445;
  --paper: #f3efe6;
  --paper-deep: #e7e0d2;
  --accent: #d9772f;
  --accent-deep: #b85f1f;
  --line: rgba(11, 31, 42, 0.12);
  --muted: rgba(11, 31, 42, 0.72);
  --white: #fffaf3;
  --shadow: 0 24px 60px rgba(11, 31, 42, 0.18);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  background:
    radial-gradient(circle at 12% 18%, rgba(217, 119, 47, 0.18), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(22, 52, 69, 0.16), transparent 36%),
    linear-gradient(165deg, #f7f3eb 0%, #ebe4d7 48%, #dfe8e4 100%);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 31, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 42, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
  opacity: 0.55;
  z-index: 0;
}

.top,
main,
.foot {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.4rem 1.5rem 0;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-link {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.top-link:hover {
  color: var(--accent-deep);
}

.legal {
  padding: 3rem 0 2rem;
  max-width: 42rem;
  animation: rise 0.8s ease both;
}

.legal-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11, 31, 42, 0.5);
}

.legal h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.legal-meta {
  margin: 0 0 1.75rem;
  color: rgba(11, 31, 42, 0.55);
  font-size: 0.95rem;
}

.legal h2 {
  margin: 2rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.legal ul {
  padding-left: 1.2rem;
}

.legal a {
  color: var(--accent-deep);
  font-weight: 600;
}

.foot a {
  color: inherit;
  font-weight: 600;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.hero {
  min-height: min(78vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.5rem 0 3.5rem;
  animation: rise 0.9s ease both;
}

.brand-mark {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  animation: rise 0.9s ease 0.08s both;
}

.hero h1 {
  margin: 0 0 1.1rem;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink-soft);
  animation: rise 0.9s ease 0.16s both;
}

.lede {
  margin: 0 0 2rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.08rem;
  animation: rise 0.9s ease 0.24s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: rise 0.9s ease 0.32s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--ink-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(255, 250, 243, 0.55);
}

.about,
.contact {
  padding: 2.75rem 0 0;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}

.about h2,
.contact h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about p {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 34rem;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
}

.contact-list span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(11, 31, 42, 0.5);
}

.contact-list a,
.contact-list strong,
.contact-list address {
  color: var(--ink);
  font-style: normal;
  font-weight: 600;
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--accent-deep);
}

.foot {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2.5rem;
  color: rgba(11, 31, 42, 0.55);
  font-size: 0.9rem;
}

.foot p {
  margin: 0;
}

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

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: 3.2rem;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
