:root {
  --bg: #fffaf0;
  --panel: #ffffff;
  --panel-2: #e8f8fb;
  --card: #ffffff;
  --text: #15314a;
  --muted: #52697a;
  --line: rgba(21, 49, 74, 0.12);
  --primary: #087fbd;
  --primary-2: #12a9a0;
  --accent: #e28b13;
  --shadow: 0 22px 55px rgba(34, 73, 91, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 9% 8%, rgba(255, 211, 91, 0.24), transparent 29rem),
    radial-gradient(circle at 92% 44%, rgba(73, 207, 194, 0.15), transparent 30rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.alt {
  background: linear-gradient(135deg, #eaf9fb, #fff4d8);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #aa6300;
  font-weight: 700;
}

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

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

p {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-logo {
  width: 3.4rem;
  height: 3.4rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: #ffffff;
  object-fit: contain;
}

.site-header .brand-logo {
  width: 5rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  position: relative;
  padding: 0.35rem 0;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--primary);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--primary);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav a[aria-current="page"] {
  color: var(--primary);
  font-weight: 700;
}

.site-nav .btn-primary {
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  box-shadow: 0 12px 26px rgba(8, 127, 189, 0.24);
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--text);
}

.hero {
  padding: 4rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
}

.lead {
  max-width: 38rem;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

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

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.trust-list strong {
  font-size: 1.4rem;
}

.trust-list span {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
}

.hero-logo {
  width: min(100%, 480px);
  height: auto;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: var(--shadow);
}

.dashboard-card {
  position: relative;
  width: min(100%, 480px);
  background: rgba(14, 20, 34, 0.82);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.card-header {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.dot {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }

.metric-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.metric-row small {
  display: block;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.metric-row strong {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}

.trend {
  display: inline-flex;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  background: rgba(88, 208, 176, 0.16);
  color: var(--accent);
}

.bars {
  height: 170px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 1rem;
}

.bars span {
  display: block;
  height: var(--h);
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  opacity: 0.95;
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(11, 16, 32, 0.8);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.floating-card p {
  margin: 0;
  color: var(--muted);
}

.floating-card strong {
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.card-one {
  top: 14%;
  right: -0.5rem;
}

.card-two {
  bottom: 6%;
  left: -1.5rem;
}

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

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.text-link {
  color: var(--text);
  font-weight: 600;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  padding: 1.7rem;
  box-shadow: var(--shadow);
}

.service-description {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.service-icon {
  flex: 0 0 2.25rem;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.25rem;
  border: 1px solid rgba(8, 127, 189, 0.14);
  border-radius: 0.8rem;
  background: linear-gradient(135deg, #eaf8fb, #fff4d8);
}

.service-description p {
  flex: 1;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.9rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffe28a, #ffc56b);
  color: #69410a;
  font-weight: 700;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1.25rem;
}

.project-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #087fbd, #12a9a0);
  display: flex;
  align-items: end;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.project-card-large {
  min-height: 420px;
  background: linear-gradient(145deg, #087fbd, #153d65);
}

.project-card-small {
  min-height: 320px;
}

.project-two {
  background: linear-gradient(145deg, #12a9a0, #087f8a);
}

.project-three {
  background: linear-gradient(145deg, #f29a38, #de5b43);
}

.project-copy {
  max-width: 18rem;
  color: #ffffff;
}

.project-copy p {
  color: rgba(255, 255, 255, 0.88);
}

.project-copy span {
  display: block;
  margin-bottom: 0.5rem;
  color: #fff6d9;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin-bottom: 0.5rem;
}

.project-copy p {
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  display: flex;
  justify-content: center;
}

.portrait-card {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 0.92;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #ffd96a, #f7a84c 52%, #ef7860);
  box-shadow: var(--shadow);
}

.portrait-glow {
  position: absolute;
  inset: 12% 18% 10% 18%;
  border-radius: 34% 66% 42% 58% / 50% 38% 62% 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(18, 169, 160, 0.3));
  filter: blur(10px);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.8rem;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--text);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #07877f;
  font-weight: 700;
}

.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--line);
  background: #15314a;
  color: #ffffff;
}

.site-footer p,
.site-footer .brand,
.site-footer .footer-bottom,
.site-footer .footer-links a,
.site-footer .text-link {
  color: #e7f5fa;
}

.page-hero,
.page-title {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(circle at 85% 25%, rgba(73, 207, 194, 0.17), transparent 23rem),
    linear-gradient(135deg, #fff8e7, #eaf9fb);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
}

.page-title h1 {
  max-width: 850px;
}

.page-title .lead {
  margin-bottom: 0;
}

.home-purpose {
  background: #ffffff;
}

.purpose-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 4rem;
}

.purpose-copy p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.home-service-grid .feature-card {
  min-height: 210px;
}

.home-service-grid h3 {
  margin-top: 1.5rem;
}

.home-story-card,
.page-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid rgba(8, 127, 189, 0.14);
  border-radius: 1.75rem;
  background: linear-gradient(135deg, #e7f9f7, #fff3d1);
  box-shadow: var(--shadow);
}

.home-story-card > div,
.page-callout > div:first-child {
  max-width: 650px;
}

.home-story-card p:last-child,
.page-callout p:last-child {
  margin-bottom: 0;
}

.home-story-card h2,
.page-callout h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.page-section {
  padding-top: 4rem;
}

.feature-card h2 {
  position: relative;
  z-index: 1;
  max-width: 17rem;
  margin: 0 0 0.8rem;
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.feature-card p {
  margin-bottom: 0;
}

.statement-stack {
  display: grid;
  gap: 2rem;
}

.statement-stack .intro-card {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.info-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.hsse-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #ffffff 15%, #eaf8fb 100%);
}

.hsse-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.info-number {
  display: inline-grid;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 1.5rem;
  place-items: center;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #ffe28a, #ffc56b);
  color: #69410a;
  font-weight: 700;
}

.info-card h2 {
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.info-card p {
  margin-bottom: 0;
}

.callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-content {
  display: grid;
  gap: 3rem;
}

.contact-card,
.contact-note {
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.contact-card address {
  margin: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 1.1rem;
  font-style: normal;
  line-height: 1.9;
}

.office-card {
  background: linear-gradient(135deg, #ffffff, #eaf8fb);
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 3rem;
  margin: 0 0 2rem;
}

.contact-details div {
  display: grid;
  gap: 0.25rem;
}

.contact-details dt,
.team-contact-card > p > span:first-child {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-details dd {
  margin: 0;
  font-weight: 700;
}

.contact-details a,
.team-contact-card a {
  color: var(--primary);
  overflow-wrap: anywhere;
}

.team-contacts .section-heading {
  margin-bottom: 1.5rem;
}

.team-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.team-contact-card {
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.team-contact-card h3 {
  margin-bottom: 0.5rem;
}

.team-contact-card p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.75rem;
  margin-bottom: 0.55rem;
}

.team-contact-card p:last-child {
  margin-bottom: 0;
}

.team-contact-card .team-contact-name {
  margin-bottom: 1rem;
  color: var(--text);
  font-weight: 700;
}

.contact-pending {
  color: var(--muted);
  font-style: italic;
}

.contact-note {
  background: linear-gradient(135deg, #e7f9f7, #fff3d1);
}

.contact-note .text-link {
  color: var(--primary);
  font-weight: 700;
}

.intro-card {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(8, 127, 189, 0.14);
  border-radius: 1.75rem;
  background: linear-gradient(135deg, #ffffff 15%, #fff3d1 100%);
  box-shadow: var(--shadow);
}

.vision-card {
  margin-top: 2rem;
  background: linear-gradient(135deg, #e7f9f7 15%, #eaf5ff 100%);
}

.overview-card {
  margin-top: 2rem;
  background: linear-gradient(135deg, #fff0dc 15%, #ffe6c5 100%);
}

.intro-card h2 {
  color: var(--text);
}

.about-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.about-title h2 {
  margin: 0;
}

.intro-card p:not(.eyebrow) {
  max-width: 72ch;
  font-size: 1.08rem;
  line-height: 1.85;
}

.intro-card p:last-child {
  margin-bottom: 0;
}

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

.footer-brand {
  margin-bottom: 0.8rem;
}

.footer-cta {
  text-align: right;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 999px;
}

@media (max-width: 860px) {
  .page-hero-grid,
  .purpose-grid,
  .contact-layout,
  .team-contact-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .about-grid,
  .feature-grid,
  .project-grid,
  .footer-grid,
  .section-heading.split {
    grid-template-columns: 1fr;
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .feature-grid,
  .project-grid {
    display: grid;
  }

  .footer-grid,
  .footer-bottom {
    display: grid;
    text-align: left;
  }

  .footer-cta {
    text-align: left;
  }

  .home-story-card,
  .page-callout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .hero {
    padding-top: 3rem;
  }

  .trust-list {
    gap: 1rem 1.5rem;
  }

  .card-one {
    right: 0.25rem;
  }

  .card-two {
    left: 0.25rem;
  }
}
