/* =========================================================
   Middlebrook Studio — BI / SQL / Data Architecture Portfolio
   Design system: refined corporate / editorial
   Slate-navy + white + light-gray, single teal accent, serif display.
   ========================================================= */

:root {
  /* Surfaces */
  --navy:        #3a4356;   /* hero / dark bands */
  --navy-deep:   #2b3242;
  --navy-soft:   #454f64;
  --bg:          #ffffff;
  --bg-alt:      #f4f5f7;   /* light-gray sections */
  --bg-alt-2:    #eef0f3;
  --line:        #e3e6eb;
  --line-soft:   #edeff2;

  /* Text */
  --ink:         #232a37;   /* headings on light */
  --body:        #566072;   /* body copy */
  --muted:       #8a93a2;   /* labels, captions */
  --on-navy:     #ffffff;
  --on-navy-soft:#c3cad6;

  /* Teal accent */
  --teal:        #57c4bc;
  --teal-2:      #8ad8d0;
  --teal-deep:   #1f9a91;   /* links / accent text on light */
  --teal-ink:    #14746d;
  --grad-teal:   linear-gradient(90deg, #57c4bc 0%, #8ad8d0 100%);

  /* Effects */
  --shadow-sm:   0 1px 2px rgba(24,32,45,0.06);
  --shadow:      0 10px 30px rgba(24,32,45,0.08);
  --shadow-lg:   0 22px 55px rgba(24,32,45,0.13);
  --radius:      14px;
  --radius-sm:   10px;

  /* Type */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
::selection { background: rgba(87,196,188,0.28); }

/* Legacy hook — canvas removed from markup; keep inert if present */
#bg-canvas { display: none !important; }

/* ---------------- Layout helpers ---------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 104px 0; position: relative; }
.section.alt { background: var(--bg-alt); }
.section-tight { padding: 68px 0; }

/* the little diagonal-lines glyph before section intros */
.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 14px; flex: none;
  background:
    linear-gradient(115deg, transparent 0 3px, var(--teal) 3px 6px, transparent 6px 9px),
    linear-gradient(115deg, transparent 6px 9px, var(--teal) 9px 12px, transparent 12px 15px),
    linear-gradient(115deg, transparent 12px 15px, var(--teal) 15px 18px, transparent 18px);
  -webkit-mask: linear-gradient(#000, #000);
  border-radius: 2px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.3vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 18px;
}
.section-sub {
  color: var(--body);
  font-size: 1.075rem;
  max-width: 640px;
  margin-bottom: 52px;
}
.accent { color: var(--teal-deep); }
.gradient-text { color: var(--teal-deep); }   /* alias kept for existing markup */

/* ---------------- Nav ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px) saturate(140%);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 20px 28px;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding .35s ease;
}
.nav.scrolled .nav-inner { padding: 14px 28px; }

.brand { display: flex; align-items: center; gap: 13px; color: var(--on-navy); transition: color .35s ease; }
.nav.scrolled .brand { color: var(--ink); }
.brand .mark {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center; border-radius: 9px;
  background: var(--teal); color: var(--navy-deep);
  font-family: var(--serif); font-weight: 600; font-size: 1.35rem; line-height: 1;
}
.brand > span:last-child { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; letter-spacing: -0.01em; line-height: 1.05; }
.brand small {
  display: block; font-family: var(--sans); font-size: 0.56rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; margin-top: 5px;
  color: var(--on-navy-soft); transition: color .35s ease;
}
.nav.scrolled .brand small { color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 15px; border-radius: 8px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--on-navy-soft); transition: color .2s ease, background .2s ease;
}
.nav.scrolled .nav-links a { color: var(--body); }
.nav-links a:hover { color: var(--on-navy); }
.nav.scrolled .nav-links a:hover { color: var(--teal-deep); }
.nav-links a.cta {
  border: 1px solid rgba(255,255,255,0.5); color: var(--on-navy);
  border-radius: 6px; padding: 10px 18px;
}
.nav-links a.cta:hover { background: var(--teal); border-color: var(--teal); color: var(--navy-deep); }
.nav.scrolled .nav-links a.cta { border-color: var(--teal); color: var(--teal-deep); }
.nav.scrolled .nav-links a.cta:hover { background: var(--teal); color: #fff; }

.nav-toggle {
  display: none; background: none; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.45); border-radius: 8px;
  width: 44px; height: 44px; flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.nav.scrolled .nav-toggle { border-color: var(--line); }
.nav-toggle span { width: 20px; height: 2px; background: currentColor; color: var(--on-navy); border-radius: 2px; transition: .3s; }
.nav.scrolled .nav-toggle span { color: var(--ink); }
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 7px;
  font-weight: 600; font-size: 0.83rem; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--teal); color: var(--navy-deep); }
.btn-primary:hover { background: var(--teal-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--on-navy); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--on-navy);
  padding: 210px 0 120px;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: var(--grad-teal); opacity: .9;
}
/* Cycling animated hero backdrop */
.hero-media { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide .scene { width: 100%; height: 100%; display: block; transform: scale(1.04); }
.hero-slide.active .scene { animation: kenburns 8s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
/* scrim keeps the headline readable over any scene (dark left → clear right, dark bottom) */
.hero-scrim {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgba(58,67,86,0.95) 0%, rgba(58,67,86,0.66) 30%, rgba(58,67,86,0.14) 60%, rgba(58,67,86,0.02) 100%),
    linear-gradient(0deg, rgba(43,50,66,0.75) 0%, rgba(43,50,66,0) 40%);
}

/* Scene motion */
.drift { animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(0,0); } to { transform: translate(-32px,-22px); } }
.mesh-line { animation: dash 5s linear infinite; }
.mesh-line.slow { animation-duration: 8s; }
.mesh-line.slower { animation-duration: 11s; }
@keyframes dash { to { stroke-dashoffset: -240; } }
.float { animation: floaty 9s ease-in-out infinite alternate; }
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-16px); } }
.net-node { animation: pulse 3.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.net-node.n2 { animation-duration: 4.1s; }
.net-node.n3 { animation-duration: 2.7s; }
@keyframes pulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
.net-line { animation: lineglow 4s ease-in-out infinite; }
@keyframes lineglow { 0%,100% { opacity: .25; } 50% { opacity: .6; } }
.radar-sweep { animation: spin 6s linear infinite; transform-origin: center; }
.radar-ring { animation: pulse 4s ease-in-out infinite; transform-origin: center; }
.radar-ring.r2 { animation-duration: 5.5s; }
.radar-ring.r3 { animation-duration: 7s; }
.orbit { animation: spin 12s linear infinite; transform-origin: center; }
.orbit.rev { animation-duration: 18s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.flow-bar { animation: eq 2.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.flow-bar.b2 { animation-duration: 3.3s; } .flow-bar.b3 { animation-duration: 2.1s; }
.flow-bar.b4 { animation-duration: 3.8s; } .flow-bar.b5 { animation-duration: 2.9s; }
@keyframes eq { 0%,100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }

@media (prefers-reduced-motion: reduce){
  .hero-slide .scene, .drift, .mesh-line, .float, .net-node, .net-line,
  .radar-sweep, .radar-ring, .orbit, .flow-bar { animation: none !important; }
}

.hero-inner { position: relative; z-index: 3; max-width: 860px; }
.hero .status {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-navy-soft);
  padding: 8px 16px; border: 1px solid rgba(255,255,255,0.2); border-radius: 100px;
  margin-bottom: 34px;
}
.hero .status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex: none; }
.hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.9rem, 7vw, 5.4rem); line-height: 1.03; letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.hero h1 .accent, .hero h1 .gradient-text { color: var(--teal-2); font-style: italic; font-weight: 400; }
.hero .roles { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.hero .roles span {
  font-family: var(--sans); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.04em;
  padding: 8px 15px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.18); color: var(--on-navy-soft);
}
.hero .tagline { font-size: clamp(1.1rem, 2vw, 1.32rem); color: var(--on-navy-soft); max-width: 660px; margin-bottom: 42px; font-weight: 300; }
.hero .tagline strong { color: #fff; font-weight: 500; font-style: italic; font-family: var(--serif); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------- Grids / cards ---------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--grad-teal); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--line-soft); }
.card:hover::before { transform: scaleX(1); }

.artifact-card { display: flex; flex-direction: column; min-height: 250px; }
.artifact-card .num { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; color: var(--teal-deep); margin-bottom: 16px; }
.artifact-card .tag {
  position: absolute; top: 30px; right: 30px;
  font-family: var(--sans); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 5px; color: var(--teal-ink); background: rgba(87,196,188,0.13);
}
.artifact-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--ink); margin-bottom: 12px; letter-spacing: -0.01em; }
.artifact-card p { color: var(--body); font-size: 0.96rem; margin-bottom: 22px; flex-grow: 1; }
.artifact-card .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-deep); }
.artifact-card .go .arrow { transition: transform .2s ease; }
.artifact-card:hover .go .arrow { transform: translateX(5px); }

