:root {
  --green: #1f8a4c;
  --yellow: #e8b923;
  --orange: #e07a2f;
  --red: #c43c2e;
  --ink: #1a1a1a;
  --muted: #5a5a5a;
  --paper: #faf8f5;
  --paper-2: #f0ebe3;
  --line: rgba(26, 26, 26, 0.12);
  --grad: linear-gradient(105deg, var(--green), var(--yellow) 40%, var(--orange) 70%, var(--red));
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 2px;
  --max: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand img {
  width: min(180px, 42vw);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:not(.btn):hover {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.45rem 0.8rem;
  font: inherit;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.12);
}

.btn-primary:hover {
  background: #000;
}

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

.btn-lg {
  padding: 0.9rem 1.4rem;
  font-size: 1.05rem;
}

.hero {
  position: relative;
  min-height: min(100vh, 900px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(31, 138, 76, 0.55), transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(224, 122, 47, 0.45), transparent 50%),
    radial-gradient(ellipse 60% 50% at 60% 80%, rgba(196, 60, 46, 0.4), transparent 55%),
    linear-gradient(160deg, #0f1a14 0%, #1a1510 45%, #2a1810 100%);
  animation: heroShift 18s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -18deg,
      transparent 0,
      transparent 11px,
      rgba(255, 255, 255, 0.03) 11px,
      rgba(255, 255, 255, 0.03) 12px
    );
  opacity: 0.7;
}

@keyframes heroShift {
  from {
    filter: hue-rotate(-6deg) saturate(1);
  }
  to {
    filter: hue-rotate(10deg) saturate(1.15);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 6rem 0 5rem;
  animation: riseIn 0.9s ease both;
}

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

.hero-logo {
  width: min(520px, 88vw);
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.35));
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--paper-2);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-list li {
  padding: 1.5rem 1.25rem 1.5rem 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding-right: 1.5rem;
  padding-left: 1.25rem;
  animation: riseIn 0.7s ease both;
}

.service-list li:nth-child(3n) {
  border-right: none;
}

.service-list h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
}

.service-list p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-list a {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.service-list a:hover {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border-image: var(--grad) 1;
}

.listings {
  display: grid;
  gap: 1.25rem;
}

.listings-empty {
  margin: 0;
  color: var(--muted);
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.listing-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
}

.listing-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #ddd;
}

.listing-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
}

.listing-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.listing-price {
  font-weight: 700;
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-block {
  font-size: 1.15rem;
}

.contact-block p {
  margin: 0 0 0.75rem;
}

.contact-block a {
  font-weight: 600;
  text-decoration: none;
}

.contact-block a:hover {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.socials {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.25rem !important;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 860px) {
  .service-list {
    grid-template-columns: 1fr 1fr;
  }

  .service-list li:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .service-list li:nth-child(2n) {
    border-right: none;
  }

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

@media (max-width: 700px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-list li {
    border-right: none !important;
    padding-left: 0;
    padding-right: 0;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-inner {
    padding: 5rem 0 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
