.contact-section {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.7fr);
  gap: clamp(40px, 4.5vw, 80px);
  align-items: center;
  padding: clamp(88px, 8vw, 140px) var(--gutter) clamp(100px, 9vw, 160px);
  background: #fff;
  color: #050607;
}
.contact-section__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin: 0;
}
.contact-section__label {
  grid-column: 1 / -1;
  margin-bottom: 40px;
  color: #626f79;
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.015em;
}
.contact-section h2 {
  font-size: clamp(40px, 3.4vw, 72px);
  line-height: 1.07;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.contact-section h2 span { color: #8c82ff; }
.contact-section__intro {
  margin-top: 32px;
  max-width: 460px;
  font-size: clamp(18px, 1.4vw, 24px);
  line-height: 1.5;
  text-wrap: pretty;
}
.contact-section__mosaic {
  display: grid;
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr) minmax(0, 1fr);
  grid-template-rows: 60px clamp(110px, 8vw, 160px) clamp(110px, 8vw, 160px) clamp(85px, 7vw, 125px) 60px;
  gap: clamp(16px, 1.25vw, 24px) 40px;
  align-items: stretch;
}
.contact-section__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(20px, 1.5vw, 32px);
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%);
}
.contact-section__icon {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  border-radius: 0;
  flex-shrink: 0;
}
.contact-section__email {
  grid-column: 1;
  grid-row: 2 / 4;
  justify-content: flex-end;
  background: #8c82ff;
  color: #fff;
}
.contact-section__email .contact-section__icon { margin-bottom: auto; }
.contact-section__email-label { margin-top: 22px; }
.contact-section__email-label,
.contact-section__social-label,
.contact-section__talk-label {
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.015em;
}
.contact-section__email-address {
  margin-top: 5px;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(18px, 1.35vw, 30px);
  font-weight: 500;
  letter-spacing: -.035em;
}
.contact-section__arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  transition: transform .3s ease;
}
.contact-section__tile:hover > .contact-section__arrow,
.contact-section__tile:focus-visible > .contact-section__arrow { transform: translate(4px, -4px); }
.contact-section__tile:focus-visible { outline-offset: -5px; outline-color: #050607; }
.contact-section__talk {
  grid-column: 3;
  grid-row: 2 / 4;
  margin-top: 12px;
  margin-left: 0;
  margin-right: 0;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(20px, 1.5vw, 32px);
  background: #ffd344;
  clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
}
.contact-section__note {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(20px, 1.6vw, 32px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.035em;
  text-wrap: pretty;
}
.contact-section__talk-label { text-decoration: underline; text-underline-offset: 6px; }
.contact-section__social {
  display: contents;
}
.contact-section__social-label { grid-column: 3; grid-row: 4; align-self: end; margin: 0; color: #626f79; }
.contact-section__social-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 14px;
  color: #fff;
  background: #0866ff;
  align-self: center;
  font-size: clamp(16px, 1.1vw, 22px);
  font-weight: 600;
  line-height: 1.35;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  transition: transform .3s ease;
}
.contact-section__social-chip--facebook { grid-column: 1; grid-row: 1; margin: 0 24px 0 8px; }
.contact-section__social-chip--instagram { grid-column: 3; grid-row: 5; background: #e1306c; margin: 0 12px 0 0; }
.contact-section__social-chip--linkedin { grid-column: 2; grid-row: 4; align-self: start; background: #0a66c2; margin: 12px -8px 0 -8px; }
.contact-section__social-chip img { width: 18px; height: 18px; object-fit: contain; border-radius: 0; filter: brightness(0) invert(1); }
.contact-section__social-chip .icon { width: 18px; height: 18px; margin-left: auto; transition: transform .3s; }
.contact-section__social-chip:hover { transform: translateX(4px); }
.contact-section__social-chip:focus-visible { outline-color: #050607; outline-offset: -4px; }
.contact-section__social a:hover .icon { transform: translate(3px, -3px); }
.contact-section__photo { min-width: 0; margin: 0; overflow: hidden; }
.contact-section__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.contact-section__photo--main {
  grid-column: 2;
  grid-row: 1 / 4;
  width: 100%;
  justify-self: center;
  margin-top: 12px;
  margin-bottom: 0;
  clip-path: polygon(0 0, calc(100% - 54px) 0, 100% 54px, 100% 100%, 0 100%);
}
.contact-section__photo--main img { object-position: 65% center; }
.contact-section__photo--small img { object-position: 44% 40%; }
.contact-section__photo--small {
  grid-column: 1;
  grid-row: 4 / 6;
  width: 62%;
  height: clamp(140px, 12vw, 200px);
  justify-self: end;
  margin-top: 12px;
  margin-bottom: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 32px 100%, 0 calc(100% - 32px));
}
@media (max-width: 1100px) {
  .contact-section { grid-template-columns: 1fr; gap: 56px; }
  .contact-section__copy { max-width: 680px; margin-inline: auto; }
  .contact-section__label { margin-bottom: 40px; }
  .contact-section__intro { max-width: 580px; }
  .contact-section__mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 70px 260px 240px auto 70px; }
  .contact-section__email { grid-column: 1; grid-row: 2; }
  .contact-section__photo--main { grid-column: 2; grid-row: 2 / 4; height: 360px; width: 86%; align-self: start; margin: 24px 0; }
  .contact-section__talk { grid-column: 1; grid-row: 3; margin: 0 28px 0 0; gap: 16px; }
  .contact-section__talk .contact-section__icon { width: 32px; height: 32px; }
  .contact-section__social-label { grid-column: 2; grid-row: 4; align-self: end; }
  .contact-section__social-chip--facebook { grid-column: 1; grid-row: 1; margin: 0 28px; }
  .contact-section__social-chip--instagram { grid-column: 2; grid-row: 5; margin: 0; }
  .contact-section__social-chip--linkedin { grid-column: 1; grid-row: 5; margin: 0 28px 0 0; }
  .contact-section__photo--small { grid-column: 1; grid-row: 4; height: 170px; width: 78%; margin: 0; }
}
@media (max-width: 600px) {
  .contact-section { padding-top: 76px; padding-bottom: 88px; }
  .contact-section h2 { font-size: clamp(36px, 9vw, 54px); }
  .contact-section__mosaic { grid-template-columns: 1fr; grid-template-rows: auto; gap: 20px; }
  .contact-section__tile { padding: 28px; min-height: 220px; }
  .contact-section__email { grid-column: 1; grid-row: 2; margin-right: 16px; }
  .contact-section__email-address { font-size: clamp(24px, 6.7vw, 34px); }
  .contact-section__photo--main { grid-column: 1; grid-row: 3; width: 78%; height: 260px; justify-self: end; margin: 8px 0; }
  .contact-section__talk { grid-column: 1; grid-row: 5; margin: 12px 28px 12px 0; }
  .contact-section__note { font-size: 30px; }
  .contact-section__photo--small { grid-column: 1; grid-row: 6; width: 70%; height: 160px; justify-self: center; margin: 0; }
  .contact-section__social-label { grid-column: 1; grid-row: 7; margin: 12px 0 0 16px; }
  .contact-section__social-chip--facebook { grid-column: 1; grid-row: 1; margin: 0 0 16px 32px; }
  .contact-section__social-chip--linkedin { grid-column: 1; grid-row: 4; margin: 0 40px 0 0; }
  .contact-section__social-chip--instagram { grid-column: 1; grid-row: 8; margin: 0 0 0 24px; }
}
