/* ===== INSIGHTS, CASE STUDY, SHARED ADDITIONS (loaded after site.css) ===== */

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--gold); color: #1a1200;
  padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: 14px;
}
.skip-link:focus { left: 12px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.nav-links a[aria-current="page"] { background: var(--surface-2); color: #fff; }

.foot-links { display: flex; gap: 18px; font-size: 13px; color: var(--txt-mute); }
.foot-links a:hover { color: #fff; }

/* ----- case study block on the home page ----- */
.case-study {
  margin: 0 0 48px;
  max-width: 800px;
  padding: 26px 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
}
.cs-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.case-study h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 12px;
}
.case-study p { font-size: 15px; color: var(--txt-mute); margin-bottom: 14px; }
.case-study p.cs-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt);
  margin-bottom: 8px;
}
.case-study ul { list-style: none; display: grid; gap: 8px; margin-bottom: 18px; }
.case-study li { font-size: 14px; color: var(--txt); padding-left: 18px; position: relative; }
.case-study li::before {
  content: '';
  position: absolute; left: 0; top: 11px;
  width: 8px; height: 1px;
  background: var(--gold);
  box-shadow: 0 0 6px rgba(255, 224, 66, 0.6);
}
.cs-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gold); font-weight: 500; }
.cs-link:hover { color: #fff; }
.case-study p.cs-note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--stroke);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--txt-mute);
}

/* ----- insight cards (home + list page) ----- */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.insight-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--r-xl);
  transition: transform 0.3s, border-color 0.3s;
}
.insight-card:hover { transform: translateY(-4px); border-color: var(--stroke-strong); }
.ic-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--txt-mute);
}
.ic-tag {
  color: var(--txt);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: 100px;
}
.insight-card h2,
.insight-card h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.insight-card p { font-size: 14.5px; color: var(--txt-mute); line-height: 1.55; }
.ic-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 13.5px; font-weight: 500; }
.insight-card:hover .ic-link { color: #fff; }
.insights-all { margin-top: 28px; }
.insights-all a { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 14px; font-weight: 500; }
.insights-all a:hover { color: #fff; }

/* ----- inner pages ----- */
.page {
  position: relative;
  z-index: 5;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px var(--pad-x) 40px;
}
.page-narrow { max-width: 860px; }
.crumbs {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--txt-dim);
  margin-bottom: 28px;
}
.crumbs a { color: var(--txt-mute); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-hidden="true"] { margin: 0 8px; }

.article-head h1,
.page-head h1 {
  font-family: var(--display);
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: #fff;
  margin-bottom: 22px;
}
.page-head { max-width: 800px; margin-bottom: 48px; }
.page-head p { color: var(--txt-mute); font-size: 18px; }
.dek {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--txt);
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 720px;
}
.byline {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  margin-bottom: 36px;
}
.byline img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover; object-position: 50% 20%;
  border: 1px solid var(--stroke-strong);
}
.byline-text { display: flex; flex-direction: column; line-height: 1.3; }
.byline-text strong { color: #fff; font-weight: 500; font-size: 15px; }
.byline-text span { font-size: 13px; color: var(--txt-mute); }
.byline-meta {
  margin-left: auto;
  display: flex; gap: 12px; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--txt-mute);
}

.glance {
  margin: 0 0 44px;
  padding: 20px 22px 22px;
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 224, 66, 0.04), rgba(7, 9, 18, 0.45));
}
.glance-head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.glance dl { display: grid; grid-template-columns: 120px 1fr; gap: 12px 20px; margin: 0; }
.glance dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt-dim);
  padding-top: 3px;
}
.glance dd { margin: 0; font-size: 14.5px; color: var(--txt); line-height: 1.5; }

.prose { font-size: 17px; line-height: 1.72; color: var(--txt); }
.prose p { margin-bottom: 20px; }
.prose h2 {
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: #fff;
  margin: 52px 0 16px;
  scroll-margin-top: 120px;
}
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 24px; }
.prose li { margin-bottom: 10px; padding-left: 4px; }
.prose li::marker { color: var(--gold); }
.prose strong { color: #fff; font-weight: 500; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: #fff; }
.prose a.cite {
  font-family: var(--mono);
  font-size: 0.72em;
  vertical-align: super;
  line-height: 0;
  text-decoration: none;
  margin-left: 1px;
}
.callout {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 2px solid var(--gold);
  background: rgba(255, 224, 66, 0.05);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.callout p:last-child { margin-bottom: 0; }

.cta-box {
  margin: 56px 0 40px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--stroke-strong);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255, 224, 66, 0.08), rgba(177, 76, 255, 0.05) 50%, rgba(255, 255, 255, 0.02));
}
.prose .cta-box h2 { margin-top: 0; }
.cta-box p { color: var(--txt-mute); margin-bottom: 22px; }
.cta-box .cta-row { margin-bottom: 0; }

