/* ClearNrth: brand-pack aligned styles */

:root{
  --sage: #B2C9CF;
  --sage-deep: #8CA9AE;
  --sage-line: #9DB8BD;
  --cream: #F7F7EC;
  --ink: #211D1F;
  --ink-soft: #57524D;
  --ink-faint: #857F78;
  --slate: #3E5A5E;
  --slate-deep: #2C4144;
  --white: #FFFFFF;

  --display: "Source Serif 4", "Georgia", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html{ overflow-x: hidden; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3{
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  overflow-wrap: break-word;
}

.eyebrow{
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

p{ margin: 0 0 1em; color: var(--ink); }
p.dim, .dim{ color: var(--ink-soft); }

/* ---------- Roof mark (signature element) ---------- */
/* Used as a structural divider that echoes the logo: "getting the foundations right" */

.roof{
  display: inline-block;
  width: 14px;
  height: 9px;
  position: relative;
  flex-shrink: 0;
}
.roof::before{
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

/* ---------- Header ---------- */

header.site{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sage-line);
}

header.site .bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
}

.logo{
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--ink);
}
.logo .n{ color: var(--slate); }

nav.primary{
  display: flex;
  gap: 36px;
  font-size: 14.5px;
  font-weight: 500;
}
nav.primary a{
  color: var(--ink-soft);
  transition: color 0.15s ease;
  position: relative;
}
nav.primary a:hover, nav.primary a:focus-visible{ color: var(--ink); }
nav.primary a.active{ color: var(--ink); }
nav.primary a.active::after{
  content: "";
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--slate);
}

.nav-cta{
  padding: 10px 20px;
  background: var(--ink);
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cream) !important;
  transition: background 0.15s ease;
}
.nav-cta:hover{ background: var(--slate-deep); }

@media (max-width: 780px){
  nav.primary{ display: none; }
  header.site .bar{ padding: 18px 20px; }
  .wrap{ padding: 0 20px; }
}

/* ---------- Hero ---------- */

.hero{
  padding: 76px 0 0;
  background: var(--sage);
  position: relative;
  overflow: hidden;
}
.hero .wrap{
  position: relative;
  padding-top: 40px;
  padding-bottom: 64px;
}
.hero .kicker{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--slate-deep);
}
.hero .kicker .roof{ color: var(--ink); }

.hero h1{
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.12;
  max-width: 17ch;
  color: var(--ink);
}
.hero h1 em{
  font-style: italic;
  color: var(--slate-deep);
}
.hero .lede{
  margin-top: 24px;
  font-size: 18.5px;
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.65;
}

.hero .straight-talk{
  margin-top: 20px;
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  max-width: 46ch;
}

.hero .hero-quote{
  font-family: var(--display);
  font-style: italic;
  font-size: 21px;
  color: var(--slate-deep);
  max-width: 44ch;
  margin: 28px 0;
  padding-left: 20px;
  border-left: 3px solid var(--ink);
  line-height: 1.5;
}

