/* NavigatorAdvice.com global styles */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #061C31;
}

/* Hero */

.hero {
  position: relative;

  /*
    Keep the complete 1672 × 941 hero
    visible within the browser viewport.
  */
  width: min(100%, calc(100vh * 1.7779));

  margin: 0 auto;
  overflow: hidden;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

/*
  Invisible clickable area positioned over
  the "Explore Our Work" button embedded
  in the hero artwork.
*/

.hero-cta {
  position: absolute;
  left: 3.9%;
  top: 64.8%;
  width: 23.5%;
  height: 8.3%;
  cursor: pointer;
}

/* Keyboard accessibility */

.hero-cta:focus {
  outline: 3px solid #F5B942;
  outline-offset: 3px;
}
/* What We Do */

.our-work {
  background: #F4F6F7;
  color: #071826;
  padding: 80px 40px;
}

.section-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.section-label {
  margin: 0 0 18px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #A86F12;
}

.our-work h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  font-weight: 700;
}

.section-intro {
  max-width: 800px;
  margin: 28px 0 50px;
  font-size: 1.2rem;
  line-height: 1.65;
}

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

.work-card {
  padding: 32px;
  background: #FFFFFF;
  border-top: 4px solid #D39A2C;
}

.work-card h3 {
  margin: 0 0 18px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.work-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

.section-principle {
  margin: 55px 0 0;
  padding-top: 24px;
  border-top: 1px solid #AAB2B8;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Responsive layout */

@media (max-width: 850px) {

  .our-work {
    padding: 60px 24px;
  }

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

}
