/* ============================================
   TOKENS
   ============================================ */
:root {
  --navy: #1C2B4A;
  --navy-deep: #121C32;
  --gold: #B8963E;
  --gold-light: #D4B876;
  --ivory: #FBFAF6;
  --paper: #FFFFFF;
  --tint: #F3F1EA;
  --ink: #22262E;
  --muted: #5B6472;
  --line: #E4E1D6;
  --line-dark: #33415F;

--serif: Georgia, 'Times New Roman', serif;
--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
--mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;

  --container: 1180px;
  --gutter: clamp(24px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--serif); margin: 0; font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.eyebrow--light { color: var(--gold-light); }

.section__title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 28px;
}
.section__title--light { color: var(--ivory); }

.lead { font-size: 19px; line-height: 1.6; color: var(--ink); margin: 0 0 18px; }
.body { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0; }

/* ============================================
   LAYOUT HELPERS
   ============================================ */
.section { padding: 96px var(--gutter); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy); padding: 96px var(--gutter); }
.section__inner { max-width: var(--container); margin: 0 auto; }
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 760px) {
  .grid-2 { grid-template-columns: 1fr; gap: 28px; }
  .section, .section--dark { padding: 64px 20px; }
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--gold); color: var(--navy-deep); border: 1px solid var(--gold); }
.btn--primary:hover { background: var(--gold-light); }
.btn--ghost { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--ivory); }
.btn--nav { background: transparent; color: var(--ivory); border: 1px solid var(--gold); padding: 9px 18px; font-size: 13px; }
.btn--nav:hover { background: var(--gold); color: var(--navy-deep); }

/* ============================================
   SIGNATURE MARK (three interlocking rings)
   ============================================ */
