/* Personal website atlas — scoped to /about/websites/ */
.websites-page.olx-link-atlas {
  --atlas-ink: #17223a;
  --atlas-muted: #68758c;
  --atlas-pink: #d95f8f;
  --atlas-cyan: #2f91aa;
  --atlas-line: rgba(95, 111, 141, 0.18);
  --atlas-surface: rgba(255, 255, 255, 0.76);
  --atlas-shadow: 0 24px 70px rgba(68, 66, 92, 0.11);
  width: min(1240px, calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
  padding: 42px 0 96px;
}

.olx-link-atlas .websites-container {
  width: 100%;
}

.olx-link-atlas .websites-title,
.olx-link-atlas > .post-meta,
.olx-link-atlas > .post-footer {
  display: none;
}

.olx-atlas-hero {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: center;
  gap: 56px;
  overflow: hidden;
  padding: clamp(40px, 6vw, 76px);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 32px;
  background:
    radial-gradient(circle at 78% 18%, rgba(238, 151, 189, .22), transparent 34%),
    radial-gradient(circle at 16% 88%, rgba(105, 196, 215, .18), transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(246, 242, 242, .72));
  box-shadow: var(--atlas-shadow);
}

.olx-atlas-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .45;
  background-image: radial-gradient(rgba(39, 55, 84, .17) .7px, transparent .7px);
  background-size: 18px 18px;
  mask-image: linear-gradient(90deg, #000, transparent 68%);
}

.olx-atlas-eyebrow,
.olx-atlas-section__eyebrow,
.olx-site-card__index,
.olx-atlas-orbit__label {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.olx-atlas-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--atlas-pink);
  font-size: 12px;
  font-weight: 700;
}

.olx-atlas-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.olx-atlas-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--atlas-ink);
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: clamp(48px, 7.4vw, 92px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.065em;
}

.olx-atlas-hero h1 span {
  display: block;
  margin-top: 12px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(43, 62, 92, .48);
}

.olx-atlas-hero__copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--atlas-muted);
  font-size: 17px;
  line-height: 1.9;
}

.olx-atlas-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.olx-atlas-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid var(--atlas-line);
  border-radius: 999px;
  color: var(--atlas-ink) !important;
  background: rgba(255, 255, 255, .72);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none !important;
  transition: transform .22s ease, border-color .22s ease, background-color .22s ease;
}

.olx-atlas-button--primary {
  min-width: 218px;
  min-height: 64px;
  justify-content: space-between;
  padding: 7px 7px 7px 20px;
  border-color: rgba(47, 145, 170, .28);
  border-radius: 18px;
  color: var(--atlas-ink) !important;
  background:
    linear-gradient(120deg, rgba(255,255,255,.96), rgba(247,251,252,.82));
  box-shadow: 0 12px 30px rgba(45, 92, 112, .11), inset 0 1px 0 rgba(255,255,255,.9);
}

.olx-atlas-button__label {
  display: grid;
  gap: 2px;
  text-align: left;
}

.olx-atlas-button__label small {
  color: var(--atlas-pink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.2;
}

.olx-atlas-button__label strong {
  font-size: 15px;
  font-weight: 720;
  letter-spacing: .02em;
}

.olx-atlas-button__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #327f96, #245d77);
  box-shadow: 0 8px 18px rgba(36, 93, 119, .22);
  transition: transform .22s ease, box-shadow .22s ease;
}

.olx-atlas-button__icon svg {
  width: 19px;
  height: 19px;
}

.olx-atlas-button--primary:hover .olx-atlas-button__icon {
  transform: translate(2px, -2px);
  box-shadow: 0 11px 22px rgba(36, 93, 119, .3);
}

.olx-atlas-button:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 95, 143, .48);
}

.olx-atlas-button:focus-visible,
.olx-site-card:focus-visible,
.olx-atlas-jump:focus-visible {
  outline: 3px solid rgba(47, 145, 170, .3);
  outline-offset: 4px;
}

.olx-atlas-orbit {
  position: relative;
  width: min(100%, 350px);
  aspect-ratio: 1;
  justify-self: end;
}

.olx-atlas-orbit::before,
.olx-atlas-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(61, 84, 112, .18);
  border-radius: 50%;
}

