/* NA Skills Portfolio: hub chrome (projects keep styles.css) */

:root {
  /* SAP Fiori Horizon palette */
  --ink: #1D2D3E;
  --ink-soft: #32475C;
  --muted: #556B82;
  --line: #D9DEE4;
  --line-strong: #C5CED6;
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --bg: #F5F6F7;
  --accent: #0062D6;
  --accent-hover: #004BB0;
  --cta: #0062D6;
  --cta-hover: #004BB0;
  --warm: #8A5A00;
  --accent-soft: rgba(0, 98, 214, 0.08);
  --positive: #256F3A;
  --positive-bg: #F5FAE5;
  --positive-line: #BDE986;
  --ai: #556B82;
  --sc: #556B82;
  --sap: #556B82;
  --bi: #556B82;
  --r: #556B82;
  --py: #556B82;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 0 2px rgba(34, 53, 72, 0.16), 0 2px 8px rgba(34, 53, 72, 0.08);
  --shadow-lift: 0 0 2px rgba(34, 53, 72, 0.16), 0 8px 24px rgba(34, 53, 72, 0.14);
  --font: "72", "72full", Arial, Helvetica, sans-serif;
  --display: "72", "72full", Arial, Helvetica, sans-serif;
  --max: 1120px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body.hub {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.hub a {
  color: var(--accent);
  text-decoration: none;
}

body.hub a:hover { text-decoration: underline; text-underline-offset: 3px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.55rem 0.9rem;
  z-index: 100;
  font-weight: 600;
  border-radius: 0 0 10px 0;
}

.skip-link:focus { left: 0; }
body.hub a.skip-link,
body.hub a.skip-link:hover {
  color: #fff;
  text-decoration: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(245, 246, 247, 0.9);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

body.hub .brand { color: var(--ink); }

.nav-drawer { display: contents; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 550;
  text-decoration: none;
  padding: 0.35rem 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
  text-decoration: none;
}

.nav-links a:hover::after { transform: scaleX(1); }

.nav-links a.nav-quiet {
  font-weight: 500;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: var(--surface-solid);
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) 1.5rem clamp(3rem, 6vw, 4.5rem);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-inner { max-width: 40rem; }

.hero-product {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-brand {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}

.hero-role {
  margin: 0 0 1rem;
  font-family: var(--font);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink-soft);
  max-width: 36ch;
}

.hero .lead {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 52ch;
  font-weight: 450;
}

.hero .lead a,
.hero-trail a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-trail {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 46ch;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.hero-chips .chip {
  background: var(--surface-solid);
  border-color: var(--line-strong);
  max-width: 100%;
}

.hub-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.hub-metric {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  box-shadow: var(--shadow);
}

.hub-metric strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 550;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hub-metric span {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
}

.hero-photo-wrap {
  margin: 0;
  width: min(100%, 340px);
}

.hero-photo-frame {
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lift);
  background: var(--surface-solid);
  aspect-ratio: 4 / 5;
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  background: var(--surface-solid);
}

.hero-primary-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0;
}

.hero-resume {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  flex: 1 1 16rem;
  min-width: min(100%, 16rem);
  max-width: 36rem;
}

.resume-template {
  width: 100%;
}

.resume-template summary {
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--accent);
}

.resume-message {
  margin: 0.45rem 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.resume-template .btn {
  margin-top: 0.15rem;
}

.hero-cta-note {
  margin: 0 0 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 38ch;
  line-height: 1.55;
}

.btn-lg {
  padding: 0.82rem 1.45rem;
  font-size: 0.92rem;
}

.hero-orbit {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.9) 0%, rgba(238, 241, 245, 0.4) 55%, transparent 70%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}

.orbit-core {
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  background: var(--accent);
  color: #f7f8fa;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(22, 50, 79, 0.2);
}

.orbit-node {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(18, 21, 28, 0.12);
}

.orbit-ai { top: 6%; left: 50%; transform: translateX(-50%); background: var(--ai); }
.orbit-py { top: 22%; right: 8%; background: var(--py); }
.orbit-sc { bottom: 18%; right: 10%; background: var(--sc); }
.orbit-sap { bottom: 6%; left: 50%; transform: translateX(-50%); background: var(--sap); }
.orbit-bi { bottom: 18%; left: 10%; background: var(--bi); }
.orbit-r { top: 22%; left: 8%; background: var(--r); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.hero-meta {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

body.hub a.btn-primary,
body.hub a.btn-cta,
.btn-primary,
.btn-cta {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 30, 42, 0.2);
  text-decoration: none;
}

body.hub a.btn-primary:hover,
body.hub a.btn-cta:hover,
.btn-primary:hover,
.btn-cta:hover {
  background: var(--cta-hover);
  color: #fff;
  text-decoration: none;
}

.btn-cta {
  border-radius: 6px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.card-actions .btn-primary {
  background: var(--cta);
  color: #fff;
  border-radius: 999px;
  border-color: transparent;
}

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

.btn-secondary {
  background: var(--surface-solid);
  border-color: var(--line-strong);
  color: var(--ink-soft);
}

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

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink-soft);
  padding: 0.62rem 1.05rem;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--ink);
}

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 4.5rem;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 36rem;
}

