/* Amsterdam Bookkeeper – static rebuild */
:root {
  --red: #9e0000;
  --red-dark: #5e0000;
  --bg-dark: #680000;
  --text: #666;
  --heading: #333;
  --footer: #232323;
  --wrap: 972px; /* 940px content + 2x16px gutter, as original */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 56px; }
body {
  margin: 0;
  font: 500 14px/22px "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--heading); margin: 0 0 .6em; line-height: 1.25; }
h2 { font-size: 34px; line-height: 34px; font-weight: 600; }
h4 { font-size: 20px; line-height: 26px; font-weight: 300; text-transform: uppercase; }
address { font-style: normal; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Top bar */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.topbar-logo img { display: block; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-size: 13px; color: #888; transition: color .2s; }
.nav a:hover { color: var(--red); }
.nav-toggle, .nav-burger { display: none; }

/* Splash */
.splash {
  position: relative; height: 100vh; min-height: 480px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #4a5a78;
}
.slides div {
  position: absolute; inset: 0;
  background: center / cover no-repeat;
  opacity: 0; animation: fade 30s infinite;
}
.slides div:nth-child(2) { animation-delay: 6s; }
.slides div:nth-child(3) { animation-delay: 12s; }
.slides div:nth-child(4) { animation-delay: 18s; }
.slides div:nth-child(5) { animation-delay: 24s; }
@keyframes fade {
  0% { opacity: 0; } 4% { opacity: 1; } 20% { opacity: 1; } 24% { opacity: 0; } 100% { opacity: 0; }
}
/* dotted overlay like the original */
.splash::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(rgba(0,0,0,.25) 1px, transparent 1px) 0 0 / 3px 3px;
}
.splash-content { position: relative; z-index: 1; text-align: center; }
.splash-content img { display: block; margin: 0 auto 60px; }
.btn {
  display: inline-block; width: 250px; padding: 12px 24px;
  background: linear-gradient(#f24537 5%, #af0000 100%); color: #fff; text-decoration: none;
  font-size: 18px; line-height: 22px; font-weight: 800; text-transform: uppercase;
  border-radius: 3px;
}
.btn:hover { background: linear-gradient(#af0000 5%, #f24537 100%); }
.scroll-down {
  position: absolute; z-index: 1; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100px; height: 100px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.5); color: #333; border-radius: 25% 25% 0 0;
}
.scroll-down svg { width: 56px; height: 56px; }
@media (prefers-reduced-motion: reduce) {
  .slides div { animation: none; }
  .slides div:first-child { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* Sections */
.section { padding: 80px 0; }
.section.dark { background: var(--bg-dark); color: #fff; }
.section.dark h2, .section.dark h4 { color: #fff; }
.rule { border: 0; border-top: 2px solid var(--red); margin: 40px auto 30px; max-width: 720px; }
.rule.light { border-top-color: rgba(255,255,255,.4); }

.banner {
  background: var(--red); color: #fff; font-size: 20px; line-height: 28px; font-weight: 700;
  text-align: center; padding: 14px 20px; margin: 30px 0 40px;
}
.cols-2, .cols-3, .cols-4 { display: grid; gap: 30px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }

.intro { text-align: center; }
.ico { width: 42px; height: 42px; fill: var(--red); }

.sub { font-size: 26px; line-height: 36px; font-weight: 400; margin-top: 60px; }
.tiles {
  list-style: none; padding: 0; margin: 30px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.tiles li {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 136px; padding: 16px; background: var(--red); color: #fff; font-size: 18px; line-height: 24px; font-weight: 400;
}
.tiles li:nth-child(even) { background: var(--red-dark); }

.lead { text-align: center; font-size: 18px; line-height: 24px; font-weight: 700; margin: 30px 0 50px; }
.cards article { display: flex; flex-direction: column; align-items: center; }
.cards img { width: 220px; height: 158px; object-fit: contain; margin-bottom: 18px; }
.card {
  align-self: stretch; flex: 1; /* fill the article so all four cards end level */
  background: rgba(255,255,255,.35); padding: 14px 16px; line-height: 20px;
}
.card h4 { border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 6px; }
.card p { margin: 0 0 .8em; }
.closing { text-align: center; max-width: 800px; margin: 0 auto; }

.contact h4, .contact address, .contact p { font-size: 20px; line-height: 26px; font-weight: 300; text-transform: none; color: var(--heading); margin: 0; }
.contact h4 { margin-top: 1.2em; font-weight: 600; }
.contact h4:first-child { margin-top: 0; }
.contact a { color: var(--red); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

.strip { padding: 40px 0; }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: 40px; }
.strip p { font-size: 20px; line-height: 26px; font-weight: 300; margin: 0; }
.strip a { color: #fff; }

.footer { background: var(--footer); color: #999; font-size: 14px; font-weight: 400; padding: 20px 0; text-align: center; }

/* Responsive */
@media (max-width: 900px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  h2 { font-size: 28px; }
  .section { padding: 56px 0; }
  .cols-2, .cols-3, .cols-4, .tiles { grid-template-columns: 1fr; }
  .strip-inner { flex-direction: column; text-align: center; gap: 16px; }

  .nav-burger { display: block; cursor: pointer; padding: 10px; }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after {
    display: block; width: 22px; height: 2px; background: #666; position: relative;
  }
  .nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; }
  .nav-burger span::before { top: -7px; }
  .nav-burger span::after { top: 7px; }
  .nav {
    display: none; position: absolute; top: 48px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; box-shadow: 0 4px 8px rgba(0,0,0,.1);
  }
  .nav a { padding: 12px 16px; border-top: 1px solid #eee; font-size: 15px; }
  .nav-toggle:checked ~ .nav { display: flex; }
}

/* keep the bigger splash logo/button sane on phones */
@media (max-width: 640px) {
  .splash-content img { width: 220px; margin-bottom: 40px; }
  .banner { font-size: 17px; line-height: 24px; }
  .contact h4, .contact address, .contact p, .strip p { font-size: 17px; line-height: 24px; }
}