.hero .cta-row{
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 3px;
  font-size: 14.5px;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-primary{
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover{ background: var(--slate-deep); transform: translateY(-1px); }
.btn-ghost{
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn-ghost:hover{ background: rgba(33,29,31,0.06); }
.btn-secondary-link{
  font-size: 14.5px;
  font-weight: 600;
  color: var(--slate-deep);
  border-bottom: 1px solid var(--slate-deep);
  padding-bottom: 2px;
}
.btn-secondary-link:hover{ color: var(--ink); border-color: var(--ink); }

.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible{
  outline: 2px solid var(--slate);
  outline-offset: 3px;
}

.hero-price-note{
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ---------- Sections ---------- */

section{
  padding: 84px 0;
  border-top: 1px solid var(--sage-line);
}
section.on-cream{ background: var(--cream); }
section .head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
section .head h2{
  font-size: clamp(26px, 3vw, 34px);
  max-width: 22ch;
}
section .head .sub{
  color: var(--ink-soft);
  max-width: 42ch;
  font-size: 15.5px;
}

/* ---------- Review section (the lead offer) ---------- */

.review-block{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
  min-width: 0;
}
.review-block .review-copy .eyebrow{ margin-bottom: 16px; display: block; }
.review-block h2{
  font-size: clamp(26px, 3.2vw, 36px);
  max-width: 18ch;
  margin-bottom: 22px;
}
.review-block .review-copy p{
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 52ch;
}
.review-card{
  background: var(--ink);
  color: var(--cream);
  border-radius: 4px;
  padding: 40px;
}
.review-card .price{
  font-family: var(--display);
  font-size: 26px;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.review-card .price-note{
  font-size: 13.5px;
  color: var(--sage);
  margin-bottom: 28px;
  line-height: 1.5;
}
.review-card ul{
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-card li{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: #DCE4DF;
  line-height: 1.5;
}
.review-card li .roof{ color: var(--sage); margin-top: 5px; }
.review-card .btn-primary{
  background: var(--sage);
  color: var(--ink);
  width: 100%;
  justify-content: center;
}
.review-card .btn-primary:hover{ background: var(--white); }

@media (max-width: 860px){
  .review-block{ grid-template-columns: 1fr; }
}

/* ---------- Problem framing (no nonsense) ---------- */

.pull{
  padding: 84px 0;
  border-top: 1px solid var(--sage-line);
  background: var(--ink);
}
.pull .wrap{ max-width: 780px; }
.pull blockquote{
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.4;
  font-weight: 500;
  color: var(--cream);
}
.pull cite{
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-size: 14px;
  color: var(--sage);
}

/* ---------- Phased "where this can lead" sequence ---------- */

.phases{
  display: flex;
  flex-direction: column;
}
.phase-row{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 30px 0;
  border-top: 1px solid var(--sage-line);
  min-width: 0;
}
.phase-row:last-child{ border-bottom: 1px solid var(--sage-line); }
.phase-row .phase-label{
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: var(--slate);
  padding-top: 4px;
}
.phase-row .phase-items{
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.phase-item h3{
  font-size: 19px;
  margin-bottom: 8px;
}
.phase-item p{
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0;
  font-size: 15px;
}
.phase-row.later{ opacity: 0.82; }

@media (max-width: 620px){
  .phase-row{ grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Cards ---------- */

.grid-3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--sage-line);
  border: 1px solid var(--sage-line);
  min-width: 0;
}
.card{
  background: var(--cream);
  padding: 32px;
}
.card h3{ font-size: 17px; margin-bottom: 12px; }
.card p{ color: var(--ink-soft); font-size: 14.5px; margin: 0; }

@media (max-width: 820px){
  .grid-3{ grid-template-columns: 1fr; }
}

/* ---------- Newsletter block ---------- */

.newsletter{
  border-top: 1px solid var(--sage-line);
  padding: 84px 0;
  background: var(--sage);
}
.newsletter-box{
  background: var(--cream);
  border: 1px solid var(--sage-line);
  border-radius: 4px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  min-width: 0;
}
.newsletter-box > div{ min-width: 0; }
.newsletter-box h2{ font-size: 26px; margin-bottom: 14px; overflow-wrap: break-word; }
.newsletter-box p{ color: var(--ink-soft); font-size: 15px; }

.substack-form{
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.substack-form label{
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.substack-row{ display: flex; gap: 10px; min-width: 0; }
.substack-form input[type=email]{
  flex: 1;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--sage-line);
  border-radius: 3px;
  padding: 13px 14px;
  color: var(--ink);
  font-size: 15px;
  font-family: var(--body);
}
.substack-form input[type=email]::placeholder{ color: var(--ink-faint); }
.substack-form input[type=email]:focus{
  outline: none;
  border-color: var(--slate);
}
.substack-form button{
  border: none;
  cursor: pointer;
  font-family: var(--body);
}
.form-note{ font-size: 12.5px; color: var(--ink-faint); margin: 0; }

@media (max-width: 780px){
  .newsletter-box{ grid-template-columns: 1fr; padding: 32px; }
}

@media (max-width: 460px){
  .substack-row{ flex-direction: column; }
  .substack-form button{ width: 100%; justify-content: center; }
}

/* ---------- Footer ---------- */

footer.site{
  border-top: 1px solid var(--sage-line);
  padding: 48px 0 56px;
  background: var(--cream);
}
footer.site .foot-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
footer.site .foot-links{
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}
footer.site .foot-links a:hover{ color: var(--ink); }
footer.site .copyright{
  font-size: 13px;
  color: var(--ink-faint);
}

/* ---------- Page header (non-home pages) ---------- */

.page-head{
  padding: 68px 0 52px;
  background: var(--sage);
}
.page-head .eyebrow{ margin-bottom: 18px; display: block; }
.page-head h1{
  font-size: clamp(30px, 4.2vw, 44px);
  max-width: 20ch;
  line-height: 1.14;
}
.page-head .lede{
  margin-top: 22px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 58ch;
}

/* ---------- About page specifics ---------- */

.credentials{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 8px;
  min-width: 0;
}
.credentials .stat{
  border-top: 1px solid var(--sage-line);
  padding-top: 18px;
}
.credentials .stat .num{
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
}
.credentials .stat .label{
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 6px;
}
@media (max-width: 620px){
  .credentials{ grid-template-columns: 1fr 1fr; }
}

.prose{
  max-width: 66ch;
  font-size: 16.5px;
  color: var(--ink-soft);
}
.prose p{ color: var(--ink-soft); }
.prose strong{ color: var(--ink); font-weight: 600; }

/* ---------- Insights (blog list) ---------- */

.post-list{
  display: flex;
  flex-direction: column;
}
.post-item{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid var(--sage-line);
  min-width: 0;
}
.post-item:last-child{ border-bottom: 1px solid var(--sage-line); }
.post-item .date{
  font-size: 13px;
  color: var(--ink-faint);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding-top: 3px;
}
.post-item h3{
  font-size: 19px;
  margin-bottom: 8px;
}
.post-item h3 a:hover{ color: var(--slate); }
.post-item p{
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
}
.post-item .tag{
  display: inline-block;
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
@media (max-width: 620px){
  .post-item{ grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Contact page ---------- */

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  min-width: 0;
}
@media (max-width: 820px){
  .contact-grid{ grid-template-columns: 1fr; gap: 48px; }
}

.enquiry-form{
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.field{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label{
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.field input, .field select, .field textarea{
  background: var(--white);
  border: 1px solid var(--sage-line);
  border-radius: 3px;
  padding: 13px 14px;
  color: var(--ink);
  font-size: 15px;
  font-family: var(--body);
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--slate);
}
.field textarea{ min-height: 130px; }

.contact-details{
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-details .item{
  padding-top: 16px;
  border-top: 1px solid var(--sage-line);
}
.contact-details .item .eyebrow{ margin-bottom: 8px; display:block; }
.contact-details .item a{ color: var(--ink); }
.contact-details .item a:hover{ color: var(--slate); }
