/* Project composition. All colors, fonts and component radii come from STS 1.0. */
.linktree { min-height: 100vh; min-height: 100svh; }
.page-shell {
  min-height: min(100svh, 56rem);
  background: linear-gradient(color-mix(in srgb, var(--sts-slate) 80%, transparent), color-mix(in srgb, var(--sts-slate-light) 80%, transparent)), url("vendor/designsystem/assets/brand/header.jpg") center / cover;
}
.profile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  padding: var(--sts-space-8) var(--sts-space-6) var(--sts-space-10);
  color: var(--sts-on-primary);
}
.profile::after {
  content: ""; position: absolute; z-index: -1; width: 26rem; height: 26rem;
  border: 1px solid var(--sts-accent); border-radius: 50%; opacity: .35;
  right: -17rem; bottom: -15rem; box-shadow: 0 0 0 3rem color-mix(in srgb, var(--sts-accent) 13%, transparent);
}
.profile__logo { display: block; width: min(19rem, 85%); height: auto; object-fit: contain; object-position: left center; }
.profile__intro { margin-top: var(--sts-space-10); max-width: 30rem; }
.profile__eyebrow { display: flex; gap: var(--sts-space-3); align-items: center; color: var(--sts-on-primary); font-size: var(--sts-text-xs); font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.profile__eyebrow::before { content: ""; width: 1.5rem; height: 1px; background: currentColor; flex-shrink: 0; }
.profile h1 { margin-top: var(--sts-space-4); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.08; color: var(--sts-on-primary); }
.profile__description { margin-top: var(--sts-space-6); max-width: 34ch; color: var(--sts-on-primary); font-size: var(--sts-text-base); line-height: 1.75; }
.profile__note { display: flex; align-items: center; gap: var(--sts-space-3); margin-top: var(--sts-space-8); color: var(--sts-on-primary); font-size: var(--sts-text-xs); letter-spacing: .04em; }
.profile__note span { width: .375rem; height: .375rem; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.links-panel { padding: var(--sts-space-8) var(--sts-space-5) var(--sts-space-4); width: 100%; max-width: 44rem; margin-inline: auto; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: var(--sts-space-4); margin-bottom: var(--sts-space-6); }
.section-heading h2 { font-size: var(--sts-text-xl); font-weight: 500; letter-spacing: -.02em; color: var(--sts-on-primary); }
.section-heading p { margin-top: var(--sts-space-1); color: var(--sts-on-primary); font-size: var(--sts-text-sm); }
.links-panel > .sts-empty { color: var(--sts-on-primary); }
.link-list { display: grid; gap: var(--sts-space-3); padding: 0; margin: 0; list-style: none; }
.link-list li { min-width: 0; }
.link-card {
  display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
  gap: var(--sts-space-2); align-items: center; min-height: 5.5rem;
  padding: var(--sts-space-4); border: 1px solid var(--sts-border);
  border-radius: var(--sts-radius-control); background: var(--sts-surface);
  color: var(--sts-ink); text-decoration: none; box-shadow: var(--sts-shadow-sm);
  transition: border-color var(--sts-duration), transform var(--sts-duration), box-shadow var(--sts-duration);
}
.link-card__icon { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: color-mix(in srgb, var(--sts-accent) 10%, transparent); color: var(--sts-accent); border-radius: var(--sts-radius-control); }
.link-card__icon svg { width: 1.5rem; height: 1.5rem; }
.link-card__body { display: block; text-align: center; min-width: 0; overflow-wrap: anywhere; }
.link-card__title { display: block; font-weight: 600; font-size: var(--sts-text-base); line-height: 1.4; }
.link-card__description { display: block; margin-top: var(--sts-space-1); color: var(--sts-muted); font-size: var(--sts-text-xs); line-height: 1.5; }
.link-card__badge { display: inline-block; margin-inline-start: var(--sts-space-2); padding: .125rem var(--sts-space-2); border-radius: var(--sts-radius-pill); background: color-mix(in srgb, var(--sts-accent) 10%, transparent); color: var(--sts-accent); font-size: .625rem; font-weight: 700; vertical-align: .125rem; letter-spacing: .035em; }
.link-card__end { display: grid; place-items: center; color: var(--sts-accent); }
.link-card__end svg { width: 1.125rem; height: 1.125rem; transition: transform var(--sts-duration); }
.link-card--featured { border: 3px solid var(--sts-accent); }
@media (hover: hover) {
  .link-card:hover { transform: translateY(-2px); border-color: var(--sts-accent); box-shadow: var(--sts-shadow-card); }
  .link-card:hover .link-card__end svg { transform: translateX(3px); }
  .link-card--featured:hover { border-color: var(--sts-accent); }
}
.link-card:active { transform: translateY(0); }
.link-card:focus-visible { box-shadow: 0 0 0 6px var(--sts-on-primary); }
.site-footer { color: var(--sts-on-primary); font-size: var(--sts-text-sm); }
.site-footer__top { background: var(--sts-slate-light); border-top: 3px solid var(--sts-accent); }
.site-footer__grid { display: grid; gap: var(--sts-space-8); max-width: 90rem; margin-inline: auto; padding: var(--sts-space-10) var(--sts-space-6); }
.site-footer__grid > section { min-width: 0; }
.site-footer h2 { font-size: var(--sts-text-base); font-weight: 600; margin-bottom: var(--sts-space-5); }
.site-footer p { line-height: 1.75; }
.site-footer address { font-style: normal; }
.site-footer a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--sts-bronze-light); }
.site-footer :focus-visible { outline-color: var(--sts-on-primary); }
.footer-company { margin-bottom: var(--sts-space-3); }
.footer-contact { display: grid; gap: var(--sts-space-1); }
.footer-contact a { display: flex; align-items: center; min-height: 1.75rem; }
.site-footer__bottom { background: var(--sts-slate); }
.site-footer__bar { display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: var(--sts-space-3); max-width: 90rem; margin-inline: auto; padding: var(--sts-space-5) var(--sts-space-6); text-align: center; font-size: var(--sts-text-xs); }
.legal-links { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: var(--sts-space-5); }
.legal-links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.cookie-notice summary { display: flex; align-items: center; min-height: 2.75rem; list-style: none; cursor: pointer; }
.cookie-notice summary::-webkit-details-marker { display: none; }
.cookie-notice summary:hover, .cookie-notice[open] summary { text-decoration: underline; text-underline-offset: .2em; }
.cookie-notice__body { position: absolute; right: 0; bottom: calc(100% + .75rem); z-index: 1; width: min(22rem, calc(100vw - 3rem)); padding: var(--sts-space-5); border: 1px solid var(--sts-bronze-light); border-radius: var(--sts-radius-control); background: var(--sts-slate); box-shadow: var(--sts-shadow-float); text-align: left; font-size: var(--sts-text-sm); }
.social-links { display: grid; gap: var(--sts-space-1); }
.social-links a { display: flex; align-items: center; gap: var(--sts-space-3); min-height: 2.75rem; width: fit-content; }
.social-links__icon { display: grid; place-items: center; width: 1.25rem; height: 1.25rem; color: inherit; }
.social-links svg { width: 1.25rem; height: 1.25rem; display: block; }
.error-panel { max-width: 34rem; margin: 10vh auto; padding: var(--sts-space-8); width: calc(100% - 2rem); }
.error-panel > * + * { margin-top: var(--sts-space-6); }
@media (min-width: 48rem) {
  .page-shell { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .profile { padding: var(--sts-space-12) var(--sts-space-8); }
  .profile__intro { margin-block: auto; padding-block: var(--sts-space-16); }
  .profile__note { margin-top: 0; }
  .links-panel { align-self: center; padding: var(--sts-space-12) var(--sts-space-6) var(--sts-space-6) var(--sts-space-4); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: var(--sts-space-8); }
  .site-footer__bar { flex-direction: row; text-align: left; padding-inline: var(--sts-space-8); }
}
@media (min-width: 70rem) {
  .page-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--sts-space-12);
    padding-inline: max(var(--sts-space-12), calc((100% - 75rem) / 2));
  }
  .profile { padding: var(--sts-space-12) 0; }
  .profile__intro { max-width: 44rem; }
  .profile h1 { max-width: 16ch; }
  .profile__description { max-width: 58ch; }
  .profile__logo { width: 20rem; max-width: 100%; }
  .links-panel { padding: var(--sts-space-12) 0; max-width: none; }
  .link-card { min-height: 5.75rem; padding-inline: var(--sts-space-5); }
  .section-heading { margin-bottom: var(--sts-space-8); }
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.1fr 1fr; gap: var(--sts-space-12); padding: var(--sts-space-12); }
  .site-footer__bar { padding-inline: var(--sts-space-12); }
}
@media (prefers-reduced-motion: no-preference) { .profile__intro { animation: arrive 350ms ease-out both; } @keyframes arrive { from { transform: translateY(6px); } to { transform: none; } } }
@media (forced-colors: active) { .link-card { border: 1px solid ButtonText; } .profile { color: CanvasText; } .profile::before, .profile::after { display: none; } }
@media print { .page-shell { display: block; } .profile { min-height: 0; } .profile__intro { padding: 1rem 0; margin: 0; } .link-card { break-inside: avoid; box-shadow: none; } }
