:root {
  --ink: #151515;
  --muted: #5d6167;
  --line: #e7e0d9;
  --paper: #fffaf4;
  --soft: #f4eee7;
  --white: #ffffff;
  --charcoal: #222222;
  --red: #c9282d;
  --red-dark: #9d1f24;
  --sand: #d9c4a8;
  --shadow: 0 24px 70px rgba(21, 21, 21, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img, svg {
  max-width: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 14% 10%, rgba(201, 40, 45, 0.12), transparent 26rem),
    radial-gradient(circle at 85% 16%, rgba(217, 196, 168, 0.44), transparent 24rem),
    linear-gradient(180deg, #fffaf4 0%, #f7f1ea 100%);
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.section-pad {
  padding: 96px 0;
}

.tab-panel[hidden] {
  display: none !important;
}

.tab-panel {
  min-height: calc(100vh - 82px);
}

.tab-panel.is-active {
  animation: tabFade 0.28s ease both;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 244, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 224, 217, 0.8);
}

.nav-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-main {
  font-weight: 900;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.brand-main .accent {
  color: var(--red);
}

.brand-sub {
  margin-top: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.28em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 32px);
  font-size: 0.93rem;
  color: var(--muted);
  font-weight: 700;
}

.nav-links a {
  position: relative;
  white-space: nowrap;
}

.nav-links a[aria-selected="true"] {
  color: var(--ink);
}

.nav-links a:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(201, 40, 45, 0.24);
  outline-offset: 5px;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-selected="true"]::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
}

.nav-cta[aria-selected="true"] {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 10px 24px rgba(201, 40, 45, 0.2);
}

.nav-cta::after {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 118px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.hero-lead, .section-heading p, .section-intro, .about-copy > p {
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 30px rgba(201, 40, 45, 0.24);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 650px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--line);
  border: 1px solid var(--line);
}

.impact-strip div {
  background: rgba(255, 255, 255, 0.68);
  padding: 22px;
}

.impact-strip dt {
  font-size: 1.68rem;
  font-weight: 900;
  line-height: 1;
}

.impact-strip dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  padding: 28px;
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(34, 34, 34, 0.94), rgba(34, 34, 34, 0.84)),
    linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  color: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-visual::before {
  width: 360px;
  height: 360px;
  right: -140px;
  top: -120px;
  background: rgba(201, 40, 45, 0.35);
}

.hero-visual::after {
  width: 260px;
  height: 260px;
  left: -80px;
  bottom: -100px;
  background: rgba(217, 196, 168, 0.16);
}

.visual-card,
.node,
.consulting-note {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px); 
  margin-top: 40px;
}


.visual-top {
  max-width: 310px;
  margin-left: auto;
  padding: 22px;
  border-radius: 24px;
}

.visual-label {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}

.visual-top strong {
  font-size: 1.8rem;
  line-height: 1;
}


.org-map {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  margin:35px 0 12px;
  margin-top: 50px;
}

.node {
  border-radius: 22px;
  padding: 24px;
  max-width: 340px;
}

.node-2 {
  margin-left: auto;
}

.node span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--red);
  font-weight: 900;
}

.node strong {
  display: block;
  font-size: 1.24rem;
  margin-bottom: 6px;
}

.node small {
  color: rgba(255, 255, 255, 0.7);
}

.consulting-note {
    position:relative;        /* instead of absolute */
    z-index:2;
    max-width:none;
    margin-top:24px;
    padding:18px 18px 18px 52px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,0.16);
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(15px);
}

.consulting-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.note-pin {
  position: absolute;
  left: 18px;
  top: 22px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 0 7px rgba(217, 196, 168, 0.16);
}

.section-heading {
  max-width: 790px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading.align-left {
  margin-inline: 0;
  text-align: left;
}

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

.service-card,
.experience-card,
.team-card,
.case-card,
.client-panel,
.contact-form,
.principle-grid article {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 44px rgba(21, 21, 21, 0.06);
}

.service-card {
  min-height: 260px;
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 40, 45, 0.4);
  background: var(--white);
}

.service-card-wide {
  grid-column: span 2;
  min-height: 220px;
}

.service-card p,
.experience-card p,
.team-card p,
.case-card p,
.principle-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.icon {
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 17px;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
  background: var(--white);
  opacity: 0.92;
}

.icon-org::before {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  left: 22px;
  top: 10px;
  box-shadow: -14px 23px 0 var(--white), 14px 23px 0 var(--white);
}

.icon-org::after {
  width: 30px;
  height: 2px;
  left: 12px;
  top: 31px;
  background: var(--red);
}

.icon-system::before {
  width: 28px;
  height: 6px;
  left: 13px;
  top: 13px;
  box-shadow: 0 12px 0 var(--white), 0 24px 0 var(--white);
}

.icon-performance::before {
  width: 27px;
  height: 27px;
  border: 4px solid var(--white);
  border-left-color: var(--red);
  border-bottom-color: var(--red);
  background: transparent;
  border-radius: 50%;
  left: 12px;
  top: 12px;
}

.icon-leader::before {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  left: 19px;
  top: 10px;
}

.icon-leader::after {
  width: 32px;
  height: 16px;
  border-radius: 16px 16px 4px 4px;
  left: 11px;
  bottom: 10px;
  background: var(--red);
}

.icon-grade::before {
  width: 28px;
  height: 5px;
  left: 13px;
  top: 15px;
  box-shadow: 0 10px 0 var(--red), 0 20px 0 var(--white);
}

