/* Highlands Digital Marketing | SUMMIT BOLD
   Built from HIGHLANDS_Summit_Bold_Master_Design_System.md (v1.0) and web/styles/highlands-tokens.css.
   Fonts: Archivo (Google Fonts, variable width) stands in for Archivo Extended Bold (display, width 125%)
   and for Acumin Pro (body, the guide's approved substitute). Kepler and Sloop are not licensed for web
   here, so editorial lines fall back to Georgia italic as the guide's own stack does.
   TODO_REPLACE_FONTS: swap in licensed Archivo Extended / Kepler / Acumin webfonts when available. */
:root {
  --hdm-charcoal: #2B2B2B;
  --hdm-ink: #1A1A1A;
  --hdm-white: #FFFFFF;
  --hdm-warm-gray: #E7E4DF;
  --hdm-amber: #F8B238;
  --hdm-orange: #F26B21;
  --hdm-gold: #FFC145;
  --hdm-orange-text: #A9431D;
  --hdm-muted-text: #595652;
  --hdm-border: #D9D6D1;
  --hdm-gradient-sunrise: linear-gradient(110deg, #FFC145 0%, #F8B238 28%, #F26B21 100%);
  --hdm-gradient-hero-overlay: linear-gradient(90deg, rgba(26,26,26,.94) 0%, rgba(26,26,26,.72) 48%, rgba(26,26,26,.10) 100%);
  --danger: #A12A2A;
  --success: #256B4A;

  /* legacy names used in page markup, mapped to Summit Bold */
  --ink: var(--hdm-ink);
  --ink-soft: var(--hdm-muted-text);
  --cream: var(--hdm-warm-gray);
  --paper: var(--hdm-white);
  --line: var(--hdm-border);

  --font-display: "Archivo Extended", "Archivo", "Arial Black", sans-serif;
  --font-body: "Acumin Pro", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-editorial: "Kepler Semi-Condensed", "kepler-std-semicondensed", Georgia, serif;
  --display-stretch: 125%;

  --radius-field: 9px;
  --radius-button: 11px;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 18px;
  --shadow: 0 8px 22px rgba(26,26,26,.055);
  --shadow-cta: 0 6px 16px rgba(26,26,26,.12);
  --max: 1200px;
  --gutter: 20px;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 120px;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--hdm-white); color: var(--hdm-ink); font-family: var(--font-body); font-weight: 400; font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--hdm-orange-text); text-underline-offset: .18em; }
p { margin: 0 0 var(--s2); }
h1, h2, h3 { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 800; color: var(--hdm-charcoal); margin: 0 0 var(--s2); letter-spacing: -0.015em; text-wrap: balance; overflow-wrap: break-word; }
h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.2rem; line-height: 1.3; margin: 0 0 var(--s2); }
h1 { font-size: clamp(1.95rem, 1.2rem + 3.6vw, 4rem); line-height: 1.04; }
h2 { font-size: clamp(1.6rem, 1.1rem + 2.3vw, 2.875rem); line-height: 1.08; }
h3 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem); line-height: 1.18; }
@media (max-width: 420px) { h1, h2 { --display-stretch: 112%; } }
ul, ol { margin: 0 0 var(--s2); padding-left: 1.2em; }
li { margin-bottom: 6px; }
.prose { max-width: 70ch; }
.lead { font-size: clamp(1.0625rem, 1rem + .45vw, 1.3rem); color: var(--hdm-muted-text); line-height: 1.55; }
.muted { color: var(--hdm-muted-text); }
.small { font-size: .9375rem; }
.editorial { font-family: var(--font-editorial); font-style: italic; font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--hdm-white); color: var(--hdm-ink); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--hdm-ink); outline-offset: 3px; border-radius: 4px; }
.bg-ink :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .hero-summit :focus-visible { outline-color: var(--hdm-gold); }

