@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/SpaceGrotesk-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/SpaceGrotesk-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/SpaceGrotesk-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --links-paper-warm: var(--paper);
  --links-paper-stage: var(--paper);
  --links-ink-900: var(--night);
  --links-ink-soft: var(--ink-muted);
  --links-bordeaux: var(--grad-to);
  --links-red-bloom: var(--grad-to);
}

html {
  background: var(--links-paper-stage);
}

body.links-body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.55;
  font-feature-settings: 'kern', 'ss02', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.links-topbar {
  display: none;
}

.links-page,
.links-page * {
  box-sizing: border-box;
}

.links-page {
  width: min(100%, 440px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--links-paper-warm);
  position: relative;
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(20, 24, 28, 0.12);
}

.links-page::after {
  display: none;
}

.links-page > * {
  position: relative;
  z-index: 2;
}

.links-page a {
  color: inherit;
  text-decoration: none;
}

.links-page img,
.links-page svg {
  display: block;
}

.links-hero {
  position: relative;
  height: 320px;
  overflow: hidden;
  color: var(--fg-on-dark);
  background: var(--links-ink-900);
}

.links-hero__photo {
  position: absolute;
  inset: 0;
}

.links-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.05);
}

.links-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 19, 25, 0.2) 0%, transparent 42%, rgba(0, 0, 0, 0.62) 100%),
    radial-gradient(ellipse at 30% 18%, rgba(88, 123, 145, 0.22), transparent 58%);
}

.links-hero__stamp {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  left: 20px;
  max-width: calc(100% - 88px);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.45;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.74);
  display: flex;
  align-items: center;
  gap: 10px;
}

.links-hero__stamp::before {
  content: "";
  width: 24px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--grad);
}

.links-dot {
  color: var(--links-red-bloom);
}

.links-hero__mark {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-135);
  color: var(--links-paper-warm);
  font-size: 14px;
  font-weight: 400;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.links-hero__desktop-meta,
.links-hero__scroll {
  display: none;
}

.links-hero__title {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 56px;
}

.links-hero__kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.62);
}

.links-hero__title strong {
  display: block;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.links-grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.links-id {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: -20px;
  padding: 0 22px;
}

.links-avatar {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  border: 3px solid var(--links-paper-warm);
  border-radius: 50%;
  overflow: hidden;
  background: var(--links-ink-900);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.links-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.links-id__meta {
  min-width: 0;
  padding-bottom: 6px;
}

.links-id__meta h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.links-role {
  display: none;
}

.links-id__meta p {
  margin: 6px 0 0;
  color: var(--ink-quiet);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.links-bio {
  padding: 22px 22px 4px;
}

.links-bio p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
}

.links-bio p + p {
  margin-top: 10px;
  color: var(--ink-muted);
  font-size: 13px;
}

.links-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 32px 22px 4px;
}

.links-social {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
  transition: transform 200ms var(--ease-out), background 200ms var(--ease-out), color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

.links-social:hover,
.links-social:focus-visible {
  border-color: transparent;
  background: var(--grad);
  color: var(--links-paper-warm);
  box-shadow: 0 10px 28px -14px rgba(106, 74, 85, 0.4);
  outline: none;
  transform: translateY(-1px);
}

.links-social svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.links-social--x svg {
  fill: currentColor;
  stroke: none;
}

.links-socials__trail {
  flex: 1 1 auto;
  height: 1px;
  margin-left: 4px;
  background: var(--rule);
}

.links-socials__label {
  padding-left: 4px;
  color: var(--ink-quiet);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.links-sidebar__foot {
  display: none;
}

.links-cta--sidebar {
  display: none;
}

.links-section {
  padding: 28px 22px 0;
}

.links-section--collections {
  padding-top: 12px;
}

.links-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.links-section__title,
.links-section__meta {
  font-size: 10px;
  text-transform: uppercase;
}

.links-section__title {
  margin: 0;
  color: var(--ink-quiet);
  font-weight: 500;
  letter-spacing: 0.22em;
}

.links-section__title .accent {
  color: var(--links-bordeaux);
}

.links-section__meta {
  flex: 0 0 auto;
  color: var(--ink-quiet);
  font-weight: 400;
  letter-spacing: 0.14em;
}

.links-collections,
.links-markets {
  display: grid;
  margin-top: 8px;
}

.links-collection {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 22px;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  transition: background 200ms var(--ease-out);
}

.links-collection:hover,
.links-collection:focus-visible {
  background: rgba(20, 24, 28, 0.035);
  outline: none;
}

.links-collection__thumb {
  width: 64px;
  height: 64px;
  overflow: hidden;
  background: var(--links-ink-900);
}

.links-collection__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.links-collection__num {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-quiet);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.links-collection__name {
  display: block;
  color: var(--ink);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.links-collection__tagline {
  display: block;
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.55;
}

.links-collection__more {
  display: none;
}

.links-arrow {
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  color: var(--ink-quiet);
}

.links-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 14px 0;
}

.links-photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--links-ink-900);
  cursor: zoom-in;
}

.links-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.links-photo:hover img,
.links-photo:focus-visible img {
  transform: scale(1.04);
}

.links-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.72) 100%);
}

