:root {
  --paper: #F7F6F0;
  --ink: #111816;
  --orange: #F26A1B;
  --moss: #6F8062;
  --mist: #DCE4DD;
  --line: rgba(17, 24, 22, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Candara, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 15% 18%, rgba(220, 228, 221, 0.56), transparent 20rem),
    repeating-radial-gradient(ellipse at 12% 80%, transparent 0 22px, rgba(111, 128, 98, 0.08) 23px 24px);
  pointer-events: none;
}

.hero-art {
  position: fixed;
  inset: 5rem -2rem auto auto;
  z-index: 0;
  width: min(900px, 72vw);
  height: min(620px, 74vh);
  background: url("Surlypointing2.png") right top / contain no-repeat;
  opacity: 0.22;
  pointer-events: none;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(247, 246, 240, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand {
  font-family: "Segoe UI", Candara, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 0.85rem;
  height: 0.85rem;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
}

nav a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:first-child::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -0.55rem;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 999px;
  background: var(--orange);
  transform: translateY(-50%);
}

main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  isolation: isolate;
}

.hero {
  min-height: 64vh;
  display: grid;
  align-content: center;
  padding: clamp(4rem, 10vw, 8rem) 0;
  position: relative;
}

.target-dot {
  position: absolute;
  top: 23%;
  right: min(14vw, 9rem);
  width: clamp(2.25rem, 6vw, 4.5rem);
  height: clamp(2.25rem, 6vw, 4.5rem);
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(242, 106, 27, 0.26);
  animation: dot-pulse 7s ease-in-out infinite;
}

.eyebrow,
.stage {
  margin: 0 0 0.75rem;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Segoe UI", Candara, sans-serif;
  line-height: 1.05;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 11vw, 7rem);
}

h2 {
  max-width: 680px;
  font-size: clamp(2rem, 6vw, 4rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-copy,
.about p {
  max-width: 660px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-copy {
  max-width: 560px;
}

.button {
  display: inline-flex;
  width: fit-content;
  margin-top: 1.5rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
  border-top: 1px solid var(--line);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.44);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 1.75rem;
  right: 1.4rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--orange);
  transition: transform 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 106, 27, 0.36);
  background: rgba(255, 255, 255, 0.66);
}

.card:hover::before {
  transform: translateX(-0.5rem);
}

.card p:last-child {
  margin-bottom: 0;
}

.about {
  background: linear-gradient(120deg, transparent, rgba(220, 228, 221, 0.7));
}

.about-map {
  display: block;
  width: min(760px, 100%);
  margin-top: 2.25rem;
  opacity: 0.86;
}

.site-footer {
  display: grid;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0.25rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@keyframes dot-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(242, 106, 27, 0.24);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 1rem rgba(242, 106, 27, 0);
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .target-dot,
  .card,
  .card::before {
    animation: none;
    transition: none;
  }
}

@media (max-width: 760px) {
  .hero-art {
    inset: 7rem -11rem auto auto;
    width: 135vw;
    height: 62vh;
    opacity: 0.13;
  }

  .target-dot {
    top: 18%;
    right: 1rem;
    opacity: 0.75;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .about-map {
    margin-top: 1.5rem;
  }
}