:root {
  /* Text is always black or white. Colour lives only in backgrounds, borders and accents. */
  --black: #000000;
  --white: #ffffff;
  --navy: #1b3560;        /* logo: H and wordmark */
  --navy-2: #142a4d;      /* hover */
  --river: #4f7f9a;       /* logo: path, blue-grey */
  --river-light: #8fb7cf; /* logo: path, light blue */
  --tint: #eaf1f6;        /* pale blue wash for panels */
  --rule: #d3dbe2;
  --max: 760px;
  --serif: "EB Garamond", Garamond, Georgia, serif;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--black); font-family: var(--sans); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--black); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
header.top { border-bottom: 1px solid var(--rule); background: var(--white); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: block; line-height: 0; }
.logo img { height: 52px; width: auto; display: block; }
.top-phone { font-weight: 600; text-decoration: none; color: var(--black); white-space: nowrap; }
.top-phone:hover { text-decoration: underline; }

/* Type: serif for headline, subheads, section headers; sans for body */
section { padding: 56px 0; background: var(--white); }
main > section:nth-of-type(odd):not(.hero) { background: var(--tint); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 20px; color: var(--black); letter-spacing: -0.005em; }
h1 { font-size: clamp(36px, 5.8vw, 50px); }
h2 { font-size: clamp(28px, 4.2vw, 36px); }
h3 { font-size: 24px; margin-bottom: 6px; }
p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }
.lede { font-size: 20px; }
.label { font-family: var(--serif); font-size: 21px; font-weight: 500; margin: 0 0 8px; }
.counts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 28px 0 28px; }
.counts h3 { font-size: 22px; margin-bottom: 4px; }
.counts .desc { font-size: 17px; line-height: 1.5; }
.counts .desc strong { font-weight: 600; }
.note { font-size: 15px; margin: 0 0 24px; }
@media (max-width: 560px) { .counts { grid-template-columns: 1fr; gap: 18px; } }

/* Hero: photo background, always covering the box and anchored to the image centre,
   with a navy wash so white text meets WCAG contrast anywhere over the photo. */
.hero {
  position: relative; isolation: isolate; color: var(--white);
  padding: 96px 0 88px; min-height: 60vh; display: flex; align-items: center;
  background: var(--navy) url("hero.jpg") center center / cover no-repeat;
  border-bottom: 0;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(19, 38, 70, 0.62), rgba(19, 38, 70, 0.62)); }
.hero .wrap { width: 100%; }
.hero h1 { color: var(--white); text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.hero .sub { font-family: var(--serif); font-size: 26px; line-height: 1.3; margin-bottom: 32px; text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.hero .btn-primary { background: var(--white); color: var(--black); border-color: var(--white); }
.hero .btn-primary:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.hero .btn-secondary { background: transparent; color: var(--white); border-color: var(--white); }
.hero .btn-secondary:hover { background: var(--white); color: var(--black); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-block; padding: 14px 22px; border-radius: 6px; font-weight: 600; text-decoration: none; font-size: 17px; line-height: 1.2; border: 2px solid transparent; }
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-secondary { background: var(--white); color: var(--black); border-color: var(--black); }
.btn-secondary:hover { background: var(--black); color: var(--white); }

/* Price table */
table.prices { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 18px; }
table.prices th, table.prices td { text-align: left; padding: 14px 8px; border-bottom: 1px solid var(--river-light); }
table.prices th { font-family: var(--serif); font-size: 19px; font-weight: 600; border-bottom: 2px solid var(--navy); }
table.prices td:last-child, table.prices th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
table.prices td.price { font-weight: 600; }

.callout { background: var(--tint); border-left: 4px solid var(--river); padding: 18px 22px; border-radius: 0 6px 6px 0; }
main > section:nth-of-type(odd) .callout { background: var(--white); }

.steps { display: grid; gap: 26px; margin: 8px 0 0; }
.steps .step { padding-left: 20px; border-left: 3px solid var(--river-light); }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; font-size: 20px; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--river-light); display: flex; gap: 16px; align-items: baseline; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .n { font-family: var(--serif); font-weight: 600; font-size: 24px; width: 28px; flex: 0 0 28px; }
.contact-list .lbl { font-size: 15px; display: block; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* Footer: navy band, white text */
footer { background: var(--navy); color: var(--white); padding: 36px 0 44px; font-size: 15px; }
footer .name { font-family: var(--serif); font-size: 20px; font-weight: 600; display: block; margin-bottom: 4px; }

@media (max-width: 560px) {
  body { font-size: 17px; }
  .logo img { height: 42px; }
  .hero { padding: 64px 0 56px; min-height: 0; background-image: url("hero-mobile.jpg"); }
  .hero h1 br { display: none; }
  .hero .sub { font-size: 22px; }
  .btn { width: 100%; text-align: center; }
  .lede { font-size: 18px; }
  table.prices { font-size: 16px; }
  table.prices th { font-size: 17px; }
  table.prices th, table.prices td { padding: 12px 4px; }
}

/* Header actions */
.top-actions { display: flex; align-items: center; gap: 18px; }
.btn-small { padding: 10px 16px; font-size: 15px; border-radius: 6px; }
/* Client Delivery page */
.doc-list { list-style: none; padding: 0; margin: 24px 0 0; }
.doc-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--river-light); }
.doc-list li:last-child { border-bottom: 0; }
.doc-list .t { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.doc-list .d { display: block; font-size: 16px; }
.doc-list .s { white-space: nowrap; font-size: 15px; font-weight: 600; }
.doc-list a.s { text-decoration: none; }
.doc-list a.s:hover { text-decoration: underline; }
.signin { background: var(--white); border: 1px solid var(--river-light); border-radius: 8px; padding: 26px 28px; margin-top: 28px; }
.signin h3 { margin-bottom: 8px; }
.signin .actions { margin-top: 18px; }
.signin .fine { font-size: 15px; margin-top: 14px; }
@media (max-width: 560px) {
  .top-actions .top-phone { display: none; }
  .doc-list li { flex-direction: column; gap: 6px; }
  .signin { padding: 20px; }
}
