/* Fairhelm — Harbour + Ember. Tokens from the Fairhelm brand book. */
:root{
  --navy:#13243a; --sea-teal:#2f6f73; --terracotta:#a84f36; --coral:#e07a5c;
  --light-teal:#a8d1cd; --paper:#f7f7f4; --white:#fff; --sand:#efe6d8;
  --teal-tint:#e3f0ee; --rule:#dde1df; --slate:#3a4450; --muted:#5f6b73;
  --font:Figtree,system-ui,-apple-system,"Segoe UI",sans-serif;
  --wrap:68rem; --gutter:clamp(1.25rem,5vw,4rem);
}
@font-face{font-family:Figtree;font-weight:400;font-style:normal;font-display:swap;src:url(fonts/figtree-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:Figtree;font-weight:500;font-style:normal;font-display:swap;src:url(fonts/figtree-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:Figtree;font-weight:600;font-style:normal;font-display:swap;src:url(fonts/figtree-latin-600-normal.woff2) format("woff2")}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--slate);font-family:var(--font);
  font-size:1.0625rem;line-height:1.65;font-weight:400}
h1,h2,h3{color:var(--navy);font-weight:600;margin:0;text-wrap:balance}
h1{font-size:clamp(2.25rem,6.2vw,4.25rem);line-height:1.06;letter-spacing:-.02em}
h2{font-size:clamp(1.6rem,3.2vw,2.125rem);line-height:1.2;letter-spacing:-.01em}
h3{font-size:1.25rem;line-height:1.4}
p{margin:0 0 1em;max-width:62ch}
p:last-child{margin-bottom:0}
a{color:var(--sea-teal);text-underline-offset:.2em;text-decoration-thickness:1px}
a:hover{color:var(--navy)}
:focus-visible{outline:2px solid var(--sea-teal);outline-offset:3px;border-radius:4px}
.wrap{max-width:var(--wrap);margin:0 auto;padding-inline:var(--gutter)}
.skip{position:absolute;left:-999px}
.skip:focus{left:1rem;top:1rem;background:var(--white);padding:.5rem .75rem;z-index:10}

/* Header */
.site-head{padding-block:1.5rem}
.site-head .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.logo{display:inline-flex;align-items:center;gap:.75rem;text-decoration:none;color:var(--navy)}
.logo img{display:block;height:2.5rem;width:auto}
.nav{display:flex;gap:1.75rem;list-style:none;margin:0;padding:0}
.nav a{color:var(--navy);text-decoration:none;font-weight:500;padding-block:.25rem}
.nav a:hover,.nav a[aria-current="page"]{box-shadow:0 2px 0 var(--sea-teal)}

/* Buttons */
.btn{display:inline-block;background:var(--navy);color:var(--white);text-decoration:none;
  font-weight:600;padding:.85rem 1.4rem;border-radius:8px;border:1px solid var(--navy)}
.btn:hover{background:var(--sea-teal);border-color:var(--sea-teal);color:var(--white)}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.75rem;margin-top:2rem}
.actions a:not(.btn){font-weight:500}

/* Hero */
.hero{padding-block:clamp(2.5rem,7vw,5.5rem) 0}
.hero h1{max-width:15ch}
.hero .lede{font-size:clamp(1.125rem,1.9vw,1.3125rem);line-height:1.55;max-width:54ch;margin-top:1.5rem;color:var(--slate)}
/* The horizon: the logo's three strokes, drawn across the page. The page's one use of terracotta. */
.horizon{position:relative;height:clamp(8rem,17vw,13rem);margin-top:clamp(2rem,5vw,3.5rem);overflow:hidden;
  --x:clamp(18%,24vw,30%);--ww:clamp(8rem,20vw,18rem);--t:10px}
.horizon i{position:absolute;display:block;border-radius:99px}
/* Same stacking as the logo: the upright stops at the centre of the horizon, and the horizon sits on top of it. */
.horizon .line{z-index:2;left:var(--gutter);right:0;bottom:36px;height:var(--t);background:var(--coral);
  border-radius:99px 0 0 99px;transform-origin:left center;animation:draw 1.1s cubic-bezier(.2,.7,.2,1) both}
.horizon .upright{z-index:1;right:calc(var(--x) - var(--t) / 2);bottom:calc(36px + var(--t) / 2);width:var(--t);
  height:calc(100% - 36px - var(--t) / 2);background:var(--white);transform-origin:center bottom;
  animation:rise .7s .7s cubic-bezier(.2,.7,.2,1) both}
