/* Hcorp — Main Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-hero-bg: #0b1120;
  --color-text: #111827;
  --color-text-muted: #4b5563;
  --color-accent: #1d4ed8;
  --color-accent-hover: #1e3a8a;
  --color-border: #e5e7eb;
  --color-hero-text: #f9fafb;
  --color-hero-muted: #9ca3af;
  --max-width: 1080px;
  --section-padding: 5rem;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--color-accent-hover);
}

/* ============================================================
   Navigation — desktop always visible, hamburger only on mobile
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.125rem 0;
  background: rgba(11, 17, 32, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.nav__logo {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav__logo:hover {
  color: rgba(255, 255, 255, 0.82);
}

/* Desktop: links always visible */
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav__links a {
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
  white-space: nowrap;
}

.nav__links a:hover {
  color: #fff;
}

.nav__links .nav__cta {
  color: #fff;
  background: var(--color-accent);
  padding: 0.475rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.nav__links .nav__cta:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

/* Hamburger — hidden on desktop, visible on mobile */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #fff;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: all 0.2s;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  background: var(--color-hero-bg);
  color: var(--color-hero-text);
  padding: 9.5rem 0 6rem;
  display: flex;
  align-items: center;
}

.hero__inner {
  max-width: 740px;
}

.hero__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.125rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: 1.0625rem;
  color: var(--color-hero-muted);
  max-width: 600px;
  margin-bottom: 0.875rem;
  line-height: 1.7;
}

.hero__supporting {
  font-size: 0.9rem;
  color: #6b7280;
  max-width: 580px;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
}

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  padding: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.btn--ghost:hover {
  color: var(--color-text);
}