.links-photo__num {
  position: absolute;
  z-index: 2;
  top: 6px;
  left: 7px;
  color: rgba(246, 244, 239, 0.78);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.links-photo__caption {
  position: absolute;
  z-index: 2;
  right: 7px;
  bottom: 6px;
  left: 7px;
  color: var(--links-paper-warm);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.links-photo__caption span {
  display: block;
  margin-top: 2px;
  color: rgba(246, 244, 239, 0.72);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.14em;
}

.links-see-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: var(--sp-2);
  padding: 13px 26px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 200ms var(--ease-out),
    border-color 200ms var(--ease-out),
    box-shadow 240ms var(--ease-out),
    color 200ms var(--ease-out),
    transform 160ms var(--ease-out);
}

.links-see-all:hover,
.links-see-all:focus-visible {
  border-color: transparent;
  background: var(--grad);
  color: var(--links-paper-warm);
  box-shadow: 0 10px 28px -14px rgba(106, 74, 85, 0.4);
  outline: none;
  transform: translateY(-1px);
}

.links-market {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  transition: opacity 200ms var(--ease-out);
}

.links-market:hover,
.links-market:focus-visible {
  opacity: 0.72;
  outline: none;
}

.links-market__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--ink);
  background: var(--links-paper-warm);
  border: 1px solid var(--rule);
  font-size: 13px;
  font-weight: 500;
  position: relative;
}

.links-market__logo img {
  width: 62%;
  height: 62%;
  object-fit: contain;
}