.disclosure {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--txt-mute);
  border-top: 1px solid var(--stroke);
  padding-top: 20px;
  margin-top: 36px;
}
.sources ol { font-size: 14px; line-height: 1.55; color: var(--txt-mute); padding-left: 26px; }
.sources li { margin-bottom: 10px; scroll-margin-top: 120px; }
.sources li:target { color: #fff; }
.sources a { overflow-wrap: anywhere; }

@media (max-width: 740px) {
  .page { padding-top: 48px; }
  .byline-meta { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  .glance dl { grid-template-columns: 1fr; gap: 4px; }
  .glance dd { margin-bottom: 10px; }
}

/* keep the hero orb behind the headline instead of behind the body copy (home page) */
.hero-orb { top: 22%; }

/* buttons inside article prose keep their own colours (override ".prose a") */
.prose a.btn { text-decoration: none; }
.prose a.btn-primary, .prose a.btn-primary:hover { color: #1a1200; }
.prose a.btn-ghost, .prose a.btn-ghost:hover { color: #fff; }

/* ----- cover images (article header + card thumbnails) ----- */
.cover { margin: 0 0 40px; }
.cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--stroke);
}
.ic-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-md);
  border: 1px solid var(--stroke);
  margin-bottom: 2px;
}

/* ----- products page ----- */
.page-head .cta-row { margin-top: 28px; }
.product {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  margin-bottom: 28px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--r-xl);
}
.product.reverse .product-body { order: 2; }
.product.reverse .product-media { order: 1; }
.product-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.product h2, .portfolio h2, .process h2, .model h2 {
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}
.product p { color: var(--txt-mute); font-size: 16px; line-height: 1.65; margin-bottom: 18px; }
.feature-list { list-style: none; display: grid; gap: 10px; margin: 0 0 22px; padding: 0; }
.feature-list li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.55; color: var(--txt); }
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: 11px; width: 9px; height: 1px;
  background: var(--gold); box-shadow: 0 0 6px rgba(255, 224, 66, 0.6);
}
.feature-list strong { color: #fff; font-weight: 500; }
.product-media { margin: 0; }
.product-media img {
  display: block; width: 100%; height: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--stroke);
}
.product-media figcaption {
  margin-top: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--txt-dim);
}
.product-media-art {
  min-height: 260px;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  padding: 24px;
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 224, 66, 0.07), rgba(177, 76, 255, 0.07) 60%, rgba(255, 255, 255, 0.02));
}
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.art-grid span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--txt);
  text-align: center;
}
.art-grid i {
  display: block; height: 110px; border-radius: var(--r-md);
  border: 1px solid var(--stroke-strong);
  background: linear-gradient(180deg, rgba(255, 224, 66, 0.10), rgba(255, 255, 255, 0.02));
}
.art-grid i:nth-of-type(2) { background: linear-gradient(180deg, rgba(255, 190, 80, 0.18), rgba(255, 255, 255, 0.02)); }
.art-grid i:nth-of-type(3) { background: linear-gradient(180deg, rgba(177, 76, 255, 0.24), rgba(255, 255, 255, 0.02)); }
.chat { display: grid; gap: 10px; }
.bubble {
  margin: 0 !important; max-width: 86%;
  padding: 11px 14px; border-radius: 16px;
  font-size: 14px !important; line-height: 1.45 !important; color: var(--txt) !important;
}
.bubble-ai { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--stroke); border-bottom-left-radius: 4px; }
.bubble-user { justify-self: end; background: rgba(255, 224, 66, 0.12); border: 1px solid rgba(255, 224, 66, 0.28); border-bottom-right-radius: 4px; }
.chat-note { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--txt-dim); }

.portfolio, .process, .model { margin: 64px 0 0; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.mini-card {
  padding: 22px; background: var(--surface);
  border: 1px solid var(--stroke); border-radius: var(--r-xl);
}
.mini-card .product-media { margin-bottom: 16px; }
.mini-card h3 { font-family: var(--display); font-size: 19px; font-weight: 500; color: #fff; letter-spacing: -0.01em; margin-bottom: 8px; }
.mini-card p { font-size: 14.5px; line-height: 1.6; color: var(--txt-mute); }
.mini-card-text { display: flex; flex-direction: column; justify-content: center; }

.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; padding: 0; margin: 0; }
.steps li {
  counter-increment: step; position: relative;
  padding: 52px 20px 20px; font-size: 14.5px; line-height: 1.55; color: var(--txt-mute);
  background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--r-lg);
}
.steps li::before {
  content: '0' counter(step); position: absolute; left: 20px; top: 18px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; color: var(--gold);
}
.steps strong { display: block; color: #fff; font-weight: 500; font-size: 16px; margin-bottom: 6px; }

.model-lead { color: var(--txt-mute); font-size: 16px; line-height: 1.65; max-width: 760px; margin-bottom: 24px; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.col-card { padding: 24px; border: 1px solid var(--stroke); border-radius: var(--r-lg); background: var(--surface); }
.col-card h3 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 500; }
.col-card ul { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.col-card li { font-size: 14.5px; color: var(--txt); padding-left: 18px; position: relative; }
.col-card li::before { content: ''; position: absolute; left: 0; top: 11px; width: 8px; height: 1px; background: var(--gold); }
main > .cta-box { margin-top: 64px; }

@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; }
  .product.reverse .product-body, .product.reverse .product-media { order: initial; }
  .product-media-art { min-height: 0; }
}

/* products page refinements */
main > .cta-box h2 {
  font-family: var(--display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.15; color: #fff; margin: 0 0 12px;
}
.session-head { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.session { list-style: none; counter-reset: s; display: grid; gap: 12px; margin: 0; padding: 0; }
.session li {
  counter-increment: s; position: relative; padding: 0 0 0 38px;
  font-size: 14.5px; line-height: 1.5; color: var(--txt-mute);
}
.session li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; color: var(--gold);
  border: 1px solid rgba(255, 224, 66, 0.4); background: rgba(255, 224, 66, 0.06);
}
.session strong { color: #fff; font-weight: 500; }
