/* ============================================================
   Higginson James — brand stylesheet
   Colours are sampled directly from the real logo files (mark
   teal + wordmark navy) rather than approximated. Body/UI
   typeface is Ranade (loaded from Fontshare); Newsreader is a
   companion display serif for headings.

   NOTE ON RANADE: this links Fontshare's hosted CDN copy, which
   needs no files and works as soon as this site is live. If you'd
   rather self-host Ranade (no third-party dependency), send over
   the .woff2 files and swap this @import for local @font-face
   rules pointing at them instead — the font-family name below
   ("Ranade") doesn't need to change either way.
   ============================================================ */

@import url('https://api.fontshare.com/v2/css?f[]=ranade@200,300,400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,500&display=swap');

:root{
  --ink:#092238;         /* wordmark navy, sampled from the logo */
  --muted:#67768c;
  --paper:#f4f6f5;
  --paper-raised:#ffffff;
  --rule:#d7dedc;
  --primary:#3b6d6f;     /* mark teal, sampled from the logo */
  --primary-deep:#294e50;
  --primary-tint:#dce5e5;
  --brass:#a97c46;
  --brass-soft:#f2e8da;
  --focus:#3b6d6f;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Ranade', ui-sans-serif, system-ui, sans-serif;
  font-weight:400;
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:var(--primary-deep); }
::selection{ background:var(--primary-tint); }
:focus-visible{ outline:2px solid var(--focus); outline-offset:3px; }

.wrap{
  max-width:1120px;
  margin:0 auto;
  padding:0 28px;
}

h1,h2,h3,h4{
  font-family:'Newsreader', ui-serif, Georgia, serif;
  font-weight:500;
  color:var(--ink);
  text-wrap:balance;
  margin:0;
}
h1{ font-size:clamp(34px,5vw,54px); line-height:1.08; letter-spacing:-.01em; }
h2{ font-size:clamp(26px,3.4vw,34px); line-height:1.15; }
h3{ font-size:20px; line-height:1.3; font-weight:600; font-family:'Ranade',sans-serif; }
p{ margin:0 0 16px; max-width:64ch; }
p:last-child{ margin-bottom:0; }
.lede{ font-size:19px; color:var(--muted); max-width:56ch; }

.eyebrow{
  font-family:'Ranade',sans-serif;
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--brass);
  display:block;
  margin-bottom:14px;
}

/* ---------- placeholder marker ---------- */
.ph{
  background:var(--brass-soft);
  padding:.05em .35em;
  border-radius:3px;
  font-style:italic;
  color:#7a5a2e;
}

/* ---------- header / nav ---------- */
header.site{
  border-bottom:1px solid var(--rule);
  background:var(--paper);
  position:sticky;
  top:0;
  z-index:20;
}
header.site .bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 28px;
  max-width:1120px;
  margin:0 auto;
}
.brand{
  display:flex;
  align-items:center;
  text-decoration:none;
  color:var(--ink);
}
.brand .logo-full{ height:38px; width:auto; }
nav.primary{ display:flex; align-items:center; gap:36px; }
nav.primary a{
  color:var(--ink);
  text-decoration:none;
  font-size:14.5px;
  font-weight:600;
  letter-spacing:.02em;
  padding:6px 2px;
  border-bottom:2px solid transparent;
}
nav.primary a:hover,
nav.primary a[aria-current="page"]{ border-bottom-color:var(--brass); }
.nav-cta{
  background:var(--primary);
  color:#fff !important;
  padding:10px 20px !important;
  border-radius:3px;
  border-bottom:none !important;
}
.nav-cta:hover{ background:var(--primary-deep); }
.nav-toggle{ display:none; }

@media (max-width:760px){
  nav.primary{
    position:fixed; inset:64px 0 0 0;
    background:var(--paper);
    flex-direction:column;
    align-items:flex-start;
    padding:24px 28px;
    gap:20px;
    transform:translateX(100%);
    transition:transform .25s ease;
  }
  nav.primary.open{ transform:translateX(0); }
  .nav-toggle{
    display:block;
    background:none; border:1px solid var(--rule); border-radius:4px;
    width:40px; height:36px;
    font-size:18px;
    color:var(--ink);
  }
  .nav-cta{ width:100%; text-align:center; }
}