/* Waterline: 0.625 x the horizon's thickness, centred under the upright, 2.25 x the thickness below the horizon's centre. */
.horizon .water{z-index:1;right:calc(var(--x) - var(--ww) / 2);width:var(--ww);bottom:calc(36px + var(--t) / 2 - var(--t) * 2.25 - var(--t) * .3125);
  height:calc(var(--t) * .625);background:var(--light-teal);opacity:.7;animation:fade .6s 1.2s both}
@keyframes draw{from{transform:scaleX(0)}}
@keyframes rise{from{transform:scaleY(0)}}
@keyframes fade{from{opacity:0}}
@media (prefers-reduced-motion:reduce){.horizon i{animation:none}html{scroll-behavior:auto}}

/* Sections */
.section{padding-block:clamp(3rem,7vw,5.5rem)}
.section > .wrap > h2{margin-bottom:1.5rem}
.split{display:grid;gap:1.5rem 4rem}
@media (min-width:52rem){.split{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:start}}

.why{background:var(--sand)}
.why p{font-size:clamp(1.125rem,1.8vw,1.25rem);line-height:1.6;color:var(--navy)}

.signs{list-style:none;margin:0;padding:0;border-top:1px solid var(--rule)}
.signs li{padding:1rem 0;border-bottom:1px solid var(--rule);max-width:62ch}

/* Services: advisory leads, the other two sit beside it */
.lead-service{background:var(--teal-tint);border-radius:16px;padding:clamp(1.5rem,4vw,2.5rem)}
.lead-service h3{font-size:1.5rem;margin-bottom:.75rem}
.lead-service dl{margin:1.5rem 0 0;display:grid;gap:1.25rem 2.5rem}
@media (min-width:44rem){.lead-service dl{grid-template-columns:1fr 1fr}}
.lead-service dt{font-weight:600;color:var(--navy);margin-bottom:.25rem}
.lead-service dd{margin:0}
.also{display:grid;gap:0 4rem;margin-top:2.5rem}
@media (min-width:44rem){.also{grid-template-columns:1fr 1fr}}
@media (min-width:64rem){.also{grid-template-columns:repeat(3,1fr);gap:0 3rem}}
.also article{border-top:1px solid var(--rule);padding-top:1.25rem;margin-top:1.25rem}
.also h3{margin-bottom:.5rem}

/* Background */
.facts{list-style:none;margin:2.5rem 0 0;padding:0;display:grid;gap:0 2.5rem;border-top:1px solid var(--rule)}
@media (min-width:52rem){.facts{grid-template-columns:repeat(3,1fr)}}
.facts li{padding:1.1rem 0;border-bottom:1px solid var(--rule)}
.facts strong{display:block;color:var(--navy);font-weight:600;font-size:1.25rem}

/* First 90 days: a real sequence, so it is numbered */
.steps{list-style:none;counter-reset:s;margin:0;padding:0}
.steps li{counter-increment:s;display:grid;grid-template-columns:2.25rem 1fr;gap:.25rem 1rem;padding:1.1rem 0;border-top:1px solid var(--rule)}
.steps li::before{content:counter(s);font-weight:600;color:var(--sea-teal);font-size:1.25rem;line-height:1.4}
.steps h3{font-size:1.125rem}
.steps p{grid-column:2}


.ways{margin:0;display:grid;gap:0}
.ways div{border-top:1px solid var(--rule);padding:1.25rem 0}
.ways div:last-child{border-bottom:1px solid var(--rule)}
.ways dt{font-weight:500;color:var(--muted);font-size:.9375rem}
.ways dd{margin:.15rem 0 0;font-size:1.25rem;color:var(--navy);font-weight:600;overflow-wrap:anywhere}
.ways dd a{color:var(--navy)}
.ways dd a:hover{color:var(--sea-teal)}
.ways dd.plain{font-weight:400;font-size:1.0625rem;color:var(--slate)}

/* Footer */
.site-foot{background:var(--navy);color:var(--light-teal);padding-block:3rem;margin-top:0}
.site-foot .wrap{display:grid;gap:1.5rem}
@media (min-width:44rem){.site-foot .wrap{grid-template-columns:1fr auto;align-items:end}}
.site-foot .logo{color:var(--white)}
.site-foot .tag{margin:.9rem 0 0;font-weight:500;letter-spacing:.02em}
.site-foot a{color:var(--white)}
.site-foot .nav a{color:var(--white)}
.site-foot small{display:block;font-size:.875rem;margin-top:.75rem;color:var(--light-teal)}
@media (min-width:44rem){.site-foot .right{text-align:right}.site-foot .nav{justify-content:flex-end}}

