/* Photography direction: warm working environments, precise IT details,
   and untouched original product images from MAF's public page. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.hero {
  background: #f3f2ee;
}

.hero-inner {
  width: min(1280px, calc(100% - 72px));
  grid-template-columns: .86fr 1.14fr;
  gap: 46px;
  min-height: 620px;
  padding: 64px 0;
}

.hero h1 {
  font-size: clamp(42px, 4.3vw, 62px);
  line-height: 1.08;
}

.hero-image {
  display: block;
  height: auto;
  min-width: 0;
  max-height: none;
}

.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 55px -25px #142c4e70;
}

.hero-photo-caption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 2px 0;
  font-size: 10px;
  color: #617080;
}

.hero-photo-caption span:first-child {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: .12em;
}

.hero-note {
  flex-wrap: wrap;
  line-height: 1.7;
  gap: 7px;
}

.services {
  gap: 16px;
}

.service {
  border-radius: 8px;
}

.product-gallery {
  display: block;
  margin: 36px 0 24px;
}

.product-photo-card {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  min-width: 0;
  margin: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.product-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 410px;
  padding: 16px;
  background: white;
}

.product-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-photo-card figcaption {
  padding: 40px 44px;
}

.product-photo-card figcaption p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  max-width: 350px;
  margin: 18px 0 0;
}

.photo-kicker {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  color: #987321;
}

.product-photo-card h3 {
  margin: 10px 0 0;
  color: var(--blue);
  font: 600 36px/1.15 Manrope, sans-serif;
  letter-spacing: -.035em;
}

.product-photo-card a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 13px 17px;
  color: var(--blue);
  border: 1px solid #d6dde5;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  transition: color .2s, background .2s;
}

.product-photo-card a:hover {
  background: var(--blue);
  color: white;
}

.security-inner {
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
}

.security-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border: 0;
  border-radius: 8px;
  margin-bottom: 24px;
}

.security-item {
  padding: 15px 0;
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

.footer-credit {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid #ffffff1a;
}

.site-credit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  font-size: 10px;
  line-height: 1.7;
  color: #a6b7d2;
}

.site-credit a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #dce5f5;
}

.site-credit a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-credit img {
  display: block;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

@media (max-width: 1000px) {
  .hero-inner { gap: 30px; }
  .hero h1 { font-size: 44px; }
  .product-photo { height: 310px; }
  .product-photo-card h3 { font-size: 30px; }
}

@media (max-width: 850px) {
  .hero-inner {
    grid-template-columns: 1fr;
    width: min(700px, calc(100% - 48px));
    padding: 56px 0 42px;
    gap: 36px;
  }
  .hero h1 { max-width: 580px; font-size: 54px; }
  .hero-image { height: auto; }
  .security-inner { grid-template-columns: 1fr; gap: 38px; }
  .service:last-child { grid-column: auto; }
  .product-photo { height: 260px; padding: 10px; }
  .product-photo-card figcaption { padding: 24px; }
  .product-photo-card h3 { font-size: 28px; }
}

@media (max-width: 560px) {
  .footer-links { padding-bottom: 0; }
  .footer-credit { justify-content: flex-start; }
  .hero-inner { width: calc(100% - 36px); padding-top: 40px; }
  .hero h1 { font-size: 43px; }
  .hero-image, .hero-photo { max-height: none; }
  .hero-photo-caption { font-size: 8px; padding-top: 15px; }
  .hero-photo-caption span:first-child { letter-spacing: .07em; }
  .product-gallery { margin-top: 24px; }
  .product-photo-card { grid-template-columns: 1fr; }
  .product-photo { height: 330px; padding: 10px; }
  .product-photo-card figcaption { padding: 24px; }
  .product-photo-card h3 { font-size: 32px; }
}