.olx-atlas-orbit::before { inset: 8%; }
.olx-atlas-orbit::after { inset: 28%; border-style: dashed; }

.olx-atlas-orbit__core {
  position: absolute;
  inset: 30%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 50%;
  background: rgba(255,255,255,.52);
  box-shadow: 0 18px 44px rgba(29, 43, 67, .13), 0 0 0 9px rgba(255,255,255,.28);
  backdrop-filter: blur(12px);
}

.olx-atlas-orbit__core::after {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: -1;
  border: 1px dashed rgba(47,145,170,.24);
  border-radius: inherit;
}

.olx-geometric-logo--atlas {
  --olx-logo-scale: .62;
  flex: 0 0 auto;
  filter: saturate(.76) contrast(.96);
}

.olx-atlas-orbit__node {
  position: absolute;
  width: 74px;
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 999px;
  color: var(--atlas-ink);
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 26px rgba(54, 66, 91, .11);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 700;
}

.olx-atlas-orbit__node--one { top: 3%; left: 41%; }
.olx-atlas-orbit__node--two { top: 43%; right: -2%; }
.olx-atlas-orbit__node--three { bottom: 3%; left: 40%; }
.olx-atlas-orbit__node--four { top: 43%; left: -2%; }

.olx-atlas-orbit__label {
  position: absolute;
  right: 8%;
  bottom: 22%;
  color: var(--atlas-muted);
  font-size: 9px;
}

.olx-atlas-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 64px;
  padding: 0 4px;
}

.olx-atlas-jump {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--atlas-line);
  border-radius: 999px;
  color: var(--atlas-muted) !important;
  background: rgba(255,255,255,.48);
  font-size: 14px;
  text-decoration: none !important;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.olx-atlas-jump:hover {
  color: var(--atlas-ink) !important;
  background: rgba(255,255,255,.9);
  transform: translateY(-1px);
}

.olx-atlas-section {
  margin-top: 76px;
  scroll-margin-top: 100px;
}

.olx-atlas-section__head {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 480px);
  align-items: end;
  gap: 32px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--atlas-line);
}

.olx-atlas-section__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--atlas-pink);
  font-size: 10px;
  font-weight: 800;
}

.olx-atlas-section h2 {
  margin: 0;
  color: var(--atlas-ink);
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -.04em;
}

.olx-atlas-section__intro {
  margin: 0;
  color: var(--atlas-muted);
  font-size: 14px;
  line-height: 1.8;
  text-align: right;
}

.olx-atlas-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.olx-site-card {
  position: relative;
  min-width: 0;
  grid-column: span 4;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 24px;
  color: var(--atlas-ink) !important;
  background: var(--atlas-surface);
  box-shadow: 0 14px 40px rgba(63, 69, 91, .08);
  text-decoration: none !important;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.olx-site-card--wide { grid-column: span 6; min-height: 410px; }
.olx-site-card--compact { min-height: 244px; }

.olx-site-card:hover {
  transform: translateY(-7px);
  border-color: rgba(217, 95, 143, .3);
  box-shadow: 0 28px 60px rgba(63, 69, 91, .14);
}

.olx-site-card__visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e9e8ec;
}

.olx-site-card--compact .olx-site-card__visual { aspect-ratio: 16 / 7; }

.olx-site-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(18,29,49,.23));
}

.olx-site-card__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}

.olx-site-card:hover .olx-site-card__visual img { transform: scale(1.045); }

.olx-site-card__badge {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  color: #fff;
  background: rgba(21,33,56,.34);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 700;
}

.olx-site-card__body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 18px;
  padding: 22px 24px 24px;
}

.olx-site-card__index {
  color: var(--atlas-pink);
  font-size: 10px;
  font-weight: 800;
}

.olx-site-card h3 {
  margin: 7px 0 8px;
  color: var(--atlas-ink);
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.025em;
}

.olx-site-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--atlas-muted);
  font-size: 14px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.olx-site-card__arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--atlas-line);
  border-radius: 50%;
  color: var(--atlas-cyan);
  transition: transform .22s ease, color .22s ease, background-color .22s ease;
}

