/* Evil0ctopus — local hiring landing draft
   Dark cyber/tech theme, system fonts, mobile-first */

:root {
  --bg: #0b0f14;
  --bg-elevated: #121820;
  --bg-alt: #0e141c;
  --surface: #161e28;
  --border: #243041;
  --border-strong: #334155;
  --text: #e8eef6;
  --text-muted: #a7b6c9;
  --accent: #22d3ee;
  --accent-dim: #0891b2;
  --accent-soft: rgba(34, 211, 238, 0.12);
  --focus: #67e8f9;
  --success-muted: #34d399;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --max: 68rem;
  --header-h: 3.75rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "Consolas", monospace;
  /* Living cyber digital ocean (bg-ocean.js) — tweak intensity here */
  --bg-ocean-opacity: 0.93;
  --bg-ocean-current-alpha: 0.58;
  --bg-ocean-speed: 1;
  --bg-ocean-particle-density: 1.15;
}

/* Mobile: scale down particle/scene density for perf */
.wigglefish-preview {
  margin: 1.25rem 0;
}

.wigglefish-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}

.wigglefish-preview figcaption {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

@media (max-width: 640px) {
  :root {
    --bg-ocean-particle-density: 0.75;
    --bg-ocean-current-alpha: 0.5;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  position: relative;
  overflow-x: hidden;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(8, 145, 178, 0.18), transparent),
    var(--bg);
  min-height: 100vh;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--focus);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: #042f2e;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  background: rgba(11, 15, 20, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: contain;
  border: 1px solid var(--border);
  background: #0a0e14;
  display: block;
}

.logo-text {
  white-space: nowrap;
}

.logo:hover {
  color: var(--accent);
}

.logo:hover .logo-text {
  color: var(--accent);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
  justify-content: flex-end;
  align-items: center;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.55rem;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.site-nav a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.site-nav a:focus-visible {
  color: var(--accent);
  background: var(--accent-soft);
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
}


/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 3rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    padding-top: 4.5rem;
    padding-bottom: 4rem;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: none;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero-role {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 500;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  color: var(--text);
  font-size: 1.1rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-accent {
  justify-self: center;
  width: 100%;
  max-width: 22rem;
}

.hero-brand {
  width: 100%;
  height: auto;
  max-height: min(520px, 70vh);
  object-fit: contain;
  border-radius: var(--radius);
  background: #0a0e14;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}





@media (min-width: 860px) {
  .hero-accent {
    max-width: 26rem;
    justify-self: end;
  }

  .hero-brand {
    max-height: min(560px, 72vh);
  }

}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  min-height: 2.75rem;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #042f2e;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--focus);
  border-color: var(--focus);
  color: #042f2e;
  box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.35), 0 8px 24px rgba(34, 211, 238, 0.18);
}

.btn-primary:focus-visible {
  outline-color: var(--focus);
  outline-offset: 3px;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary:disabled,
.btn-primary[aria-disabled="true"] {
  background: var(--border-strong);
  border-color: var(--border-strong);
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 3.25rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
}

.section-intro {
  margin: -0.25rem 0 1.5rem;
  color: var(--text-muted);
}

.prose p {
  margin: 0 0 1rem;
  max-width: 42rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.muted {
  color: var(--text-muted);
}

.small {
  font-size: 0.9rem;
}


.looking-for {
  margin: 1.25rem 0 1rem;
  padding: 0.85rem 1rem;
  max-width: 42rem;
  background: var(--accent-soft);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: var(--radius-sm);
  color: var(--text);
}

.looking-for strong {
  color: var(--accent);
}

.about-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.about-cta-row .btn {
  text-decoration: none;
}

/* Projects */
.project-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card--featured {
    grid-column: 1 / -1;
  }
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.project-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(34, 211, 238, 0.08);
}

.project-card:focus-within {
  border-color: rgba(34, 211, 238, 0.45);
}

.project-card--featured {
  background: linear-gradient(145deg, rgba(8, 145, 178, 0.1), var(--surface) 45%);
  border-color: rgba(34, 211, 238, 0.28);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #042f2e;
  background: var(--accent);
  border-radius: 999px;
}

.card-tag {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.status-badge {
  display: inline-block;
  padding: 0.18rem 0.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(36, 48, 65, 0.85);
  border: 1px solid var(--border);
  border-radius: 999px;
  line-height: 1.3;
}

.status-badge--apk,
.status-badge--complete {
  color: #042f2e;
  background: rgba(52, 211, 153, 0.85);
  border-color: var(--success-muted);
}

.status-badge--android {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(34, 211, 238, 0.35);
}

.status-badge--hardware,
.status-badge--firmware {
  color: #e2e8f0;
  background: rgba(51, 65, 85, 0.65);
  border-color: var(--border-strong);
}

.hiring-takeaway {
  margin: 0;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text);
  background: rgba(8, 145, 178, 0.08);
  border-left: 3px solid var(--accent-dim);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hiring-takeaway-label {
  display: inline;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
  margin-right: 0.35rem;
}

.project-card .hiring-takeaway {
  flex: 0 0 auto;
}

.project-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.project-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.project-card h3 a:hover {
  color: var(--accent);
}

.project-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  flex: 1;
}

.card-link {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  border-radius: 4px;
}

.card-link:hover {
  text-decoration: underline;
  color: var(--focus);
}

.apk-cta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.3rem;
  padding: 0.95rem 1rem;
  background: var(--accent-soft);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: var(--radius-sm);
}

.apk-cta-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
}

