/* ============================================================
   Unboxable — How We Help page styles
   Loads after website.css; reuses .hero, .btn, .cta, header, footer
   ============================================================ */

/* Hero lead width + anchor pills */
.hero__inner--hwh { max-width: 1040px; }
.capnav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.capnav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 0.9375rem;
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,255,255,0.30);
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.capnav a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; }
.capnav a:nth-child(1)::before { background: var(--amber-500); }
.capnav a:nth-child(2)::before { background: var(--orange-500); }
.capnav a:nth-child(3)::before { background: var(--green-500); }
.capnav a:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.6); }

/* ----------------------------------------------------------------
   Opening statement
   ---------------------------------------------------------------- */
.opener__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.opener h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--navy-800);
}
.opener h2 .hl { color: inherit; }
.opener__body p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 18px;
}
.opener__body p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------
   Capabilities overview (navy) — three summary cards
   ---------------------------------------------------------------- */
.capsum__head { max-width: 760px; margin: 0 0 clamp(32px, 4vw, 48px); }
.capsum__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
a.capsum {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: clamp(26px, 2.6vw, 36px);
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
a.capsum:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.30); background: rgba(255,255,255,0.07); }
.capsum__ico {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.capsum__ico img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.capsum--1 .capsum__ico { background: var(--orange-500); }
.capsum--2 .capsum__ico { background: var(--amber-500); }
.capsum--3 .capsum__ico { background: var(--green-500); }
.capsum h3 {
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  font-size: 1.5rem;
  color: #fff;
  margin: 0 0 10px;
}
.capsum p {
  font-size: 0.9688rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.74);
  margin: 0 0 18px;
}
.capsum__go {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 0.8125rem;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
}
.capsum--1 .capsum__go { color: var(--orange-400); }
.capsum--2 .capsum__go { color: var(--amber-500); }
.capsum--3 .capsum__go { color: var(--green-500); }

/* Overview cap cards as anchors */
a.cap { text-decoration: none; }

/* ----------------------------------------------------------------
   Capabilities detail — strong white cards on grey, one colour each
   ---------------------------------------------------------------- */
