/* Contact and footer, inspired by the supplied layout reference. */
.action-arrow {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.header-cta .action-arrow { width: 17px; height: 17px; }

.editorial-hero-top { justify-content: flex-start; }

.work-tile__open .action-arrow {
  width: 21px;
  height: 21px;
  transition: transform .25s ease;
}

.work-tile__button:hover .work-tile__open { transform: none; }
.work-tile__button:hover .work-tile__open .action-arrow { transform: translate(2px, -2px); }

.contact {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  min-height: 330px;
  margin-bottom: 0;
  padding: 56px 60px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.contact-main { min-width: 0; }

.contact h2 {
  max-width: 18ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.055em;
}

.contact-intro {
  max-width: 52ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: var(--text-body);
  line-height: 1.75;
}

.contact-details {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.contact-email {
  margin-top: 28px;
  color: var(--heading);
  font-family: var(--display);
  font-size: clamp(25px, 2.9vw, 42px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.05em;
  overflow-wrap: anywhere;
}

.contact-email:hover { color: var(--accent); }

.contact-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 46px;
  margin-top: 30px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: var(--text-small);
  font-weight: 600;
}

.contact-linkedin:hover { background: var(--accent); color: var(--bg); }
.contact-linkedin:hover .action-arrow { transform: translate(2px, -2px); }
.contact-linkedin .action-arrow { width: 17px; height: 17px; transition: transform .2s ease; }

.contact-profile {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.contact-profile img {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 26%;
  box-shadow: 0 10px 28px rgb(16 6 12 / 24%);
}

.contact-profile div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.contact-profile strong {
  color: var(--heading);
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.contact-profile span {
  color: var(--muted);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 28px 36px;
  color: var(--muted);
  font-size: var(--text-label);
}

.site-footer__location { margin-left: auto; text-align: right; }

@media (max-width: 1000px) {
  .contact {
    grid-template-columns: minmax(0, .8fr) minmax(340px, 1.2fr);
    gap: 40px;
    padding: 48px 40px;
  }

  .contact-profile img { width: 72px; height: 72px; flex-basis: 72px; }
}

@media (max-width: 760px) {
  .contact {
    grid-template-columns: 1fr;
    gap: 38px;
    min-height: 0;
    padding: 34px 24px 28px;
  }

  .contact h2 { font-size: clamp(34px, 10vw, 44px); }
  .contact-email { font-size: clamp(27px, 8vw, 36px); }
  .contact-profile {
    width: 100%;
  }

  .contact-details { padding-top: 28px; border-top: 1px solid var(--line); }

  .contact-profile img { width: 68px; height: 68px; flex-basis: 68px; }
  .site-footer { flex-wrap: wrap; gap: 8px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .work-tile__open .action-arrow,
  .contact-linkedin .action-arrow { transition: none; }
}
