:root {
  --pine: #1F3A2E;
  --pine-soft: #2E5241;
  --ball: #E9C33A;
  --paper: #F4F6F0;
  --ink: #1B2420;
  --muted: #56655C;
  --line: #D5DCD2;
  --white: #FFFFFF;

  --font-head: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 500; }

p { margin: 0 0 1em; max-width: 62ch; }

a { color: var(--pine); }

a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--ball);
  outline-offset: 3px;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 80px 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ball);
  border-bottom: 1px solid #D4AC25;
}

.site-header a:focus-visible {
  outline-color: var(--pine);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--pine);
  text-decoration: none;
}

@media (max-width: 760px) {
  .brand { font-size: 1.4rem; }
}

.site-header nav { display: flex; gap: 24px; align-items: center; }

.site-header nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

.nav-cta {
  background: var(--pine);
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 999px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease;
}

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

.btn-primary { background: var(--pine); color: var(--white); }
.btn-ghost   { color: var(--pine); border: 2px solid var(--pine); }
.btn-yellow  { background: var(--ball); color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 96px; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-kicker {
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}

.lead { font-size: 1.25rem; color: var(--muted); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* The ball: the one memorable element */
.ball {
  position: relative;
  width: min(340px, 80vw);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F3D867, var(--ball) 60%, #D4AC25);
  display: grid;
  place-items: center;
  text-align: center;
  animation: bounce-in 0.9s cubic-bezier(.3, 1.6, .5, 1) both;
}

.ball-seams {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ball-seams path {
  fill: none;
  stroke: var(--white);
  stroke-width: 5;
  stroke-linecap: round;
  opacity: 0.85;
}

.ball-text {
  position: relative;
  font-family: var(--font-head);
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--pine);
}

.ball-text strong { font-size: 2.2rem; display: block; }

@keyframes bounce-in {
  from { transform: translateY(-60px) scale(0.8); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

/* Offer */
.offer { background: var(--pine); color: var(--white); }
.offer h2 { color: var(--ball); }
.offer-intro { color: #DCE5DF; }

.offer-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.offer-list li {
  border-top: 3px solid var(--ball);
  padding-top: 20px;
}

.offer-list p { color: #DCE5DF; }

/* Services */
.service-list {
  list-style: none;
  padding: 0;
  margin: 32px 0;
}

.service-list li {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.service-list li:first-child { border-top: 1px solid var(--line); }
.service-list p { color: var(--muted); margin: 0; }

.note {
  background: var(--white);
  border-left: 4px solid var(--ball);
  padding: 16px 20px;
  font-size: 1rem;
  max-width: none;
}

/* About */
.about { background: var(--white); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}

.about-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
}

/* Contact */
.contact { background: var(--pine-soft); color: var(--white); }
.contact h2 { color: var(--ball); }
.contact-intro { font-size: 1.25rem; color: #E4ECE6; }

.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }

.contact-details { color: #E4ECE6; }

/* Footer */
.site-footer {
  background: var(--pine);
  color: #B9C7BE;
  font-size: 0.95rem;
  padding: 24px 0;
  text-align: center;
}

.site-footer p { margin: 0 auto; }

/* Mobile */
@media (max-width: 760px) {
  section { padding: 56px 0; }
  .hero { padding: 40px 0 64px; }

  .hero-inner,
  .about-inner,
  .offer-list,
  .service-list li {
    grid-template-columns: 1fr;
  }

  .service-list li { gap: 4px; }

  .ball { width: 240px; order: -1; }
  .ball-text { font-size: 1.05rem; }
  .ball-text strong { font-size: 1.7rem; }

  .site-header nav a:not(.nav-cta) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ball { animation: none; }
  .btn { transition: none; }
}
