@font-face {
  font-family: Quicksand;
  src: url("assets/regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Quicksand;
  src: url("assets/bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #1c1c1c;
  --paper: #f2f1ed;
  --line: rgba(28, 28, 28, 0.16);
  --muted: #696863;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 15%, #383838 0, transparent 28rem),
    var(--ink);
  font-family: Quicksand, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.card-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.digital-card {
  width: min(1050px, 100%);
  min-height: min(720px, calc(100svh - 56px));
  display: grid;
  grid-template-columns: minmax(340px, 0.86fr) minmax(480px, 1.14fr);
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.portrait {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #d7d9dc;
}

.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 24%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 30%);
  pointer-events: none;
}

.portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 0;
}

.back-link,
.portrait-note {
  position: absolute;
  z-index: 1;
  left: 28px;
  color: #fff;
}

.back-link {
  top: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(20, 20, 20, 0.2);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 700;
}

.portrait-note {
  right: 28px;
  bottom: 23px;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.content {
  display: flex;
  flex-direction: column;
  padding: clamp(42px, 5vw, 70px);
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

h1 {
  margin: 0;
  font-size: clamp(47px, 6vw, 76px);
  line-height: 0.97;
  letter-spacing: -0.055em;
}

.role {
  margin: 15px 0 4px;
  font-size: 19px;
  font-weight: 700;
}

.focus {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.focus span {
  margin: 0 4px;
  color: #a4a39e;
}

.intro {
  max-width: 520px;
  margin: 38px 0 33px;
  color: #45443f;
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.55;
}

.primary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 34px;
}

.action {
  min-height: 54px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition:
    transform 150ms ease,
    background 150ms ease,
    color 150ms ease;
}

.action:hover {
  transform: translateY(-2px);
}

.action svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.action-primary {
  color: #fff;
  background: var(--ink);
  font-weight: 700;
}

.action-secondary {
  color: var(--ink);
  background: transparent;
}

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

.contact-list a {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
}

.contact-list a:hover strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-label {
  color: var(--muted);
  font-size: 12px;
}

.contact-list strong {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.arrow {
  font-size: 18px;
}

.card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: auto;
  padding-top: 32px;
}

.card-footer img {
  width: 106px;
  height: auto;
  opacity: 0.92;
}

.card-footer p {
  max-width: 270px;
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
  text-align: right;
}

.card-footer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.share-status {
  position: fixed;
  bottom: 20px;
  left: 50%;
  z-index: 3;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 10px 16px;
  color: #fff;
  background: rgba(0, 0, 0, 0.82);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: 180ms ease;
  pointer-events: none;
  font-size: 13px;
}

.share-status.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 760px) {
  .card-shell {
    display: block;
    padding: 0;
  }

  .digital-card {
    min-height: 100svh;
    grid-template-columns: 1fr;
    box-shadow: none;
  }

  .portrait {
    min-height: 0;
    height: 40svh;
  }

  .portrait img {
    object-position: 50% 0;
  }

  .content {
    min-height: 60svh;
    padding: 34px 24px 24px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 66px);
  }

  .role {
    font-size: 17px;
  }

  .intro {
    margin: 27px 0 24px;
  }

  .primary-actions {
    margin-bottom: 25px;
  }

  .card-footer {
    padding-top: 26px;
  }
}

@media (max-width: 430px) {
  .portrait {
    height: 38svh;
  }

  .content {
    min-height: 62svh;
  }

  .primary-actions {
    grid-template-columns: 1fr;
  }

  .contact-list a {
    grid-template-columns: 72px 1fr auto;
  }

  .card-footer {
    align-items: center;
  }

  .card-footer p {
    max-width: 205px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
