/* =========================================================
   PKNB CONSULT — Shared stylesheet
   Aesthetic: Refined industrial-tech. Matte black, deep green,
   antique gold, blueprint grids, editorial typography.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=JetBrains+Mono:wght@300;400;500&family=Inter+Tight:wght@300;400;500;600&display=swap');

:root {
  --bg: #0a0c0b;
  --bg-elev: #111513;
  --bg-card: #151a18;
  --ink: #ebe6d8;
  --ink-dim: #9a9387;
  --ink-mute: #5a574e;
  --gold: #c9a35a;
  --gold-bright: #e3bd72;
  --green: #1f4d3a;
  --green-bright: #2f7a59;
  --rule: #2a2c28;
  --rule-soft: #1c1e1b;
  --warn: #d97a3c;

  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Inter Tight', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --maxw: 1280px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Blueprint background grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 163, 90, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 163, 90, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

main, header, footer, section { position: relative; z-index: 1; }

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 6vw, 5.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { color: var(--ink-dim); max-width: 65ch; }

a { color: inherit; text-decoration: none; }

.serif-italic { font-style: italic; font-family: var(--font-display); color: var(--gold); }

.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
}

/* ---------- Layout helpers ---------- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(4rem, 10vw, 8rem) 0;
  border-top: 1px solid var(--rule-soft);
}

.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 11, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule-soft);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.brand img {
  height: 48px;
  max-height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  mix-blend-mode: screen; /* Helps blend non-transparent dark backgrounds */
  filter: contrast(1.1); /* Sharpens the raster image slightly */
}

.brand__mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transform: rotate(-2deg);
}

.brand__name { color: var(--ink); }
.brand__sub { color: var(--ink-mute); font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; margin-left: 0.2rem; font-weight: 400; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav__links a {
  color: var(--ink-dim);
  transition: color 0.2s ease;
  position: relative;
  padding: 0.3rem 0;
}

.nav__links a:hover { color: var(--gold); }
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px; background: var(--gold);
}

.nav__cta {
  background: var(--gold);
  color: var(--bg);
  padding: 0.7rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.2s ease;
}
.nav__cta:hover { background: var(--gold-bright); }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav__links.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem var(--gutter);
    background: var(--bg-elev);
    border-bottom: 1px solid var(--rule);
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn:hover { background: var(--gold); color: var(--bg); }

.btn--primary {
  background: var(--gold);
  color: var(--bg);
}
.btn--primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); }

.btn--ghost {
  border-color: var(--rule);
  color: var(--ink-dim);
}
.btn--ghost:hover { color: var(--ink); border-color: var(--gold); background: transparent; }

.btn__arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 8vw, 6rem);
  overflow: hidden;
  background: var(--bg);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 12, 11, 0.8) 20%, rgba(10, 12, 11, 0.3) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

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

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.03em;
  margin: 1.5rem 0 1.5rem;
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero__lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--ink-dim);
  max-width: 48ch;
  margin-bottom: 2rem;
}

.hero__cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__meta {
  border-left: 1px solid var(--rule);
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.hero__meta-item .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero__meta-item .value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
}
.hero__meta-item .value em { color: var(--gold); font-style: italic; }

/* Hero decorative SVG layer */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
  filter: grayscale(100%) contrast(1.1);
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

/* ---------- Stat strip ---------- */

.stats {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 2.5rem 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
@media (max-width: 760px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
}

/* ---------- Section heading ---------- */

.sec-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3.5rem;
}
@media (max-width: 880px) {
  .sec-head { grid-template-columns: 1fr; gap: 1.5rem; }
}

.sec-head h2 { max-width: 18ch; }
.sec-head h2 em { font-style: italic; color: var(--gold); font-weight: 400; }
.sec-head p { font-size: 1.05rem; }

