/* Asback Dev: public site styles.
   Dark "developer studio" theme by default, light theme via prefers-color-scheme.
   Motion uses transform/opacity only, 200-700ms, cubic-bezier(.2,.7,.2,1).
   Every animation is disabled under prefers-reduced-motion and content stays visible without JS. */

:root {
  --bg: #0c0d0f;
  --surface: #131518;
  --surface-2: #181b20;
  --border: #23262b;
  --border-strong: #343940;
  --text: #e8e6e1;
  --muted: #a0a3a9;
  --accent: #d7ff5f;
  --cyan: #4fd8ff;
  --danger: #ff8a80;
  --on-accent: #0c0d0f;
  --on-grad: #0c0d0f;
  --grad: linear-gradient(120deg, #d7ff5f 0%, #4fd8ff 100%);
  --glow: rgba(215, 255, 95, 0.26);
  --ring: rgba(79, 216, 255, 0.22);
  --spot: rgba(215, 255, 95, 0.1);
  --dot: rgba(232, 230, 225, 0.07);
  --hilite: rgba(255, 255, 255, 0.05);
  --radius: 14px;
  --max: 1120px;
  --narrow: 720px;
  --gutter: 20px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font-head: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f7f6f2;
    --surface: #ffffff;
    --surface-2: #f0efe9;
    --border: #e2e0d9;
    --border-strong: #cfccc3;
    --text: #16171a;
    --muted: #5f6269;
    --accent: #3d5a00;
    --cyan: #0a7ea4;
    --danger: #b42318;
    --on-accent: #ffffff;
    --on-grad: #ffffff;
    --grad: linear-gradient(120deg, #3d5a00 0%, #0a7ea4 100%);
    --glow: rgba(61, 90, 0, 0.16);
    --ring: rgba(10, 126, 164, 0.22);
    --spot: rgba(61, 90, 0, 0.07);
    --dot: rgba(22, 23, 26, 0.08);
    --hilite: rgba(255, 255, 255, 0.7);
    color-scheme: light;
  }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

main {
  flex: 1 0 auto;
  position: relative;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--text);
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
}

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

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container.narrow {
  max-width: var(--narrow);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Honeypot: kept out of sight and out of the tab order. */
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 8px 12px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
}

.skip-link:focus {
  top: 12px;
}

.mono,
.eyebrow,
.card-meta,
.post-arrow,
.skill-cat,
.side-title,
.info-label,
.pager-info,
.pager-link .mono {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.grad-anim {
  background-size: 200% auto;
  animation: grad-flow 6s linear infinite alternate;
}

.lede {
  margin-top: 18px;
  max-width: 54ch;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
}

.empty {
  padding: 28px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.88rem;
  color: var(--text);
}

.status-dot {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: ping 2.2s var(--ease) infinite;
}

.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
}

.kicker-idx {
  color: var(--accent);
  font-weight: 500;
}

/* ---------- Background: flat color with a faint dot grid ---------- */

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 2px;
  background: var(--grad);
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
  pointer-events: none;
}

/* ---------- Header and navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--grad);
  box-shadow: 0 6px 18px -6px var(--glow);
  transition: transform 0.6s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(90deg);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.site-header.is-open .nav-toggle-icon {
  background: transparent;
}

.site-header.is-open .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 720px) {
  .has-js .nav-toggle {
    display: inline-flex;
  }

  .has-js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 4px var(--gutter) 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }

  .has-js.is-open .site-nav {
    display: block;
  }

  .has-js .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .has-js .nav-link {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .has-js .nav-link::after {
    display: none;
  }

  .has-js .nav-link.is-active {
    color: var(--accent);
  }
}

/* ---------- Buttons, tags, filters ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--muted);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(5px);
}

.btn-primary {
  border-color: transparent;
  background: var(--grad);
  color: var(--on-grad);
  font-weight: 600;
}

.btn-glow {
  box-shadow: 0 12px 34px -12px var(--glow);
}

.btn-primary:hover {
  border-color: transparent;
  color: var(--on-grad);
  box-shadow: 0 18px 44px -12px var(--glow), 0 0 0 4px var(--ring);
}

.btn-ghost {
  background: transparent;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tag {
  position: relative;
  z-index: 3;
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
  text-decoration: none;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background-color 0.3s var(--ease);
}

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

.tag.is-active {
  border-color: transparent;
  background: var(--grad);
  color: var(--on-grad);
}

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  padding-block: clamp(48px, 9vw, 112px) clamp(40px, 6vw, 72px);
}

/* One faint, static, neutral highlight behind the headline */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: min(720px, 110vw);
  height: 520px;
  transform: translateX(-30%);
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--hilite), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}

.hero-grid > * {
  min-width: 0;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 64px;
  }
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.hero-loc {
  font-size: 0.85rem;
}