.mark-svg { width: 34px; height: 22px; overflow: visible; }
.ring { fill: none; stroke-width: 1.6; mix-blend-mode: multiply; }
.ring--a { stroke: var(--gold); }
.ring--b { stroke: var(--navy); }
.ring--c { stroke: #8A5A2E; }
.nav .ring--a, .nav .ring--b, .nav .ring--c { mix-blend-mode: normal; }
.nav .ring--b { stroke: var(--ivory); }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(18, 28, 50, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 150, 62, 0.25);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__mark { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav__name { font-family: var(--serif); font-size: 15px; color: var(--ivory); letter-spacing: 0.01em; }
.nav__links { display: flex; gap: 22px; }
.nav__links a {
  font-size: 13.5px;
  color: #C7CEDB;
  transition: color 0.2s;
  position: relative;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--gold-light); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__burger span { width: 22px; height: 2px; background: var(--ivory); display: block; }

@media (max-width: 900px) {
  .nav__links {
    position: fixed; top: 58px; left: 0; right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 18px var(--gutter) 26px;
    gap: 16px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid rgba(184,150,62,0.25);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__burger { display: flex; }
  .btn--nav { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 168px var(--gutter) 64px;
  background: var(--navy);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
}
.hero__bg {
  position: absolute;
  right: -6%; top: -8%;
  width: 620px; height: 400px;
  opacity: 0.08;
  pointer-events: none;
}
.mark-svg--ghost { width: 100%; height: 100%; }
.mark-svg--ghost .ring { stroke: var(--gold); stroke-width: 0.6; }

.hero__inner { position: relative; z-index: 1; }
.hero__title {
  font-size: clamp(48px, 7vw, 84px);
  color: var(--ivory);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
.hero__role {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2.2vw, 24px);
  color: var(--gold-light);
  margin: 0 0 22px;
}
.hero__tagline {
  font-size: 16px;
  line-height: 1.7;
  color: #C7CEDB;
  max-width: 560px;
  margin: 0 0 34px;
}
.hero__tagline em { color: var(--gold-light); font-style: normal; font-weight: 600; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn--ghost { color: var(--ivory); border-color: rgba(255,255,255,0.35); }
.hero .btn--ghost:hover { background: rgba(255,255,255,0.08); color: var(--ivory); }

.hero__photo {
  position: relative; z-index: 1;
  align-self: start;
  border: 3px solid var(--gold);
  border-radius: 0 40% 40% 0;
  overflow: hidden;
}
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 480/560;
  border-radius: 0 40% 40% 0;
}

.hero__stats {
  grid-column: 1 / -1;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(184,150,62,0.25);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative; z-index: 1;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__num { font-family: var(--serif); font-size: 26px; color: var(--gold); font-weight: 600; }
.stat__label { font-size: 12.5px; color: #9BA6BB; line-height: 1.4; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 128px; }
  .hero__photo { max-width: 240px; justify-self: start; order: -1; margin-bottom: 24px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline { position: relative; margin-top: 12px; }
.timeline__item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 26px 0;
  border-top: 1px solid var(--line-dark);
  position: relative;
}
.timeline__item:last-child { border-bottom: 1px solid var(--line-dark); }
.timeline__date {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold-light);
  padding-top: 3px;
}
.timeline__body h3 { color: var(--ivory); font-size: 19px; margin-bottom: 6px; }
.timeline__co { color: #9BA6BB; font-size: 14px; margin: 0; }
.timeline__item.is-current .timeline__date { color: var(--gold); font-weight: 600; }
.timeline__item.is-current::before {
  content: '';
  position: absolute; left: -18px; top: 34px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
}
@media (max-width: 640px) {
  .timeline__item { grid-template-columns: 1fr; gap: 8px; }
}

/* ============================================
   ACHIEVEMENT CARDS
   ============================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 8px;
}
.card { background: var(--paper); padding: 34px 28px; }
.card__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
}
.card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 0; }
@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
}

/* ============================================
   SYSTEM FLOW DIAGRAMS
   ============================================ */
.diagrams {
  background: var(--navy);
  padding: 56px var(--gutter);
}
.diagrams__inner { max-width: var(--container); margin: 0 auto; }
.diagrams__label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 8px;
}
.diagrams__intro {
  font-size: 13.5px;
  color: #9BA6BB;
  font-style: italic;
  margin: 0 0 32px;
  max-width: 640px;
}
.flow__title {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--ivory);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 18px;
}
.flow__title--spaced { margin-top: 44px; }
.diagrams__note {
  margin: 36px 0 0;
  font-size: 12.5px;
  color: #7C879C;
  font-style: italic;
  max-width: 720px;
}

/* --- Phone mockups --- */
.phones {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}
.phone-group { flex: 0 0 auto; }
.phone-group__row { display: flex; gap: 18px; }
.phone-group__caption {
  display: block;
  font-size: 12px;
  color: #9BA6BB;
  margin: 10px 0 0;
}
.phone {
  width: 168px;
  background: var(--ivory);
  border: 5px solid #0D1526;
  border-radius: 18px;
  overflow: hidden;
  font-family: var(--sans);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}
.phone__bar {
  display: flex; justify-content: space-between;
  font-size: 8px; color: var(--muted);
  padding: 6px 10px 2px;
}
.phone__header {
  background: var(--navy);
  color: var(--ivory);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.phone__bell { font-size: 10px; }
.phone__banner {
  margin: 8px;
  height: 44px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gold), #8A5A2E);
  color: var(--ivory);
  font-size: 8.5px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 4px;
}
.phone__icons { display: flex; gap: 8px; padding: 0 8px 8px; }
.phone__icon { width: 24px; height: 24px; border-radius: 50%; background: var(--tint); border: 1px solid var(--line); }
.phone__row {
  font-size: 9.5px; color: var(--ink);
  padding: 8px 10px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 6px;
}
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); display: inline-block; }
.phone__card {
  margin: 10px; padding: 12px;
  background: linear-gradient(135deg, var(--navy), #2A3D63);
  border-radius: 8px; color: var(--ivory);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.phone__tier { font-size: 9px; letter-spacing: 0.08em; color: var(--gold-light); font-weight: 700; }
.phone__qr { width: 38px; height: 38px; background: repeating-conic-gradient(#fff 0% 25%, transparent 0% 50%) 0/8px 8px; border-radius: 3px; }
.phone__pts { font-size: 11px; font-weight: 700; }
.phone__item { display: flex; gap: 8px; padding: 10px; align-items: center; }
.phone__item-thumb { width: 34px; height: 34px; border-radius: 6px; background: var(--tint); border: 1px solid var(--line); flex: none; }
.phone__item-body { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.phone__item-name { font-size: 9.5px; color: var(--ink); font-weight: 600; }
.phone__item-price { font-size: 9px; color: var(--muted); }
.phone__stepper { font-size: 9px; background: var(--tint); border-radius: 10px; padding: 3px 7px; border: 1px solid var(--line); }
.phone__cta {
  margin: 6px 10px 10px; text-align: center;
  background: var(--gold); color: var(--navy-deep);
  font-size: 9.5px; font-weight: 700; padding: 8px; border-radius: 6px;
}
.phone__cta--ghost { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.phone__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 8px; }
.phone__grid-item { aspect-ratio: 1.3; background: var(--tint); border: 1px solid var(--line); border-radius: 6px; }

@media (max-width: 900px) {
  .phones { flex-direction: column; gap: 28px; }
}
@media (max-width: 420px) {
  .phone-group__row { flex-wrap: wrap; }
  .phone { width: 46%; flex: 1 1 140px; }
}

/* --- System logic diagram --- */
.logic { margin-top: 4px; }
.logic__layer { margin-bottom: 4px; }
.logic__layer-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--navy);
  background: var(--tint);
  padding: 5px 10px;
  margin-bottom: 8px;
  display: inline-block;
}
.logic__layer-label--gold { color: var(--gold-light); background: rgba(184,150,62,0.14); }
.logic__row { display: flex; gap: 12px; flex-wrap: wrap; }
.logic__box {
  flex: 1 1 0;
  min-width: 220px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
}
.logic__box--dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184,150,62,0.3);
  color: var(--ivory);
}
.logic__box small { display: block; margin-top: 4px; font-weight: 400; color: #9BA6BB; font-size: 11px; }
.logic__connector {
  height: 22px;
  border-left: 1px dashed rgba(184,150,62,0.5);
  margin-left: 24px;
}
.logic__rules {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.logic__rule {
  background: rgba(184,150,62,0.08);
  border: 1px solid rgba(184,150,62,0.35);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.logic__rule strong { font-size: 12.5px; color: var(--gold-light); }
.logic__rule span { font-size: 12px; color: #C7CEDB; line-height: 1.5; }
@media (max-width: 760px) {
  .logic__rules { grid-template-columns: 1fr; }
  .logic__row { flex-direction: column; }
  .logic__box { flex: 1 1 auto; min-width: 0; }
}
.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: var(--container);
  margin: 0 auto 4px;
  align-items: stretch;
}
.case--reverse { direction: rtl; }
.case--reverse .case__text { direction: ltr; }
.case__media { overflow: hidden; background: var(--tint); min-height: 320px; }
.case__media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.case__text { padding: 56px var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.case__tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}
.case__text h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.case__th { display: block; font-size: 16px; font-style: italic; color: var(--muted); font-weight: 400; margin-top: 4px; }
.case__text p { font-size: 15.5px; color: var(--muted); line-height: 1.7; margin: 0 0 18px; }
.case__list { margin: 0 0 4px; }
.case__list li {
  font-size: 14px;
  color: var(--ink);
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.case__media--secondary {
  margin-top: 18px;
  min-height: 0;
  background: none;
}
.case__media--secondary img {
  width: 100%;
  height: auto;
  object-fit: contain;
  min-height: 0;
  aspect-ratio: auto;
}

@media (max-width: 760px) {
  .case, .case--reverse { grid-template-columns: 1fr; direction: ltr; }
  .case__text { padding: 32px 20px; }
}

/* --- Product concept reference screenshot --- */
.concept-shot {
  display: block;
  margin: 0;
  border: 1px solid rgba(184,150,62,0.3);
  background: #0D1526;
  overflow: hidden;
  cursor: zoom-in;
}
.concept-shot img { width: 100%; height: auto; display: block; transition: opacity 0.2s; }
.concept-shot:hover img { opacity: 0.88; }
.concept-shot__hint {
  margin: 8px 0 0;
  font-size: 11.5px;
  color: #7C879C;
  font-style: italic;
}

/* --- Impact summary cards --- */
.impact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}
.impact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184,150,62,0.3);
  padding: 18px;
}
.impact-card__icon { font-size: 18px; color: var(--gold-light); display: block; margin-bottom: 10px; }
.impact-card h5 { font-size: 13px; color: var(--ivory); margin: 0 0 10px; font-family: var(--sans); }
.impact-card p { font-size: 12px; color: #9BA6BB; line-height: 1.55; margin: 0; }
.impact-card__note { font-size: 10px; color: #7C879C; font-weight: 400; }
.impact-card__list { margin: 0; padding: 0; list-style: none; }
.impact-card__list li { font-size: 12px; color: #C7CEDB; padding: 4px 0; }
.impact-card--stats { background: rgba(184,150,62,0.1); }
.impact-stats { display: flex; flex-direction: column; gap: 8px; }
.impact-stats div { display: flex; justify-content: space-between; align-items: baseline; }
.impact-stats strong { color: var(--gold); font-family: var(--serif); font-size: 17px; }
.impact-stats span { font-size: 11px; color: #9BA6BB; }
@media (max-width: 760px) {
  .impact-cards { grid-template-columns: 1fr 1fr; }
}

/* --- Design decisions --- */
.decisions { display: grid; grid-template-columns: 260px 1fr; gap: 24px; margin-bottom: 8px; align-items: center; }
.decisions__photo { overflow: hidden; }
.decisions__photo img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }
.decisions__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.decisions__list li {
  font-size: 13px; color: #C7CEDB; line-height: 1.55;
  padding-left: 22px; position: relative;
}
.decisions__list li::before {
  content: '✓'; position: absolute; left: 0; color: var(--gold);
  font-weight: 700;
}
@media (max-width: 640px) {
  .decisions { grid-template-columns: 1fr; }
}

/* --- Future opportunities --- */
.future { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.future__item {
  flex: 1 1 200px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184,150,62,0.25);
  padding: 14px 16px;
  font-size: 12.5px;
  color: #C7CEDB;
  display: flex; align-items: center; gap: 10px;
}
.future__icon { font-size: 16px; color: var(--gold-light); }

/* --- Executive insight quote --- */
.exec-insight {
  margin: 40px 0 8px;
  padding: 24px 28px;
  border-left: 2px solid var(--gold);
  background: rgba(255,255,255,0.03);
}
.exec-insight p { font-size: 15px; color: var(--ivory); font-style: italic; margin: 0 0 16px; line-height: 1.6; }
.exec-insight__equation { display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; font-size: 12.5px; color: #9BA6BB; }
.exec-insight__op { color: var(--gold); }
.exec-insight__result { color: var(--gold-light); font-weight: 700; }

/* --- AI workshop agenda recreation --- */
.agenda { margin-top: 22px; }
.agenda__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.agenda__stats { display: flex; gap: 10px; margin-bottom: 16px; }
.agenda__stat {
  flex: 1;
  background: var(--navy);
  padding: 12px 10px;
  text-align: center;
}
.agenda__stat strong { display: block; font-family: var(--serif); font-size: 22px; color: var(--gold-light); }
.agenda__stat span { font-size: 10.5px; color: #9BA6BB; }
.agenda__row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.agenda__step {
  flex: 1 1 90px;
  background: var(--tint);
  border: 1px solid var(--line);
  padding: 10px 8px;
  font-size: 11.5px;
  color: var(--ink);
  text-align: center;
  font-weight: 600;
}
.agenda__step span {
  display: block; width: 20px; height: 20px; line-height: 20px;
  border-radius: 50%; background: var(--navy); color: var(--gold-light);
  font-size: 11px; margin: 0 auto 6px;
}
.agenda__meta { font-size: 12.5px; color: var(--muted); margin: 0 0 14px; line-height: 1.5; }
.agenda__quote {
  margin: 0; padding: 14px 18px;
  border-left: 2px solid var(--gold);
  background: var(--tint);
  font-size: 13px; font-style: italic; color: var(--ink);
  line-height: 1.6;
}

/* ============================================
   CERTIFICATES
   ============================================ */
.certs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.cert {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
}
.cert img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-bottom: 1px solid var(--line); }
.cert figcaption { padding: 16px 18px; font-size: 13.5px; color: var(--ink); font-weight: 600; line-height: 1.4; }
.cert figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 4px; font-family: var(--mono); }
.cert__note { margin-top: 22px; font-size: 13px; color: var(--muted); font-style: italic; }
@media (max-width: 900px) {
  .certs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .certs { grid-template-columns: 1fr; }
}

/* ============================================
   SKILLS
   ============================================ */
.skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 8px;
}
.skillcol h3 {
  font-size: 15px;
  font-family: var(--sans);
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}
.skillcol li {
  font-size: 14.5px;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.langbar {
  margin-top: 48px;
  background: var(--navy);
  color: var(--ivory);
  padding: 22px 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14.5px;
  flex-wrap: wrap;
}
.langbar strong { color: var(--gold-light); }
.langbar__divider { width: 1px; height: 18px; background: rgba(255,255,255,0.25); }
@media (max-width: 760px) {
  .skills { grid-template-columns: 1fr; gap: 28px; }
  .langbar__divider { display: none; }
}

/* ============================================
   EDUCATION
   ============================================ */
.edu__degree { font-size: 19px; color: var(--navy); margin: 0 0 4px; }
.edu__degree:not(:first-child) { margin-top: 22px; }
.edu__school { font-size: 14px; color: var(--muted); margin: 0; font-family: var(--mono); }
.plain-list li {
  font-size: 15px;
  color: var(--ink);
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.plain-list li:last-child { border-bottom: 1px solid var(--line); }

/* ============================================
   FOOTER / CONTACT
   ============================================ */
.footer {
  background: var(--navy-deep);
  padding: 96px var(--gutter) 48px;
  text-align: center;
}
.footer__inner { max-width: 640px; margin: 0 auto; }
.footer__title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--ivory);
  margin: 0 0 18px;
  line-height: 1.15;
}
.footer__sub { color: #9BA6BB; font-size: 15.5px; line-height: 1.6; margin: 0 0 32px; }
.footer__contact {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  font-size: 14.5px;
}
.footer__contact a { color: var(--gold-light); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.footer__contact a:hover { border-color: var(--gold-light); }
.footer__fine { margin-top: 40px; font-size: 12px; color: #5B6472; }
/* ============================================
   FLOWCHART (System Logic redesign)
   ============================================ */
.flowchart { margin-top: 4px; }
.flowchart__steps {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
}
.flowchart__step {
  flex: 1 1 130px;
  min-width: 110px;
  text-align: center;
}
.flowchart__icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(184,150,62,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin: 0 auto 10px;
}
.flowchart__label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ivory);
  margin: 0;
  line-height: 1.4;
}
.flowchart__label span {
  display: block;
  font-weight: 400;
  color: #9BA6BB;
  font-size: 11px;
  margin-top: 2px;
}
.flowchart__arrow {
  color: var(--gold);
  font-size: 18px;
  padding-top: 18px;
  flex: 0 0 auto;
}
.flowchart__backend {
  border: 1px dashed rgba(184,150,62,0.5);
  padding: 20px 18px 18px;
  position: relative;
}
.flowchart__backend-tag {
  position: absolute;
  top: -13px; left: 16px;
  background: var(--navy);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 10px;
}
.flowchart__backend-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 6px;
}
.flowchart__backend-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184,150,62,0.3);
  padding: 12px 10px;
  display: flex; flex-direction: column; gap: 4px;
}
.flowchart__backend-icon { font-size: 18px; margin-bottom: 2px; }
.flowchart__backend-box strong { font-size: 11.5px; color: var(--ivory); line-height: 1.3; }
.flowchart__backend-box span { font-size: 10.5px; color: #9BA6BB; line-height: 1.4; }

@media (max-width: 900px) {
  .flowchart__backend-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .flowchart__steps { flex-wrap: nowrap; }
}

/* ============================================
   SPLIT PANEL (Design Decisions + AI Opportunities)
   ============================================ */

.split-panel .flow__title { margin-bottom: 18px; }
@media (max-width: 900px) {
  .split-panel { grid-template-columns: 1fr; gap: 36px; }
}
.split-panel {
  display: block;
  margin-top: 20px;
  width: 100%;
}
.split-panel__col {
  width: 100% !important;
  max-width: none !important;
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.ai-grid__item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184,150,62,0.3);
  padding: 18px 14px;
  text-align: center;
}
.ai-grid__icon { font-size: 26px; display: block; margin-bottom: 10px; }
.ai-grid__item p { font-size: 12.5px; color: var(--ivory); font-weight: 600; margin: 0; line-height: 1.4; }

/* --- Executive insight chips (updated) --- */
.exec-insight__chip {
  background: rgba(184,150,62,0.1);
  border: 1px solid rgba(184,150,62,0.35);
  padding: 5px 12px;
  font-size: 12.5px;
  color: var(--ivory);
}
/* Design Decisions image (replaces text block) */
.design-decisions-img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto;
  border-radius: 8px;
}
