:root {
  --navy: #06131f;
  --navy2: #0b1e30;
  --ink: #0c1b2b;
  --text: #26384b;
  --muted: #647387;
  --orange: #ff6a16;
  --orange2: #ff8b42;
  --purple: #7451b7;
  --cyan: #168fb8;
  --soft: #f6f8fa;
  --line: #e0e6ec;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}

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

.container {
  width: min(1180px, calc(100% - 44px));
  margin: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
  z-index: 100;
  background: #fff;
  padding: 10px;
}

/* ========== HEADER ========== */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-shell {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.brand span {
  color: var(--orange);
}

.brand small {
  display: block;
  font-size: 7px;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: #c5ced8;
}

.nav-links {
  display: flex;
  gap: 27px;
  align-items: center;
  font-size: 12px;
}

.nav-links a:hover {
  color: var(--orange);
}

.nav-cta,
.button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 4px;
  font-weight: 750;
}

.nav-cta,
.button-primary {
  background: var(--orange);
  color: #101010 !important;
}

.button-ghost {
  border: 1px solid #8290a0;
  color: #fff;
}

.button-dark {
  background: var(--navy);
  color: #fff;
}

.button-violet {
  background: var(--purple);
  color: #fff;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(120deg, #06131f, #0b1d2d);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 55px 0 0;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 20%, rgba(116, 81, 183, 0.25), transparent 30%),
    radial-gradient(circle at 93% 65%, rgba(255, 106, 22, 0.13), transparent 24%);
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  align-items: center;
}

.kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--orange);
  margin: 0 0 9px;
}

.kicker-light,
.kicker-violet {
  color: #b893ff;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  margin-right: 7px;
}

.hero h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(43px, 5vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin: 12px 0 18px;
}

.gradient-text {
  color: var(--orange);
}

.hero-lede {
  font-size: 19px;
  color: #e6ebef;
  max-width: 720px;
}

.hero-body {
  font-size: 14px;
  color: #c4ced7;
  max-width: 720px;
}

.hero-actions,
.about-actions {
  display: flex;
  gap: 13px;
  align-items: center;
  margin: 25px 0;
}

.hero-evidence {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  margin-top: 32px;
  padding: 22px 0;
}

.hero-evidence div {
  padding-right: 14px;
}

.hero-evidence strong {
  display: block;
  font-size: 15px;
  color: #fff;
}

.hero-evidence span {
  font-size: 10px;
  color: #9fadb9;
}

.hero-panel {
  position: relative;
  padding-top: 15px;
}

.consultant-visual {
  height: 390px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.consultant-visual:before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, #263d53, #0a1723 65%);
}

.portrait-placeholder {
  position: relative;
  width: 250px;
  height: 330px;
}

.avatar-head {
  position: absolute;
  width: 110px;
  height: 130px;
  left: 70px;
  top: 20px;
  background: #c89978;
  border-radius: 48% 48% 44% 44%;
  border-top: 20px solid #24282c;
}

.avatar-body {
  position: absolute;
  width: 240px;
  height: 190px;
  bottom: 0;
  left: 5px;
  background: #101b29;
  border-radius: 85px 85px 0 0;
}

.avatar-shirt {
  position: absolute;
  width: 78px;
  height: 140px;
  bottom: 0;
  left: 86px;
  background: #edf0f2;
  clip-path: polygon(0 0, 50% 24%, 100% 0, 78% 100%, 22% 100%);
}

.visual-label {
  position: absolute;
  right: 0;
  bottom: 25px;
  font-size: 8px;
  letter-spacing: 0.12em;
  color: #9eabb6;
  text-align: right;
}

.hero blockquote {
  font: italic 21px/1.35 Georgia, serif;
  margin: 10px 0 30px;
  border-left: 2px solid var(--orange);
  padding-left: 18px;
}

.intelligence-line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.intelligence-line i {
  width: 35px;
  height: 1px;
  background: #516170;
}

/* ========== SECTIONS ========== */
.section {
  padding: 62px 0;
  border-bottom: 1px solid var(--line);
}

.section-light,
.section-white,
.about-section {
  background: #fff;
}