.hero-title {
  max-width: 14ch;
  margin-top: 26px;
  font-size: clamp(2.6rem, 7.4vw, 5.2rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-type {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 1.7em;
  margin-top: 22px;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--text);
}

.type-prompt {
  color: var(--accent);
}

.typewriter {
  color: var(--cyan);
}

.type-cursor {
  display: inline-block;
  width: 2px;
  height: 1.15em;
  margin-left: -6px;
  background: var(--accent);
  animation: blink 1s steps(1) infinite;
}

.hero-subtitle {
  margin-top: 22px;
  max-width: 46ch;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 480px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.stats li {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 75%, transparent);
}

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
}

/* Terminal / code editor card */

.hero-visual {
  position: relative;
  perspective: 1200px;
}

.term-float {
  animation: float 7s ease-in-out infinite;
}

.term {
  position: relative;
  --rx: 0deg;
  --ry: 0deg;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.5s var(--ease);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px -34px rgba(0, 0, 0, 0.45), 0 20px 50px -30px var(--glow);
}

.term::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 1px;
  border-radius: inherit;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.dot.d1 {
  background: #ff6b6b;
}

.dot.d2 {
  background: #ffd166;
}

.dot.d3 {
  background: var(--accent);
}

.term-tab {
  margin-left: 10px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  font-size: 0.75rem;
  color: var(--text);
}

.term-body {
  margin: 0;
  padding: 18px 20px 22px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--muted);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.term-body code {
  font-family: inherit;
}

.tk-c {
  color: var(--muted);
  font-style: italic;
  opacity: 0.8;
}

.tk-kw {
  color: var(--cyan);
}

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

.tk-key {
  color: var(--cyan);
}

.tk-str {
  color: var(--accent);
}

.tk-bool {
  color: var(--accent);
}

/* Hero image: framed card that replaces the terminal when hero_image is set */

.hero-frame {
  margin: 0;
  padding: clamp(12px, 2vw, 20px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.45);
}

.hero-image {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  margin-inline: auto;
}

.term-cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--accent);
  animation: blink 1s steps(1) infinite;
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: clamp(64px, 9vw, 112px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 44px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.more-link span {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}

.more-link:hover {
  color: var(--text);
}

.more-link:hover span {
  transform: translateX(5px);
}

.page-head {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 10vw, 112px) clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--border);
}

.page-head .container {
  position: relative;
  z-index: 1;
}

