:root {
  color-scheme: light;
  --ink: #11262c;
  --ink-soft: #455b61;
  --forest: #0b2f35;
  --forest-light: #164b52;
  --paper: #f6f8f2;
  --line: rgba(11, 47, 53, 0.16);
  --acid: #f28c28;
  --cobalt: #3b53c5;
  --white: #fff;
  font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(16, 36, 30, 0.04) calc(100% - 1px)) 0 0 / 25% 100%,
    var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
}

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

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  transform: translateY(-200%);
  border-radius: 0.25rem;
  background: var(--acid);
  color: var(--forest);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer,
.hero,
.principles,
.section,
.closing {
  width: min(calc(100% - 3rem), 76rem);
  margin-inline: auto;
}

.site-header {
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

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

.brand-logo {
  width: 2.7rem;
  height: 2.7rem;
  display: block;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  padding: 0.5rem 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--forest);
  content: "";
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  min-height: calc(100vh - 6rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.85fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  padding-block: clamp(4rem, 10vh, 8rem);
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: #426c5c;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: none;
  margin-bottom: 2rem;
  font-size: clamp(3.35rem, 5.8vw, 6.4rem);
  font-weight: 650;
  letter-spacing: -0.07em;
  line-height: 0.91;
}

h1 span {
  display: block;
  white-space: nowrap;
}

.hero-intro {
  max-width: 38rem;
  margin-bottom: 2.5rem;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.65;
}

.hero-tagline {
  margin: -0.75rem 0 1rem;
  color: var(--cobalt);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 750;
  letter-spacing: -0.03em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
}

.button {
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border-radius: 0.35rem;
  font-size: 0.92rem;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease;
}

.button-primary {
  background: var(--forest);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-2px);
  background: var(--forest-light);
}

.text-link {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-brand-visual {
  position: relative;
  min-height: 32rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1.5rem;
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
  border: 1px solid rgba(59, 83, 197, 0.2);
  border-radius: 1.25rem;
  background:
    linear-gradient(rgba(59, 83, 197, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 83, 197, 0.07) 1px, transparent 1px),
    linear-gradient(145deg, #f0f3ff 0%, #e6ebfa 100%);
  background-size: 25% 25%;
  box-shadow: 0 2rem 5rem rgba(11, 47, 53, 0.12);
}

.hero-brand-visual::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 7rem;
  height: 0.55rem;
  background: var(--acid);
  content: "";
}

.visual-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-mark-panel {
  width: min(100%, 21rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: center;
}

.hero-mark-panel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.hero-brand-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  row-gap: 0.55rem;
  text-transform: uppercase;
}

.hero-brand-principles span:nth-child(even) {
  text-align: right;
}

.hero-brand-principles span::before {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--acid);
  content: "";
}