.links-market__name {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.links-market__sub {
  display: block;
  margin-top: 4px;
  color: var(--ink-quiet);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.links-market__arrow {
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.links-cta {
  padding: 28px 22px 0;
}

.links-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: var(--sp-2);
  padding: 13px 26px;
  border-radius: 999px;
  background:
    radial-gradient(circle at var(--glow-x, 120%) var(--glow-y, 50%), rgba(255, 255, 255, 0.18) 0%, transparent 34%),
    linear-gradient(90deg, var(--grad-from) 0%, color-mix(in srgb, var(--grad-from) 48%, var(--grad-to)) 52%, var(--grad-to) 100%);
  background-size: 160% 100%, 160% 100%;
  background-position: 0% 50%;
  color: var(--links-paper-warm);
  box-shadow:
    0 1px 2px rgba(26, 32, 40, 0.08),
    0 8px 24px -12px rgba(106, 74, 85, 0.35);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-position 420ms var(--ease-out),
    box-shadow 240ms var(--ease-out),
    filter 200ms var(--ease-out),
    transform 160ms var(--ease-out);
}

.links-page .links-mail {
  color: var(--links-paper-warm);
}

.links-mail:hover,
.links-mail:focus-visible {
  background-position: 70% 50%, 100% 50%;
  box-shadow:
    0 2px 4px rgba(26, 32, 40, 0.1),
    0 14px 32px -14px rgba(106, 74, 85, 0.5);
  outline: none;
  transform: translateY(-1px);
}

.links-mail:active {
  transform: translateY(1px);
}

.links-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding: 36px 22px 40px;
  border-top: 1px solid var(--rule);
  text-align: center;
}

.links-footer__sig {
  width: 52px;
  height: auto;
}

.links-footer__meta,
.links-footer__copy {
  color: var(--ink-quiet);
  font-size: 10px;
}

.links-footer__meta {
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.links-footer__meta a {
  color: var(--ink-muted);
}

.links-footer__copy {
  letter-spacing: 0.06em;
}

@media (max-width: 760px) {
  html,
  body.links-body {
    background: var(--links-paper-warm);
  }

  .links-page {
    width: 100%;
    box-shadow: none;
  }
}

@media (min-width: 900px) {
  html,
  body.links-body {
    background: var(--links-paper-warm);
  }

  .links-page {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    overflow: visible;
    box-shadow: none;
  }

  .links-page::after {
    display: none;
  }

  .links-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 18px clamp(32px, 6vw, 96px);
    border-bottom: 1px solid var(--rule);
  }

  .links-topbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
  }

  .links-topbar__mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--grad-135);
    color: var(--links-paper-warm);
    font-size: 11px;
    font-weight: 400;
  }

  .links-topbar__nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--ink-quiet);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .links-topbar__nav a,
  .links-topbar__nav span {
    color: inherit;
  }

  .links-topbar__nav a:hover,
  .links-topbar__nav a:focus-visible,
  .links-topbar__nav [aria-current="true"] {
    color: var(--grad-from);
    outline: none;
  }

  .links-topbar__nav span::before {
    content: ". ";
    color: var(--links-bordeaux);
  }

  .links-hero {
    height: min(68vh, 760px);
    min-height: 540px;
  }

  .links-hero__photo img {
    filter: saturate(0.9) contrast(1.02);
  }

  .links-hero__photo::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, transparent 28%, transparent 52%, rgba(0, 0, 0, 0.58) 100%),
      radial-gradient(ellipse at 30% 20%, rgba(88, 123, 145, 0.18), transparent 58%);
  }

  .links-hero__stamp {
    top: 48px;
    left: max(clamp(32px, 6vw, 96px), calc((100vw - var(--max-w)) / 2 + var(--gutter)));
    max-width: none;
    letter-spacing: 0.22em;
  }

  .links-hero__mark {
    display: none;
  }

  .links-hero__desktop-meta {
    position: absolute;
    top: 48px;
    right: max(clamp(32px, 6vw, 96px), calc((100vw - var(--max-w)) / 2 + var(--gutter)));
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    color: rgba(246, 244, 239, 0.72);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.14em;
    line-height: 1.7;
    text-align: right;
    text-transform: uppercase;
  }

  .links-hero__desktop-meta span + span {
    color: rgba(246, 244, 239, 0.5);
  }

  .links-hero__title {
    left: max(clamp(32px, 6vw, 96px), calc((100vw - var(--max-w)) / 2 + var(--gutter)));
    right: auto;
    bottom: 64px;
    max-width: min(760px, 58vw);
  }

  .links-hero__kicker {
    display: none;
  }

  .links-hero__title strong {
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.025em;
  }

  .links-hero__scroll {
    position: absolute;
    right: max(clamp(32px, 6vw, 96px), calc((100vw - var(--max-w)) / 2 + var(--gutter)));
    bottom: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(246, 244, 239, 0.7);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .links-hero__scroll span:last-child {
    width: 1px;
    height: 56px;
    background: linear-gradient(180deg, transparent, currentColor);
  }

  .links-layout {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 64px;
    align-items: flex-start;
  }

  .links-sidebar {
    position: sticky;
    top: 32px;
    padding: var(--sp-10) 0 var(--sp-12);
  }

  .links-content {
    padding: var(--sp-10) 0 var(--sp-12);
    display: flex;
    flex-direction: column;
    gap: var(--sp-12);
  }

  .links-id {
    gap: 18px;
    margin-top: 0;
    padding: 0;
  }

  .links-avatar {
    width: 96px;
    height: 96px;
    margin-top: -56px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  }

  .links-id__meta {
    padding-top: 4px;
    padding-bottom: 0;
  }

  .links-id__meta h1 {
    font-size: var(--fs-lg);
    line-height: 1.05;
  }

  .links-role {
    display: block;
    margin-top: 8px;
    color: var(--grad-from);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1.45;
    text-transform: uppercase;
  }

  .links-id__meta p {
    margin-top: 4px;
    letter-spacing: 0.14em;
  }

  .links-bio {
    padding: 28px 0 0;
  }

  .links-bio p {
    font-size: 16px;
    line-height: 1.6;
  }

  .links-bio p + p {
    margin-top: 14px;
    font-size: 15px;
  }

  .links-socials {
    padding: 28px 0 0;
  }

  .links-socials__trail,
  .links-socials__label {
    display: none;
  }

  .links-cta--sidebar {
    display: block;
    padding: 28px 0 0;
  }

  .links-cta--mobile {
    display: none;
  }

  .links-sidebar__foot {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--rule);
    color: var(--ink-quiet);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1.7;
    text-transform: uppercase;
  }

  .links-sidebar__foot a {
    color: var(--ink-muted);
  }

  .links-section {
    padding: 0;
  }

  .links-section__head {
    gap: 24px;
    padding-bottom: 18px;
    margin-bottom: var(--sp-5);
  }

  .links-section__title {
    font-size: 10px;
    letter-spacing: 0.22em;
  }

  .links-section__meta {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .links-collections {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 0;
  }

  .links-collection {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border: 1px solid var(--rule);
    background: var(--links-paper-warm);
    overflow: hidden;
    transition:
      border-color 300ms var(--ease-out),
      box-shadow 300ms var(--ease-out),
      transform 300ms var(--ease-out);
  }

  .links-collection:hover,
  .links-collection:focus-visible {
    border-color: rgba(88, 123, 145, 0.4);
    box-shadow: 0 12px 32px -12px rgba(20, 24, 28, 0.12);
    transform: translateY(-2px);
  }

  .links-collection:hover .links-collection__name,
  .links-collection:focus-visible .links-collection__name {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .links-collection__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .links-collection > span:nth-child(2) {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 22px 24px;
  }

  .links-collection__num {
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .links-collection__name {
    font-size: clamp(18px, 2.3vw, 30px);
    line-height: 1.1;
  }

  .links-collection__tagline {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.55;
  }

  .links-collection__more {
    display: block;
    margin-top: auto;
    padding-top: 22px;
    color: var(--ink);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .links-collection > .links-arrow {
    position: absolute;
    right: 22px;
    bottom: 24px;
    font-size: 16px;
    transition: transform 200ms var(--ease-out);
  }

  .links-collection:hover > .links-arrow,
  .links-collection:focus-visible > .links-arrow {
    transform: translateX(4px);
    color: var(--grad-from);
  }

  .links-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 18px;
  }

  .links-photo:hover,
  .links-photo:focus-visible {
    transform: translateY(-2px);
    outline: none;
  }

  .links-photo__caption {
    font-size: 10px;
  }

  .links-see-all {
    width: auto;
    min-width: 220px;
  }

  .links-markets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 0;
  }

  .links-market {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    min-height: 220px;
    padding: 28px 26px 26px;
    border: 1px solid var(--rule);
    background: var(--links-paper-warm);
    transition:
      border-color 300ms var(--ease-out),
      box-shadow 300ms var(--ease-out),
      opacity 200ms var(--ease-out),
      transform 300ms var(--ease-out);
  }

  .links-market:hover,
  .links-market:focus-visible {
    border-color: rgba(88, 123, 145, 0.4);
    box-shadow: 0 12px 32px -12px rgba(20, 24, 28, 0.12);
    opacity: 1;
    transform: translateY(-2px);
  }

  .links-market__logo {
    width: 52px;
    height: 52px;
  }

  .links-market__name {
    margin-top: auto;
    font-size: clamp(18px, 2.3vw, 30px);
    line-height: 1.1;
  }

  .links-market__sub {
    margin-top: 8px;
    font-size: 14px;
    color: var(--ink-muted);
    letter-spacing: 0;
    line-height: 1.5;
    text-transform: none;
  }

  .links-market__arrow {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--rule);
  }

  .links-footer {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--sp-8) var(--gutter) var(--sp-8);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    border-top: 1px solid var(--rule);
  }

  .links-footer__sig {
    width: 60px;
  }

  .links-footer__meta {
    order: 1;
    justify-self: start;
  }

  .links-footer__sig {
    order: 2;
    justify-self: center;
  }

  .links-footer__copy {
    order: 3;
    justify-self: end;
    text-align: right;
  }
}

@media (min-width: 900px) and (max-width: 1100px) {
  .links-layout {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 48px;
  }

  .links-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
