:root {
  color-scheme: dark;
  --brand-50: #11271d;
  --brand-100: #183426;
  --brand-200: #2a4c38;
  --brand-400: #59c984;
  --brand-500: #36ad69;
  --brand-600: #6bd793;
  --brand-700: #9ce8b7;
  --brand-900: #0d2218;
  --brand-950: #f6faf7;
  --accent-400: #b8ff00;
  --action-100: #ffe8d5;
  --action-300: #ffad78;
  --action-500: #ef6f24;
  --action-600: #d95c16;
  --surface-50: #102019;
  --surface-100: #0a1510;
  --surface-200: #193126;
  --surface-300: #355247;
  --surface-500: #91a69b;
  --surface-600: #b7c6be;
  --surface-800: #e0e9e3;
  --surface-900: #f4f8f5;
  --border: rgb(150 219 175 / 15%);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--surface-100);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface-100);
  color: var(--surface-900);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 3px solid var(--action-500);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-100px);
  border-radius: 999px;
  background: var(--action-500);
  color: white;
  padding: 10px 16px;
  font-weight: 800;
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.bio-shell {
  width: 100%;
  max-width: 680px;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  border-inline: 1px solid var(--border);
  background: var(--surface-50);
  box-shadow: 0 0 60px rgb(0 0 0 / 28%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgb(10 21 16 / 88%);
  backdrop-filter: blur(16px);
}

.mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--brand-950);
  font-size: 13px;
  font-weight: 900;
}

.mini-brand img {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: var(--brand-900);
  padding: 5px;
}

.handle {
  max-width: 52%;
  overflow: hidden;
  color: var(--brand-600);
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile {
  padding: 30px 22px 20px;
  text-align: center;
}

.avatar-wrap {
  position: relative;
  width: 86px;
  height: 86px;
  margin: 0 auto 16px;
  border: 5px solid var(--brand-400);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgb(72 168 115 / 10%);
}

.avatar-wrap img {
  width: 100%;
  height: 100%;
  border: 3px solid var(--surface-50);
  border-radius: inherit;
  object-fit: cover;
  object-position: center 18%;
}

.avatar-wrap span {
  position: absolute;
  right: -6px;
  bottom: -1px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 3px solid var(--surface-50);
  border-radius: 50%;
  background: var(--action-500);
  color: white;
  font-size: 15px;
  font-weight: 900;
}

.eyebrow {
  margin: 0;
  color: var(--action-600);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.profile h1 {
  margin: 8px 0 0;
  color: var(--brand-950);
  font-size: clamp(38px, 12vw, 58px);
  line-height: .92;
  letter-spacing: -.06em;
}

.profile h1 b {
  color: var(--brand-500);
  font-weight: 900;
}

.profile h2 {
  margin: 12px 0 0;
  color: var(--surface-900);
  font-size: 18px;
  line-height: 1.2;
}

.profile > p:last-of-type {
  max-width: 350px;
  margin: 9px auto 0;
  color: var(--surface-600);
  font-size: 13px;
  line-height: 1.5;
}

.links-stack {
  display: grid;
  gap: 12px;
  padding: 4px 16px 26px;
}

.project-card {
  padding: 18px;
  scroll-margin-top: 16px;
  border: 1px solid var(--brand-200);
  border-radius: 22px;
  background: var(--brand-50);
}

.project-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
}

.project-kicker span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-500);
  color: white;
  font-size: 12px;
  font-weight: 950;
}

.project-kicker small,
.audaces-card > small {
  color: var(--action-600);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.project-card h2 {
  margin: 14px 0 0;
  color: var(--brand-950);
  font-size: 22px;
  line-height: 1.1;
}

.project-card > p {
  margin: 7px 0 0;
  color: var(--surface-600);
  font-size: 13px;
  line-height: 1.5;
}

.simple-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  margin-top: 16px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--action-500);
  color: white;
  box-shadow: 0 10px 22px rgb(239 111 36 / 18%);
  font-size: 14px;
  font-weight: 900;
  transition: background 180ms ease, transform 180ms ease;
}

.simple-cta:hover {
  transform: translateY(-2px);
  background: var(--action-600);
}