/* ---------- Service / card grid ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

.svc-card {
  background: var(--bg);
  padding: 2.2rem 1.8rem 2rem;
  transition: background 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 320px;
}
.svc-card:hover { background: var(--bg-elev); }

.svc-card__num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.svc-card h3 { font-size: 1.4rem; }
.svc-card h3 em { font-style: italic; color: var(--gold); font-weight: 400; }
.svc-card p { font-size: 0.93rem; flex: 1; }
.svc-card__link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  margin-top: 0.5rem;
  transition: color 0.2s ease;
}
.svc-card__link:hover { color: var(--gold); }

/* ---------- Industry tags grid ---------- */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 880px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }

.industry {
  border: 1px solid var(--rule);
  padding: 1.6rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.industry:hover { border-color: var(--gold); transform: translateY(-2px); }
.industry__icon {
  width: 36px; height: 36px;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.industry__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}
.industry__note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------- Why us split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.pillars { display: flex; flex-direction: column; }
.pillar {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.pillar:last-child { border-bottom: 1px solid var(--rule); }
.pillar__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  padding-top: 0.3rem;
}
.pillar h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.pillar p { font-size: 0.92rem; color: var(--ink-dim); }

/* ---------- CTA strip ---------- */

.cta-strip {
  border-top: 1px solid var(--rule);
  background:
    radial-gradient(ellipse at 80% 30%, rgba(31, 77, 58, 0.35), transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(201, 163, 90, 0.12), transparent 60%),
    var(--bg);
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}

.cta-strip__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 880px) { .cta-strip__inner { grid-template-columns: 1fr; } }

.cta-strip h2 { max-width: 18ch; }
.cta-strip h2 em { font-style: italic; color: var(--gold); font-weight: 400; }

/* ---------- Footer ---------- */

.footer {
  background: #050605;
  border-top: 1px solid var(--rule);
  padding: 4rem 0 2rem;
  margin-top: 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

.footer h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer a {
  color: var(--ink-dim);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer a:hover { color: var(--gold); }

.footer__tag {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.footer__about { font-size: 0.92rem; color: var(--ink-dim); }

.footer__bottom {
  border-top: 1px solid var(--rule-soft);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}

/* ---------- Inner page header ---------- */

.page-head {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 5vw, 4rem);
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.page-head__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: end;
}
@media (max-width: 880px) { .page-head__inner { grid-template-columns: 1fr; } }

.page-head h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin: 1rem 0 1rem;
}
.page-head h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.page-head p { font-size: 1.05rem; color: var(--ink-dim); max-width: 55ch; }

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.breadcrumb a { color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Service detail page ---------- */

.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 880px) { .svc-detail { grid-template-columns: 1fr; } }

.svc-detail__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1.5rem;
}
@media (max-width: 600px) { .svc-detail__list { grid-template-columns: 1fr; } }

.svc-detail__list li {
  font-size: 0.95rem;
  color: var(--ink-dim);
  padding-left: 1.2rem;
  position: relative;
}
.svc-detail__list li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-family: var(--font-mono);
}

.benefits {
  margin-top: 2.5rem;
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
}
.benefits h4 { color: var(--gold); margin-bottom: 1rem; font-size: 0.92rem; font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.benefits ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.benefits li { font-size: 0.95rem; color: var(--ink); padding-left: 1.2rem; position: relative; }
.benefits li::before { content: '→'; position: absolute; left: 0; color: var(--gold); }

/* ---------- Contact form ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-block { display: flex; flex-direction: column; gap: 1.8rem; }
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule-soft);
}
.contact-item:last-child { border-bottom: none; }
.contact-item .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact-item .value { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.contact-item a:hover { color: var(--gold); }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}
.form-field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.form-field input, .form-field textarea, .form-field select {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  color: var(--ink);
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--gold);
}
.form-field textarea { min-height: 140px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- About page leadership card ---------- */

.lead-card {
  border: 1px solid var(--rule);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
  background: var(--bg-elev);
}
@media (max-width: 880px) { .lead-card { grid-template-columns: 1fr; } }

.lead-card__avatar {
  width: 100%;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 30% 30%, rgba(201, 163, 90, 0.15), transparent 60%),
    var(--bg);
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-style: italic;
}
.lead-card h3 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.lead-card .role { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; display: block; }
.lead-card p { margin-bottom: 1rem; }
.lead-card ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1.5rem; margin-top: 1rem; }
@media (max-width: 600px) { .lead-card ul { grid-template-columns: 1fr; } }
.lead-card ul li { font-size: 0.9rem; color: var(--ink-dim); padding-left: 1.1rem; position: relative; }
.lead-card ul li::before { content: '·'; position: absolute; left: 0; color: var(--gold); font-size: 1.3rem; line-height: 1; }