/* Layout */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: var(--s6) 0; }
.bg-cream { background: var(--hdm-warm-gray); }
.bg-paper { background: var(--hdm-white); }
.bg-ink { background: var(--hdm-charcoal); color: var(--hdm-white); }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: var(--hdm-white); }
.bg-ink .muted, .bg-ink .lead { color: #D9D6D1; }
.grid-2 { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 640px) and (max-width: 1023px) { .grid-3 { grid-template-columns: 1fr 1fr; } }

/* Section header: eyebrow, headline, orange micro-rule, short intro */
.eyebrow { display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: .8125rem; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; color: var(--hdm-orange-text); margin-bottom: 12px; }
.bg-ink .eyebrow { color: var(--hdm-amber); }
.section-header { max-width: 780px; margin-bottom: var(--s5); }
.section-header h2::after, .page-hero h1::after, .cta-band h2::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 2px; margin-top: 20px; background: var(--hdm-gradient-sunrise); }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header.center h2::after, .cta-band h2::after { margin-left: auto; margin-right: auto; }
.section-header p { color: var(--hdm-muted-text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 24px; border-radius: var(--radius-button); font: 600 1rem/1.25 var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease; }
.btn-primary { color: var(--hdm-charcoal); background: var(--hdm-gradient-sunrise); box-shadow: var(--shadow-cta); }
.btn-primary::after { content: "→"; font-weight: 600; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(242,107,33,.28); color: var(--hdm-ink); }
.btn-secondary { background: transparent; color: var(--hdm-charcoal); border-color: var(--hdm-charcoal); }
.btn-secondary:hover { background: var(--hdm-charcoal); color: var(--hdm-white); }
.bg-ink .btn-secondary, .hero-summit .btn-secondary { color: var(--hdm-white); border-color: var(--hdm-white); }
.bg-ink .btn-secondary:hover, .hero-summit .btn-secondary:hover { background: var(--hdm-white); color: var(--hdm-charcoal); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; transform: none; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--hdm-orange-text); text-decoration: underline; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--hdm-ink); }
.bg-ink .text-link { color: var(--hdm-amber); }
.text-link::after { content: "→"; text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; margin-top: var(--s4); }
.microcopy { font-size: .9375rem; color: var(--hdm-muted-text); margin-top: var(--s2); }
.bg-ink .microcopy { color: #D9D6D1; }

/* Header (charcoal, reversed logo) */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--hdm-charcoal); border-bottom: 1px solid rgba(255,255,255,.1); color: var(--hdm-white); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 76px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 40px; width: auto; }
@media (min-width: 1024px) { .brand img { height: 44px; } }
.nav { display: none; align-items: center; gap: 2px; }
.nav > a, .nav-dd > button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 8px; font: 500 .98rem var(--font-body); color: var(--hdm-white); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav > a:hover, .nav-dd > button:hover { background: rgba(255,255,255,.08); }
.nav a[aria-current="page"], .nav-dd > button.is-current { color: var(--hdm-amber); }
.nav > a.btn { margin-left: 14px; color: var(--hdm-charcoal); padding: 12px 20px; background: var(--hdm-gradient-sunrise); border: 0; font-weight: 600; }
.nav > a.btn:hover { background: var(--hdm-gradient-sunrise); color: var(--hdm-ink); }
.nav-dd { position: relative; }
.nav-dd > button::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.dd-panel { position: absolute; top: calc(100% + 10px); left: 0; min-width: 310px; background: var(--hdm-white); border: 1px solid var(--hdm-border); border-top: 3px solid var(--hdm-orange); border-radius: var(--radius-sm); box-shadow: 0 16px 36px rgba(26,26,26,.18); padding: 8px; }
.dd-panel[hidden] { display: none; }
.dd-panel a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; color: var(--hdm-ink); }
.dd-panel a:hover { background: var(--hdm-warm-gray); }
.dd-panel a[aria-current="page"] { color: var(--hdm-orange-text); }
.dd-panel a small { display: block; color: var(--hdm-muted-text); font-size: .875rem; font-weight: 400; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; background: transparent; cursor: pointer; color: var(--hdm-white); }
.mobile-menu { border-top: 1px solid rgba(255,255,255,.12); padding-top: var(--s1); padding-bottom: var(--s3); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { display: flex; align-items: center; min-height: 48px; text-decoration: none; font-weight: 600; color: var(--hdm-white); border-bottom: 1px solid rgba(255,255,255,.12); }
.mobile-menu .sub a { padding-left: 16px; font-weight: 400; color: #D9D6D1; }
.mobile-menu a[aria-current="page"] { color: var(--hdm-amber); }
.mobile-menu .btn { width: 100%; margin-top: var(--s3); border-bottom: 0; color: var(--hdm-charcoal); justify-content: center; }
@media (min-width: 1024px) { .nav { display: flex; } .menu-toggle, .mobile-menu { display: none !important; } }
@media (min-width: 1024px) and (max-width: 1180px) { .nav > a, .nav-dd > button { padding: 0 9px; } .nav > a.btn { margin-left: 8px; padding: 12px 16px; } }

/* Home hero: Summit Bold */
.hero-summit { position: relative; color: var(--hdm-white); background-color: var(--hdm-ink); background-image: linear-gradient(180deg, rgba(26,26,26,.55) 0%, rgba(26,26,26,0) 30%), var(--hdm-gradient-hero-overlay), url("/assets/hero-summit.webp"); background-size: cover; background-position: center, center, 70% 55%; }
.hero-inner { padding: clamp(72px, 10vw, 148px) var(--gutter) clamp(56px, 8vw, 112px); }
.hero-copy { max-width: 760px; }
.hero-kicker { font-family: var(--font-editorial); font-style: italic; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.25rem); line-height: 1.2; color: var(--hdm-white); margin: 0 0 14px; }
.display { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--hdm-white); font-size: clamp(2.6rem, 1.2rem + 7vw, 6rem); line-height: .94; letter-spacing: -0.02em; margin: 0; text-wrap: initial; }
.display .amp { font-family: var(--font-editorial); font-style: italic; font-weight: 700; text-transform: none; color: var(--hdm-orange); background: var(--hdm-gradient-sunrise); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em; }
.hero-rule { display: block; width: 120px; height: 5px; border-radius: 3px; background: var(--hdm-gradient-sunrise); margin: 28px 0 24px; }
.hero-summit .lead { color: #EDEBE7; max-width: 56ch; }
.hero-summit .actions { margin-top: var(--s4); }
.hero-strip { border-top: 1px solid rgba(255,255,255,.14); background: rgba(26,26,26,.55); }
.hero-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
.hero-strip li { margin: 0; }
.hero-strip a { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 4px; color: var(--hdm-white); text-decoration: none; font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; }
.hero-strip a:hover { color: var(--hdm-amber); }
.hero-strip svg { flex: none; width: 26px; height: 26px; color: var(--hdm-orange); }
.hero-strip li + li a { border-top: 1px solid rgba(255,255,255,.1); }
@media (min-width: 800px) {
  .hero-strip ul { grid-template-columns: repeat(3, 1fr); }
  .hero-strip li + li a { border-top: 0; border-left: 1px solid rgba(255,255,255,.18); padding-left: 28px; }
  .hero-strip a { justify-content: flex-start; min-height: 88px; }
}
@media (max-width: 639px) {
  .hero-summit { background-image: linear-gradient(180deg, rgba(26,26,26,.88) 0%, rgba(26,26,26,.78) 55%, rgba(26,26,26,.45) 100%), url("/assets/hero-summit.webp"); background-position: center, 80% 100%; }
  .hero-summit .actions .btn { width: 100%; }
}

/* Inner page heroes */
.hero { padding: var(--s6) 0 var(--s7); }
.hero-grid { display: grid; gap: var(--s5); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.page-hero { padding: clamp(48px, 7vw, 88px) 0; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 62ch; }

/* Cards */
.card { background: var(--hdm-white); border: 1px solid var(--hdm-border); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 32px); height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.card h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); }
.card p:last-child { margin-bottom: 0; }
.card .text-link { margin-top: auto; }
.card-icon { width: 46px; height: 46px; border-radius: 11px; background: var(--hdm-charcoal); color: var(--hdm-amber); display: grid; place-items: center; margin-bottom: var(--s3); font: 800 1rem var(--font-display); font-stretch: 125%; }
.callouts { display: grid; gap: var(--s2); grid-template-columns: 1fr; margin: var(--s4) 0; padding: 0; list-style: none; }
.callouts li { display: flex; gap: 14px; align-items: center; font-weight: 600; margin: 0; padding: 18px 20px; background: var(--hdm-warm-gray); border-radius: var(--radius-sm); }
.bg-cream .callouts li { background: var(--hdm-white); }
.callouts li::before { content: ""; flex: none; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 13px solid var(--hdm-orange); }
@media (min-width: 700px) { .callouts { grid-template-columns: repeat(3, 1fr); } }
.closing-line { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem); line-height: 1.22; max-width: 32ch; margin: var(--s5) 0 var(--s3); color: var(--hdm-charcoal); }

