:root {
  --cream: #f3eee7;
  --sand: #e3d7c6;
  --earth: #7a6456;
  --soil: #5a4a3f;
  --ink: #2a221c;
  --accent: #2f4aa1;
  --green: #2e8b57;
  --white: #ffffff;
  --shadow: rgba(42, 34, 28, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #fefaf6 0%, var(--cream) 50%, #efe5d7 100%);
  min-height: 100vh;
  line-height: 1.6;
  text-size-adjust: 100%;
}

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

img {
  max-width: 100%;
}

.grain {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c8b8a7' fill-opacity='0.18'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3Ccircle cx='50' cy='80' r='1'/%3E%3Ccircle cx='90' cy='30' r='1'/%3E%3Ccircle cx='120' cy='120' r='1'/%3E%3Ccircle cx='70' cy='120' r='1'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(243, 238, 231, 0.85);
  border-bottom: 1px solid rgba(90, 74, 63, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-image {
  width: 110px;
  height: 110px;
  object-fit: contain;
  filter:
    drop-shadow(0 6px 10px rgba(0, 0, 0, 0.18))
    drop-shadow(0 2px 2px rgba(0, 0, 0, 0.12));
  transform: translateZ(0);
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.brand-mark img {
  max-width: 520px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.2rem;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  padding: 4rem 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--soil);
  margin-bottom: 1rem;
}

.eyebrow-strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.eyebrow-title {
  font-size: 1.2rem;
  letter-spacing: 0.18em;
}

.eyebrow-highlight {
  color: #b11f1f;
  font-weight: 800;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
  color: var(--ink);
}

.lead {
  font-size: 1.05rem;
  color: var(--soil);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(47, 74, 161, 0.25);
}

.button.ghost {
  border-color: var(--soil);
  color: var(--soil);
}

.button:hover {
  transform: translateY(-2px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.hero-metrics div {
  background: var(--white);
  padding: 1rem;
  border-radius: 16px;
  box-shadow: 0 12px 20px var(--shadow);
}

.hero-metrics span {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--soil);
}

.hero-metrics strong {
  display: block;
  font-size: 1rem;
  margin-top: 0.4rem;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 1.5rem;
}

.growth-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 18px 30px var(--shadow);
  position: relative;
  overflow: hidden;
}

.growth-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  color: var(--soil);
}

.badge {
  font-size: 0.75rem;
  background: rgba(47, 74, 161, 0.1);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  color: var(--accent);
}

.graph {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  align-items: end;
  height: 120px;
  margin: 1.5rem 0;
}

.bar {
  background: linear-gradient(180deg, var(--accent), #1b2f6f);
  height: var(--h);
  border-radius: 16px 16px 6px 6px;
  animation: rise 1.2s ease forwards;
}

.floating-card {
  background: var(--soil);
  color: var(--white);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 12px 20px rgba(90, 74, 63, 0.3);
  transform: translateY(-20px);
  animation: float 4s ease-in-out infinite;
}

.floating-card ul {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
  list-style: none;
}

.section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 0.8rem;
}

.section-heading p {
  max-width: 620px;
  color: var(--soil);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  padding: 1.6rem;
  border-radius: 20px;
  box-shadow: 0 12px 24px var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(42, 34, 28, 0.2);
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.service-points {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0 0 0.6rem;
  color: var(--soil);
}

.service-points li {
  margin-bottom: 0.2rem;
}

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.about-card {
  background: var(--white);
  padding: 2.2rem;
  border-radius: 24px;
  box-shadow: 0 14px 28px var(--shadow);
}

.about-card h2 {
  font-family: "Playfair Display", serif;
  margin-bottom: 1rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.pill-row span {
  background: rgba(47, 74, 161, 0.12);
  color: var(--accent);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.about-side {
  display: grid;
  gap: 1rem;
}

.leader {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  align-items: center;
}

.leader-card {
  background: var(--white);
  padding: 1.6rem;
  border-radius: 24px;
  box-shadow: 0 14px 26px var(--shadow);
}

.leader-card h2 {
  font-family: "Playfair Display", serif;
  margin-bottom: 0.4rem;
}

.leader-role {
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.team-sub {
  gap: 1.6rem;
  margin-top: -1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(90, 74, 63, 0.12);
}

.team-sub .leader-card {
  padding: 1.6rem;
  box-shadow: 0 12px 22px var(--shadow);
}

.leader-inline {
  grid-template-columns: 1fr;
}

.leader-inline .leader-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 1.2rem;
  align-items: center;
}

.leader-inline-media {
  width: 100%;
  background: rgba(227, 215, 198, 0.4);
  padding: 0.5rem;
  border-radius: 18px;
}

.leader-inline-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.leader-content {
  display: grid;
  gap: 0.6rem;
}

.team-sub.leader-inline .leader-card {
  grid-template-columns: minmax(120px, 160px) 1fr;
  gap: 1rem;
}

@media (max-width: 700px) {
  .leader-inline .leader-card,
  .team-sub.leader-inline .leader-card {
    grid-template-columns: 1fr;
  }
}

.stat {
  background: var(--sand);
  padding: 1.6rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.stat strong {
  display: block;
  font-size: 1.4rem;
  color: var(--soil);
}

.values {
  background: linear-gradient(180deg, rgba(227, 215, 198, 0.5), rgba(243, 238, 231, 0.1));
  border-radius: 30px;
}

.value-stats {
  margin: 0.8rem 0 1rem;
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--soil);
}

.value-stats p {
  margin: 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(90, 74, 63, 0.08);
}

.process {
  position: relative;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.4rem;
}

.tab {
  border: 1px solid var(--sand);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: transparent;
  font-family: "Manrope", sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab.active,
.tab:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.tab-panels {
  background: var(--white);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 16px 30px var(--shadow);
}

.panel {
  display: none;
  gap: 2rem;
}

.panel.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.panel-text {
  min-width: 0;
}

.panel-text h3 {
  margin-bottom: 0.8rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  white-space: normal;
  max-width: 100%;
}

.panel-flow {
  display: grid;
  gap: 1rem;
}

.flow-node {
  background: var(--accent);
  color: var(--white);
  padding: 0.8rem 1rem;
  border-radius: 16px;
  text-align: center;
  font-weight: 600;
}

.step-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.step-list li {
  background: var(--sand);
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.contact-card {
  background: var(--soil);
  color: var(--white);
  padding: 2.4rem;
  border-radius: 24px;
  box-shadow: 0 18px 30px rgba(42, 34, 28, 0.35);
}

.contact-card h2 {
  font-family: "Playfair Display", serif;
  margin-bottom: 0.8rem;
}

.contact-details {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-details span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-card .button.ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.contact-panel {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 12px 22px var(--shadow);
}

.contact-panel h3 {
  margin-bottom: 1rem;
}

.contact-panel ul {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.contact-panel li {
  background: var(--sand);
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
}

.footer {
  text-align: center;
  padding: 2rem;
  color: var(--soil);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise {
  from {
    height: 10%;
  }
  to {
    height: var(--h);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(-16px);
  }
  50% {
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

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

  .brand-mark {
    width: 100%;
    justify-content: flex-start;
  }

  .brand-mark img {
    max-width: 420px;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-visual {
    order: -1;
  }

  .tab-panels {
    padding: 1.8rem;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 0.98rem;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .tab-panels {
    padding: 1.5rem;
  }

  .nav-links {
    gap: 0.8rem;
  }

  .logo-image {
    width: 84px;
    height: 84px;
  }

  .brand-mark img {
    max-width: 320px;
  }

  .logo {
    display: none;
  }

  .section {
    padding: 3rem 1.4rem;
  }

  .growth-card,
  .about-card,
  .contact-card {
    padding: 1.6rem;
  }

  .hero {
    gap: 2rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .contact-details strong {
    display: block;
    word-break: break-word;
  }

}

@media (max-width: 420px) {
  .nav {
    padding: 1rem 1.4rem;
  }

  .tab-panels {
    padding: 1.2rem;
  }

  .hero h1 {
    font-size: 2.1rem;
  }
}