/* ---------- Value tiles ---------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 760px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .values-grid { grid-template-columns: 1fr; } }

.value {
  border-left: 2px solid var(--gold);
  padding: 0.4rem 0 0.4rem 1.2rem;
}
.value h5 { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); margin-bottom: 0.3rem; font-weight: 500; }
.value p { font-size: 0.88rem; color: var(--ink-dim); }

/* ---------- Project cards ---------- */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 760px) { .projects-grid { grid-template-columns: 1fr; } }

.project {
  border: 1px solid var(--rule);
  padding: 2rem 1.8rem;
  transition: border-color 0.25s ease;
  background: var(--bg-elev);
}
.project:hover { border-color: var(--gold); }
.project__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.project__sector { color: var(--gold); }
.project__year { color: var(--ink-mute); }
.project h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.project p { font-size: 0.92rem; }
.project__outcome {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.project__outcome em { color: var(--gold); font-style: italic; }

/* ---------- Insights ---------- */

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 880px) { .insights-grid { grid-template-columns: 1fr; } }

.insight {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
}
.insight__date { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.insight h3 { font-size: 1.3rem; line-height: 1.2; }
.insight p { font-size: 0.9rem; }
.insight__read {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: auto;
}

/* ---------- Decorative SVG aesthetics ---------- */

.deco-line { stroke: var(--gold); stroke-width: 0.5; fill: none; }
.deco-line--soft { stroke: var(--ink-mute); }

/* ---------- Reveal animation ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.reveal--1 { animation-delay: 0.05s; }
.reveal--2 { animation-delay: 0.18s; }
.reveal--3 { animation-delay: 0.32s; }
.reveal--4 { animation-delay: 0.45s; }

/* ---------- Misc ---------- */

::selection { background: var(--gold); color: var(--bg); }

/* Floating WhatsApp Button (Themed) */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: var(--bg-card);
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  background-color: var(--gold);
  color: var(--bg);
  box-shadow: 0 15px 40px rgba(201, 163, 90, 0.3);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  display: block;
}