.simple-cta span { font-size: 21px; line-height: 1; }

.simple-cta-secondary {
  margin-top: 0;
  background: var(--brand-500);
  box-shadow: 0 10px 22px rgb(42 134 87 / 16%);
}

.simple-cta-secondary:hover { background: var(--brand-600); }

.section-heading {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 10px;
  margin: 10px 2px 0;
  scroll-margin-top: 16px;
}

.section-heading > span {
  height: 2px;
  background: var(--action-500);
}

.section-heading small {
  color: var(--surface-500);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 2px 0 0;
  color: var(--brand-950);
  font-size: 17px;
  line-height: 1.15;
}

.ugc-list {
  display: flex;
  gap: 10px;
  margin-inline: -16px;
  padding: 0 16px 5px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.ugc-list::-webkit-scrollbar { display: none; }

.ugc-card {
  width: min(66vw, 222px);
  flex: 0 0 auto;
  overflow: hidden;
  scroll-snap-align: center;
  border: 1px solid var(--brand-200);
  border-radius: 18px;
  background: var(--surface-50);
  box-shadow: 0 8px 24px rgb(0 0 0 / 18%);
}

.ugc-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--brand-200);
  background: var(--brand-100);
}

.ugc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ugc-media > em {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--surface-900);
  color: var(--brand-900);
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ugc-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-content: center;
  color: var(--brand-700);
  text-align: center;
}

.ugc-placeholder span {
  color: rgb(31 107 69 / 16%);
  font-size: 50px;
  font-weight: 950;
  letter-spacing: -.08em;
  line-height: .8;
}

.ugc-placeholder b {
  margin-top: -7px;
  color: var(--brand-700);
  font-size: 13px;
}

.ugc-placeholder small {
  margin-top: 3px;
  color: var(--brand-400);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ugc-copy {
  display: grid;
  min-height: 110px;
  align-content: start;
  padding: 12px;
}

.ugc-copy small {
  color: var(--action-600);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ugc-copy strong {
  margin-top: 5px;
  color: var(--brand-950);
  font-size: 14px;
}

.ugc-copy p {
  margin: 2px 0 9px;
  color: var(--surface-500);
  font-size: 11px;
}

.ugc-copy a,
.ugc-disabled {
  align-self: end;
  color: var(--brand-600);
  font-size: 10px;
  font-weight: 900;
}

.ugc-disabled { color: var(--surface-300); }

.swipe-hint {
  margin: -3px 2px 0;
  color: var(--surface-500);
  font-size: 9px;
  font-weight: 800;
  text-align: right;
}

.audaces-card {
  display: block;
  overflow: hidden;
  padding: 18px;
  border-radius: 22px;
  background: var(--brand-900);
  color: white;
  transition: transform 180ms ease, background 180ms ease;
}

.audaces-card:hover {
  transform: translateY(-2px);
  background: #102b1e;
}

.audaces-card > small { color: var(--action-300); }

.audaces-card h2 {
  max-width: 290px;
  margin: 10px 0 0;
  font-size: 22px;
  line-height: 1.08;
}

.audaces-card > p {
  max-width: 390px;
  margin: 8px 0 0;
  color: rgb(255 255 255 / 72%);
  font-size: 12px;
  line-height: 1.5;
}

.audaces-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  color: var(--brand-700);
  font-size: 11px;
  font-weight: 850;
}

.audaces-action i {
  color: var(--action-500);
  font-size: 18px;
  font-style: normal;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-top: 1px solid var(--border);
  color: var(--surface-500);
  font-size: 10px;
}

footer a { color: var(--brand-600); font-weight: 850; }

.footer-audaces-logo {
  width: 92px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .82;
}

@media (min-width: 520px) {
  .profile { padding-top: 38px; }
  .links-stack { padding-inline: 32px; }
  .ugc-list { margin-inline: -32px; padding-inline: 32px; }
  .ugc-card { width: 222px; }
}

@media (max-width: 420px) {
  .topbar .handle {
    flex: none;
    width: auto;
    font-size: 0;
  }

  .topbar .handle::after {
    content: "IG ↗";
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
