/* ==========================================================================
   Porchlink theme: Atlas (travel photographers)
   1. Colours  2. Type  3. Postcard links with a stamp corner  4. Details
   ========================================================================== */
/* 1. Colours */
[data-theme="atlas"] {
  --bg: #EAE6DA; --surface: #F7F4EC; --ink: #1E2B2A; --muted: #56625F;
  --accent: #2D6A6A; --accent-ink: #F7F4EC; --line: rgba(30, 43, 42, .2); --focus: #2D6A6A;
  --teal: #2D6A6A; --mustard: #C99A1E; --map: #F2EEE2; --contour: rgba(45, 106, 106, .16);
  --font-display: 'Zilla Slab', Georgia, serif;
  --radius: 4px; --radius-card: 6px;
}
[data-theme="atlas"][data-mode="dark"] {
  --bg: #121D1D; --surface: #1B2928; --ink: #EAE6DA; --muted: #A7B1AC;
  --accent: #E0B341; --accent-ink: #121D1D; --line: rgba(234, 230, 218, .16); --focus: #E0B341;
  --teal: #3E8A88; --mustard: #E0B341; --map: #1B2928; --contour: rgba(224, 179, 65, .12);
}
/* 2. Type */
[data-theme="atlas"] .pl-name { font-weight: 600; font-size: clamp(2.1rem, 10vw, 2.8rem); letter-spacing: -.01em; }
[data-theme="atlas"] .pl-feature-title, [data-theme="atlas"] .pl-info h2, [data-theme="atlas"] .pl-form h2 { font-weight: 600; font-size: 1.25rem; }
[data-theme="atlas"] .pl-handle { font-family: var(--font-display); font-style: italic; }
[data-theme="atlas"] .pl-bg svg { width: 100%; height: 100%; }
/* 3. Links: postcards. The dashed corner square is the stamp. */
[data-theme="atlas"] .pl-link { box-shadow: 0 1px 0 var(--line), 0 6px 14px -10px rgba(30, 43, 42, .45); border-color: transparent; padding-right: 54px; }
[data-theme="atlas"] .pl-link::after {
  content: ""; position: absolute; right: 12px; top: 10px; width: 26px; height: 30px;
  border: 1.5px dashed var(--mustard); border-radius: 2px;
  background: linear-gradient(var(--mustard), var(--mustard)) center / 10px 10px no-repeat;
  opacity: .8; transition: transform .25s var(--ease);
}
[data-theme="atlas"] .pl-link:hover::after { transform: rotate(8deg); }
[data-theme="atlas"] .pl-link--primary::after { border-color: var(--accent-ink); background-image: linear-gradient(var(--accent-ink), var(--accent-ink)); }
/* 4. Details */
[data-theme="atlas"] .pl-avatar { border: 5px solid var(--surface); box-shadow: 0 0 0 1px var(--line); }
[data-theme="atlas"] .pl-code { border-color: var(--teal); }
[data-theme="atlas"] .pl-info-list span:last-child { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