/* Tech chips (clickable → reveal experience) */
.sub-hint { display: none; color: var(--teal-deep); font-weight: 600; }
.has-panel .sub-hint { display: inline; }

.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.tech {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; gap: 15px; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  font: inherit; text-align: left; color: inherit; width: 100%; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  transition: border-color .26s, box-shadow .26s, transform .26s, background .26s;
}
.tech:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-3px); }
.tech:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 2px; }
.tech.active { border-color: var(--teal); background: rgba(87,196,188,0.05); box-shadow: var(--shadow); }
.tech .ico { width: 44px; height: 44px; flex: none; border-radius: 9px; display: grid; place-items: center; background: rgba(87,196,188,0.12); }
.tech .ico svg { width: 22px; height: 22px; stroke: var(--teal-deep); }
.tech > div:not(.tech-exp) { flex: 1 0 100%; padding-right: 26px; }
.tech b { font-size: 0.95rem; font-weight: 650; color: var(--ink); display: block; }
.tech small { color: var(--muted); font-size: 0.78rem; }

/* plus / minus indicator */
.tech-plus { position: absolute; top: 16px; right: 16px; width: 22px; height: 22px; border-radius: 50%; background: rgba(87,196,188,0.14); flex: none; }
.tech-plus::before, .tech-plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 2px; border-radius: 2px; background: var(--teal-deep); transform: translate(-50%,-50%); transition: transform .25s ease, background .25s ease; }
.tech-plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.tech.active .tech-plus { background: var(--teal); }
.tech.active .tech-plus::before, .tech.active .tech-plus::after { background: #fff; }
.tech.active .tech-plus::after { transform: translate(-50%,-50%) rotate(0deg); }

/* inline experience (shown when JS is off; hidden once the panel takes over) */
.tech-exp { flex-basis: 100%; width: 100%; margin-top: 4px; padding-top: 14px; border-top: 1px dashed var(--line); }
.tech-exp p { margin: 0 0 8px; font-size: 0.9rem; color: var(--body); }
.tech-exp .exp-meta { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.03em; color: var(--teal-ink); font-weight: 600; }
.has-panel .tech-exp { display: none; }

/* shared detail panel below the grid */
.tech-detail {
  margin-top: 24px; border: 1px solid var(--line); border-left: 3px solid var(--teal);
  border-radius: var(--radius-sm); background: #fff; padding: 26px 30px; box-shadow: var(--shadow-sm);
  min-height: 96px; display: flex; flex-direction: column; justify-content: center;
}
.tech-detail .td-hint { color: var(--muted); font-style: italic; margin: 0; }
.tech-detail p { color: var(--body); margin: 0 0 12px; font-size: 1.04rem; max-width: 820px; }
.tech-detail .exp-meta { display: inline-block; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--teal-ink); font-weight: 600; }

