/* High Peak Pro Ltd — highpeakpro.com
   Static stylesheet. No build step, no framework. */

:root {
  --ground:        #FCFBF8;
  --surface:       #FFFFFF;
  --surface-sunk:  #F2F0EA;
  --deep:          #171C1A;
  --deep-soft:     #222A27;
  --ink:           #171C1A;
  --ink-soft:      #4E5854;
  --ink-faint:     #5D6460;
  --on-deep:       #EDEFEA;
  --on-deep-soft:  #A9B2AC;
  --rule:          #DEDBD2;
  --rule-soft:     #EAE7DE;
  --rule-deep:     #36403B;

  --amber:         #C07A12;
  --amber-soft:    #F6EBD6;
  --amber-bright:  #E9A63B;
  --amber-text:    #96570E;

  --f-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Source Sans 3", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --col: 68ch;
  --page: 1120px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.shell {
  max-width: var(--page);
  margin: 0 auto;
  padding-inline: 24px;
}

img { max-width: 100%; }

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* ---------- type ---------- */

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.35rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

p { margin: 0; max-width: var(--col); }

.label {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-text);
}

.hero .label, .inverse .label { color: var(--amber); }

.lede {
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
}

.stack   { display: flex; flex-direction: column; gap: 20px; }
.stack-s { display: flex; flex-direction: column; gap: 12px; }
.stack-l { display: flex; flex-direction: column; gap: 34px; }

/* ---------- header ---------- */

.topbar {
  background: var(--deep);
  color: var(--on-deep);
  border-bottom: 3px solid var(--amber);
}

.topbar .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-block: 18px;
}

.brand {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.brand .suffix {
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--on-deep-soft);
}

nav.main {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--f-head);
  font-size: 14px;
  font-weight: 500;
}

nav.main a {
  text-decoration: none;
  color: var(--on-deep-soft);
  padding-block: 3px;
  border-bottom: 2px solid transparent;
}

nav.main a:hover { color: var(--on-deep); }
nav.main a[aria-current="page"] { color: var(--on-deep); border-bottom-color: var(--amber); }

/* ---------- hero ---------- */

.hero {
  background: var(--deep);
  color: var(--on-deep);
}

.hero .shell {
  padding-block: 76px 84px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

@media (max-width: 880px) {
  .hero .shell { grid-template-columns: 1fr; gap: 40px; padding-block: 56px 60px; }
}

.hero h1 { color: var(--on-deep); }
.hero .lede { color: var(--on-deep-soft); }

.hero-aside {
  border-left: 2px solid var(--rule-deep);
  padding-left: 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.factlet { display: flex; flex-direction: column; gap: 3px; }

.factlet .figure {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  color: var(--amber-bright);
  font-variant-numeric: tabular-nums;
}

.factlet .cap {
  font-size: 14px;
  line-height: 1.45;
  color: var(--on-deep-soft);
  max-width: 34ch;
}

/* ---------- buttons ---------- */

.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.btn {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 13px 24px;
  display: inline-block;
  border: 2px solid transparent;
}

.btn-primary { background: var(--amber); color: #1B1200; }
.btn-primary:hover { background: var(--amber-bright); }

.btn-ghost { border-color: var(--rule-deep); color: var(--on-deep); }
.btn-ghost:hover { border-color: var(--amber); }

.btn-dark { background: var(--deep); color: var(--on-deep); }
.btn-dark:hover { background: var(--deep-soft); }

/* ---------- sections ---------- */

section { padding-block: 68px; }
section.tight { padding-block: 48px; }
section + section { border-top: 1px solid var(--rule-soft); }
section.inverse, section.sunk { border-top: none; }

.sunk { background: var(--surface-sunk); }

.inverse { background: var(--deep); color: var(--on-deep); }
.inverse h2 { color: var(--on-deep); }
.inverse p { color: var(--on-deep-soft); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
  max-width: 62ch;
}

/* ---------- services grid ---------- */

.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.svc {
  background: var(--surface);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  text-decoration: none;
}

a.svc:hover { background: var(--amber-soft); }

.svc .tag {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.svc.lead .tag { color: var(--amber-text); }
.svc p { font-size: 15.5px; color: var(--ink-soft); max-width: none; }

.svc .more {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--amber-text);
  margin-top: auto;
  padding-top: 6px;
}

/* ---------- numbered process ---------- */

.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 34px; }

.step { display: flex; flex-direction: column; gap: 9px; }

.step .n {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--amber);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--rule-deep);
  font-variant-numeric: tabular-nums;
}

.step p { font-size: 15.5px; max-width: none; }

/* ---------- service detail blocks ---------- */

.detail {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 44px;
  padding-block: 46px;
  border-bottom: 1px solid var(--rule-soft);
  scroll-margin-top: 24px;
}

.detail:last-of-type { border-bottom: none; }

@media (max-width: 880px) {
  .detail { grid-template-columns: 1fr; gap: 26px; padding-block: 36px; }
}

.detail .body { display: flex; flex-direction: column; gap: 16px; }
.detail h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); }

.spec {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--amber);
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: start;
}

.spec .row { display: flex; flex-direction: column; gap: 3px; }

.spec dt, .spec .key {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.spec dd, .spec .val { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }

/* ---------- plain prose lists (used sparingly) ---------- */

ul.plain { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }

ul.plain li {
  position: relative;
  padding-left: 18px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

ul.plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 2px;
  background: var(--amber);
}

.inverse ul.plain li { color: var(--on-deep-soft); }

/* ---------- credentials ---------- */

.creds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.cred {
  background: var(--surface);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cred h3 { font-size: 1rem; }
.cred p { font-size: 15px; color: var(--ink-soft); max-width: none; }

/* ---------- callout ---------- */

.callout {
  background: var(--amber-soft);
  border-left: 4px solid var(--amber);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.callout p { max-width: 64ch; }

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 34px;
}

.contact-line {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  letter-spacing: -0.02em;
  word-break: break-word;
}

.contact-line a { text-decoration-color: var(--amber); text-underline-offset: 4px; }

/* ---------- footer ---------- */

footer.site {
  background: var(--deep);
  color: var(--on-deep-soft);
  font-size: 14px;
  line-height: 1.6;
}

footer.site .shell {
  padding-block: 44px 52px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

footer.site h3 {
  font-size: 11.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--on-deep);
  font-weight: 600;
  margin-bottom: 12px;
}

footer.site a { color: var(--on-deep-soft); text-decoration: none; }
footer.site a:hover { color: var(--amber-bright); }

footer.site nav { display: flex; flex-direction: column; gap: 7px; }

.legal {
  border-top: 1px solid var(--rule-deep);
  font-size: 13px;
  color: #7E8883;
}

.legal .shell { padding-block: 18px 24px; }
.legal p { max-width: none; }
