:root {
  --pink: #e85a6b;
  --pink-deep: #d44558;
  --green: #1a6b3c;
  --green-deep: #0f4a28;
  --mint: #e8f5ec;
  --mint-soft: #f4faf6;
  --ink: #1a2421;
  --slate: #3d4a45;
  --muted: #5f6f68;
  --line: #d5e5db;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(15, 74, 40, 0.08);
  --radius: 14px;
  --max: 1080px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "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.0625rem;
  line-height: 1.65;
  background:
    radial-gradient(1200px 520px at 12% -10%, rgba(232, 90, 107, 0.12), transparent 55%),
    radial-gradient(900px 480px at 100% 0%, rgba(26, 107, 60, 0.14), transparent 50%),
    linear-gradient(180deg, var(--mint-soft) 0%, var(--white) 42%, var(--white) 100%);
  background-attachment: fixed;
}

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

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--pink-deep);
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(213, 229, 219, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.75rem;
  padding-block: 0.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--green-deep);
}

.brand__logo {
  width: auto;
  height: 5.25rem;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  color: var(--slate);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav__links a:hover {
  color: var(--green);
}

/* Hero */
.hero {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__eyebrow {
  margin: 0 0 0.85rem;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--green-deep);
}

.hero__copy {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  color: var(--slate);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn--primary {
  background: var(--green);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--green-deep);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--green);
  color: var(--green);
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 22rem);
  justify-self: end;
  background: transparent;
  animation: float-in 0.9s ease both;
}

.hero__logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Sections */
.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section--portfolio {
  background: linear-gradient(180deg, transparent, rgba(232, 245, 236, 0.65) 18%, rgba(232, 245, 236, 0.65) 82%, transparent);
}

.section__header {
  max-width: 40rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.section__label {
  margin: 0 0 0.55rem;
  color: var(--pink-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--green-deep);
}

.section__intro {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.property {
  display: grid;
  gap: 1.75rem;
}

.property__block {
  padding: clamp(1.35rem, 3vw, 1.85rem) 0;
  border-top: 1px solid var(--line);
}

.property__block:last-child {
  border-bottom: 1px solid var(--line);
}

.property__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 0.65rem;
}

.property__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  color: var(--ink);
}

.property__link {
  font-weight: 700;
  text-decoration: none;
  color: var(--pink-deep);
}

.property__link:hover {
  color: var(--green);
}

.property__desc {
  margin: 0;
  max-width: 40rem;
  color: var(--slate);
}

.network-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.network-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.network-links a:hover {
  border-color: var(--green);
  background: var(--white);
  color: var(--green-deep);
  transform: translateY(-1px);
}

.network-links .arrow {
  color: var(--pink);
  font-size: 1.05rem;
  line-height: 1;
}

/* Legal pages */
.legal {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
}

.legal h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--green-deep);
}

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

.legal .updated {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0f4a28 0%, #0a3320 100%);
  color: rgba(255, 255, 255, 0.88);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.footer__brand img {
  width: 2rem;
  height: 2rem;
}

.footer__brand span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--white);
}

.footer__text {
  margin: 0;
  max-width: 26rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.footer__heading {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffb3bd;
}

.footer__bottom {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.75s ease forwards;
}

.reveal-delay-1 { animation-delay: 0.12s; }
.reveal-delay-2 { animation-delay: 0.24s; }
.reveal-delay-3 { animation-delay: 0.36s; }

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

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero__visual {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
  .btn:hover,
  .network-links a:hover {
    transform: none;
  }
}

/* Responsive */
@media (max-width: 860px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
    justify-self: center;
    width: min(100%, 18rem);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .nav__links {
    gap: 0.85rem;
  }

  .nav__links a {
    font-size: 0.88rem;
  }

  .brand__logo {
    height: 4.25rem;
  }

  .network-links {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}