.btn--outline-dark {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.btn--outline-dark:hover {
  border-color: #9ca3af;
  color: var(--color-text);
}

/* ============================================================
   Credibility bar
   ============================================================ */

.credibility {
  background: #0d1526;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.125rem 0;
}

.credibility__inner {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.credibility__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #374151;
  white-space: nowrap;
  flex-shrink: 0;
}

.credibility__text {
  font-size: 0.8125rem;
  color: #4b5563;
  line-height: 1.6;
}

/* ============================================================
   Sections
   ============================================================ */

.section {
  padding: var(--section-padding) 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section--dark {
  background: var(--color-hero-bg);
  color: var(--color-hero-text);
}

.section--border-top {
  border-top: 1px solid var(--color-border);
}

.section__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section--dark .section__label {
  color: #60a5fa;
}

.section__title {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.section--dark .section__title {
  color: #fff;
}

.section__lead {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 0;
}

.section--dark .section__lead {
  color: var(--color-hero-muted);
}

/* ============================================================
   Situation blocks — 4 blocks in 2×2 grid
   ============================================================ */

.situation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 3rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
}

.situation-block {
  padding: 2rem 2.25rem;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.situation-block:nth-child(2n) {
  border-right: none;
}

.situation-block:nth-child(3),
.situation-block:nth-child(4) {
  border-bottom: none;
}

.situation-block__num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.situation-block__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.situation-block__body {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ============================================================
   Engagements — 4 cards in 2×2 grid
   ============================================================ */

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.engagement-card {
  border-left: 3px solid var(--color-accent);
  padding: 0 0 0 1.5rem;
}

.engagement-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.engagement-card__body {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ============================================================
   Operator credibility / proof section
   ============================================================ */

.proof-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-border);
}

.proof-stat__value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.375rem;
}

.proof-stat__label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  max-width: 160px;
}

.proof-exp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.proof-exp-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.proof-exp-item:first-child {
  border-top: none;
}

.proof-exp-item:last-child {
  border-bottom: none;
}

.proof-exp-item__co {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
}

.proof-exp-item__detail {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.proof-exp-item__role {
  font-weight: 600;
  color: var(--color-text);
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

/* ============================================================
   Section CTA — inline CTA at bottom of a section
   ============================================================ */

.section-cta {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.section-cta__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  flex: 1 1 200px;
}

/* ============================================================
   Operator credibility cards — client/advisory context
   ============================================================ */

.cred-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.cred-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.625rem;
}

.cred-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.cred-card__body {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ============================================================
   Form submit hint
   ============================================================ */

.form-submit-hint {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 0.625rem;
}

/* ============================================================
   Differentiators
   ============================================================ */

.diff-list {
  list-style: none;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  max-width: 700px;
}

.diff-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.diff-list li::before {
  content: '—';
  color: var(--color-accent);
  flex-shrink: 0;
  font-weight: 600;
  margin-top: 0.05em;
}

/* ============================================================
   Henrik teaser (homepage)
   ============================================================ */

.henrik-teaser {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 5rem;
  align-items: start;
  margin-top: 3rem;
}

.henrik-teaser__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.henrik-teaser__role {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.henrik-teaser__bio {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 0.625rem;
}

.henrik-teaser__bio + .henrik-teaser__bio {
  margin-top: 0.75rem;
}

.henrik-teaser__cta {
  margin-top: 2rem;
}

.henrik-teaser__aside {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.teaser-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.teaser-stat__val {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.teaser-stat__lbl {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.teaser-divider {
  height: 1px;
  background: var(--color-border);
}

/* ============================================================
   Profile page (henrik.php)
   ============================================================ */

.page-hero {
  background: var(--color-hero-bg);
  color: var(--color-hero-text);
  padding: 8rem 0 4.5rem;
}

.page-hero__title {
  font-size: clamp(1.875rem, 4vw, 2.625rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.375rem;
  line-height: 1.1;
}

.page-hero__subtitle {
  font-size: 0.9375rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.page-hero__intro {
  font-size: 1.0625rem;
  color: var(--color-hero-muted);
  max-width: 680px;
  line-height: 1.7;
}

.page-hero__body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: start;
}

.page-hero__portrait {
  flex-shrink: 0;
}

.page-hero__portrait-img {
  width: 350px;
  aspect-ratio: 4 / 5;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
  display: block;
}

.profile-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}

.profile-section {
  margin-bottom: 3.5rem;
}

.profile-section:last-child {
  margin-bottom: 0;
}

.profile-section__heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
  padding-bottom: 0.625rem;
  border-bottom: 2px solid var(--color-border);
}

/* Value list — "Where Henrik creates value" */
.value-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  padding: 0.875rem 1rem;
  background: var(--color-bg-alt);
  border-radius: 6px;
  border-left: 3px solid var(--color-accent);
}

/* Experience list — selected experience */
.exp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.exp-item__header {
  margin-bottom: 0.5rem;
}

.exp-item__role {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
}

.exp-item__company {
  font-size: 0.875rem;
  color: var(--color-accent);
  font-weight: 600;
}

.exp-item__body {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Leadership themes */
.theme-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.theme-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.theme-list li::before {
  content: '→';
  color: var(--color-accent);
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Engagement fit */
.engagement-fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.25rem;
}

.fit-col__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid;
}

.fit-col--good .fit-col__heading {
  color: #15803d;
  border-color: #bbf7d0;
}

.fit-col--not .fit-col__heading {
  color: var(--color-text-muted);
  border-color: var(--color-border);
}

.fit-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fit-items li {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.fit-col--good .fit-items li::before {
  content: '✓';
  color: #16a34a;
  font-weight: 700;
  flex-shrink: 0;
}

.fit-col--not .fit-items li::before {
  content: '×';
  color: #9ca3af;
  font-weight: 700;
  flex-shrink: 0;
}

/* Sidebar on Henrik page */
.profile-sidebar {
  position: sticky;
  top: 6rem;
}

.sidebar-box {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.sidebar-box__heading {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.875rem;
}

.sidebar-box__body {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.domain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.domain-tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: #fff;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* ============================================================
   Contact page
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3rem;
}

.contact-info__item {
  margin-bottom: 1.75rem;
}

.contact-info__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.contact-info__value {
  font-size: 0.9375rem;
  color: var(--color-text);
}

.contact-info__value a {
  color: var(--color-accent);
}

.contact-info__value a:hover {
  color: var(--color-accent-hover);
}

.contact-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  border-left: 3px solid var(--color-border);
  padding-left: 1rem;
  margin-top: 2rem;
  font-style: italic;
}

/* ============================================================
   Form
   ============================================================ */

.form-group {
  margin-bottom: 1.375rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-label .optional {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.6875rem 0.9375rem;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #d1d5db;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

.form-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.form-checkbox-wrap input[type="checkbox"] {
  margin-top: 0.175rem;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.form-checkbox-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.form-notice {
  padding: 0.875rem 1.125rem;
  border-radius: 6px;
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.form-notice--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

.form-notice--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}

.form-field-error {
  font-size: 0.8125rem;
  color: #dc2626;
  margin-top: 0.3rem;
  display: block;
}

.form-submit-wrap {
  margin-top: 1.875rem;
}

/* Honeypot — invisible to real users */
.ohnohoney {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  overflow: hidden;
}

/* ============================================================
   Footer — improved contrast
   ============================================================ */

.footer {
  background: var(--color-hero-bg);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem 4rem;
  flex-wrap: wrap;
}

.footer__brand {
  font-size: 1rem;
  font-weight: 700;
  color: #f1f5f9;
  display: block;
  margin-bottom: 0.375rem;
}

.footer__tagline {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin-bottom: 0.875rem;
  max-width: 260px;
  line-height: 1.55;
}

.footer__contact a {
  color: #cbd5e1;
  font-size: 0.875rem;
  transition: color 0.15s;
}

.footer__contact a:hover {
  color: #f1f5f9;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__nav-heading {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 0.375rem;
}

.footer__nav a {
  color: #94a3b8;
  font-size: 0.875rem;
  transition: color 0.15s;
}

.footer__nav a:hover {
  color: #f1f5f9;
}

.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.8125rem;
  color: #475569;
}

.footer__legal {
  font-size: 0.8125rem;
  color: #475569;
  text-align: right;
  max-width: 500px;
  line-height: 1.55;
}

/* ============================================================
   Print styles — prevent header overlap
   ============================================================ */

@media print {
  .nav {
    position: static;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
  }

  .nav__logo {
    color: #111827;
  }

  .nav__links a {
    color: #111827;
  }

  .nav__toggle {
    display: none;
  }

  .hero {
    padding: 2rem 0;
    min-height: auto;
    background: #f8fafc;
    color: #111827;
  }

  .hero__title,
  .hero__eyebrow { color: #111827; }
  .hero__subtitle, .hero__supporting { color: #4b5563; }

  .credibility { background: #f8fafc; border: 1px solid #e5e7eb; }
  .section--dark { background: #f8fafc; color: #111827; }
  .section--dark .section__title { color: #111827; }
  .section--dark .section__lead { color: #4b5563; }
  .footer { background: #f8fafc; }

  .btn { display: none; }
  .nav__cta { display: none; }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 768px) {
  :root {
    --section-padding: 3.5rem;
  }

  /* Mobile: hide links, show toggle */
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0b1120;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 2rem 1.5rem;
    gap: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__toggle {
    display: flex;
  }

  .hero {
    padding: 7.5rem 0 3.5rem;
  }

  .situation-grid {
    grid-template-columns: 1fr;
  }

  .situation-block {
    border-right: none;
  }

  .situation-block:nth-child(3) {
    border-bottom: 1px solid var(--color-border);
  }

  .engagement-grid,
  .cred-grid {
    grid-template-columns: 1fr;
  }

  .proof-exp-item {
    grid-template-columns: 1fr;
    gap: 0.375rem;
  }

  .henrik-teaser {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .page-hero__body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .page-hero__portrait-img {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 4 / 5;
    height: auto;
  }

  .profile-body {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .profile-sidebar {
    position: static;
    margin-top: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .engagement-fit {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__legal {
    text-align: left;
  }
}

@media (max-width: 580px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .section-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-cta .btn {
    width: auto;
  }

  .proof-stats {
    gap: 2rem;
  }
}

/* ============================================================
   Logs dashboard — daily visitors chart
   ============================================================ */

.logs-full-width,
.daily-visitors {
  grid-column: 1 / -1;
}

.daily-visitors {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.daily-visitors__header,
.logs-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.daily-visitors__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.daily-visitors__subtitle {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.visitor-chart {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.visitor-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(8rem, 1fr) 11.5rem;
  gap: 0.875rem;
  align-items: center;
}

.visitor-date {
  font-size: 0.8125rem;
  color: #64748b;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.visitor-bar-wrap {
  position: relative;
  height: 0.875rem;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.visitor-bar {
  height: 100%;
  min-width: 0.25rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #1d4ed8, #3b82f6);
}

.visitor-bar--views {
  background: linear-gradient(90deg, #94a3b8, #cbd5e1);
}

.visitor-count {
  font-size: 0.8125rem;
  color: #334155;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.page-view-count {
  color: #94a3b8;
  margin-left: 0.5rem;
}

.visitor-legend {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.875rem;
  font-size: 0.75rem;
  color: #64748b;
}

.visitor-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.visitor-legend__swatch {
  width: 1.25rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #3b82f6;
}

.visitor-legend__swatch--views {
  background: #cbd5e1;
}

@media (max-width: 760px) {
  .daily-visitors__header,
  .logs-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .visitor-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid var(--color-border);
  }

  .visitor-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .visitor-count {
    white-space: normal;
  }
}