.page-head h1 {
  margin-top: 18px;
  max-width: 22ch;
  font-size: clamp(2.3rem, 6.4vw, 4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.page-accent {
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 24px;
  border-radius: 3px;
  background: var(--grad);
}

.page-head .tag-list {
  margin-top: 22px;
}

.back {
  font-size: 0.9rem;
}

.back a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.back a:hover {
  color: var(--text);
}

.err-code {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: clamp(5.5rem, 24vw, 13rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  background: linear-gradient(100deg, var(--accent), var(--cyan), var(--accent));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: grad-flow 8s ease-in-out infinite alternate;
}

/* ---------- CTA band ---------- */

.cta {
  position: relative;
  padding-block: clamp(40px, 7vw, 80px);
}

.cta-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 22px;
  background: var(--surface);
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(120deg, var(--accent), var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.cta h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
}

.cta p {
  margin-top: 10px;
  max-width: 48ch;
  color: var(--muted);
}

/* ---------- Project and skill cards ---------- */

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

.card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

/* Gradient border that lights up on hover. */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1px;
  border-radius: inherit;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

/* Spotlight that follows the cursor (--mx / --my set by site.js). */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), var(--spot), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 28px 60px -30px var(--glow);
}

.card:hover::before,
.card:hover::after {
  opacity: 1;
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.card:hover .card-cover {
  transform: scale(1.06);
}

/* Generated decorative cover for projects without an image. */
.card-cover-gen {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.card-cover-gen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

.card-cover-gen.tone-1 {
  background: linear-gradient(135deg, color-mix(in srgb, #d7ff5f 42%, #0c0d0f) 0%, color-mix(in srgb, #4fd8ff 34%, #0c0d0f) 100%);
}

.card-cover-gen.tone-2 {
  background: linear-gradient(135deg, color-mix(in srgb, #4fd8ff 40%, #0c0d0f) 0%, color-mix(in srgb, #4fd8ff 14%, #0c0d0f) 100%);
}

.card-cover-gen.tone-3 {
  background: linear-gradient(135deg, #23262b 0%, color-mix(in srgb, #d7ff5f 26%, #0c0d0f) 100%);
}

.card-letter {
  position: relative;
  font-family: var(--font-head);
  font-size: clamp(4rem, 13vw, 6rem);
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 22px;
}

.card-title {
  font-size: 1.22rem;
  line-height: 1.25;
}

.card-title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

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

/* Stretched link: the whole card is clickable, tags stay on top. */
.card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card-summary {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.card .tag-list {
  margin-top: auto;
  padding-top: 6px;
}

/* Services (Neler yapıyorum): reuses .card, .card-body, .card-title, .card-summary */

.services-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 560px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.service-card .card-body {
  gap: 14px;
}

.service-icon {
  display: block;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  object-fit: contain;
  transition: transform 0.6s var(--ease);
}

.service-card:hover .service-icon {
  transform: translateY(-3px) scale(1.08);
}

/* Letter tile when a service has no icon */
.service-icon-gen {
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--grad);
  color: var(--on-grad);
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
}

/* Skills */

.skills-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr);
}

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

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

.skill-group {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}

.skill-group:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.skill-cat {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}

/* Skill tiles: icon (or first letter) + name. No level indicator on the public site. */
.skill-tiles {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.skill-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.35s var(--ease);
}

.skill-tile:hover {
  border-color: var(--border-strong);
}

.skill-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--grad);
  color: var(--on-grad);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
}

.skill-icon--img {
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}

.skill-name {
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--text);
  overflow-wrap: anywhere;
}

/* Posts */

.post-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), background-color 0.45s var(--ease);
}

.post-item:hover {
  transform: translateX(6px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 84px;
  min-height: 72px;
  padding: 8px 6px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  text-align: center;
}

.db-day {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.db-rest {
  margin-top: 4px;
  font-size: 0.68rem;
  line-height: 1.3;
  color: var(--muted);
}

.post-main {
  min-width: 0;
}

.post-title {
  margin-bottom: 6px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.post-title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.post-item:hover .post-title a {
  color: var(--accent);
}

/* Stretched link: the whole row is clickable. */
.post-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.post-excerpt {
  font-size: 0.95rem;
  color: var(--muted);
}

.post-arrow {
  display: inline-block;
  font-size: 1.1rem;
  transition: transform 0.45s var(--ease), color 0.3s var(--ease);
}

.post-item:hover .post-arrow {
  transform: translateX(6px);
  color: var(--accent);
}

@media (max-width: 560px) {
  .post-item {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .post-arrow {
    display: none;
  }

  .date-badge {
    width: 72px;
  }
}

.pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.pager .btn:last-child {
  justify-self: end;
}

/* ---------- Project and post pages ---------- */

.project-cover,
.post-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-top: clamp(8px, 2vw, 24px);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.45);
}

.project-layout {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 880px) {
  .project-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
  }
}

.project-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.side-title {
  margin: 0;
  text-transform: uppercase;
}

.meta-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.meta-list div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-list dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.meta-list dd {
  margin: 0;
  color: var(--text);
}

.plain-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.plain-list a {
  color: var(--accent);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.3s var(--ease);
}

.plain-list a:hover {
  text-decoration: underline;
}

.post-body {
  margin-top: clamp(32px, 5vw, 48px);
}

.post-pager {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 56px;
  padding-top: 28px;
  padding-bottom: 56px;
  border-top: 1px solid var(--border);
}

.pager-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}

.pager-link:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.pager-link .pager-title {
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.05rem;
  line-height: 1.3;
}

.pager-link:hover .pager-title {
  color: var(--accent);
}

.pager-next {
  text-align: right;
  align-items: flex-end;
}

/* ---------- About and contact ---------- */

.about-grid,
.contact-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 880px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr);
    align-items: start;
  }

  .profile-card {
    position: sticky;
    top: 96px;
  }
}

.profile-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
}

.avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--grad);
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 600;
  color: var(--on-grad);
  box-shadow: 0 16px 36px -16px var(--glow);
}

.avatar-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-strong);
}

.profile-name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.profile-role {
  margin-top: 4px;
  color: var(--muted);
}

.profile-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.profile-list a {
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.profile-list a:hover {
  color: var(--accent);
}

.info-cards {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.info-card:hover {
  transform: translateX(4px);
  border-color: var(--border-strong);
}

.info-card a,
.info-card > span:not(.info-label):not(.status-pill) {
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.info-card a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.info-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}

.form {
  display: flex;
  flex-direction: column;
}

.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.field label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s var(--ease);
}

.field textarea {
  min-height: 170px;
  line-height: 1.55;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: var(--muted);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px var(--ring);
}

.alert {
  margin-bottom: 28px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.alert p {
  margin: 0;
}

.alert ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.alert-link {
  margin-top: 10px !important;
}

.alert-ok {
  border-color: var(--accent);
}

.alert-err {
  border-color: var(--danger);
}

.alert-err p:first-child {
  color: var(--danger);
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  margin-top: auto;
  padding-top: 56px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent 0%, var(--surface-2) 100%);
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 36px 48px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 560px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer-brand {
    grid-column: auto;
  }
}

.footer-tagline {
  max-width: 38ch;
  margin-top: 14px;
  line-height: 1.6;
}

.footer-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}