.svcs__wrap { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.svc {
  --c: var(--amber-500); --c-soft: var(--amber-100); --c-text: var(--amber-600);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 92px;
  transition: transform var(--dur-base) cubic-bezier(0.34,1.56,0.64,1), box-shadow var(--dur-base) var(--ease-out);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc--1 { --c: var(--amber-500);  --c-soft: var(--amber-100);  --c-text: var(--amber-600); }
.svc--2 { --c: var(--orange-500); --c-soft: var(--orange-100); --c-text: var(--orange-500); }
.svc--3 { --c: var(--green-500);  --c-soft: var(--green-100);  --c-text: var(--green-600); }

/* Solid header tab */
.svc__head {
  background: var(--navy-800);
  border-top: 7px solid var(--c);
  padding: clamp(26px, 3.2vw, 42px) clamp(28px, 4vw, 54px);
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 28px);
}
.svc__ico {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--c);
  display: grid; place-items: center;
  flex: none;
}
.svc__ico img { width: 30px; height: 30px; filter: brightness(0) invert(1); }
.svc__head-text { display: flex; flex-direction: column; }
.svc__tag {
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: 0.8125rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--c);
  margin-bottom: 6px;
}
.svc h2 {
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}
.svc__lead {
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.4;
  color: rgba(255,255,255,0.82);
  margin: 7px 0 0;
  max-width: 42em;
}
/* Body */
.svc__body { padding: clamp(28px, 4vw, 52px); }
.svc__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(26px, 3.5vw, 46px);
  align-items: start;
}
.svc__copy, .svc__list { padding-top: clamp(22px, 2.4vw, 30px); }
.svc__copy p {
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  margin: 0 0 16px;
}
.svc__copy p:last-child { margin-bottom: 0; }
.svc__list h4,
.svc__deliver h4 {
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: 0.8125rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--c-text);
  margin: 0 0 16px;
}
.svc__list ul,
.svc__deliver ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svc__list li,
.svc__deliver li {
  display: flex;
  gap: 11px;
  font-size: 0.9688rem;
  line-height: 1.4;
  color: var(--navy-800);
  font-weight: var(--fw-medium);
}
.svc__list li::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--c);
}
.svc__deliver {
  background: var(--surface-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.4vw, 30px);
}
.svc__deliver li::before {
  content: "\2713";
  flex: none;
  width: 18px; height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
}
.svc__cta {
  margin-top: clamp(26px, 3vw, 38px);
  padding-top: clamp(22px, 2.4vw, 30px);
  border-top: 1px solid var(--border);
}
.svc__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.svc__btn::after { content: "\2192"; }
.svc__btn:hover { transform: translateY(-2px); background: var(--accent); color: #fff; }
@media (max-width: 680px) {
  .svc__head { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ----------------------------------------------------------------
   Heatmap (navy)
   ---------------------------------------------------------------- */
.hmsec__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hmsec__copy h2 {
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 22px;
}
.hmsec__copy p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.80);
  margin: 0 0 18px;
}
.hmsec__copy .hmsec__result {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--amber-500);
  margin: 0;
}
.hm {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 34px);
}
.hm__row { display: grid; grid-template-columns: 1fr; gap: 9px; }
.hm__row + .hm__row { margin-top: 16px; }
.hm__label {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.88);
}
.hm__cells { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
.hm__cell { height: 26px; border-radius: 5px; background: rgba(255,255,255,0.10); }
.hm__cell--g { background: var(--green-500); }
.hm__cell--a { background: var(--amber-500); }
.hm__cell--r { background: var(--orange-500); }

/* Heatmap — the three opening conversations */
.hmsec__quotes {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hmsec__quotes li {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.35;
  color: #fff;
  padding: 12px 18px;
  background: rgba(255,255,255,0.06);
  border-left: 3px solid var(--c);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.hmsec__quotes li:nth-child(1) { --c: var(--amber-500); }
.hmsec__quotes li:nth-child(2) { --c: var(--orange-500); }
.hmsec__quotes li:nth-child(3) { --c: var(--green-500); }

/* ----------------------------------------------------------------
   Who we work with — navy header-tab cards that bounce
   ---------------------------------------------------------------- */
.roles-frame {
  border: 2px solid var(--navy-800);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 2.6vw, 38px);
}
.roles__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.role {
  --c: var(--amber-500);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-base) cubic-bezier(0.34,1.56,0.64,1), box-shadow var(--dur-base) var(--ease-out);
}
.role:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.role:nth-child(1) { --c: var(--amber-500); }
.role:nth-child(2) { --c: var(--orange-500); }
.role:nth-child(3) { --c: var(--green-500); }
.role:nth-child(4) { --c: var(--amber-500); }
.role__head {
  background: var(--navy-800);
  border-bottom: 4px solid var(--c);
  padding: clamp(20px, 2.2vw, 28px) clamp(16px, 1.8vw, 22px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 6em;
}
.role__head h3 {
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  font-size: clamp(1rem, 1.15vw, 1.1875rem);
  line-height: 1.25;
  color: #fff;
  margin: 0;
}
.role__body { padding: clamp(20px, 2.2vw, 28px); flex: 1; text-align: center; }
.role__body p {
  font-size: 1rem;
  line-height: 1.55;
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  margin: 0;
}

/* ----------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------- */
@media (max-width: 980px) {
  .opener__cols { grid-template-columns: 1fr; gap: 28px; }
  .capsum__grid { grid-template-columns: 1fr; }
  .svc__grid { grid-template-columns: 1fr; gap: 28px; }
  .hmsec__grid { grid-template-columns: 1fr; }
  .roles__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .roles__grid { grid-template-columns: 1fr; }
}