/* Portrait */
.portrait{display:block;width:100%;max-width:17rem;height:auto;border-radius:16px;margin-top:1.5rem}
@media (max-width:51.99rem){.portrait{max-width:13rem}}
/* Privacy note */
.privacy{padding-block:0 clamp(3rem,7vw,5rem)}
.privacy h2{font-size:1.125rem;margin-bottom:.5rem}
.privacy p{font-size:.9375rem;color:var(--muted)}

/* ---- Colour and contrast (Harbour + Ember) ---- */
:focus-visible{outline-offset:3px}
.site-head,.hero,.contact-hero,.close,.site-foot{--focus:var(--light-teal)}
.site-head :focus-visible,.hero :focus-visible,.contact-hero :focus-visible,.close :focus-visible,.site-foot :focus-visible,.lead-service :focus-visible{outline-color:var(--light-teal)}

/* Navy top: header and hero are one ground, like the reversed logo */
.site-head{background:var(--navy);padding-block:1.5rem}
.nav a,.nav a:hover{color:var(--white)}
.nav a:hover,.nav a[aria-current="page"]{box-shadow:0 2px 0 var(--coral)}
.hero,.contact-hero{background:var(--navy)}
.hero{padding-block:clamp(2.5rem,7vw,5.5rem) 0}
.hero h1,.contact-hero h1{color:var(--white)}
.hero .lede,.contact-hero .lede{color:var(--light-teal)}
.hero .lede{max-width:54ch}
.contact-hero{padding-block:clamp(2.5rem,7vw,5rem) clamp(3rem,7vw,5rem)}
.contact-hero h1{margin-bottom:1.5rem}
.contact-hero .lede{font-size:clamp(1.125rem,1.9vw,1.3125rem);line-height:1.55;max-width:54ch}
.hero .actions a:not(.btn){color:var(--white)}
.hero .actions a:not(.btn):hover{color:var(--coral)}
.btn,.btn:hover{border-width:1px}
.hero .btn,.close .btn{background:var(--coral);border-color:var(--coral);color:var(--navy)}
.hero .btn:hover,.close .btn:hover{background:var(--white);border-color:var(--white);color:var(--navy)}
.horizon .line{background:var(--coral)}
.horizon .upright{background:var(--white)}

/* Why Fairhelm: sand, with a teal rule */
.why{border-top:6px solid var(--sea-teal)}

/* Sections that carry a colour */
.signs li{border-left:3px solid var(--sea-teal);border-bottom:0;padding:.9rem 0 .9rem 1.25rem}
.signs{border-top:0}
.signs li+li{margin-top:.75rem}
.lead-service{background:var(--navy);color:var(--white)}
.lead-service h3,.lead-service dt{color:var(--white)}
.lead-service dt{border-top:3px solid var(--coral);padding-top:.75rem}
.lead-service p,.lead-service dd{color:#dfe8e7}
.also article{border-top:3px solid var(--sea-teal)}
.also h3{color:var(--navy)}

.band-tint{background:var(--teal-tint);padding-block:clamp(2.5rem,6vw,4rem)}
.band-tint .facts{margin:0;border-top:0}
.band-tint .facts li{border-bottom:0;border-left:3px solid var(--sea-teal);padding:.25rem 0 .25rem 1.25rem;margin-top:1.25rem}
@media (min-width:52rem){.band-tint .facts li{margin-top:0}}
.band-tint .facts strong{color:var(--sea-teal);font-size:1.5rem;line-height:1.3}
.band-tint .facts li{color:var(--slate)}

.steps li{border-top:3px solid var(--rule)}
.steps li::before{color:var(--white);background:var(--sea-teal);border-radius:50%;width:2rem;height:2rem;display:grid;place-items:center;font-size:1rem;line-height:1}

/* Closing band: one line, full width on desktop */
.close{background:var(--sea-teal);color:var(--white);text-align:center;border-top:0}
.close .wrap{max-width:none}
.close h2{color:var(--white);max-width:none;margin-inline:auto;font-size:clamp(1.5rem,5vw,2rem);line-height:1.25}
.close .actions{justify-content:center}
@media (min-width:64rem){
  .close h2{font-size:clamp(1.25rem,1.95vw,2.25rem);white-space:nowrap}
}

/* Contact details */
.ways-section{padding-block:clamp(2.5rem,6vw,4rem)}
.ways{max-width:44rem}
.ways div:first-child{border-top:3px solid var(--sea-teal)}
.ways dt{color:var(--sea-teal);font-weight:600}

/* Footer */
.site-foot .nav a{color:var(--white)}