.olx-site-card:hover .olx-site-card__arrow {
  transform: translate(2px, -2px);
  color: #fff;
  background: var(--atlas-cyan);
}

.olx-site-card__arrow svg { width: 18px; height: 18px; }

.olx-atlas-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 68px;
  padding: 24px 28px;
  border: 1px solid var(--atlas-line);
  border-radius: 20px;
  color: var(--atlas-muted);
  background: rgba(255,255,255,.46);
}

.olx-atlas-note__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--atlas-pink);
  font-family: serif;
  font-size: 24px;
}

.olx-atlas-note p { margin: 0; line-height: 1.8; }

.dark-mode .websites-page.olx-link-atlas {
  --atlas-ink: #edf2fa;
  --atlas-muted: #a8b2c5;
  --atlas-line: rgba(185, 199, 221, .16);
  --atlas-surface: rgba(26, 37, 57, .78);
  --atlas-shadow: 0 28px 70px rgba(0, 0, 0, .28);
}

.dark-mode .olx-atlas-hero {
  border-color: rgba(188, 203, 224, .12);
  background:
    radial-gradient(circle at 78% 18%, rgba(217, 95, 143, .14), transparent 34%),
    radial-gradient(circle at 16% 88%, rgba(47, 145, 170, .15), transparent 35%),
    linear-gradient(135deg, rgba(24, 35, 54, .94), rgba(17, 25, 42, .88));
}

.dark-mode .olx-atlas-hero h1 span { -webkit-text-stroke-color: rgba(215,225,240,.5); }
.dark-mode .olx-atlas-button,
.dark-mode .olx-atlas-jump,
.dark-mode .olx-atlas-note { background: rgba(32, 45, 67, .66); }
.dark-mode .olx-atlas-button--primary {
  border-color: rgba(105, 196, 215, .25);
  color: #edf2fa !important;
  background: linear-gradient(120deg, rgba(33,48,72,.96), rgba(25,39,61,.9));
  box-shadow: 0 14px 32px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.07);
}
.dark-mode .olx-atlas-orbit__core {
  border-color: rgba(185,199,221,.16);
  background: rgba(23,36,56,.62);
  box-shadow: 0 18px 44px rgba(0,0,0,.25), 0 0 0 9px rgba(21,33,52,.3);
}
.dark-mode .olx-atlas-orbit__node { border-color: rgba(185,199,221,.15); background: rgba(28,41,62,.9); }
.dark-mode .olx-site-card { border-color: rgba(185,199,221,.12); }

@media (max-width: 960px) {
  .olx-atlas-hero { grid-template-columns: 1fr; min-height: auto; }
  .olx-atlas-orbit { width: 300px; justify-self: center; }
  .olx-site-card,
  .olx-site-card--wide { grid-column: span 6; }
  .olx-atlas-section__head { grid-template-columns: 1fr; gap: 12px; }
  .olx-atlas-section__intro { text-align: left; }
}

@media (max-width: 640px) {
  .websites-page.olx-link-atlas {
    width: min(100% - 24px, 1240px);
    padding: 20px 0 72px;
  }
  .olx-atlas-hero { gap: 34px; padding: 34px 24px 30px; border-radius: 24px; }
  .olx-atlas-hero h1 { font-size: clamp(44px, 15vw, 64px); }
  .olx-atlas-hero__copy { font-size: 16px; line-height: 1.75; }
  .olx-atlas-hero__actions { display: grid; grid-template-columns: 1fr; }
  .olx-atlas-button { width: 100%; }
  .olx-atlas-button--primary { min-width: 0; }
  .olx-atlas-orbit { width: min(100%, 270px); }
  .olx-geometric-logo--atlas { --olx-logo-scale: .46; }
  .olx-atlas-jumps { margin-bottom: 48px; }
  .olx-atlas-section { margin-top: 58px; }
  .olx-atlas-grid { gap: 14px; }
  .olx-site-card,
  .olx-site-card--wide { grid-column: 1 / -1; min-height: 0; border-radius: 20px; }
  .olx-site-card__body { padding: 20px; }
  .olx-site-card h3 { font-size: 22px; }
  .olx-atlas-note { grid-template-columns: 1fr; padding: 22px; }
}

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