/* Shared stylesheet for the consulting innovation portfolio pages.
   Tokens and atmosphere match the site root (index.html). */

:root {
  --navy:    #0A2540;
  --teal:    #00BFA6;
  --emerald: #10B981;
  --amber:   #F59E0B;
  --red:     #EF4444;
  --blue:    #0686D4;
  --grey:    #8D8D8D;
  --white:   #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 15%,  rgba(0,191,166,.13) 0%, transparent 70%),
    radial-gradient(ellipse 50% 45% at 90% 85%,  rgba(6,134,212,.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* nav */
nav {
  padding: 2rem 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo { display: flex; align-items: center; text-decoration: none; }
.wordmark-top {
  display: flex; align-items: baseline;
  font-size: 1.3rem; letter-spacing: .06em; text-transform: uppercase;
}
.w-thats   { font-weight: 300; color: var(--white); }
.w-quality { font-weight: 700; color: var(--white); }
.w-ai      { font-weight: 300; color: var(--teal); }

.crumb {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); text-decoration: none;
  transition: color .2s;
}
.crumb:hover { color: #00d9bb; }

/* hero strip */
.hero { padding: 2.5rem 0 1rem; }

.eyebrow {
  font-size: .68rem; font-weight: 300;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1.6rem;
}

h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  font-weight: 700; letter-spacing: -.01em; line-height: 1.12;
  margin-bottom: 1rem;
}

.tagline {
  font-size: 1.02rem; line-height: 1.75;
  color: rgba(255,255,255,.68);
  max-width: 620px;
  margin-bottom: 1rem;
}

/* sections */
section { padding: 1.6rem 0; }

h2 {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.1rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid rgba(0,191,166,.18);
}

section p {
  font-size: .95rem; line-height: 1.8;
  color: rgba(255,255,255,.72);
  margin-bottom: 1rem;
  max-width: 680px;
}

section p strong { color: var(--white); font-weight: 700; }
section em { font-style: normal; color: var(--teal); }

/* in-prose links: teal like every other link scope on the site, underlined
   so they read as links rather than teal emphasis on the navy background.
   Scoped to prose/list anchors so card-shaped anchors (.cat-card) and
   inline-styled legacy links are untouched. */
section p a, section li a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-color: rgba(0,191,166,.4);
  text-underline-offset: 3px;
}
section p a:hover, section li a:hover { color: #00d9bb; text-decoration-color: #00d9bb; }

ul, ol { margin: 0 0 1rem 1.2rem; max-width: 660px; }
li {
  font-size: .92rem; line-height: 1.7;
  color: rgba(255,255,255,.72);
  margin-bottom: .55rem;
}
li strong { color: var(--white); font-weight: 700; }

/* pull quote */
.pull {
  border-left: 2px solid var(--teal);
  padding: .4rem 0 .4rem 1.3rem;
  margin: 1.4rem 0;
  max-width: 620px;
}
.pull p {
  font-size: 1.05rem; line-height: 1.65;
  color: var(--white); margin-bottom: .5rem;
}
.pull cite {
  font-style: normal; font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

/* artefact figure */
figure.artefact {
  margin: 1.6rem 0;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
  padding: 1.2rem;
}
figure.artefact img, figure.artefact svg { display: block; width: 100%; height: auto; }
figure.artefact figcaption {
  margin-top: .9rem;
  font-size: .72rem; line-height: 1.6;
  letter-spacing: .04em;
  color: rgba(255,255,255,.45);
}
.artefact-pending {
  display: flex; align-items: center; justify-content: center;
  min-height: 180px;
  border: 1px dashed rgba(0,191,166,.3);
  color: rgba(255,255,255,.35);
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
}

/* lineage strip */
.lineage {
  margin: 1.8rem 0 1rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid rgba(0,191,166,.25);
  background: rgba(0,191,166,.05);
}
.lineage p {
  font-size: .85rem; line-height: 1.7;
  color: rgba(255,255,255,.75); margin: 0; max-width: none;
}
.lineage a { color: var(--teal); text-decoration: none; }
.lineage a:hover { color: #00d9bb; }

/* prev/next */
.pager {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 1.6rem 0 0;
  flex-wrap: wrap;
}
.pager a {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); text-decoration: none;
  transition: color .2s;
}
.pager a:hover { color: #00d9bb; }

/* catalogue cards (index page) */
.cat-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  margin: 1.2rem 0 2rem;
}
.cat-card {
  background: rgba(10,37,64,.6);
  border: 1px solid rgba(255,255,255,.08);
  border-left: 2px solid var(--teal);
  padding: 1.3rem 1.3rem 1.1rem;
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: border-color .2s, transform .15s, background .2s;
}
.cat-card:hover {
  background: rgba(10,37,64,.85);
  border-color: rgba(0,191,166,.35);
  transform: translateY(-2px);
}
.cat-card h3 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--white); margin-bottom: .35rem;
}
.cat-card p {
  font-size: .8rem; line-height: 1.55;
  color: rgba(255,255,255,.62);
  margin: 0 0 .9rem; flex-grow: 1;
}
.cat-card span {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal);
}

/* footer */
footer {
  padding: 2.2rem 0 2.5rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-brand {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.footer-brand span { color: var(--teal); }
.footer-contact {
  font-size: .72rem; letter-spacing: .06em;
  color: var(--teal); text-decoration: none;
}
.footer-contact:hover { color: #00d9bb; }

@media (max-width: 640px) {
  .page { padding: 0 1.5rem; }
  .cat-cards { grid-template-columns: 1fr; }
}