/* Industries */
.industry { padding: 38px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .28s; }
.section.alt .industry { background: #fff; }
.industry:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--line-soft); }
.industry .ico { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px; background: var(--navy); }
.industry .ico svg { width: 26px; height: 26px; stroke: var(--teal-2); }
.industry h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: var(--ink); margin-bottom: 10px; }
.industry p { color: var(--body); font-size: 0.94rem; }

/* Philosophy band */
.philosophy {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 56px; background: #fff; position: relative; overflow: hidden;
}
.philosophy::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad-teal); }
.philosophy .badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 22px;
}
.philosophy h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--ink); margin-bottom: 18px; letter-spacing: -0.01em; }
.philosophy p { color: var(--body); max-width: 780px; font-size: 1.04rem; }
.philosophy p + p { margin-top: 16px; }
.philosophy em { color: var(--ink); font-style: italic; }

/* ---------------- About ---------------- */
.about-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 60px; align-items: center; }
.about-photo { position: relative; }
.about-photo img {
  width: 100%; border-radius: 16px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.about-caption { margin-top: 20px; text-align: center; }
.about-caption b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.01em; color: var(--ink); }
.about-titles { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; max-width: 380px; }
.about-titles span { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.02em; color: var(--teal-ink); background: rgba(87,196,188,0.1); border: 1px solid rgba(87,196,188,0.28); border-radius: 100px; padding: 4px 11px; }
.about-body .eyebrow { margin-bottom: 16px; }
.about-body .section-title { margin-bottom: 18px; }
.about-lead { font-size: 1.12rem; color: var(--body); margin: 0 0 28px; max-width: 580px; }
.about-lead em { font-style: italic; color: var(--ink); }
.about-points { display: grid; gap: 22px; margin-bottom: 28px; }
.about-points li { display: flex; gap: 16px; align-items: flex-start; }
.about-points .ico { width: 42px; height: 42px; flex: none; border-radius: 10px; background: rgba(87,196,188,0.12); display: grid; place-items: center; }
.about-points .ico svg { width: 21px; height: 21px; stroke: var(--teal-deep); }
.about-points div { color: var(--body); font-size: 0.98rem; }
.about-points b { color: var(--ink); font-weight: 650; }
.about-close { color: var(--body); font-size: 1rem; border-left: 3px solid var(--teal); padding-left: 18px; max-width: 620px; font-style: italic; }
@media (max-width: 860px){
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-photo { max-width: 360px; }
}

