/* Ocean finish for the personal start page. Keep the existing image and tools. */
:root {
  --navy-950: #052330;
  --blue: #0e7490;
  --blue-bright: #5eead4;
  --white: #f4fafb;
  --muted: #b5ced5;
  --line: rgb(186 225 231 / 20%);
  --shadow: 0 12px 36px rgb(3 25 34 / 20%);
  --radius-md: 14px;
}

body::before { filter: brightness(.95) saturate(.65); }
body::after {
  background:
    radial-gradient(ellipse at 90% 5%, rgb(45 212 191 / 12%), transparent 55%),
    linear-gradient(95deg, rgb(5 35 48 / 96%) 0%, rgb(5 42 55 / 87%) 42%, rgb(7 55 68 / 42%) 100%),
    linear-gradient(0deg, rgb(3 25 34 / 72%), transparent 70%);
}
.topbar { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.brand-mark { background: linear-gradient(145deg, #168ba1, #0a4356); border-color: rgb(186 245 235 / 30%); border-radius: 12px; box-shadow: 0 6px 18px rgb(3 25 34 / 15%); }
.brand-name { letter-spacing: .08em; }
h1 { line-height: 1.04; letter-spacing: -.055em; }
h1 span { background: none; color: #baf5eb; -webkit-text-fill-color: currentColor; }
.eyebrow { color: #baf5eb; }
.eyebrow::before { box-shadow: none; }
.intro { color: #c3d9df; }
.search input { border-radius: 12px; border-color: rgb(186 225 231 / 26%); background: rgb(5 35 48 / 78%); box-shadow: 0 6px 24px rgb(3 25 34 / 12%); }
.search input::placeholder { color: #b5ced5; }
.search input:hover { border-color: #7dced8; background: rgb(8 47 64 / 85%); }
.search input:focus { border-color: #5eead4; background: #082f40; box-shadow: 0 0 0 3px rgb(94 234 212 / 15%); }
.search-icon { color: #7dced8; }
.link-card { background: linear-gradient(135deg, rgb(10 67 86 / 85%), rgb(5 35 48 / 85%)); box-shadow: 0 8px 24px rgb(3 25 34 / 12%); }
.link-card::before { background: radial-gradient(circle, rgb(94 234 212 / 9%), transparent 68%); }
.link-card:hover { transform: translateY(-3px); border-color: #7dced8; background: linear-gradient(135deg, rgb(11 92 115 / 88%), rgb(8 47 64 / 92%)); box-shadow: 0 12px 30px rgb(3 25 34 / 22%); }
.card-icon { background: rgb(125 206 216 / 12%); color: #baf5eb; border-color: rgb(125 206 216 / 24%); border-radius: 12px; box-shadow: none; }
.card-subtitle { color: #c3d9df; }
.card-meta { color: #baf5eb; }
.card-meta::before { box-shadow: none; }
.count, footer { color: #b5ced5; }
.arrow { flex-shrink: 0; color: #baf5eb; }
:is(a, button, input):focus-visible { outline: 3px solid #5eead4; outline-offset: 4px; }

@media (min-width: 761px) and (max-width: 1100px) {
  #links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body::after { background: linear-gradient(110deg, rgb(5 35 48 / 96%), rgb(8 55 70 / 75%)); }
  .topbar { padding-bottom: 16px; }
  .content { padding-top: 3.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .link-card:hover { transform: none; }
}