.section-kicker {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.65rem;
  color: var(--ink);
}

.section .sub {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.section .sub code,
.approach-list code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: rgba(22, 50, 79, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

#work .section-head,
#recommendations .section-head {
  margin-bottom: 1.5rem;
}

#work .section-head .section-kicker,
#recommendations .section-head .section-kicker {
  margin-bottom: 0.75rem;
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: start;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.about-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: var(--ink);
  max-width: 22em;
}

.about-copy p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 54ch;
}

.credentials-card {
  margin-top: 1.15rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.credentials-card p {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.credentials-card p:last-child { margin-bottom: 0; }

.credentials-card .about-path-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.credentials-card strong {
  color: var(--ink);
  font-weight: 700;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

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

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  font-size: 0.74rem;
  font-weight: 550;
  color: var(--ink-soft);
  background: rgba(238, 241, 245, 0.65);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
  padding-top: 0.15rem;
}

/* Professional Summary */
.section-summary {
  padding-top: 0;
  padding-bottom: 3rem;
}

.summary-layout {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.summary-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 1.15rem;
  color: var(--ink);
  max-width: 34ch;
}

.summary-highlights {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: 68ch;
}

.summary-highlights li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
}

.summary-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--warm);
}

.summary-highlights strong {
  color: var(--ink);
  font-weight: 650;
}

.summary-highlights:last-child {
  margin-bottom: 0;
}

/* Technical Skills */
.section-skills {
  padding-bottom: 3.5rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.skills-group {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow);
}

.skills-group-wide {
  grid-column: 1 / -1;
}

.skills-group h3 {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.skills-group p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.skill-chips .chip {
  background: rgba(238, 241, 245, 0.85);
}

#work,
#operations,
#applied-ai,
#about,
#connect,
#recommendations {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

/* Services — LinkedIn-friendly anchor section (legacy; removed from hub) */
.section-services {
  padding-bottom: 3.5rem;
}

#services {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 100%;
}

.service-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.3;
}

.service-card p {
  margin: 0;
  flex: 1;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

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

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.service-card .btn {
  align-self: flex-start;
}

.service-card-cta {
  border-color: rgba(22, 50, 79, 0.18);
  background: linear-gradient(145deg, rgba(238, 241, 245, 0.5), rgba(255, 255, 255, 0.95));
}

.contact-linkedin {
  margin-top: 0.65rem;
}

/* Contact — two-column */
.section-contact {
  padding-bottom: 4.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.contact-kicker {
  color: var(--accent);
  font-weight: 700;
}

.contact-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 0.85rem;
  color: var(--ink);
  max-width: 28ch;
}

.contact-lead {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 48ch;
}

.contact-values {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.contact-values li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.6rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-values li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--warm);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

.contact-values:last-child {
  margin-bottom: 0;
}

.contact-card {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-lift);
}

.contact-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 550;
  color: var(--ink);
}

.contact-card p {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-email {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.92rem;
  font-weight: 650;
  word-break: break-word;
}

/* Recommendations */
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.recommendation-card {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem 1.4rem 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  min-height: 100%;
}

.recommendation-card blockquote {
  margin: 0;
  flex: 1;
}

.recommendation-card strong {
  color: var(--ink);
  font-weight: 700;
}

.recommendation-card blockquote p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
  font-style: italic;
}

.recommendation-card blockquote p::before {
  content: none; /* quotes already carry their own opening mark */
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 0;
  vertical-align: -0.2em;
  color: var(--accent);
  margin-right: 0.1rem;
}