/* ---------- sections & rhythm ---------- */
section{ padding:76px 0; }
section.tight{ padding:52px 0; }
.section-head{ max-width:64ch; margin-bottom:44px; }
.rule-top{ border-top:1px solid var(--rule); }
.on-primary{ background:var(--primary); color:#fff; }
.on-primary h1,.on-primary h2,.on-primary h3{ color:#fff; }
.on-primary p{ color:#e6ecea; }
.on-tint{ background:var(--primary-tint); }

/* ---------- hero ---------- */
.hero{ padding:88px 0 64px; }
.hero .grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:56px;
  align-items:center;
}
.hero-credentials{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:26px;
}
.credential{
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.03em;
  color:var(--primary-deep);
  background:var(--primary-tint);
  border:1px solid var(--rule);
  padding:7px 12px;
  border-radius:999px;
}
.hero-actions{ display:flex; gap:14px; margin-top:30px; flex-wrap:wrap; }

.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:13px 26px;
  border-radius:3px;
  font-weight:600;
  font-size:15px;
  text-decoration:none;
  border:1px solid transparent;
}
.btn-primary{ background:var(--primary); color:#fff; }
.btn-primary:hover{ background:var(--primary-deep); }
.btn-ghost{ border-color:var(--ink); color:var(--ink); }
.btn-ghost:hover{ background:var(--ink); color:#fff; }
.on-primary .btn-ghost{ border-color:#fff; color:#fff; }
.on-primary .btn-ghost:hover{ background:#fff; color:var(--primary-deep); }

/* horizon divider — subtle nod to the maritime practice */
.horizon{ width:100%; height:34px; display:block; }
.horizon path{ stroke:var(--rule); stroke-width:1.5; fill:none; }

/* ---------- pillars (3-up) ---------- */
.pillars{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  border:1px solid var(--rule);
  border-radius:4px;
  overflow:hidden;
  background:var(--paper-raised);
}
.pillar{
  padding:34px 30px;
  border-left:1px solid var(--rule);
}
.pillar:first-child{ border-left:none; }
.pillar .num{
  font-family:'Newsreader',serif;
  font-size:14px;
  color:var(--brass);
  margin-bottom:10px;
  display:block;
}
.pillar h3{ margin-bottom:10px; }
.pillar p{ color:var(--muted); font-size:15px; margin-bottom:14px; }
.pillar a{ font-size:14px; font-weight:600; text-decoration:none; }
@media (max-width:760px){
  .pillars{ grid-template-columns:1fr; }
  .pillar{ border-left:none; border-top:1px solid var(--rule); }
  .pillar:first-child{ border-top:none; }
}

/* ---------- values / approach ---------- */
.values{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
}
.value .eyebrow{ margin-bottom:8px; }
@media (max-width:760px){ .values{ grid-template-columns:1fr; } }

/* ---------- service sections ---------- */
.service-block{ padding:60px 0; }
.service-block + .service-block{ border-top:1px solid var(--rule); }
.service-block .grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:48px;
  align-items:start;
}
.service-block ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.service-block li{
  padding-left:22px;
  position:relative;
  font-size:15.5px;
  color:var(--ink);
}
.service-block li::before{
  content:"";
  position:absolute;
  left:0; top:9px;
  width:9px; height:1.5px;
  background:var(--brass);
}
@media (max-width:760px){ .service-block .grid{ grid-template-columns:1fr; } }

/* ---------- about page ---------- */
.credential-list{
  list-style:none; margin:0; padding:0;
  display:flex; flex-direction:column; gap:16px;
}
.credential-list li{
  padding:18px 20px;
  background:var(--paper-raised);
  border:1px solid var(--rule);
  border-left:3px solid var(--primary);
  border-radius:2px;
  font-size:15px;
}

/* ---------- contact ---------- */
.contact-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:56px;
}
.contact-detail{ margin-bottom:22px; }
.contact-detail .label{
  display:block;
  font-size:12px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:4px;
}
.contact-detail a, .contact-detail span.value{ font-size:16.5px; color:var(--ink); text-decoration:none; }

form.enquiry{ display:flex; flex-direction:column; gap:18px; }
form.enquiry .row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
form.enquiry label{ display:flex; flex-direction:column; gap:6px; font-size:14px; font-weight:600; }
form.enquiry input, form.enquiry select, form.enquiry textarea{
  font-family:inherit;
  font-size:15px;
  padding:12px 13px;
  border:1px solid var(--rule);
  border-radius:3px;
  background:var(--paper-raised);
  color:var(--ink);
}
form.enquiry textarea{ min-height:120px; resize:vertical; }
form.enquiry .note{ font-size:13px; color:var(--muted); }
@media (max-width:760px){
  .contact-grid{ grid-template-columns:1fr; }
  form.enquiry .row{ grid-template-columns:1fr; }
}

/* ---------- footer ---------- */
footer.site{
  border-top:1px solid var(--rule);
  padding:48px 0 36px;
  margin-top:40px;
}
footer.site .grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:32px;
}
footer.site h4{ font-family:'Ranade',sans-serif; font-size:13px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:14px; }
footer.site ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px; }
footer.site a{ color:var(--ink); text-decoration:none; font-size:14.5px; }
footer.site .reg{ font-size:13px; color:var(--muted); max-width:52ch; }
footer.site .legal{
  margin-top:36px; padding-top:20px; border-top:1px solid var(--rule);
  font-size:12.5px; color:var(--muted);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
}
@media (max-width:760px){ footer.site .grid{ grid-template-columns:1fr; } }