/* Case study cards */
.case-card { background: var(--hdm-white); border: 1px solid var(--hdm-border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; height: 100%; box-shadow: var(--shadow); }
.case-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.case-body { padding: var(--s3) var(--s4) var(--s4); display: flex; flex-direction: column; flex: 1; }
.case-body h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.35rem); }
.case-meta { font-size: .875rem; color: var(--hdm-muted-text); margin-bottom: 8px; }
.case-body .text-link { margin-top: auto; }
.badge-fictional { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; background: #FFF4E0; border: 1px solid var(--hdm-amber); color: var(--hdm-orange-text); font-size: .8125rem; font-weight: 700; margin-bottom: var(--s2); }
.badge-fictional::before { content: "i"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid currentColor; font-size: .7rem; font-weight: 700; }
.notice { border: 1px solid var(--hdm-amber); border-left: 4px solid var(--hdm-orange); background: #FFF8EC; border-radius: var(--radius-sm); padding: var(--s2) var(--s3); color: var(--hdm-ink); font-weight: 600; }
.notice p:last-child { margin-bottom: 0; }

/* Process */
.steps { counter-reset: step; display: grid; gap: var(--s3); grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps.four { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .steps.four { grid-template-columns: 1fr 1fr; } }
.steps li { counter-increment: step; background: var(--hdm-white); border: 1px solid var(--hdm-border); border-radius: var(--radius); padding: var(--s4); margin: 0; position: relative; overflow: hidden; }
.bg-paper .steps li { background: var(--hdm-white); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 800 2rem/1 var(--font-display); font-stretch: 125%; font-style: italic; color: var(--hdm-orange); margin-bottom: var(--s2); }
.steps h3 { font-size: 1.25rem; }
.steps p { margin: 0; color: var(--hdm-muted-text); }
.flow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; list-style: none; padding: 0; margin: 0; }
.flow li { margin: 0; padding: 10px 18px; border: 1px solid var(--hdm-border); border-radius: 10px; background: var(--hdm-white); font-weight: 600; }
.flow li + li::before { content: "→"; margin-right: 10px; color: var(--hdm-orange-text); }

/* Lists */
.checklist { list-style: none; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .checklist.cols { grid-template-columns: 1fr 1fr; } }
.checklist li { position: relative; padding-left: 30px; margin: 0; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 2.5px solid var(--hdm-orange); border-bottom: 2.5px solid var(--hdm-orange); transform: rotate(-45deg); }
.checklist.problem-list li::before { left: 4px; top: .45em; width: 0; height: 0; border: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 11px solid var(--hdm-charcoal); transform: none; }

/* Portrait placeholder */
.portrait { aspect-ratio: 4 / 5; max-width: 460px; width: 100%; border-radius: var(--radius-lg); background: linear-gradient(165deg, #3A3A3A 0%, var(--hdm-charcoal) 55%, var(--hdm-ink) 100%); border-bottom: 5px solid var(--hdm-orange); display: grid; place-items: center; text-align: center; color: #D9D6D1; padding: var(--s4); }
.portrait .mono { font: 800 clamp(3rem, 8vw, 5rem) var(--font-display); font-stretch: 125%; font-style: italic; color: var(--hdm-white); }
.portrait p { margin: 8px 0 0; font-size: .9rem; }
.portrait-photo { display: block; padding: 0; height: auto; aspect-ratio: 1122 / 1402; object-fit: cover; border-bottom: 0; background: var(--hdm-charcoal); }

/* FAQ */
.faq { border-top: 1px solid var(--hdm-border); max-width: 880px; }
.faq-item { border-bottom: 1px solid var(--hdm-border); }
.faq-item h3 { margin: 0; font-size: 1.125rem; font-family: var(--font-body); font-stretch: 100%; font-weight: 600; letter-spacing: 0; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--s2); min-height: 60px; padding: var(--s2) 0; background: none; border: 0; text-align: left; font: inherit; color: var(--hdm-ink); cursor: pointer; }
.faq-q::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--hdm-charcoal); color: var(--hdm-amber); font: 500 1.3rem/1 var(--font-body); }
.faq-q[aria-expanded="true"]::after { content: "–"; }
.faq-a { padding: 0 0 var(--s3); color: var(--hdm-muted-text); max-width: 70ch; }
.faq-a[hidden] { display: none; }

/* CTA band */
.cta-band { text-align: center; background: var(--hdm-charcoal); border-top: 4px solid transparent; border-image: var(--hdm-gradient-sunrise) 1; }
.cta-band h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-band p { max-width: 60ch; margin-left: auto; margin-right: auto; }
.cta-band .actions { justify-content: center; }
.inline-cta { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; justify-content: space-between; background: var(--hdm-charcoal); color: var(--hdm-white); border-radius: var(--radius); padding: var(--s4); margin-top: var(--s5); border-left: 5px solid var(--hdm-orange); }
.inline-cta p { margin: 0; font-weight: 600; max-width: 52ch; }

/* Breadcrumbs */
.breadcrumbs { font-size: .9rem; color: var(--hdm-muted-text); margin-bottom: var(--s3); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #8C8883; }
.breadcrumbs a { color: var(--hdm-muted-text); }
.breadcrumbs [aria-current="page"] { color: var(--hdm-ink); }

/* Article */
.article { max-width: 72ch; }
.article h2 { font-size: clamp(1.4rem, 1.15rem + 1.1vw, 2rem); margin-top: var(--s5); }
.article-meta { font-size: .92rem; color: var(--hdm-muted-text); margin-bottom: var(--s4); }
.toc { background: var(--hdm-warm-gray); border-radius: var(--radius-sm); padding: var(--s3); margin: var(--s4) 0; border-left: 4px solid var(--hdm-orange); }
.toc h2 { font-size: 1rem; font-family: var(--font-body); font-stretch: 100%; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
.toc ol { margin: 0; }
.article-card { background: var(--hdm-white); border: 1px solid var(--hdm-border); border-radius: var(--radius); padding: var(--s4); display: flex; flex-direction: column; height: 100%; box-shadow: var(--shadow); }
.article-card .text-link { margin-top: auto; }

/* Case study detail */
.case-section { border-top: 1px solid var(--hdm-border); padding: var(--s4) 0; display: grid; gap: var(--s2); grid-template-columns: 1fr; }
@media (min-width: 900px) { .case-section { grid-template-columns: 260px 1fr; gap: var(--s5); } }
.case-section h2 { font-size: 1.35rem; margin: 0; }
.case-section p:last-child, .case-section ul:last-child { margin-bottom: 0; }
.hypothetical { border: 2px dashed var(--hdm-amber); border-radius: var(--radius); padding: var(--s4); background: #FFFBF3; }
.hypothetical strong { color: var(--hdm-orange-text); }
.case-hero-img { border-radius: var(--radius-lg); border: 1px solid var(--hdm-border); width: 100%; margin-top: var(--s4); }

/* Form */
.form-card { background: var(--hdm-white); border: 1px solid var(--hdm-border); border-top: 4px solid var(--hdm-orange); border-radius: var(--radius-lg); padding: var(--s4) var(--s3); box-shadow: var(--shadow); }
@media (min-width: 768px) { .form-card { padding: var(--s5); } }
.field { margin-bottom: var(--s3); }
.field label { display: block; font-weight: 600; margin-bottom: 8px; }
.field .req, .field-help .req { color: var(--hdm-orange-text); }
.field .opt { color: var(--hdm-muted-text); font-weight: 400; font-size: .9rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; font: inherit; font-size: 1rem; color: var(--hdm-ink); background: var(--hdm-white); border: 1px solid #76716F; border-radius: var(--radius-field); padding: 12px 14px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--hdm-ink); }
.field [aria-invalid="true"] { border-color: var(--danger); border-width: 2px; }
.field-help { font-size: .88rem; color: var(--hdm-muted-text); margin-top: 6px; }
.field-error { color: var(--danger); font-size: .92rem; margin-top: 6px; font-weight: 600; }
.form-error { border: 1px solid var(--danger); background: #FDF2F2; color: var(--danger); border-radius: 10px; padding: 12px 16px; margin-bottom: var(--s3); font-weight: 600; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-trust { font-size: .9rem; color: var(--hdm-muted-text); margin-top: var(--s2); }
.contact-grid { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.3fr; align-items: start; } }

/* Footer */
.site-footer { background: var(--hdm-ink); color: #D9D6D1; padding: var(--s6) 0 var(--s4); }
.footer-grid { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer .brand img { height: 48px; }
.footer-tagline { font-family: var(--font-editorial); font-style: italic; font-size: 1.15rem; color: var(--hdm-white); margin: 20px 0 6px; }
.site-footer h2 { font: 700 .8125rem var(--font-body); font-stretch: 100%; letter-spacing: .14em; text-transform: uppercase; color: var(--hdm-amber); margin-bottom: var(--s2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; }
.site-footer a { display: inline-flex; align-items: center; min-height: 40px; color: var(--hdm-white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--hdm-amber); }
.site-footer a.brand { display: inline-flex; min-height: 0; }
.site-footer .btn { color: var(--hdm-charcoal); margin-top: var(--s2); }
.site-footer .btn:hover { color: var(--hdm-ink); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: var(--s5); padding-top: var(--s3); font-size: .88rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s2); }

/* Content v2 additions */
.callouts.four { grid-template-columns: 1fr; }
@media (min-width: 640px) { .callouts.four { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .callouts.four { grid-template-columns: repeat(4, 1fr); } }
.trust-line { font-weight: 600; color: var(--hdm-charcoal); border-left: 4px solid var(--hdm-orange); padding: 4px 0 4px 16px; margin: 0 0 var(--s3); max-width: 60ch; }
.checklist.small { font-size: .95rem; margin: var(--s2) 0 var(--s3); }
.bg-ink .checklist li::before { border-color: var(--hdm-amber); }
.bg-ink .card-icon { background: var(--hdm-amber); color: var(--hdm-ink); }
.inline-cta .btn-secondary { color: var(--hdm-white); border-color: var(--hdm-white); }
.inline-cta .btn-secondary:hover { background: var(--hdm-white); color: var(--hdm-charcoal); }

/* Website builds */
.package-list { list-style: none; margin: 0 0 var(--s2); padding: 0; border-top: 1px solid var(--hdm-border); }
.package-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; margin: 0; border-bottom: 1px solid var(--hdm-border); }
.package-list strong { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 1.1rem; color: var(--hdm-charcoal); }
.package-list span { color: var(--hdm-muted-text); }
@media (max-width: 420px) { .package-list li { grid-template-columns: 1fr; gap: 4px; } }
.packages { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
@media (min-width: 700px) { .packages { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .packages { grid-template-columns: repeat(4, 1fr); } }
.package { background: var(--hdm-white); border: 1px solid var(--hdm-border); border-top: 4px solid var(--hdm-charcoal); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.package h3 { font-size: 1.5rem; margin-bottom: 4px; }
.package-tag { font-family: var(--font-editorial); font-style: italic; font-size: 1.15rem; color: var(--hdm-charcoal); margin-bottom: 8px; }
.package-size { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hdm-orange-text); margin-bottom: 12px; }
.package .checklist { margin-bottom: var(--s2); }
.package-note { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--hdm-border); font-size: .875rem; color: var(--hdm-muted-text); margin-bottom: 0; }
.package-featured { border-top: 4px solid transparent; border-image: var(--hdm-gradient-sunrise) 1; border-image-slice: 1; }
.package-featured { border-top-left-radius: 0; border-top-right-radius: 0; }

/* Experience stats */
.stats { list-style: none; margin: var(--s4) 0; padding: 0; display: grid; gap: 1px; grid-template-columns: 1fr; background: var(--hdm-border); border: 1px solid var(--hdm-border); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { margin: 0; padding: 24px; background: var(--hdm-white); display: flex; flex-direction: column; gap: 6px; }
.stats strong { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.1; color: var(--hdm-charcoal); }
.stats strong::after { content: ""; display: block; width: 40px; height: 3px; border-radius: 2px; margin-top: 10px; background: var(--hdm-gradient-sunrise); }
.stats span { font-size: .95rem; color: var(--hdm-muted-text); line-height: 1.45; }

/* Client names */
.client-names { margin: var(--s4) 0 0; font-weight: 600; color: var(--hdm-charcoal); }
.client-names span { display: block; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hdm-orange-text); margin-bottom: 6px; }
.client-card .text-link { margin-top: auto; }

/* Single-layer gradient buttons */
.btn-primary { background-origin: border-box; background-clip: border-box; border-color: transparent; box-shadow: none; }
.btn-primary:hover { box-shadow: none; filter: brightness(1.04); }
.nav > a.btn { border-radius: var(--radius-button); background-origin: border-box; box-shadow: none; }
.nav > a.btn:hover { transform: translateY(-1px); }

/* Short home page */
.hero-summit h1 { color: var(--hdm-white); margin: 0; font-size: inherit; letter-spacing: normal; line-height: 1.2; }
.hero-eyebrow { display: block; font-family: var(--font-body); font-stretch: 100%; font-weight: 700; font-size: .8125rem; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: var(--hdm-amber); margin-bottom: 18px; max-width: 46ch; }
.hero-summit h1 .hero-kicker { display: block; font-weight: 400; letter-spacing: normal; margin: 0 0 14px; }
.display { display: block; }
.proof-strip { background: var(--hdm-white); border-bottom: 1px solid var(--hdm-border); padding: 36px 0; }
.proof-strip .container { display: grid; gap: 24px; align-items: center; }
@media (min-width: 1024px) { .proof-strip .container { grid-template-columns: 1fr 1.7fr; gap: 40px; } }
.proof-strip .client-names { margin: 0; font-size: 1.05rem; line-height: 1.5; }
.proof-strip .stats { margin: 0; }
@media (min-width: 1024px) { .stats.three { grid-template-columns: repeat(3, 1fr); } }
.connect-grid { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
@media (min-width: 1024px) { .connect-grid { grid-template-columns: 1fr 1fr; gap: 64px; } .connect-grid > div + div { border-left: 1px solid rgba(255,255,255,.16); padding-left: 64px; } }
.connect-grid h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); }
.bg-ink .package-list { border-top-color: rgba(255,255,255,.18); margin-top: var(--s3); }
.bg-ink .package-list li { border-bottom-color: rgba(255,255,255,.18); }
.bg-ink .package-list strong { color: var(--hdm-white); }
.bg-ink .package-list span { color: #D9D6D1; }
.cta-alt { margin-top: var(--s3); color: #D9D6D1; font-size: .95rem; }
.cta-alt a { color: var(--hdm-amber); }
/* Sticky consultation button on phones */
.mobile-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; transform: translateY(160%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
.mobile-cta.is-visible { transform: none; visibility: visible; transition: transform .25s ease; }
.mobile-cta .btn { width: 100%; box-shadow: 0 8px 22px rgba(26,26,26,.28); }
.has-mobile-cta .site-footer { padding-bottom: 104px; }
@media (min-width: 1024px) { .mobile-cta { display: none; } .has-mobile-cta .site-footer { padding-bottom: var(--s4); } }

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