.section-soft {
  background: var(--soft);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.section h2,
.contact-section h2 {
  font: 400 clamp(31px, 3.3vw, 46px)/1.1 Georgia, serif;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 6px 0 16px;
}

.section p {
  font-size: 14px;
}

.text-link {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
}

.journey {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
}

.journey div {
  padding: 22px 14px;
  border-right: 1px solid var(--line);
  min-height: 125px;
}

.journey div:last-child {
  border: 0;
}

.journey span {
  font: 25px Georgia, serif;
  color: var(--orange);
  display: block;
}

.journey strong {
  font-size: 13px;
  display: block;
  margin: 8px 0;
}

.journey small {
  font-size: 10px;
  color: var(--muted);
}

/* ========== EXPERTISE ========== */
.section-intro {
  max-width: 750px;
  margin-bottom: 27px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.expertise-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  min-height: 210px;
  position: relative;
}

.expertise-card.large {
  grid-column: span 2;
}

.expertise-card > span {
  font: 25px Georgia, serif;
  color: var(--orange);
}

.expertise-card h3 {
  font-size: 19px;
  line-height: 1.2;
  color: var(--ink);
  margin: 12px 0;
}

.expertise-card p {
  font-size: 12px;
  color: #607083;
}

.expertise-card a {
  font-size: 11px;
  font-weight: 800;
  color: var(--orange);
}

.ai-violet {
  border-top: 3px solid #7651b5;
}

.ai-purple {
  border-top: 3px solid #9b5cc5;
}

.ai-cyan {
  border-top: 3px solid #1c9abc;
}

.ai-blue {
  border-top: 3px solid #346e9e;
}

.ai-orange {
  border-top: 3px solid var(--orange);
}

/* ========== AGENTIC SECTION ========== */
.agentic-section {
  background: #fff;
}

.agentic-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.definition-box {
  background: #f7f4fc;
  border-left: 3px solid var(--purple);
  padding: 18px 20px;
  margin: 22px 0;
}

.definition-box p {
  margin: 6px 0;
}

.agent-visual {
  height: 390px;
  position: relative;
  background: radial-gradient(circle, #f4eefc 0, #fff 63%);
  border: 1px solid var(--line);
}

.agent-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  border: 1px solid var(--purple);
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.agent-core strong {
  font-size: 31px;
  color: var(--purple);
}

.an {
  position: absolute;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  border: 1px solid #c9badf;
  padding: 8px 10px;
  background: #fff;
}

.n1 { left: 8%; top: 14%; }
.n2 { right: 8%; top: 14%; }
.n3 { right: 4%; top: 48%; }
.n4 { left: 4%; top: 48%; }
.n5 { left: 15%; bottom: 13%; }
.n6 { right: 15%; bottom: 13%; }

/* ========== AUTONOMY ========== */
.autonomy-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
}

.autonomy-grid article {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.autonomy-grid article:last-child {
  border: 0;
}

.autonomy-grid span {
  font-size: 9px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.1em;
}

.autonomy-grid h3 {
  color: var(--ink);
  margin: 8px 0;
}

.autonomy-grid p {
  font-size: 11px;
}

/* ========== AUDIT ========== */
.audit-section {
  background: var(--navy);
  color: #fff;
}

.audit-section h2 {
  color: #fff;
}

.audit-heading {
  max-width: 700px;
}

.audit-heading > p:last-child {
  color: #c5d0d9;
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.audit-card {
  padding: 22px;
  background: #0c2031;
  border: 1px solid #24394a;
  min-height: 190px;
}

.audit-card span {
  font-size: 9px;
  letter-spacing: 0.13em;
  color: var(--orange);
  font-weight: 800;
}

.audit-card h3 {
  font: 400 17px/1.35 Georgia, serif;
}

/* ========== INSIGHTS ========== */
.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 24px;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.insight-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 21px;
  min-height: 195px;
}

.tag {
  font-size: 9px;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: var(--purple);
}

.insight-card h3 {
  color: var(--ink);
  font-size: 17px;
}

.insight-card p {
  font-size: 12px;
}

.insight-card a {
  font-size: 11px;
  color: var(--orange);
  font-weight: 800;
}

/* ========== ABOUT ========== */
.about-layout {
  display: grid;
  grid-template-columns: 0.35fr 1.2fr 0.65fr;
  gap: 45px;
  align-items: center;
}

.about-mark {
  font: 400 75px Georgia, serif;
  color: #d7dde3;
}

.about-role {
  font-weight: 700;
  color: var(--orange);
}

.about-quote {
  font: italic 20px/1.45 Georgia, serif;
  border-left: 1px solid #9aa7b3;
  padding-left: 25px;
}

.about-quote blockquote {
  margin: 0;
}

/* ========== CONTACT ========== */
.contact-section {
  padding: 45px 0;
  background: linear-gradient(110deg, #071522, #10263a);
  color: #fff;
}

.contact-shell {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: center;
}

.contact-section h2 {
  color: #fff;
  margin-bottom: 8px;
}

.contact-section p {
  color: #c8d1da;
  font-size: 13px;
  max-width: 800px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #04101a;
  color: #fff;
  padding: 30px 0;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 10px;
  color: #bdc7d0;
}

.footer-note {
  font-size: 10px;
  color: #9fabb7;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  border: 0;
  background: var(--orange);
  border-radius: 50%;
  font-weight: 900;
  cursor: pointer;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero-layout,
  .split-layout,
  .agentic-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .expertise-card.large {
    grid-column: span 1;
  }

  .audit-grid,
  .insight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-evidence,
  .journey,
  .autonomy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-mark {
    display: none;
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 28px);
  }

  .nav-cta {
    font-size: 0;
  }

  .nav-cta:after {
    content: "Contact";
    font-size: 11px;
  }

  .hero {
    padding-top: 35px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-evidence,
  .journey,
  .autonomy-grid,
  .expertise-grid,
  .audit-grid,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .hero-evidence div {
    padding: 10px 0;
  }

  .journey div,
  .autonomy-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 45px 0;
  }

  .section-heading-row,
  .contact-shell,
  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .consultant-visual {
    height: 340px;
  }

  .hero-actions,
  .about-actions {
    flex-wrap: wrap;
  }
}

/* =========================================================
   ADDITIONAL MOBILE RESPONSIVENESS (append only)
   ========================================================= */

/* Make images fluid */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Agent visual image (the one currently used) */
.agent-visual {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Improve long text / labels that break on small screens */
.hero-evidence strong,
.journey strong,
.autonomy-grid h3,
.expertise-card h3,
.insight-card h3,
.audit-card h3 {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Intelligence line – allow wrapping on very small screens */
.intelligence-line {
  flex-wrap: wrap;
  row-gap: 8px;
  letter-spacing: 0.12em;
}

/* Hero actions – keep buttons usable */
.hero-actions .button,
.about-actions .button {
  min-width: 0;
  white-space: nowrap;
}

/* Contact section – better stacking */
.contact-shell {
  gap: 24px;
}

.contact-shell .button {
  flex-shrink: 0;
}

/* About quote – reduce large left padding on mobile */
.about-quote {
  padding-left: 18px;
}

/* Extra safety for grids that still feel cramped */
@media (max-width: 900px) {
  .hero-layout {
    gap: 40px;
  }

  .split-layout,
  .agentic-layout {
    gap: 40px;
  }

  .about-layout {
    gap: 30px;
  }

  .expertise-grid {
    gap: 14px;
  }

  .audit-grid,
  .insight-grid {
    gap: 14px;
  }
}

/* Phone-specific refinements */
@media (max-width: 620px) {
  .hero-layout {
    gap: 32px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-evidence {
    text-align: left;
  }

  .hero-evidence strong {
    font-size: 14px;
  }

  .hero-evidence span {
    font-size: 11px;
  }

  .journey div,
  .autonomy-grid article {
    min-height: auto;
    padding: 18px 14px;
  }

  .expertise-card {
    min-height: auto;
    padding: 20px;
  }

  .audit-card,
  .insight-card {
    min-height: auto;
  }

  .definition-box {
    padding: 16px 16px;
  }

  .agent-visual {
    height: auto;
    max-height: 360px;
    margin: 0 auto;
  }

  .intelligence-line {
    font-size: 8px;
    gap: 10px;
    padding: 14px 0;
  }

  .intelligence-line i {
    width: 20px;
  }

  .contact-shell {
    text-align: left;
  }

  .contact-shell .button {
    width: 100%;
    justify-content: center;
  }

  .about-quote {
    margin-top: 10px;
  }

  .section-heading-row {
    gap: 12px;
  }
}

/* Very small phones */
@media (max-width: 400px) {
  .container {
    width: calc(100% - 24px);
  }

  .hero h1 {
    font-size: 36px;
  }

  .nav-shell {
    height: 64px;
  }

  .brand {
    font-size: 18px;
  }

  .button,
  .nav-cta {
    padding: 12px 16px;
  }
}


.consultant-visual {
  height: 390px;
  position: relative;
}

.consultant-img {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  z-index: 1;
  border: 2px solid rgba(255, 255, 255, 0.08); /* optional subtle ring */
}