@media (max-width: 760px) {
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
  
  /* Footer Mobile Cleanup: Hide Practice and Company columns */
  .footer__grid > div:nth-child(2),
  .footer__grid > div:nth-child(3) {
    display: none;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


/* ==========================================================================
   Article Specific Styles (Imported from journal.css)
   ========================================================================== */

/* ---------- article head --------------------------------------------- */
.article-head{max-width:var(--maxw);margin:0 auto;padding:30px var(--gutter) 0}
.kicker{
  font-family:var(--font-mono);
  font-size:12px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;
  color:var(--gold);margin-bottom:22px;
}
h1.title{
  font-family:var(--font-display);
  font-size:clamp(30px,5vw,46px);
  line-height:1.16;font-weight:600;color:var(--ink);
  letter-spacing:-.015em;margin-bottom:20px;
}
h1.title em{font-style:italic;color:var(--gold);font-weight:600}
.standfirst{
  font-family:var(--font-body);
  font-size:clamp(19px,2.3vw,22px);
  line-height:1.55;color:var(--ink-dim);font-style:italic;
  margin-bottom:30px;
}
.byline{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;
  font-family:var(--font-mono);
  font-size:13px;color:var(--ink-mute);letter-spacing:.02em;
  border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);
  padding:16px 0;margin-bottom:0;text-transform:uppercase;
}
.byline strong{color:var(--ink);font-weight:600}
.byline .dot{color:var(--rule)}

/* ---------- article body ---------------------------------------------- */
.body{padding:42px var(--gutter) 20px; max-width:800px; margin:0 auto;}
.body p{margin:0 0 22px;color:var(--ink-dim); font-size:1.15rem; line-height:1.7;}
.body p.lead:first-of-type{font-size:1.25rem;line-height:1.65;color:var(--ink)}
.body p.lead:first-of-type::first-letter{
  font-size:64px;line-height:.78;font-weight:600;color:var(--gold);
  float:left;padding:6px 12px 0 0;font-family:var(--font-display);
}
.body h2{
  font-family:var(--font-display);
  font-size:clamp(22px,3vw,27px);
  line-height:1.25;font-weight:600;color:var(--ink);
  margin:46px 0 16px;letter-spacing:-.01em;
}
.body h3{
  font-family:var(--font-display);
  font-size:19px;font-weight:700;font-style:italic;color:var(--ink);
  margin:32px 0 10px;
}
.body strong{font-weight:700;color:var(--ink)}
.body em{font-style:italic; color:var(--gold);}
.body ul{margin:0 0 24px;padding-left:0;list-style:none}
.body ul li{
  position:relative;padding-left:28px;margin-bottom:12px;color:var(--ink-dim); font-size:1.15rem;
}
.body ul li::before{
  content:"";position:absolute;left:2px;top:.62em;
  width:9px;height:1px;background:var(--gold);
}
.body ul li strong:first-child{color:var(--ink)}

blockquote{
  margin:34px 0;padding:4px 0 4px 26px;
  border-left:3px solid var(--gold);
  font-style:italic;font-size:20px;line-height:1.55;color:var(--ink-dim);
}
.callout{
  background:var(--bg-elev);
  border-left:4px solid var(--gold);
  padding:24px 28px;margin:34px 0;border-radius:0 3px 3px 0;
}
.callout p{margin:0;font-size:18px;color:var(--ink-dim)}
.callout p strong{color:var(--ink)}

hr.sec{border:0;height:1px;background:var(--rule);margin:46px 0}

.editor-note{
  font-family:var(--font-body);
  font-size:14px;line-height:1.6;color:var(--ink-mute);
  background:var(--bg-card);border:1px solid var(--rule);
  padding:18px 22px;border-radius:3px;margin:38px 0 0;
}
.editor-note strong{color:var(--ink-dim)}

/* ---------- end-of-article ------------------------------------------- */
.sign{
  margin:46px 0 0;padding-top:26px;border-top:1px solid var(--rule);
  font-family:var(--font-mono);
  font-size:14px;color:var(--ink-mute);
}
.sign strong{color:var(--ink);font-weight:600}

/* progress bar */
.progress{
  position:fixed;top:0;left:0;height:2px;width:0;background:var(--gold);
  z-index:60;transition:width .1s linear;
}

/* ---------- technical figures / schematics --------------------------- */
figure.schematic{
  margin:42px 0;
}
figure.schematic .frame{
  background:#0a0e14;
  border:1px solid #1a2533;
  border-radius:4px;
  padding:30px 26px 24px;
  position:relative;
  overflow:hidden;
}
figure.schematic .frame::before{
  content:"";position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(120,150,190,.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(120,150,190,.04) 1px,transparent 1px);
  background-size:26px 26px;
  pointer-events:none;
}
figure.schematic svg{
  display:block;width:100%;height:auto;position:relative;z-index:1;
}
figure.schematic .corner{
  position:absolute;width:14px;height:14px;border-color:#2c3d52;
  border-style:solid;border-width:0;z-index:2;
}
figure.schematic .corner.tl{top:10px;left:10px;border-top-width:2px;border-left-width:2px}
figure.schematic .corner.tr{top:10px;right:10px;border-top-width:2px;border-right-width:2px}
figure.schematic .corner.bl{bottom:10px;left:10px;border-bottom-width:2px;border-left-width:2px}
figure.schematic .corner.br{bottom:10px;right:10px;border-bottom-width:2px;border-right-width:2px}
figure.schematic figcaption{
  font-family:var(--font-body);
  font-size:13px;line-height:1.55;color:var(--ink-dim);
  margin-top:14px;padding-left:14px;border-left:2px solid var(--gold);
}
figure.schematic figcaption b{
  color:var(--ink);font-weight:700;letter-spacing:.04em;
  text-transform:uppercase;font-size:11px;margin-right:8px;
}

.sk-line{stroke:#5b7da6;stroke-width:1.5;fill:none}
.sk-line-2{stroke:#8fb0d4;stroke-width:1.5;fill:none}
.sk-accent{stroke:#e9a766;stroke-width:2;fill:none}
.sk-accent-f{fill:#e9a766}
.sk-bad{stroke:#d9694e;stroke-width:2;fill:none}
.sk-bad-f{fill:#d9694e}
.sk-good{stroke:#5fae84;stroke-width:2;fill:none}
.sk-good-f{fill:#5fae84}
.sk-fill{fill:#121a26;stroke:#27364d;stroke-width:1.5}
.sk-fill-2{fill:#152131;stroke:#2c3d52;stroke-width:1}
.sk-dash{stroke:#5b7da6;stroke-width:1.2;fill:none;stroke-dasharray:4 4}
.sk-t{fill:#aab9cc;font-family:var(--font-body);font-size:13px}
.sk-t-s{fill:#7d8fa6;font-family:var(--font-body);font-size:11px}
.sk-t-a{fill:#e9a766;font-family:var(--font-body);font-size:12px;font-weight:600}
.sk-t-ttl{fill:#dfe7f0;font-family:var(--font-body);font-size:12px;font-weight:700;letter-spacing:.12em}

@media(max-width:760px){
  figure.schematic .frame{padding:20px 14px 16px}
  .sk-t,.sk-t-a{font-size:12px}.sk-t-s{font-size:10px}
  .body p.lead:first-of-type::first-letter{font-size:54px}
}

.sk-draw{
  stroke-dasharray:2600;
  stroke-dashoffset:2600;
  animation:sk-plot 4.2s ease-out forwards;
}
.sk-draw.d2{animation-duration:3.4s;animation-delay:.25s}
.sk-draw.d3{animation-duration:3.0s;animation-delay:.5s}
@keyframes sk-plot{to{stroke-dashoffset:0}}

.sk-cursor{
  opacity:0;
  animation:sk-cursor-in .4s ease 3.6s forwards, sk-cursor-pulse 1.8s ease-in-out 4s infinite;
}
@keyframes sk-cursor-in{from{opacity:0}to{opacity:1}}
@keyframes sk-cursor-pulse{0%,100%{r:4}50%{r:6}}

.sk-rise{
  transform-box:fill-box;
  transform-origin:bottom;
  animation:sk-rise 1.8s cubic-bezier(.22,1,.36,1) .3s both;
}
@keyframes sk-rise{from{transform:scaleY(0);opacity:0}to{transform:scaleY(1);opacity:1}}

.sk-flow{
  stroke-dasharray:9 11;
  animation:sk-flow 1.1s linear infinite;
}
.sk-flow.slow{animation-duration:2.4s}
.sk-flow.bleed{animation-duration:.7s}
@keyframes sk-flow{to{stroke-dashoffset:-40}}

.sk-late{opacity:0;animation:sk-late .6s ease forwards}
.sk-late.l1{animation-delay:1.6s}
.sk-late.l2{animation-delay:2.2s}
.sk-late.l3{animation-delay:3.8s}
@keyframes sk-late{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}

figure.schematic .frame:hover .sk-draw{
  animation:sk-plot 3s ease-out forwards;
}

@media (prefers-reduced-motion: reduce){
  .sk-draw,.sk-draw.d2,.sk-draw.d3{
    stroke-dashoffset:0;animation:none;
  }
  .sk-cursor{opacity:1;animation:none}
  .sk-rise{transform:none;opacity:1;animation:none}
  .sk-flow,.sk-flow.slow,.sk-flow.bleed{animation:none;stroke-dasharray:none}
  .sk-late,.sk-late.l1,.sk-late.l2,.sk-late.l3{opacity:1;animation:none}
  figure.schematic .frame:hover .sk-draw{animation:none}
}
