/* GP&I one-page website
   Logo colors:
   Navy: #1A4064
   Grey-blue: #8D9BA6
*/

:root {
  --navy: #1A4064;
  --navy-dark: #08283f;
  --blue-grey: #8D9BA6;
  --paper: #f8f8f7;
  --white: #ffffff;
  --line: rgba(141, 155, 166, 0.42);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--navy);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 54px;
}

.brand img {
  width: 296px;
  max-width: 38vw;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 44px;
  align-items: center;
  padding-top: 20px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding-bottom: 14px;
}

.nav a::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0;
  left: 50%;
  bottom: 0;
  background: var(--navy);
  transform: translateX(-50%);
  transition: width .25s ease;
}

.nav a:hover::after,
.nav a.active::after { width: 52px; }

.hero {
  position: relative;
  min-height: 765px;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-bg.jpg");
  background-size: cover;
  background-position: center top;
  transform: scale(1.01);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.74) 0%, rgba(255,255,255,.13) 20%, rgba(8,40,63,.05) 42%, rgba(8,40,63,.90) 100%),
    linear-gradient(to right, rgba(255,255,255,.05) 0%, rgba(255,255,255,.04) 38%, rgba(26,64,100,.10) 100%);
}

.hero-content {
  position: relative;
  z-index: 5;
  width: min(1110px, calc(100% - 108px));
  margin: 0 auto;
  padding-top: 545px;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(48px, 5.35vw, 74px);
  line-height: .98;
  font-weight: 500;
  letter-spacing: -.035em;
  text-shadow: 0 7px 25px rgba(0,0,0,.28);
}

.hero h1 span { color: var(--blue-grey); }

.hero p {
  margin: 24px 0 0;
  color: #fff;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .13em;
  font-size: 15px;
}

.hero p i {
  margin: 0 12px;
  color: var(--blue-grey);
  font-style: normal;
}

.intro {
  min-height: 178px;
  padding: 42px 20px 34px;
  background: var(--paper);
  text-align: center;
}

.intro p {
  max-width: 740px;
  margin: 0 auto;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.44;
  font-weight: 500;
  letter-spacing: -.01em;
}

.line {
  width: 84px;
  height: 2px;
  background: var(--blue-grey);
}

.intro .line,
.focus .line {
  margin: 25px auto 0;
}

.focus {
  background: #fff;
  padding: 43px 54px 66px;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--navy);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .13em;
}

.focus h2,
.approach h2,
.contact h2 {
  margin: 13px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.03em;
}

.focus h2 {
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1.05;
}

.focus h2 span,
.approach h2 span { color: var(--blue-grey); }

.focus-grid {
  max-width: 1140px;
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.focus-card {
  min-height: 296px;
  padding: 0 39px;
  border-left: 1px solid var(--line);
}

.focus-card:first-child { border-left: 0; }

.focus-card svg {
  width: 72px;
  height: 72px;
  margin-bottom: 30px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.focus-card h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.focus-card p {
  margin: 24px auto 0;
  color: rgba(26,64,100,.86);
  font-size: 13px;
  line-height: 1.85;
}

.focus-card small {
  display: block;
  width: 49px;
  height: 2px;
  margin: 24px auto 0;
  background: var(--blue-grey);
}

.approach {
  position: relative;
  background:
    radial-gradient(circle at 75% 18%, rgba(141,155,166,.16), transparent 24%),
    linear-gradient(135deg, var(--navy-dark), var(--navy) 58%, #0a304a);
  padding: 66px 54px 70px;
  color: #fff;
  overflow: hidden;
}

.approach::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image:
    linear-gradient(90deg, transparent 95%, rgba(255,255,255,.6) 95%),
    linear-gradient(0deg, transparent 95%, rgba(255,255,255,.6) 95%);
  background-size: 72px 72px;
  pointer-events: none;
}

.approach-inner {
  position: relative;
  z-index: 2;
  max-width: 1138px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 76px;
}

.approach .eyebrow { color: var(--blue-grey); }

.approach h2 {
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.05;
}

.approach .line {
  margin: 28px 0 0;
  background: var(--blue-grey);
}

.approach-copy > p:last-child {
  max-width: 434px;
  margin: 40px 0 0;
  color: rgba(255,255,255,.86);
  font-size: 15px;
  line-height: 1.9;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-left: 1px solid rgba(141,155,166,.35);
}

.approach-grid article {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  min-height: 149px;
  padding: 28px 23px 26px 33px;
  border-right: 1px solid rgba(141,155,166,.35);
  border-bottom: 1px solid rgba(141,155,166,.35);
}

.approach-grid article:nth-child(3),
.approach-grid article:nth-child(4) { border-bottom: 0; }

.approach-grid svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.approach-grid h3 {
  margin: 0 0 11px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.approach-grid p {
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 13px;
  line-height: 1.75;
}

.contact {
  background: var(--paper);
  padding: 52px 58px 48px;
  display: grid;
  grid-template-columns: .95fr 1.05fr .9fr;
  gap: 48px;
  align-items: center;
}

.contact-copy h2 {
  font-size: clamp(36px, 3.4vw, 50px);
  line-height: 1;
}

.contact .line {
  margin: 24px 0 0;
}

.contact-copy p {
  max-width: 340px;
  margin: 28px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(26,64,100,.86);
}

.contact-details {
  min-height: 190px;
  padding-left: 64px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

.contact-details div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 24px;
  align-items: start;
}

.contact-details svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-details a,
.contact-details p {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
}

.contact-details a:hover { text-decoration: underline; }

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

.footer-logo img {
  width: 292px;
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    padding: 22px 22px;
  }

  .brand img { width: 220px; max-width: 70vw; }

  .nav { display: none; }

  .hero {
    min-height: 650px;
  }

  .hero-content {
    width: calc(100% - 44px);
    padding-top: 405px;
  }

  .hero h1 { font-size: 47px; }

  .hero p {
    font-size: 12px;
    line-height: 1.8;
  }

  .intro { padding: 40px 22px; }
  .desktop-only { display: none; }

  .focus { padding: 45px 22px 56px; }

  .focus-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .focus-card {
    min-height: unset;
    border-left: 0;
    padding: 0 18px 38px;
    border-bottom: 1px solid var(--line);
  }

  .focus-card:last-child { border-bottom: 0; }

  .approach { padding: 58px 22px; }

  .approach-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    border-left: 0;
  }

  .approach-grid article {
    grid-template-columns: 58px 1fr;
    border-right: 0;
    border-bottom: 1px solid rgba(141,155,166,.35) !important;
    padding: 26px 0;
  }

  .approach-grid article:last-child { border-bottom: 0 !important; }

  .contact {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 48px 24px;
  }

  .contact-details {
    border-left: 0;
    padding-left: 0;
    min-height: unset;
  }

  .footer-logo { justify-content: flex-start; }

  .footer-logo img { width: 250px; }
}
