/* Riverdart Limited — site styles
   Brand colours below are placeholders until the official palette is confirmed. */
:root {
  --navy: #2F5D4A;
  --navy-2: #264D3D;
  --teal: #5FBF6E;
  --teal-dark: #2E7D3E;
  --ink: #1F2937;
  --muted: #5B6472;
  --line: #E5E8EE;
  --bg-soft: #F3F8F4;
  --white: #fff;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal-dark); margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }

/* Placeholder marker: anything still needing real info from Joe */
.ph {
  background: #FFF4CC; border: 1px dashed #E0B400; border-radius: 4px;
  padding: 0 4px; color: #6B5300; font-style: normal;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 30px; width: auto; }

.nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav a.link { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav a.link:hover { color: var(--teal-dark); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--navy); cursor: pointer; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 700;
  text-decoration: none; font-size: .95rem; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #12301F; }
.btn-primary:hover { background: #7ACC87; }
.btn-ghost { border: 2px solid rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 120px 0 110px;
}
.hero h1 { color: var(--white); max-width: 760px; }
.hero .lead { color: #D5E6DC; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-chevrons { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); opacity: .18; width: 340px; pointer-events: none; }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; max-width: 720px; }
.stat strong { display: block; font-size: 2rem; color: var(--teal); font-weight: 800; }
.stat span { color: #D5E6DC; font-size: .9rem; }

/* Grid + cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 12px 32px rgba(47,93,74,.10); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; background: #EAF6EC; color: var(--teal-dark);
  display: grid; place-items: center; margin-bottom: 16px; font-weight: 800;
}

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about-panel {
  background: var(--navy); color: #D5E6DC; border-radius: 20px; padding: 36px;
}
.about-panel h3 { color: var(--white); }
.about-panel dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: .95rem; }
.about-panel dt { color: var(--teal); font-weight: 600; }
.about-panel dd { margin: 0; }

/* Job board cards */
.board { display: flex; flex-direction: column; gap: 10px; }
.board .tag {
  align-self: flex-start; font-size: .75rem; font-weight: 700; color: var(--teal-dark);
  background: #EAF6EC; padding: 4px 10px; border-radius: 999px;
}
.board .url { font-weight: 700; color: var(--navy); text-decoration: none; font-size: 1.05rem; }
.board .url:hover { color: var(--teal-dark); }
.board .visit { margin-top: auto; padding-top: 12px; font-weight: 600; font-size: .9rem; }
.board.placeholder { border-style: dashed; background: #FAFCFA; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--teal); display: grid; place-items: center; font-weight: 800;
}
.step p { color: var(--muted); }

/* Contact */
.contact-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #D5E6DC; border-radius: 24px; padding: 56px; display: grid;
  grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.contact-box h2 { color: var(--white); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; }
.contact-list b { color: var(--white); min-width: 80px; }
.contact-list a { color: var(--teal); }

/* Footer */
.site-footer { background: #1F3F32; color: #A9C3B6; padding: 56px 0 32px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: var(--white); margin: 0 0 12px; font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #A9C3B6; text-decoration: none; }
.site-footer a:hover { color: var(--teal); }

.legal { border-top: 1px solid #355C4B; margin-top: 40px; padding-top: 24px; font-size: .82rem; }

/* Legal pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose p, .prose li { color: #374151; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-box { grid-template-columns: 1fr; }
  .contact-box { padding: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .stat strong { font-size: 1.5rem; }
  .hero { padding: 80px 0 72px; }
  .hero-chevrons { width: 200px; right: -70px; opacity: .08; }
  .menu-toggle { display: block; }
  .nav ul {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    gap: 0; background: var(--white); border-bottom: 1px solid var(--line);
  }
  .nav ul.open { display: flex; }
  .nav ul li a.link { display: block; padding: 14px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
