@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif&display=swap');

:root {
  color-scheme: light;
  --ink: #142944;
  --navy: #192c4b;
  --blue: #273f67;
  --sky: #ebf1fa;
  --gold: #efcc88;
  --paper: #f9f7f1;
  --line: #c5d0df;
  --muted: #4c5d71;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 'DM Sans', Arial, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #a55c15; outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; top: 1rem; left: 1rem; transform: translateY(-200%); background: white; padding: .6rem; }
.skip:focus { transform: none; }
header { background: white; border-top: 4px solid var(--blue); }
.masthead, .contact { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.masthead { min-height: 80px; }
.logo { display: block; width: 75px; height: auto; }
nav { display: flex; flex-wrap: wrap; gap: .4rem clamp(1rem, 3vw, 2rem); }
nav a { text-decoration: none; font-weight: 700; }
nav a:hover, .access a:hover strong, .button:hover { text-decoration: underline; text-underline-offset: .2em; }
.hero { color: #fffaf0; background: linear-gradient(117deg, #13233c, #263e67 77%, #344f77); border-bottom: 5px solid var(--gold); }
.hero-grid { display: grid; grid-template-columns: 1.35fr .8fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; padding-block: clamp(3rem, 7vw, 6.5rem); }
.label { color: var(--gold); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
h1, h2, h3 { margin: 0; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; line-height: 1.02; }
h1 { font-size: clamp(3.2rem, 6vw, 5.8rem); letter-spacing: -.025em; }
h2 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.75rem, 2.5vw, 2.25rem); }
p { margin: .85rem 0 0; }
.intro > p:not(.label) { color: #e9edf7; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.intro .label { margin: 0 0 1rem; }
.button { display: inline-flex; gap: .5rem; align-items: center; font-weight: 700; padding: .7rem 1rem; text-decoration: none; background: var(--navy); color: white; }
.hero .button { background: var(--gold); color: var(--navy); margin-top: 1.5rem; }
.access { background: #eff3fa; color: var(--ink); border-top: 4px solid var(--gold); padding: 1.5rem; box-shadow: 10px 10px 0 #10223e; }
.access h2 { font-size: 2rem; }
.access a { display: block; padding: .75rem 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.access a:last-child { border-bottom: 0; padding-bottom: 0; }
.access span { display: block; color: var(--muted); font-size: .9rem; }
.section { padding-block: clamp(2.8rem, 6vw, 5rem); }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.services article { padding: 1.3rem; background: white; border: 1px solid var(--line); border-top: 4px solid var(--blue); }
.services article:nth-child(2) { border-top-color: #92642d; }
.services article:nth-child(3) { border-top-color: #43736b; }
.services p, .handover p, .contact p { color: var(--muted); }
.handover { background: var(--sky); border-block: 1px solid var(--line); }
.handover-grid { display: grid; grid-template-columns: 1fr .8fr; align-items: start; gap: clamp(1.5rem, 6vw, 5rem); }
footer { background: var(--navy); color: #fffaf0; padding-block: 1.3rem; font-size: .9rem; }
@media (max-width: 700px) {
  .wrap { width: calc(100% - 2rem); }
  .masthead { padding-block: .5rem .85rem; gap: .5rem 1rem; }
  .hero-grid, .services, .handover-grid { grid-template-columns: 1fr; }
}
