/* Henry Holmes, Barrister & Solicitor: henryholmes.co.nz */

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fcfbf8;
  color: #111111;
  font-family: 'EB Garamond', Garamond, Georgia, serif;
  font-size: 21px;
  line-height: 1.55;
  font-style: normal;
}

a { color: #111111; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: #555555; }
a[href^="tel:"] { white-space: nowrap; }

.page {
  min-height: 100vh;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  flex-direction: column;
}

/* Header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px 40px;
  padding-top: 44px;
}
.masthead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; }
.masthead .name { font-size: 26px; line-height: 1.2; text-decoration: none; }
.masthead .role { font-size: 18px; color: #444444; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 32px; font-size: 18px; }
.site-nav a { text-decoration: none; padding: 10px 0; }
.site-nav a[aria-current="page"] { text-decoration: underline; }

main { flex-grow: 1; }

/* Home */
.home main { padding-bottom: 96px; }
.statement {
  margin: 0;
  padding: 120px 0 112px;
  font-size: 46px;
  line-height: 1.22;
  max-width: 900px;
}

.band {
  border-top: 1px solid #111111;
  padding: 36px 0 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 56px;
}
.band:last-child { padding-bottom: 0; }
.band h2 { flex: 1 1 220px; margin: 0; font-size: 18px; font-weight: 600; line-height: 1.55; }
.band-body { flex: 3 1 600px; min-width: 0; }
.band-body p { margin: 0; }

.columns { display: flex; flex-wrap: wrap; gap: 28px 56px; }
.columns > * { flex: 1 1 300px; }

.area-title { font-size: 21px; font-weight: 500; line-height: 1.4; }
.area-text { font-size: 18px; line-height: 1.5; color: #444444; margin-top: 2px; }

.contact-columns { gap: 20px 56px; }
.address { font-size: 18px; line-height: 1.55; color: #444444; }

/* Terms */
.terms main {
  padding: 120px 0 112px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 80px;
}
.terms h1 { flex: 1 1 300px; margin: 0; font-size: 46px; line-height: 1.15; font-weight: 400; }
.terms-body { flex: 2 1 480px; max-width: 640px; }
.terms-body p { margin: 0 0 22px; }
.terms-body p.lead-out { margin-bottom: 40px; }
.terms-body p.after { margin: 40px 0 0; }

.download {
  border-top: 1px solid #111111;
  border-bottom: 1px solid #111111;
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
}
.download a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 22px; }
.download .meta { font-size: 17px; color: #444444; }

/* Phones */
@media (max-width: 640px) {
  body { font-size: 19px; }
  .page { padding: 0 22px; }
  .site-header { padding-top: 28px; }
  .statement { font-size: 31px; padding: 64px 0 56px; }
  .band { padding: 28px 0 36px; }
  .terms main { padding: 56px 0 72px; }
  .terms h1 { font-size: 34px; }
}
