* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f4f4f6;
  color: #1c1f26;
  font: 16px/1.5 'Segoe UI',system-ui,sans-serif;
}

header {
  background: linear-gradient(#fff,#e9eaef);
  border-bottom: 1px solid #ccd0d7;
}

.wrap {
  max-width: 1060px;
  margin: auto;
  padding-inline: 24px;
}

nav, footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
  gap: 18px;
}

.brand {
  letter-spacing: .075em;
  font-weight: 850;
  text-transform: uppercase;
}

.brand span {
  color: #ab4000;
}

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

nav div {
  display: flex;
  gap: 20px;
  font-size: .9rem;
}

nav div a:hover {
  text-decoration: underline;
}

main {
  padding-block: 36px;
}

h1 {
  font-size: clamp(2.4rem,6vw,4rem);
  line-height: 1.05;
  letter-spacing: -.06em;
  margin: 0 0 10px;
}

.intro {
  margin: 0 0 24px;
  color: #505665;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,250px),1fr));
  gap: 20px;
}

.card {
  border: 1px solid #cfd3db;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 10px #2222;
}

.card:hover {
  border-color: #c74b00;
}

.card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 315/250;
  background: #252831;
  object-fit: contain;
}

.info {
  padding: 16px 18px 18px;
  display: flex;
  flex: 1;
  align-items: flex-start;
  flex-direction: column;
}

.info small {
  font: 700 .73rem ui-monospace,monospace;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: #994000;
}

.info h2 {
  line-height: 1.17;
  font-size: 1.32rem;
  margin: 6px 0;
}

.info p {
  font-size: .94rem;
  color: #505665;
  margin: 0 0 14px;
}

.info b {
  margin-top: auto;
  font-size: .84rem;
  color: #005a9c;
}

#about {
  border-top: 4px solid #ff6a00;
  background: white;
  border-radius: 0 0 12px 12px;
  padding: clamp(20px,4vw,40px);
  margin-top: 42px;
}

#about h2 {
  margin: 0;
}

#about p {
  max-width: 68ch;
}

.button {
  display: inline-block;
  background: #252931;
  color: white;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 650;
}

footer {
  background: #e9eaef;
  border-top: 1px solid #cfd3da;
  font-size: .9rem;
}

a:focus-visible {
  outline: 3px solid #0078d4;
  outline-offset: 3px;
}

@media(max-width:480px) {
  .wrap {
    padding-inline: 16px;
  }
  nav div {
    gap: 12px;
  }
  .brand {
    font-size: .8rem;
  }
  footer .wrap {
    flex-wrap: wrap;
  }
}
