:root {
  --navy: #012645;
  --deep: #012C4C;
  --slate: #52738a;
  --silver: #818F9E;
  --grey: #64727f;
  --ink: #283c4a;
  --background: #f9fafb;
  --line: #e0e4e8;
  --mist: #dfe6ec;
  --error: #a3282c;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--background); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.on-navy a:focus-visible { outline-color: #fff; }

h1, h2, h3 { margin: 0; color: var(--navy); font-family: var(--serif); font-weight: 400; letter-spacing: .012em; }
h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.14; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.22; }
h3 { font-size: 22px; line-height: 1.3; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 62ch; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }

/* Header */
.site-top { height: 6px; background: linear-gradient(90deg, var(--navy) 0%, var(--slate) 50%, var(--silver) 100%); }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 32px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .emblem { width: 52px; }
.brand .wordmark { width: 158px; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.site-nav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--navy); }

/* Buttons */
.button { display: inline-block; padding: 13px 26px; border: 1px solid var(--navy); border-radius: 2px; background: var(--navy); color: #fff; font: 500 16px/1.3 var(--sans); text-decoration: none; cursor: pointer; }
.button:hover { background: var(--slate); border-color: var(--slate); }
.on-navy .button { background: #fff; border-color: #fff; color: var(--navy); }
.on-navy .button:hover { background: var(--mist); border-color: var(--mist); }

/* Home: the tree stands in the hero and its roots carry on into the next section */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--deep) 100%); color: #d5dde4; overflow: hidden; }
.hero .pair { align-items: end; }
.hero-text { align-self: center; padding: 72px 0; }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero p { max-width: 46ch; font-size: 19px; }
.hero .button { margin-top: 14px; }
.tree { width: 100%; max-width: 560px; margin: 0 auto; }
.hero .tree { margin-top: 28px; margin-bottom: -1px; animation: grow-up 2.2s ease-out both; }
.roots-section .tree { animation: grow-down 2.2s ease-out both; }
@keyframes grow-up { from { clip-path: circle(0% at 50% 100%); } to { clip-path: circle(120% at 50% 100%); } }
@keyframes grow-down { from { clip-path: circle(0% at 50% 0%); } to { clip-path: circle(120% at 50% 0%); } }
@media (prefers-reduced-motion: reduce) { .hero .tree, .roots-section .tree { animation: none; } }
.roots-section { padding-bottom: 88px; }
.split-heading h2 { margin-bottom: 0; }
.roots-section .copy { padding-top: 72px; }
.roots-section h2 { margin-bottom: 20px; }

/* Sections */
.section { padding: 88px 0; }
.section.tinted { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 40px; }
.section-head p { margin-top: 14px; }
.page-head { padding: 76px 0 60px; background: #fff; border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: 18px; }
.page-head p { max-width: 58ch; color: var(--grey); font-size: 19px; }

/* Offer rows */
.offers { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.offers li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 56px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.offers p { color: var(--grey); }

/* Steps */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; margin-bottom: 12px; color: var(--silver); font: 400 44px/1 var(--serif); }
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: 16px; color: var(--grey); }

/* Oliver */
.portrait { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(180deg, var(--navy), var(--deep)); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.portrait img { width: 88%; }
.portrait .draft { position: absolute; top: 16px; left: 16px; }
.bio h2 { margin-bottom: 18px; }
.bio h3 { margin: 32px 0 8px; }
.facts { margin: 0; padding: 0; list-style: none; }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--line); }

/* Closing band */
.band { background: var(--navy); color: #d5dde4; padding: 72px 0; }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 56px; }
.band h2 { color: #fff; margin-bottom: 8px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: start; }
.field { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
label, legend { display: block; margin-bottom: 6px; padding: 0; color: var(--navy); font-size: 15px; font-weight: 500; }
.optional { color: var(--grey); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--silver); border-radius: 2px; background: #fff; color: var(--ink); font: 400 16px/1.5 var(--sans); }
textarea { min-height: 170px; resize: vertical; }
fieldset { margin: 0 0 22px; padding: 0; border: 0; }
.choices { display: flex; gap: 28px; }
.choices label { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ink); font-weight: 400; font-size: 16px; }
.choices input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.hint { margin: 0 0 8px; color: var(--grey); font-size: 15px; }
.error { display: block; margin-top: 6px; color: var(--error); font-size: 15px; }
.error:empty { display: none; }
[aria-invalid="true"] { border-color: var(--error); }
.trap { position: absolute; left: -9999px; }
.form-note { margin-top: 16px; color: var(--grey); font-size: 15px; }
.status { margin-bottom: 24px; padding: 16px 18px; border-left: 3px solid var(--error); background: #fff; }
.status[hidden] { display: none; }
.sent { padding: 32px; border-left: 3px solid var(--navy); background: #fff; }
.sent h2 { margin-bottom: 10px; }
.direct h2 { margin-bottom: 18px; font-size: 24px; }
.direct dl { margin: 0; }
.direct dt { color: var(--grey); font-size: 15px; }
.direct dd { margin: 0 0 18px; font-size: 18px; }

/* Text pages */
.prose { max-width: 62ch; }
.prose h2 { margin: 40px 0 12px; font-size: 26px; }
.prose h2:first-child { margin-top: 0; }

/* Text still to be supplied or confirmed before launch */
.draft { padding: 1px 6px; background: #fdf0b8; color: #5b4700; font-size: .92em; }

/* Footer, from the holding page */
.site-footer { padding: 44px 0 34px; border-top: 1px solid var(--line); background: #fff; color: #677480; font-size: 13px; line-height: 1.8; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 56px; margin-bottom: 26px; }
.footer-label { display: block; color: var(--silver); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.footer-contact { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 22px; margin-top: 6px; font-size: 16px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; }
.legal { max-width: 660px; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .pair, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-text { padding: 56px 0 8px; }
  .hero .tree { margin-top: 0; }
  .tree { max-width: 440px; }
  .roots-section { padding-bottom: 64px; }
  .roots-section .pair { gap: 0; }
  .roots-section .tree { order: -1; }
  .roots-section .copy { padding-top: 28px; }
  .section { padding: 64px 0; }
  .page-head { padding: 52px 0 44px; }
  .offers li { grid-template-columns: minmax(0, 1fr); padding: 22px 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .portrait { max-width: 380px; }
  .band { padding: 56px 0; }
}

@media (max-width: 520px) {
  .brand .emblem { width: 44px; }
  .brand .wordmark { width: 138px; }
  .site-nav { width: 100%; justify-content: flex-start; gap: 24px; }
  .steps, .field-row { grid-template-columns: minmax(0, 1fr); }
  .sent { padding: 24px 20px; }
}