/* ---------------- Artifact page ---------------- */
.artifact-hero { background: var(--navy); color: var(--on-navy); padding: 168px 0 80px; position: relative; }
.artifact-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--grad-teal); }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--on-navy-soft); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--teal-2); }
.breadcrumb .sep { opacity: .5; }
.artifact-hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 20px; max-width: 900px; }
.artifact-hero h1 .accent, .artifact-hero h1 .gradient-text { color: var(--teal-2); font-style: italic; font-weight: 400; }
.artifact-hero .section-sub { color: var(--on-navy-soft); }

.demo-flag {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal-2); padding: 8px 15px; border-radius: 100px;
  border: 1px solid rgba(138,216,208,0.35); background: rgba(87,196,188,0.1); margin-bottom: 24px;
}
.demo-flag svg { width: 14px; height: 14px; stroke: var(--teal-2); }

/* Executive summary */
.exec-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; margin: 44px 0 10px; box-shadow: var(--shadow); position: relative; }
.exec-summary::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-teal); border-radius: 4px 0 0 4px; }
.exec-summary .label { font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 14px; }
.exec-summary p { color: var(--body); font-size: 1.05rem; max-width: 840px; }
.exec-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 22px; margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
.exec-metrics .m .v { font-family: var(--serif); font-weight: 500; font-size: 2rem; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.exec-metrics .m .k { font-size: 0.82rem; color: var(--muted); margin-top: 8px; }

/* Content blocks */
.block { margin: 52px 0; }
.block > h2 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 20px; display: flex; align-items: center; gap: 14px; }
.block > h2 .idx { font-family: var(--mono); font-size: 0.8rem; color: var(--teal-deep); font-weight: 500; background: rgba(87,196,188,0.12); border-radius: 6px; padding: 5px 10px; }
.block p { color: var(--body); margin-bottom: 14px; max-width: 860px; }