.footer-links,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a,
.footer-social a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 44px;
  padding-block: 22px 36px;
  border-top: 1px solid var(--border);
}

.footer-copy,
.footer-credit {
  margin: 0;
}

.footer-credit a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.footer-credit a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---------- Prose (markdown content) ---------- */

.prose {
  max-width: 68ch;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  overflow-wrap: break-word;
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  line-height: 1.2;
}

.prose h3 {
  margin-top: 1.8em;
  font-size: 1.3rem;
  line-height: 1.25;
}

.prose h4 {
  margin-top: 1.6em;
  font-size: 1.1rem;
}

.prose strong {
  font-weight: 600;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose a:hover {
  text-decoration-thickness: 2px;
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose li > ul,
.prose li > ol {
  margin-top: 0.4em;
}

.prose blockquote {
  margin-inline: 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--cyan);
  color: var(--muted);
}

.prose code {
  padding: 0.1em 0.38em;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.875em;
  overflow-wrap: anywhere;
}

.prose pre {
  max-width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow-x: auto;
  line-height: 1.6;
}

.prose pre code {
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.875rem;
  overflow-wrap: normal;
  white-space: pre;
}

.prose img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.prose th,
.prose td {
  padding: 8px 12px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.prose th {
  font-family: var(--font-head);
  font-weight: 600;
}

.prose hr {
  margin: 2.5em 0;
  border: 0;
  border-top: 1px solid var(--border);
}

/* ---------- Reveal animations (only when JavaScript runs) ---------- */

/* data-reveal: "up" (default), "left", "right" or "zoom". --i is set by site.js for stagger. */
.js [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

.js [data-reveal="left"]:not(.is-in) {
  transform: translate3d(-28px, 0, 0);
}

.js [data-reveal="right"]:not(.is-in) {
  transform: translate3d(28px, 0, 0);
}

.js [data-reveal="zoom"]:not(.is-in) {
  transform: scale(0.96);
}

.js [data-reveal].is-in {
  animation: reveal-up 0.7s var(--ease) backwards;
  animation-delay: calc(var(--i, 0) * 70ms);
}

.js [data-reveal="left"].is-in {
  animation-name: reveal-left;
}

.js [data-reveal="right"].is-in {
  animation-name: reveal-right;
}

.js [data-reveal="zoom"].is-in {
  animation-name: reveal-zoom;
}

/* Header logo image (logo_image setting) */
.brand-logo {
  display: block;
  width: auto;
  height: 32px;
  max-width: 180px;
  object-fit: contain;
}

/* Bigger click targets on touch screens */
@media (pointer: coarse) {
  .btn {
    min-height: 48px;
  }

  .nav-toggle {
    min-width: 48px;
    min-height: 48px;
  }

  .tag {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
  }

  .more-link {
    min-height: 44px;
  }
}

/* ---------- Mobile tweaks ---------- */

@media (max-width: 480px) {
  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .stats {
    gap: 8px;
  }

  .stats li {
    padding: 12px 10px;
  }

  .pager {
    grid-template-columns: 1fr;
  }

  .pager-info {
    order: -1;
    text-align: center;
  }

  .pager .btn,
  .pager .btn:last-child {
    justify-self: stretch;
  }

  .post-pager {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-panel .btn {
    width: 100%;
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes reveal-left {
  from {
    opacity: 0;
    transform: translate3d(-28px, 0, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes reveal-right {
  from {
    opacity: 0;
    transform: translate3d(28px, 0, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes reveal-zoom {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes grad-flow {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes ping {
  0% {
    transform: scale(0.5);
    opacity: 0.9;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Reduced motion: reveals become plain fades and the floating card stops moving. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .term-float {
    animation: none !important;
  }

  .js [data-reveal].is-in,
  .js [data-reveal="left"].is-in,
  .js [data-reveal="right"].is-in,
  .js [data-reveal="zoom"].is-in {
    animation-name: reveal-fade;
  }
}

@keyframes reveal-fade {
  from {
    opacity: 0;
  }
}

/* Uploaded brand artwork: generated on a near-black canvas, so on the dark theme blend it into the page. */
.hero-frame {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 10px;
}

@media (prefers-color-scheme: dark) {
  .hero-image,
  .avatar-img,
  .brand-logo {
    mix-blend-mode: screen;
  }

  .brand-logo {
    scale: 1.7;
    margin-right: 4px;
  }
}

/* Fade the artwork canvas edges into the page */
.hero-image {
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}

/* Static header logo (bundled /img/logo.png): exempt from the rounded, scaled
   and blended treatment of .brand-logo above. Must stay after those rules. */
.brand-logo.brand-logo-static {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 0;
  mix-blend-mode: normal;
  scale: none;
  margin-right: 0;
}