.recommendation-author {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.recommendation-name {
  display: block;
  font-style: normal;
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.recommendation-title {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.recommendation-link {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.recommendations-source {
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Legacy CTA panel — unused */

/* Approach */
.section-approach { padding-bottom: 5rem; }

.approach-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.approach-list li {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0.85rem;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.approach-list li:last-child { border-bottom: none; }

.approach-num {
  font-family: var(--display);
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
  padding-top: 0.15rem;
}

.approach-list strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.approach-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  padding: 2rem 1.5rem 2.75rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-brand strong {
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--ink);
}

.footer-brand span,
.footer-brand a {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-brand a {
  color: var(--accent);
  font-weight: 650;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 550;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .tile,
  .nav-links a::after {
    transition: none;
  }
  .btn:hover,
  .tile:hover {
    transform: none;
  }
}

/* Mobile */

@media (max-width: 860px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Text first on mobile — photo follows copy */
  .hero-visual {
    min-height: auto;
    order: 2;
  }

  .hero-photo-wrap {
    width: min(100%, 260px);
    margin: 0 auto;
  }

  .brand-photo {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }

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

  .about-layout { grid-template-columns: 1fr; }

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

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

  .skills-group-wide { grid-column: auto; }

  .contact-layout { grid-template-columns: 1fr; }

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

  .cta-actions .btn { flex: 1 1 calc(50% - 0.75rem); }

  .hub-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-toggle { display: inline-flex; }

  .nav-drawer {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.5rem 1.25rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
    box-shadow: 0 16px 40px rgba(18, 21, 28, 0.08);
  }

  .nav-drawer.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .nav-links a {
    padding: 0.7rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:last-child { border-bottom: none; }

  .nav-links a::after { display: none; }

  .hero-role { max-width: none; }

  .brand-tag { display: none; }

  .hero-primary-cta .btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .nav,
  .hero,
  .section,
  .footer { padding-left: 1.15rem; padding-right: 1.15rem; }

  .hero-cta .btn {
    flex: 1 1 calc(50% - 0.65rem);
    text-align: center;
  }

  .footer-inner { flex-direction: column; }
}


/* —— mad4viz-style blended hero cutout + employer logos —— */
.hero-photo-blend {
  margin: 0;
  width: min(100%, 420px);
  background: transparent;
  border: none;
  box-shadow: none;
}
.hero-photo-cutout {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
  border: none;
  filter: drop-shadow(0 18px 28px rgba(18, 21, 28, 0.12));
}
/* neutralize old frame when cutout is used */
.hero-photo-blend .hero-photo-frame,
.hero-visual:has(.hero-photo-cutout) .hero-photo-frame {
  border: none;
  box-shadow: none;
  background: transparent;
  aspect-ratio: auto;
  overflow: visible;
}

.social-proof {
  padding: 1.75rem 1.25rem 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.social-proof-label {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.logos-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.25rem;
  max-width: var(--max);
  margin: 0 auto;
}
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  min-width: 120px;
  max-width: 180px;
  opacity: 0.88;
  filter: grayscale(0.15);
}
.logo-item img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  object-fit: contain;
}
.logo-holcim img { max-height: 36px; }
.social-proof-note {
  margin: 1rem auto 0;
  max-width: 48rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}
@media (max-width: 720px) {
  .logos-row { gap: 1rem 1.25rem; }
  .logo-item { min-width: 100px; height: 44px; }
}

/* About headings and labels stay in sentence case */
.about-copy .section-kicker,
.about-path-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 0.55rem;
}

/* Horizon type: 72 or Arial headings read best bold */
.hero-brand,
.section h2,
.about-copy h2,
.contact-copy h2 {
  font-weight: 700;
  letter-spacing: -0.015em;
}

/* ===== Featured ERP work and applied AI ===== */
.feature-grid,
.ai-grid {
  display: grid;
  gap: 0.75rem;
}

.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.feature-grid .tile,
.ai-grid .tile { min-height: 0; }

.feature-grid .tile h3,
.ai-grid .tile h3 {
  margin: 0.1rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.tile-note {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--muted);
  font-weight: 500;
}

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

@media (max-width: 640px) {
  .ai-grid { grid-template-columns: 1fr; }
  .hero-resume { flex-basis: 100%; max-width: none; }
}

/* ===== Flow map: How a business runs ===== */
.flow-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.flow-head .sub { max-width: 40rem; }

.flow-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  color: var(--muted);
}

.flow-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Status chips */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: max-content;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: normal;
  max-width: 100%;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-live {
  color: var(--positive);
  background: var(--positive-bg);
  border-color: var(--positive-line);
}

.status-soon {
  color: var(--muted);
  background: #EFF1F2;
  border-color: #D5DADD;
}

.status-soon::before {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px currentColor;
}

/* Board */
.flow-board {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.flow-lanes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: auto;
  gap: 0.75rem;
}

.lane {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 0 0.65rem 0.75rem;
}

/* Rows line up across lanes where subgrid is supported */
@supports (grid-template-rows: subgrid) {
  .flow-lanes { grid-auto-rows: auto; }
  .lane {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: 0.65rem;
    align-content: start;
  }
}

/* Lane header: chevrons that read left to right */
.lane-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 -0.65rem;
  padding: 0.7rem 1.5rem 0.7rem 1.4rem;
  min-height: 3.6rem;
  background: #0062D6;
  color: #fff;
  border-radius: var(--radius) var(--radius) 0 0;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%);
}

.lane-plan .lane-head {
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
  padding-left: 0.9rem;
}

.lane-source .lane-head,
.lane-operate .lane-head,
.lane-report .lane-head { background: #0062D6; }

.lane-step {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.lane-head > div { min-width: 0; }

.lane-head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.lane-head p {
  margin: 0.1rem 0 0;
  font-size: 0.74rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.86);
}

/* Tiles */
.tile {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 9.5rem;
  padding: 0.85rem 0.9rem 0.8rem;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 2px rgba(34, 53, 72, 0.12), 0 1px 3px rgba(34, 53, 72, 0.06);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}

.tile.is-live:hover {
  border-color: rgba(0, 112, 242, 0.45);
  box-shadow: var(--shadow-lift);
  transform: translateY(-1px);
}

.tile h4 {
  margin: 0.1rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.tile p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

.tile.is-soon {
  background: transparent;
  border: 1px dashed #A9B4BE;
  box-shadow: none;
  cursor: default;
}

.tile.is-soon h4 { color: var(--ink-soft); }

.tile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

body.hub a.tile-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}

body.hub a.tile-link-main::after {
  content: " \2192";
}

/* Foundation bar */
.foundation {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 1.25rem;
  padding: 1.1rem 1.35rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

/* Short ticks show each lane resting on the foundation */
.foundation::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1.25rem;
  height: 1.25rem;
  background:
    linear-gradient(var(--line-strong), var(--line-strong)) 12.5% 0 / 2px 100% no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) 37.5% 0 / 2px 100% no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) 62.5% 0 / 2px 100% no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) 87.5% 0 / 2px 100% no-repeat;
}