.apk-status {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fef3c7;
}

.apk-status--ready {
  color: #042f2e;
  background: rgba(52, 211, 153, 0.9);
  border: 1px solid var(--success-muted);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}

.apk-copy,
.apk-note {
  margin: 0;
  color: var(--text-muted);
}

.apk-copy {
  font-size: 0.92rem;
}

.apk-note {
  font-size: 0.82rem;
  line-height: 1.5;
}

.apk-download {
  align-self: flex-start;
  max-width: 100%;
  text-align: center;
}

@media (max-width: 480px) {
  .apk-download {
    align-self: stretch;
    width: 100%;
  }

  .apk-cta {
    padding: 1rem 0.95rem;
  }

  .apk-note {
    font-size: 0.8rem;
    overflow-wrap: anywhere;
  }
}

/* Flash section */
.flash-auth-note {
  margin: 0 0 1.5rem;
  max-width: 42rem;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  background: var(--accent-soft);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: var(--radius-sm);
}

.flash-auth-note strong {
  color: var(--text);
}

.board-picker {
  margin: 0 0 1.25rem;
  padding: 0;
  border: none;
  max-width: 44rem;
}

.board-picker legend.field-label {
  padding: 0;
  margin-bottom: 0.65rem;
}

.board-options {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .board-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.board-option {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.board-option:hover:not(.board-option--soon) {
  border-color: var(--border-strong);
}

.board-option.is-selected {
  border-color: rgba(34, 211, 238, 0.55);
  background: linear-gradient(145deg, rgba(8, 145, 178, 0.12), var(--surface) 55%);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.2);
}

.board-option--soon {
  opacity: 0.55;
  cursor: not-allowed;
}

.board-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.board-option-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.95rem 1rem 1rem;
  min-height: 5.5rem;
}

.board-option-name {
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}

.board-option-chip {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.board-option-badge {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.15rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fef3c7;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 999px;
}

.board-option-badge--default {
  color: #042f2e;
  background: var(--accent);
  border-color: var(--accent);
}

.board-option input:focus-visible + .board-option-body {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: calc(var(--radius) - 2px);
}

.flash-panel {
  margin-top: 0.25rem;
  max-width: 36rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.flash-panel-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.flash-panel-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-family: var(--mono);
}

.status-pill {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fef3c7;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 999px;
}

.status-pill--ready {
  color: #042f2e;
  background: rgba(52, 211, 153, 0.85);
  border-color: var(--success-muted);
}

.status-pill--soon {
  color: var(--text-muted);
  background: rgba(148, 163, 184, 0.12);
  border-color: var(--border-strong);
}

.flash-blurb {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.flash-note {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.flash-note code,
.flash-pending-hint code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.flash-controls,
.flash-ready {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-start;
}

.flash-pending-hint,
.flash-browser-note {
  margin: 0;
}

.flash-slot-msg {
  display: block;
  max-width: 28rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.esp-install {
  --esp-tools-button-color: var(--accent);
  --esp-tools-button-text-color: #042f2e;
  --esp-tools-button-border-radius: var(--radius-sm);
  display: block;
}

.esp-install .btn {
  min-width: 10rem;
}

.field-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.field-select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.5rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  appearance: none;
}

.field-select:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .board-option,
  .btn,
  .project-card,
  .edu-card,
  .skill-chip,
  .site-nav a {
    transition: none;
  }
}

/* Contact */
.contact-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.25rem 0 0.75rem;
}

.contact-primary .btn {
  min-width: 9.5rem;
}

.contact-prefer {
  margin: 0 0 0.5rem;
  max-width: 36rem;
}

.contact-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 28rem;
}

.contact-list--secondary {
  margin-top: 0.5rem;
}

