:root {
  --primary: #2b3440;
  --primary-dark: #1a2028;
  --secondary: #8b4513;
  --accent: #e07a2f;
  --bg: #eef1f5;
  --bg-alt: #dde3ea;
  --surface: #ffffff;
  --text: #1a2028;
  --muted: #5a6573;
  --border: #c4cdd8;
  --shadow: 0 4px 24px rgba(44, 36, 22, 0.08);
  --shadow-lg: 0 10px 40px rgba(44, 36, 22, 0.14);
  --font: "Manrope", system-ui, sans-serif;
  --display: "Unbounded", "Manrope", sans-serif;
  --radius: 14px;
  --max: 920px;
}

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

html {
  height: 100%;
}

body {
  min-height: 100%;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 12% -10%, rgba(224, 122, 47, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 10%, rgba(139, 69, 19, 0.14), transparent 50%),
    linear-gradient(165deg, var(--bg) 0%, var(--bg-alt) 55%, #d2dae4 100%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(43, 52, 64, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 52, 64, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}

.hero {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: clamp(3.5rem, 12vh, 6.5rem) 0 3rem;
  flex: 1;
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.2rem, 12vw, 5.75rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  animation: rise 0.7s ease both;
}

.tagline {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.2rem, 3.2vw, 1.65rem);
  color: var(--primary);
  margin-bottom: 0.65rem;
  animation: rise 0.7s ease 0.08s both;
}

.lead {
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 2.5rem;
  animation: rise 0.7s ease 0.16s both;
}

.services {
  display: grid;
  gap: 0.85rem;
}

.service {
  --i: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.2rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
  animation: rise 0.65s ease calc(0.22s + var(--i) * 0.07s) both;
}

.service:hover,
.service:focus-visible {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  box-shadow: var(--shadow-lg);
  outline: none;
}

.service:focus-visible {
  box-shadow: var(--shadow-lg), 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);
}

.service__name {
  grid-column: 1;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--primary-dark);
}

.service__desc {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.95rem;
}

.service__go {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 1.35rem;
  color: var(--accent);
  transition: transform 0.22s ease;
}

.service:hover .service__go,
.service:focus-visible .service__go {
  transform: translateX(4px);
}

.site-foot {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: rise 0.7s ease 0.45s both;
}

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

@media (min-width: 720px) {
  .services {
    grid-template-columns: 1fr 1fr;
  }
}

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