/* Zeffl Group — zeffl.com  |  yellow + grey on white */

:root {
  --ink: #2b2f36;        /* dark grey */
  --body: #5b616b;       /* mid grey */
  --yellow: #f2b705;     /* accent */
  --yellow-dark: #d9a404;
  --yellow-soft: #ffe9a8;
  --mist: #f6f7f8;       /* light grey */
  --line: #e6e8eb;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 46rem; }

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

/* Header */
header { border-bottom: 1px solid var(--line); background: var(--white); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem 0; flex-wrap: wrap; gap: .75rem;
}
.brand {
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 700; font-size: 1.2rem; color: var(--ink);
  text-decoration: none; letter-spacing: -0.01em;
}
.brand span { color: var(--yellow); }
.nav ul { display: flex; gap: 1.4rem; list-style: none; flex-wrap: wrap; }
.nav ul a { color: var(--ink); text-decoration: none; font-size: .92rem; }
.nav ul a:hover, .nav ul a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--yellow);
}

/* Hero */
.hero-bg {
  background:
    radial-gradient(480px 260px at 88% 15%, rgba(242,183,5,.14), transparent 65%),
    radial-gradient(rgba(43,47,54,.06) 1px, transparent 1px);
  background-size: auto, 22px 22px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 2.5rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.kicker {
  display: inline-block; font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: #a07c00;
  margin-bottom: 1rem;
}

h1 {
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.1; letter-spacing: -0.02em; font-weight: 700;
  max-width: 15em;
}
.hero-copy .sub {
  margin-top: 1.25rem; font-size: 1.1rem; color: var(--body); max-width: 40rem;
}

.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

.btn {
  display: inline-block; margin-top: 1.75rem;
  background: var(--yellow); color: var(--ink); text-decoration: none;
  padding: .8rem 1.6rem; border-radius: 10px; font-weight: 600; font-size: .95rem;
}
.btn:hover { background: var(--yellow-dark); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--yellow); background: transparent; }

/* Hero illustration — sized like a featured image, not a banner */
.hero-art {
  max-width: 360px;
  width: 100%;
  margin-left: auto;
}
.hero-art svg { width: 100%; height: auto; display: block; }

.float-a { animation: floaty 7s ease-in-out infinite; }
.float-b { animation: floaty 8s ease-in-out 1s infinite; }
.float-c { animation: floaty 6s ease-in-out .5s infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Sections */
section { padding: 2.5rem 0; }
h2 {
  font-family: "Sora", "Inter", sans-serif;
  font-size: 1.65rem; letter-spacing: -0.01em; margin-bottom: 1.25rem;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: var(--mist); border: 1px solid var(--line);
  border-radius: 14px; padding: 1.75rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(43,47,54,.08); }
.card h3 { font-size: 1.12rem; margin: .35rem 0 .5rem; }
.card p { color: var(--body); font-size: .94rem; }
.card .kicker { margin-bottom: 0; }

.icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: all .2s ease;
}
.icon svg { width: 22px; height: 22px; }
.card:hover .icon { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

/* Values row */
.values { padding-top: .5rem; }
.value-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1.6rem 0;
}
.value { display: flex; flex-direction: column; gap: .2rem; padding-left: 1rem; border-left: 3px solid var(--yellow); }
.value strong { font-family: "Sora", "Inter", sans-serif; font-size: 1rem; }
.value span { color: var(--body); font-size: .88rem; }

/* About blurb */
.about p { color: var(--body); font-size: 1.05rem; max-width: 46rem; }
.about a { font-weight: 600; text-decoration: none; box-shadow: inset 0 -2px 0 var(--yellow); }
.about a:hover { box-shadow: inset 0 -1.4em 0 var(--yellow-soft); }

/* Contact strip */
.strip {
  background: var(--ink); color: #fff; border-radius: 16px;
  padding: 2.5rem; margin: 2rem 0 1rem;
}
.strip h2 { color: #fff; font-size: 1.45rem; margin-bottom: .5rem; }
.strip p { color: #c6cad1; }
.strip a { color: var(--yellow); }

/* Inner pages */
.page { padding: 3.5rem 0 1rem; }
.page h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.page h2 { font-size: 1.25rem; margin: 2.1rem 0 .6rem; }
.page p, .page li { color: var(--body); line-height: 1.75; margin-bottom: .9rem; }
.page ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.page .updated { font-size: .88rem; color: #8a8f98; }
.page a { color: var(--ink); box-shadow: inset 0 -2px 0 var(--yellow); text-decoration: none; }
.page a:hover { box-shadow: inset 0 -1.4em 0 var(--yellow-soft); }

/* Footer */
footer {
  border-top: 1px solid var(--line); margin-top: 4rem;
  padding: 2.25rem 0 2.5rem; font-size: .875rem; color: var(--body);
  background: var(--mist);
}
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
footer a { color: var(--ink); text-decoration: none; }
footer a:hover { box-shadow: inset 0 -2px 0 var(--yellow); }
.foot-contact { margin-top: .75rem; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-a, .float-b, .float-c { animation: none; }
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 3rem; padding-bottom: 3rem; }
  .hero-art { max-width: 280px; margin: 0 auto; }
  .cards, .value-row { grid-template-columns: 1fr; }
  .strip { padding: 1.75rem; }
}
