:root {
  --ink: #11222e;
  --slate: #324a57;
  --paper: #f7f4ef;
  --paper-2: #ede8de;
  --accent: #d3542b;
  --accent-deep: #ab3f1e;
  --pine: #1a6f63;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 20px 40px rgba(15, 34, 46, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fbf9f5 0%, #f5efe5 100%);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  line-height: 1.15;
  margin-top: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(247, 244, 239, 0.88);
  border-bottom: 1px solid rgba(17, 34, 46, 0.1);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-weight: 500;
}

.site-nav a.active {
  color: var(--accent-deep);
  font-weight: 700;
}

.menu-toggle {
  display: none;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-deep);
}

.btn-ghost {
  border-color: rgba(17, 34, 46, 0.35);
}

.btn-ghost:hover {
  background: rgba(17, 34, 46, 0.06);
}

.btn-nav {
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 4rem;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
}

.hero-bg-1 {
  width: 460px;
  height: 460px;
  right: -140px;
  top: -100px;
  background: radial-gradient(circle, rgba(26, 111, 99, 0.32), rgba(26, 111, 99, 0));
}

.hero-bg-2 {
  width: 420px;
  height: 420px;
  left: -140px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(211, 84, 43, 0.25), rgba(211, 84, 43, 0));
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: var(--slate);
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 4.2rem);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.1rem;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}

.hero-card {
  background: linear-gradient(135deg, #102532, #1a3d4f);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 1.5rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.partners {
  padding: 1rem 0 2rem;
}

.partners-title {
  font-weight: 600;
  color: var(--slate);
}

.partner-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.partner-grid span {
  border: 1px solid rgba(17, 34, 46, 0.2);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.8);
}

.section {
  padding: 4.5rem 0;
}

.page-hero {
  padding: 5.2rem 0 2.8rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(26, 111, 99, 0.22), transparent 44%),
    radial-gradient(circle at 5% 95%, rgba(211, 84, 43, 0.2), transparent 42%);
}

.section-head {
  margin-bottom: 1.6rem;
}

.section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.solution-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.3rem;
  border: 1px solid rgba(17, 34, 46, 0.08);
  box-shadow: 0 10px 28px rgba(18, 34, 47, 0.06);
}

.solution-card a {
  color: var(--accent-deep);
  font-weight: 700;
}

.section-dark {
  background: linear-gradient(180deg, #0f212d, #132c3a);
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.2rem;
}

.approach-points {
  display: grid;
  gap: 0.9rem;
}

.approach-points > div {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem;
}

.story-grid,
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.story-card,
.insight-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid rgba(17, 34, 46, 0.1);
}

.service-stack {
  display: grid;
  gap: 1rem;
}

.service-block {
  background: var(--white);
  border: 1px solid rgba(17, 34, 46, 0.12);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 8px 24px rgba(18, 34, 47, 0.05);
}

.service-block ul {
  margin-bottom: 0;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.industry-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(17, 34, 46, 0.12);
  padding: 1.3rem;
}

.industry-card h2 {
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: start;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(17, 34, 46, 0.12);
  padding: 1.3rem;
}

.contact-form {
  display: grid;
  gap: 0.55rem;
}

.contact-form label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--slate);
  margin-top: 0.3rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 34, 46, 0.2);
  border-radius: 10px;
  padding: 0.68rem 0.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fffdfa;
}

.contact-form textarea {
  resize: vertical;
}

.contact-card hr {
  border: 0;
  border-top: 1px solid rgba(17, 34, 46, 0.12);
  margin: 1rem 0;
}

.next-steps {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.metric {
  color: var(--pine);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.section-soft {
  background: linear-gradient(180deg, rgba(237, 232, 222, 0.65), rgba(237, 232, 222, 0.25));
}

.insight-type {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate);
  font-weight: 700;
}

.insight-card a {
  color: var(--accent-deep);
  font-weight: 700;
}

.final-cta {
  padding: 5.5rem 0;
  background:
    linear-gradient(120deg, rgba(16, 37, 50, 0.95), rgba(26, 111, 99, 0.9)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06) 2px, transparent 2px, transparent 12px);
  color: var(--white);
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.site-footer {
  background: #0a1721;
  color: rgba(255, 255, 255, 0.86);
  padding-top: 2rem;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1rem;
}

.brand-footer {
  font-family: "Fraunces", serif;
  letter-spacing: 0.1em;
  font-size: 1.1rem;
}

.site-footer a {
  color: #d9f7f3;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 1.5rem;
  padding: 1rem 0;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

.reveal-delay-3 {
  transition-delay: 0.36s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .hero-layout,
  .split,
  .industry-grid,
  .contact-grid,
  .story-grid,
  .insight-grid,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    right: 4vw;
    left: 4vw;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: var(--paper);
    border: 1px solid rgba(17, 34, 46, 0.15);
    border-radius: 14px;
    padding: 1rem;
  }

  .site-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
    border: 1px solid rgba(17, 34, 46, 0.2);
    background: var(--white);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-weight: 700;
    font-family: inherit;
  }
}