.foundation-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #A9C9F5;
}

.foundation h3 {
  margin: 0 0 0.2rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.foundation-copy p:last-child {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.8);
}

body.hub a.foundation-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: box-shadow 0.2s ease;
}

body.hub a.foundation-link:hover {
  box-shadow: 0 0 0 2px #A9C9F5;
}

.foundation-link-arrow { color: var(--accent); }

/* About: career path */
.about-path-label {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.path-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid rgba(0, 112, 242, 0.25);
}

.path-list li {
  position: relative;
  display: block;
  padding: 0 0 0.9rem 1.1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.path-list li:last-child { padding-bottom: 0; }

.path-list li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.3rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
}

.path-when {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
}

.path-what {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* Flow map: tablet, two lanes per row */
@media (max-width: 980px) {
  .flow-lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lane-head,
  .lane-plan .lane-head {
    clip-path: none;
    padding-left: 0.9rem;
  }
  .foundation::before { display: none; }
}

/* Flow map: phone, lanes stack top to bottom */
@media (max-width: 640px) {
  .flow-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .flow-board { padding: 0.65rem; }
  .flow-lanes { grid-template-columns: 1fr; }
  .lane { grid-row: auto; }
  @supports (grid-template-rows: subgrid) {
    .lane {
      grid-row: auto;
      grid-template-rows: none;
    }
  }
  .tile { min-height: 0; }
  .lane-head {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 50% 100%, 0 calc(100% - 10px));
    padding-bottom: 1.1rem;
  }
  .lane-plan .lane-head {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 50% 100%, 0 calc(100% - 10px));
  }
  .foundation {
    flex-direction: column;
    align-items: flex-start;
  }
  body.hub a.foundation-link {
    width: 100%;
  }
  .foundation-link-arrow { margin-left: auto; }
}