.icon-reward::before {
  width: 30px;
  height: 24px;
  border: 3px solid var(--white);
  background: transparent;
  left: 12px;
  top: 16px;
}

.icon-reward::after {
  width: 16px;
  height: 3px;
  left: 19px;
  top: 25px;
  background: var(--red);
  box-shadow: 0 8px 0 var(--red);
}

.icon-ta::before {
  width: 26px;
  height: 26px;
  border: 3px solid var(--white);
  background: transparent;
  border-radius: 50%;
  left: 10px;
  top: 10px;
}

.icon-ta::after {
  width: 18px;
  height: 4px;
  transform: rotate(45deg);
  left: 31px;
  top: 35px;
  background: var(--red);
}

.clients {
  background: linear-gradient(135deg, var(--charcoal), #111);
  color: var(--white);
}

.clients-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 56px;
  align-items: start;
}

.clients h2,
.clients .eyebrow {
  color: var(--white);
}

.clients .eyebrow {
  color: #ffb2b4;
}

.clients .section-intro {
  color: rgba(255, 255, 255, 0.68);
}

.client-panel {
  padding: 34px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.check-list {
  display: grid;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  color: rgba(255, 255, 255, 0.78);
}

.check-list li::before {
  content: "✓";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
}

.sector-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sector-strip span,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sector-strip span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

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

.experience-card {
  position: relative;
  min-height: 340px;
  padding: 28px;
  overflow: hidden;
}

.experience-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -56px;
  top: -56px;
  border-radius: 50%;
  background: rgba(201, 40, 45, 0.09);
}

.location {
  display: block;
  margin-bottom: 52px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.tag {
  margin-top: 24px;
  color: var(--red);
  background: rgba(201, 40, 45, 0.09);
}

.about {
  background:
    linear-gradient(90deg, rgba(255,250,244,1), rgba(255,250,244,0.78)),
    repeating-linear-gradient(90deg, transparent 0 86px, rgba(21, 21, 21, 0.04) 86px 87px);
}

.about-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.about-brand-card {
  min-height: 420px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background: var(--charcoal);
  border-radius: 36px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.about-brand-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.78;
}

.about-brand-card::after {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
}

.stacked-logo {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 220px;
  margin-bottom: 18px;
  font-size: 3.2rem;
  line-height: 0.86;
  font-weight: 950;
  letter-spacing: -0.07em;
}

.stacked-logo span {
  color: var(--red);
}

.about-brand-card strong,
.about-brand-card small {
  position: relative;
  z-index: 2;
}

.about-brand-card strong {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-brand-card small {
  color: rgba(255, 255, 255, 0.62);
  margin-top: 8px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.principle-grid article {
  padding: 24px;
}

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

.team-card {
  padding: 26px;
  min-height: 315px;
}

.team-card.featured {
  grid-column: span 2;
  background: var(--charcoal);
  color: var(--white);
}

.team-card.featured p,
.team-card.featured span {
  color: rgba(255, 255, 255, 0.72);
}

.team-photo{
    width:130px;
    height:150px;
    margin:0 auto 22px;
}

.team-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:18px;
    border:3px solid #fff;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}


.team-photo img{
    transition:.3s;
}

.team-card:hover .team-photo img{
    transform:scale(1.04);
}

.avatar {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 18px;
  background: var(--soft);
  color: var(--red);
  font-weight: 950;
  letter-spacing: 0.04em;
}

.team-card.featured .avatar {
  background: var(--red);
  color: var(--white);
}

.team-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-weight: 900;
  font-size: 0.86rem;
}

.case-studies {
  background: var(--soft);
}

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

.case-card {
  padding: 30px;
  background: var(--white);
}

.case-sector {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-card h3 {
  margin: 16px 0 24px;
  font-size: 1.4rem;
}

.case-flow {
  display: grid;
  gap: 14px;
}

.case-flow p {
  padding-left: 18px;
  border-left: 3px solid var(--line);
}

.case-flow strong {
  display: block;
  color: var(--ink);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-list a,
.contact-list span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 800;
}

.contact-list a::before,
.contact-list span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.8);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 15px 16px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(201, 40, 45, 0.16);
  border-color: rgba(201, 40, 45, 0.45);
}

.site-footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.68);
  background: var(--charcoal);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.footer-brand .brand-main,
.footer-brand .brand-sub {
  color: var(--white);
}

.footer-brand .brand-main .accent {
  color: #ff777b;
}

.site-footer a:last-child {
  font-weight: 900;
  color: var(--white);
}

@media (max-width: 1060px) {
  .hero-grid,
  .clients-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 560px;
  }

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

  .case-grid {
    grid-template-columns: 1fr;
  }

  .about-brand-card {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .section-pad {
    padding: 72px 0;
  }

  .nav-shell {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
    gap: 18px;
    scrollbar-width: thin;
  }

  .hero {
    padding-top: 72px;
  }

  h1 {
    font-size: clamp(2.72rem, 14vw, 4.9rem);
  }

  .impact-strip,
  .principle-grid,
  .service-grid,
  .experience-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .service-card-wide,
  .team-card.featured {
    grid-column: span 1;
  }

  .hero-visual {
    min-height: 610px;
    padding: 20px;
    border-radius: 28px;
  }

  .visual-top,
  .node,
  .consulting-note {
    max-width: none;
  }

  .node-2 {
    margin-left: 0;
  }

  .consulting-note {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .org-map {
    margin-top: 42px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}