.contact-link {
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-list .contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0 2.25rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.draft-note {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: #fbbf24;
  letter-spacing: 0.02em;
}

.copyright {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .site-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.1rem 0.15rem;
  }

  .site-nav a {
    font-size: 0.84rem;
    padding: 0.4rem 0.45rem;
    min-height: 2.4rem;
  }

  .logo-mark {
    width: 36px;
    height: 36px;
  }

  .logo-text {
    font-size: 0.85rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-accent {
    max-width: 16rem;
    margin-inline: auto;
  }

  .hero-brand {
    max-height: 360px;
  }

  .hero-ctas .btn {
    flex: 1 1 100%;
  }

  .contact-primary .btn {
    flex: 1 1 100%;
  }

  .about-cta-row .btn {
    flex: 1 1 auto;
  }

  .section {
    padding: 2.75rem 0;
  }
}

.skills-subhead {
  margin: 1.75rem 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.skills-subhead:first-of-type {
  margin-top: 0.5rem;
}

.skill-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.skill-chip {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.3;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.skill-chips .skill-chip:hover {
  border-color: rgba(34, 211, 238, 0.4);
  background: var(--accent-soft);
}

.skill-chip--cert {
  border-color: var(--accent-dim);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.skills-proof {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 48rem;
}

.skills-proof-row {
  display: grid;
  gap: 0.35rem 1rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.skills-proof-row:hover {
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(22, 30, 40, 0.95);
}

.skills-proof-row dt {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.skills-proof-row dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.skills-proof-row dd a {
  font-weight: 600;
  text-decoration: none;
}

.skills-proof-row dd a:hover {
  text-decoration: underline;
  color: var(--focus);
}

@media (min-width: 640px) {
  .skills-proof-row {
    grid-template-columns: minmax(12rem, 1fr) minmax(0, 1.35fr);
    align-items: baseline;
  }
}


.edu-card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.edu-card:hover {
  border-color: rgba(34, 211, 238, 0.28);
}

.edu-school {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.edu-degree {
  margin: 0 0 0.5rem;
  font-weight: 600;
  color: var(--text);
}

.course-list {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.course-list li {
  margin: 0.35rem 0;
}

.cert-list {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cert-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 1rem;
}

.cert-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.muted.small,
.small.muted {
  font-size: 0.9rem;
}


/* Living cyber digital ocean background (canvas via bg-ocean.js) */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}

.site-bg-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.site-bg-vignette {
  position: absolute;
  inset: 0;
  /* Strong edge darken so richer mid-ground ocean stays readable under content */
  background: radial-gradient(ellipse 66% 56% at 50% 34%, transparent 12%, rgba(8, 12, 18, 0.55) 66%, rgba(5, 8, 12, 0.9) 100%);
}

/* Static fallback if JS fails: soft underwater depth + current suggestion */
.site-bg-fallback {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background:
    linear-gradient(180deg, rgba(34, 211, 238, 0.18) 0%, transparent 20%, transparent 58%, rgba(15, 118, 110, 0.16) 100%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(103, 232, 249, 0.16), transparent 55%),
    radial-gradient(ellipse 90% 35% at 50% 100%, rgba(15, 118, 110, 0.22), transparent 60%),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 40px,
      rgba(34, 211, 238, 0.08) 40px,
      rgba(34, 211, 238, 0.08) 41px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 72px,
      rgba(34, 211, 238, 0.05) 72px,
      rgba(34, 211, 238, 0.05) 73px
    );
  background-position: center, center, center, center, center;
  transform-origin: 50% 0%;
  transform: perspective(520px) rotateX(12deg) scale(1.15);
}

.site-bg.has-live-ocean .site-bg-fallback,
.site-bg.has-live-landscape .site-bg-fallback {
  display: none;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

main {
  min-height: calc(100vh - var(--header-h) - 7rem);
}


.footer-support {
  margin: 0;
  font-size: 0.9rem;
}

.footer-support a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-support a:hover {
  color: var(--accent);
}

/* Suggestions / Giscus */
.suggestions-moderation {
  margin: 0 0 0.75rem;
  max-width: 42rem;
}

.suggestions-alt {
  margin: 0 0 1.5rem;
  max-width: 42rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.giscus-wrap {
  margin-top: 0.5rem;
  padding: 1.25rem 1.35rem 1.5rem;
  background: rgba(22, 30, 40, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  min-height: 12rem;
}

.giscus-wrap .giscus,
.giscus-wrap .giscus-frame {
  width: 100%;
}

@media (max-width: 640px) {
  .giscus-wrap {
    padding: 1rem;
    margin-left: -0.15rem;
    margin-right: -0.15rem;
  }
}