.checklist { display: grid; gap: 12px; max-width: 880px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; color: var(--body); font-size: 0.97rem; transition: .2s; }
.checklist li:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.checklist li::before {
  content: ""; width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: 6px; background: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist li b { color: var(--ink); font-weight: 650; }

.constraints { display: grid; gap: 12px; max-width: 880px; }
.constraints li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg-alt); color: var(--body); font-size: 0.97rem; }
.constraints li::before {
  content: ""; width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: 6px;
  background: var(--muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.6 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.6a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E") center / 15px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.6 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.6a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* Placeholders — diagrams */
.ph-diagram { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); padding: 34px 30px 30px; position: relative; margin-top: 6px; }
.ph-diagram::after { content: attr(data-label); position: absolute; top: 14px; left: 20px; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.flow { display: flex; align-items: center; gap: 0; flex-wrap: wrap; margin-top: 24px; justify-content: center; }
.flow .node { flex: 1; min-width: 120px; text-align: center; padding: 18px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: 0.86rem; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); }
.flow .node small { display: block; font-family: var(--mono); font-size: 0.64rem; color: var(--muted); margin-top: 5px; font-weight: 400; }
.flow .node.keystone { border-color: var(--teal); box-shadow: 0 6px 18px rgba(87,196,188,0.28); }
.flow .node.keystone small { color: var(--teal-ink); }
.flow .arw { flex: none; width: 42px; text-align: center; color: var(--teal-deep); font-size: 1.2rem; font-weight: 700; }
@media (max-width: 720px){ .flow .arw { transform: rotate(90deg); width: 100%; padding: 6px 0; } .flow .node { min-width: 100%; } }

/* ============ Interactive dashboard framework (reusable) ============ */
.dash { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); margin-top: 6px; }
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; background: #3a4356; color: #fff; }
.dash-title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.98rem; }
.dash-title::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.dash-sub { font-family: var(--mono); font-size: 0.72rem; color: var(--on-navy-soft); letter-spacing: 0.08em; }
.dash-filter { display: flex; flex-wrap: wrap; gap: 7px; padding: 14px 20px 0; }
.dash-tab { font: inherit; cursor: pointer; font-size: 0.76rem; font-weight: 600; padding: 7px 13px; border-radius: 100px; border: 1px solid var(--line); background: #fff; color: var(--body); transition: .18s; }
.dash-tab:hover { border-color: var(--teal); color: var(--teal-deep); }
.dash-tab.active { background: var(--teal); border-color: var(--teal); color: #0f2e2b; }
.dash-body { padding: 18px 20px 22px; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dash-kpis .kpi { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: var(--bg-alt); }
.dash-kpis .kpi .v { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.dash-kpis .kpi .v.good { color: var(--teal-ink); }
.dash-kpis .kpi .v.bad { color: #cf4436; }
.dash-kpis .kpi .k { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.dash-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.chart { border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.chart-h { font-size: 0.82rem; font-weight: 700; color: var(--ink); margin-bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.chart-h .chart-unit { font-family: var(--mono); font-size: 0.66rem; color: var(--muted); font-weight: 500; }
/* bar chart */
.bars { display: flex; align-items: flex-end; gap: 10px; height: 170px; }
.bars .bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; cursor: pointer; height: 100%; justify-content: flex-end; }
.bars .bar .col { width: 100%; max-width: 34px; border-radius: 5px 5px 0 0; background: linear-gradient(0deg, rgba(87,196,188,0.4), var(--teal)); transition: filter .18s, background .18s; }
.bars .bar:hover .col { filter: brightness(1.06); }
.bars .bar.sel .col { background: linear-gradient(0deg, var(--teal-deep), var(--teal)); }
.bars .bar.dim .col { opacity: 0.38; }
.bars .bar .lab { font-family: var(--mono); font-size: 0.62rem; color: var(--muted); }
/* line chart */
.linechart { position: relative; min-height: 170px; display: flex; flex-direction: column; }
.linechart svg { width: 100%; flex: 1 1 auto; min-height: 118px; display: block; overflow: visible; }
.linechart .dot { cursor: pointer; }
.line-x { display: flex; justify-content: space-between; padding: 6px 2px 0; }
.line-x span { font-family: var(--mono); font-size: 0.55rem; color: var(--muted); letter-spacing: .01em; }
.line-lgnd { display: flex; gap: 14px; justify-content: center; align-items: center; padding-top: 8px; font-family: var(--mono); font-size: 0.6rem; color: var(--muted); }
.line-lgnd i { display: inline-block; width: 15px; height: 0; border-top-width: 2px; vertical-align: middle; margin-right: 5px; }
.line-lgnd b { color: var(--teal-ink); font-weight: 700; }
/* tooltip */
.dash-tip { position: fixed; z-index: 1200; pointer-events: none; background: #232a37; color: #fff; font-size: 0.74rem; padding: 7px 11px; border-radius: 7px; box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, -120%); transition: opacity .12s; white-space: nowrap; }
.dash-tip b { color: var(--teal-2); }
.dash-tip.show { opacity: 1; }
/* drill-through */
.dash-drill { margin-top: 16px; border: 1px solid var(--teal); border-radius: 10px; overflow: hidden; }
.drill-h { display: flex; align-items: center; justify-content: space-between; padding: 11px 16px; background: rgba(87,196,188,0.09); font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.drill-h .drill-branch { color: var(--teal-ink); }
.drill-close { font: inherit; cursor: pointer; font-size: 0.7rem; font-weight: 600; color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px; }
.drill-close:hover { color: var(--teal-deep); border-color: var(--teal); }
.drill-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.drill-table th { text-align: left; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 9px 16px; border-bottom: 1px solid var(--line); font-weight: 600; }
.drill-table td { padding: 9px 16px; border-bottom: 1px solid var(--line-soft); color: var(--body); }
.drill-table tr:last-child td { border-bottom: none; }
.drill-table .pill { display: inline-block; font-size: 0.68rem; font-weight: 700; padding: 2px 9px; border-radius: 100px; }
.drill-table .pill.ok { background: #e4f5f2; color: var(--teal-ink); }
.drill-table .pill.late { background: #fbeceb; color: #c0564c; }
/* a4- SSRS modernization dashboards */
.a4-sortable { cursor: pointer; user-select: none; white-space: nowrap; }
.a4-sortable:hover { color: var(--teal-ink); }
.a4-sortable .a4-arrow { opacity: 0; margin-left: 5px; font-size: 0.7em; }
.a4-sortable.a4-asc .a4-arrow, .a4-sortable.a4-desc .a4-arrow { opacity: 1; color: var(--teal-ink); }
.a4-sortable.a4-desc .a4-arrow::after { content: "\25BC"; }
.a4-sortable.a4-asc .a4-arrow::after { content: "\25B2"; }
.a4-health { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.a4-health .kpi { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: var(--bg-alt); }
.a4-health .kpi .v { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
.a4-health .kpi .v.good { color: var(--teal-ink); }
.a4-health .kpi .k { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
@media (max-width: 720px){ .a4-health { grid-template-columns: 1fr; } }
@media (max-width: 720px){
  .dash-kpis { grid-template-columns: repeat(2,1fr); }
  .dash-charts { grid-template-columns: 1fr; }
}

/* dashboard donut + gauge visuals */
.donut,.gauge{display:flex;align-items:center;justify-content:center;min-height:170px}
.donut-wrap{display:flex;align-items:center;gap:18px;flex-wrap:wrap;justify-content:center}
.donut-ring{position:relative;width:128px;height:128px;flex:none}
.donut-ring svg{position:absolute;inset:0;width:100%;height:100%}
.donut-ring circle{cursor:pointer;transition:opacity .15s}
.donut-ring:hover circle{opacity:.55}
.donut-ring circle:hover{opacity:1}
.donut-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}
.donut-center b{font-family:var(--serif);font-weight:600;font-size:1.35rem;color:var(--ink);line-height:1}
.donut-center span{font-family:var(--mono);font-size:.58rem;color:var(--muted);margin-top:2px}
.donut-legend{display:flex;flex-direction:column;gap:7px}
.donut-legend span{display:flex;align-items:center;gap:8px;font-size:.76rem;color:var(--body)}
.donut-legend i{width:11px;height:11px;border-radius:3px;flex:none}
.donut-legend b{color:var(--ink);margin-left:3px}

/* dashboard controls — RLS selector, time-intelligence, bookmarks, refresh */
.dash-refresh{display:flex;align-items:center;gap:6px;font-family:var(--mono);font-size:.7rem;color:var(--on-navy-soft)}
.dash-ctrls{display:flex;flex-wrap:wrap;gap:22px;align-items:center;padding:15px 20px 2px}
.dash-ctrls .ctrl{display:flex;align-items:center;gap:9px}
.dash-ctrls label{font-family:var(--mono);font-size:.6rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.dash-ctrls select{font:inherit;font-size:.82rem;padding:7px 12px;border-radius:8px;border:1px solid var(--line);background:#fff;color:var(--ink);cursor:pointer}
.seg{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.seg button{font:inherit;font-size:.74rem;font-weight:600;padding:7px 13px;border:none;border-right:1px solid var(--line);background:#fff;color:var(--body);cursor:pointer}
.seg button:last-child{border-right:none}
.seg button.active{background:var(--teal);color:#0f2e2b}
.bm{font:inherit;font-size:.74rem;font-weight:600;padding:7px 12px;border-radius:100px;border:1px solid var(--line);background:#fff;color:var(--body);cursor:pointer;transition:.18s}
.bm:hover{border-color:var(--teal);color:var(--teal-deep)}
.dash-rls-note{display:flex;align-items:center;gap:9px;padding:13px 20px;border-top:1px solid var(--line);background:rgba(87,196,188,.05);font-size:.83rem;color:var(--body)}
.dash-rls-note b{color:var(--teal-ink)}
.dash-rls-note .lk{color:var(--teal-deep);flex:none}
@media (max-width:720px){.dash-ctrls{gap:14px}}

/* ERD (star-schema entity-relationship diagram) */
.erd { width: 100%; height: auto; display: block; margin-top: 6px; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); }

/* Star schema */
.star { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; align-items: center; }
.star .fact { grid-column: 2; text-align: center; padding: 22px; border: 1.5px solid var(--teal); border-radius: var(--radius-sm); background: rgba(87,196,188,0.08); font-weight: 700; color: var(--ink); box-shadow: 0 6px 18px rgba(87,196,188,0.22); }
.star .dim { text-align: center; padding: 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: 0.85rem; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); }
.star .dim small, .star .fact small { display: block; font-family: var(--mono); font-size: 0.62rem; color: var(--muted); font-weight: 400; margin-top: 4px; }
@media (max-width: 600px){ .star { grid-template-columns: 1fr; } .star .fact { grid-column: 1; } }

/* Screenshot / image placeholder */
.ph-img { border: 1px solid var(--line); border-radius: var(--radius); min-height: 240px; display: grid; place-items: center; background: var(--bg-alt); color: var(--muted); text-align: center; overflow: hidden; }
.ph-img img { width: 100%; height: 100%; object-fit: cover; }
.ph-img .inner { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px; }
.ph-img svg { width: 40px; height: 40px; stroke: var(--muted); }
.ph-img b { font-weight: 650; color: var(--body); font-size: 0.96rem; }
.ph-img span { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* Code blocks (refined dark slate, muted syntax) */
.code { border: 1px solid var(--navy-deep); border-radius: var(--radius); overflow: hidden; background: #222835; margin: 8px 0; box-shadow: var(--shadow); }
.code .bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid rgba(255,255,255,0.08); background: #1c222d; }
.code .bar .dots { display: flex; gap: 6px; }
.code .bar .dots i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: #3a4250; }
.code .bar .lang { margin-left: auto; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--teal-2); padding: 3px 10px; border: 1px solid rgba(138,216,208,0.3); border-radius: 5px; }
.code .bar .fname { font-family: var(--mono); font-size: 0.75rem; color: #8b95a6; }
.code pre { margin: 0; padding: 22px; overflow-x: auto; font-family: var(--mono); font-size: 0.82rem; line-height: 1.75; color: #cdd6e4; }
.code pre .c { color: #6b7688; font-style: italic; }
.code pre .k { color: #8ad8d0; }
.code pre .f { color: #9fd0e9; }
.code pre .s { color: #b6d99a; }
.code pre .n { color: #e0b48a; }
.code .ph-note { padding: 11px 18px; border-top: 1px dashed rgba(255,255,255,0.1); font-family: var(--mono); font-size: 0.68rem; color: #7f8a9c; letter-spacing: 0.04em; }

/* Scorecard */
.scorecard { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.scorecard .s { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.scorecard .s .k { font-size: 0.82rem; color: var(--muted); margin-bottom: 8px; }
.scorecard .s .v { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; letter-spacing: -0.02em; color: var(--ink); }
.scorecard .s .track { height: 6px; border-radius: 4px; background: var(--bg-alt-2); margin-top: 12px; overflow: hidden; }
.scorecard .s .track i { display: block; height: 100%; border-radius: 4px; background: var(--grad-teal); }
.scorecard .s.good .v { color: var(--teal-ink); }
.scorecard .s.warn .v { color: #c98a2e; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; } }

/* Next-artifact nav */
.artifact-next { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.artifact-next a { flex: 1; min-width: 240px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: .26s; }
.artifact-next a:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-3px); }
.artifact-next .dir { font-family: var(--sans); font-size: 0.7rem; font-weight: 600; color: var(--teal-deep); letter-spacing: 0.12em; text-transform: uppercase; }
.artifact-next b { display: block; margin-top: 8px; font-family: var(--serif); font-weight: 500; font-size: 1.1rem; color: var(--ink); }
.artifact-next.end { justify-content: flex-end; }

/* ---------------- Footer ---------------- */
.footer { background: var(--bg-alt); border-top: 6px solid transparent; border-image: var(--grad-teal) 1; padding: 72px 0 44px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 44px; margin-bottom: 48px; }
.footer .brand { color: var(--ink); }
.footer .brand small { color: var(--muted); }
.footer h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.footer .about p { color: var(--body); font-size: 0.95rem; max-width: 360px; margin-top: 18px; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { color: var(--body); font-size: 0.92rem; transition: .2s; }
.footer ul a:hover { color: var(--teal-deep); }
.footer .social { display: flex; gap: 11px; margin-top: 20px; }
.footer .social a { width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--line); display: grid; place-items: center; background: #fff; transition: .26s; }
.footer .social a:hover { border-color: var(--teal); transform: translateY(-3px); }
.footer .social svg { width: 18px; height: 18px; stroke: var(--body); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 30px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.footer-bottom .disclaimer { max-width: 640px; font-size: 0.8rem; font-style: italic; }

/* ---------------- Scroll reveal (degradation-safe: hidden ONLY once JS marks .anim-ready) ---------------- */
.reveal { transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.anim-ready .reveal { opacity: 0; transform: translateY(24px); }
.anim-ready .reveal.in, .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
.reveal.d4 { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad-teal); z-index: 1100; }

/* ---------------- Responsive ---------------- */
@media (max-width: 940px){
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer .about { grid-column: 1 / -1; }
}
@media (max-width: 760px){
  .nav-links {
    position: fixed; top: 70px; right: 16px; left: 16px;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px; border-radius: var(--radius);
    background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { color: var(--body); }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 74px 0; }
  .hero { padding: 170px 0 96px; }
  .exec-metrics { grid-template-columns: repeat(2,1fr); }
  .philosophy { padding: 38px; }
}
@media (max-width: 480px){
  .exec-metrics { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
}
