:root {
  --ink: #1d2433;
  --ink-soft: #4d5566;
  --paper: #fffdf9;
  --wash: #f6efe6;
  --line: #e6dccf;
  --accent: #b5482e;
  --accent-dark: #8e3622;
  --navy: #1f3550;
  --max: 66rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; color: var(--navy); }

a { color: var(--accent-dark); }
a:hover { color: var(--accent); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

.topbar { background: var(--navy); color: #e9edf3; font-size: 0.9rem; }
.topbar .wrap { padding-top: 0.4rem; padding-bottom: 0.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; }
.topbar a { color: #ffffff; text-decoration: none; font-weight: 600; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.brand { font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.brand span { color: var(--accent); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent-dark); }

.hero { background: var(--wash); padding: 3.5rem 0; border-bottom: 4px solid var(--accent); }
.hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.2; margin: 0 0 1rem; max-width: 42rem; }
.hero p { font-size: 1.15rem; color: var(--ink-soft); max-width: 40rem; margin: 0 0 1.5rem; }

.button { display: inline-block; background: var(--accent); color: #fff; padding: 0.75rem 1.4rem; border-radius: 2rem; text-decoration: none; font-weight: 600; }
.button:hover { background: var(--accent-dark); color: #fff; }
.button.ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); margin-left: 0.5rem; }
.button.ghost:hover { background: var(--navy); color: #fff; }

main section { padding: 2.75rem 0; }
main section + section { border-top: 1px solid var(--line); }
h2 { font-size: 1.7rem; line-height: 1.25; margin: 0 0 1rem; }
h3 { font-size: 1.2rem; margin: 0 0 0.5rem; }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 44rem; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.tile { background: #ffffff; border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: 1.25rem; }
.tile p { margin: 0; color: var(--ink-soft); }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 2rem; }

.timeline { list-style: none; padding: 0; margin: 1.25rem 0 0; border-left: 3px solid var(--line); }
.timeline li { padding: 0 0 1rem 1.25rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -0.55rem; top: 0.45rem; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--accent); }

.contact-table { border-collapse: collapse; width: 100%; max-width: 32rem; }
.contact-table th, .contact-table td { text-align: left; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.contact-table th { width: 8rem; color: var(--navy); }

.site-footer { background: var(--navy); color: #d3dae4; padding: 2rem 0; font-size: 0.95rem; }
.site-footer a { color: #ffffff; }
.site-footer p { margin: 0.25rem 0; }
.site-footer .demo { margin-top: 1rem; color: #9fb0c4; font-size: 0.85rem; }