.hero-brand-principles span:nth-child(even)::before {
  background: var(--cobalt);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles article {
  min-height: 14rem;
  padding: 2rem clamp(1.25rem, 3vw, 2.5rem);
}

.principles article + article {
  border-left: 1px solid var(--line);
}

.principles span,
.product-index {
  color: #6a7c75;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.principles h2 {
  margin: 3.1rem 0 0.45rem;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.principles p {
  max-width: 16rem;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.section {
  padding-block: clamp(6rem, 12vw, 10rem);
}

.approach,
.company {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: start;
}

.section-heading h2,
.company h2,
.closing h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5.5vw, 5.3rem);
  font-weight: 630;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.approach-copy {
  padding-top: 3rem;
}

.approach-copy p,
.company-copy p {
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.approach-copy .lead {
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.5;
}

.direction {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
}

.direction-card {
  min-height: 36rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2.25rem, 6vw, 6rem) max(1.5rem, calc((100vw - 76rem) / 2));
  background: var(--acid);
}

.direction-card:first-child {
  padding-left: max(1.5rem, calc((100vw - 76rem) / 2));
  padding-right: clamp(2.25rem, 6vw, 6rem);
}

.direction-card:last-child {
  padding-right: max(1.5rem, calc((100vw - 76rem) / 2));
  padding-left: clamp(2.25rem, 6vw, 6rem);
}

.direction-card .eyebrow {
  color: #6f3300;
}

.direction-card h2 {
  max-width: 9ch;
  margin: auto 0 2rem;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 640;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.direction-card > p:last-child {
  max-width: 34rem;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.direction-card-dark {
  background: #c8ead4;
}

.direction-card-dark .eyebrow {
  color: #426c5c;
}

.products {
  width: 100%;
  padding-inline: max(1.5rem, calc((100% - 76rem) / 2));
  background: var(--forest);
  color: var(--paper);
}

.products .eyebrow {
  color: #a8c6b9;
}

.products-heading {
  width: min(100%, 76rem);
  margin: 0 auto 4rem;
}

.product-grid {
  width: min(100%, 76rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 auto;
}

.product-card {
  min-height: 38rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.75rem;
}

.product-jdi {
  border: 1px solid rgba(11, 47, 53, 0.2);
  background: #fbf8f2;
  box-shadow: none !important;
  color: #203777;
}

.product-brujula {
  border-color: #9b968b;
  background: #fbf8f2;
  color: #073f3c;
}

.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-status {
  padding: 0.4rem 0.7rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-jdi .product-index {
  color: rgba(32, 55, 119, 0.62);
}

.product-logo-tile {
  width: clamp(9rem, 16vw, 13rem);
  height: clamp(9rem, 16vw, 13rem);
  display: grid;
  place-items: center;
  align-self: center;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--white);
}

.product-logo-tile img {
  width: 72%;
  height: 72%;
  display: block;
  object-fit: contain;
}

.jdi-logo-tile {
  width: clamp(11rem, 19vw, 15rem);
  height: clamp(13rem, 22vw, 17rem);
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.jdi-logo-tile img {
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
}

.brujula-logo-tile {
  width: min(92%, 22rem);
  height: clamp(8rem, 12vw, 10rem);
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.brujula-logo-tile img {
  width: 100%;
  height: 100%;
}

.product-compass {
  position: relative;
  width: clamp(10rem, 18vw, 14rem);
  height: clamp(10rem, 18vw, 14rem);
  display: grid;
  place-items: start center;
  align-self: center;
  border: 1px solid rgba(7, 63, 60, 0.38);
  border-radius: 50%;
  color: #073f3c;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.product-compass span {
  margin-top: 1rem;
}

.product-compass::before,
.product-compass::after {
  position: absolute;
  inset: 50% auto auto 50%;
  background: rgba(7, 63, 60, 0.22);
  content: "";
}

.product-compass::before {
  width: 80%;
  height: 1px;
  transform: translate(-50%, -50%);
}

.product-compass::after {
  width: 1px;
  height: 80%;
  transform: translate(-50%, -50%);
}

.product-compass i {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  width: 1.6rem;
  height: 7rem;
  transform: translate(-50%, -50%) rotate(28deg);
  background: linear-gradient(to bottom, #1fa454 0 50%, #174d91 50% 100%);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.product-compass i::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.85rem;
  height: 0.85rem;
  transform: translate(-50%, -50%);
  border: 2px solid #073f3c;
  border-radius: 50%;
  background: #d5a42b;
  content: "";
}

.product-copy {
  max-width: 30rem;
}

.product-family {
  margin-bottom: 0.7rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-copy h3 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1;
}

.product-copy > p:not(.product-family, .future-address) {
  opacity: 0.78;
  font-size: 1rem;
}

.future-address {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid currentColor;
  opacity: 0.72;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.culture {
  border-bottom: 1px solid var(--line);
}

.culture-heading {
  max-width: 53rem;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.culture-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.culture-label {
  margin-bottom: 1.5rem;
  color: #5d7068;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.values ol,
.culture-code ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.values li {
  min-height: 4.5rem;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 650;
  letter-spacing: -0.025em;
}

.values li:last-child {
  border-bottom: 1px solid var(--line);
}

.values li span {
  color: #71817a;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.culture-code {
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 0.75rem;
  background: var(--forest);
  color: var(--paper);
}

.culture-code .culture-label {
  color: #a8c6b9;
}

.culture-code li {
  position: relative;
  padding: 0.9rem 0 0.9rem 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 1rem;
}

.culture-code li::before {
  position: absolute;
  top: 1.45rem;
  left: 0;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--acid);
  content: "";
}

.culture-code li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.company {
  border-bottom: 1px solid var(--line);
}

.company-copy {
  padding-top: 3.2rem;
}

.closing {
  padding-block: clamp(7rem, 15vw, 12rem);
  text-align: center;
}

.closing .eyebrow {
  color: #426c5c;
}

.closing h2 {
  max-width: 12ch;
  margin-inline: auto;
}

.closing > p:last-child {
  max-width: 42rem;
  margin: 2rem auto 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: center;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.83rem;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 58rem) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 48rem;
  }

  .hero-brand-visual {
    width: min(100%, 32rem);
    justify-self: center;
  }

  .approach,
  .company,
  .culture-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .approach-copy,
  .company-copy {
    max-width: 42rem;
    padding-top: 1rem;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .copyright {
    grid-column: 1 / -1;
  }
}

@media (max-width: 42rem) {
  body {
    background: var(--paper);
  }

  .site-header,
  .site-footer,
  .hero,
  .principles,
  .section,
  .closing {
    width: min(calc(100% - 2rem), 76rem);
  }

  .site-header {
    min-height: 5rem;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .site-nav {
    gap: 1rem;
    font-size: 0.78rem;
  }

  .site-nav a:first-child {
    display: none;
  }

  .hero {
    padding-block: 4.5rem 5rem;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 4.2rem);
  }

  .hero-brand-visual {
    width: min(100%, 24rem);
    min-height: 28rem;
  }

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

  .direction-card,
  .direction-card:first-child,
  .direction-card:last-child {
    min-height: 31rem;
    padding: 2.5rem 1rem;
  }

  .visual-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

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

  .principles article {
    min-height: auto;
  }

  .principles article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .principles h2 {
    margin-top: 1.8rem;
  }

  .products {
    width: 100%;
    padding-inline: 1rem;
  }

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

  .product-card {
    min-height: 34rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (max-width: 25rem) {
  .brand-name {
    display: none;
  }
}
