:root {
  --paper: #fdfbf7;
  --sheet: #ffffff;
  --ink: #2d2d2d;
  --muted: #e5e0d8;
  --red: #ff4d4d;
  --blue: #2d5da1;
  --yellow: #fff9c4;
  --tape: rgba(120, 120, 120, 0.2);
  --shadow: 4px 4px 0 0 var(--ink);
  --shadow-big: 8px 8px 0 0 var(--ink);
  --shadow-soft: 3px 3px 0 0 rgba(45, 45, 45, 0.14);
  --wobbly: 255px 18px 225px 18px / 18px 225px 18px 255px;
  --wobbly-md: 28px 12px 24px 16px / 16px 28px 12px 24px;
  --wobbly-sm: 18px 10px 16px 12px / 12px 18px 10px 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(var(--muted) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--ink);
  font-family: "Patrick Hand", "Segoe Print", "Comic Sans MS", cursive;
  font-size: 1.12rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 3px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 77, 77, 0.08), transparent 36%, rgba(45, 93, 161, 0.08)),
    color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px);
}

.navbar {
  width: min(1120px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-family: "Kalam", "Segoe Print", cursive;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transform: rotate(-1deg);
}

.nav-links,
.nav-actions,
.language-switch {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 18px;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: -7px;
  left: -2px;
  height: 8px;
  border-bottom: 2px dashed var(--red);
  border-radius: 50%;
  opacity: 0;
  transform: rotate(-1deg);
  transition: opacity 120ms ease, transform 120ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  outline: none;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after {
  opacity: 1;
  transform: rotate(1deg);
}

.nav-actions {
  gap: 8px;
  flex: 0 0 auto;
}

.nav-action-link,
.hero-chip,
.button,
.project-link,
.filter-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--ink);
  border-radius: var(--wobbly);
  background: var(--sheet);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.1;
  box-shadow: var(--shadow);
  transition: transform 100ms ease, box-shadow 100ms ease, background 100ms ease, color 100ms ease;
}

.nav-action-link {
  min-height: 36px;
  padding: 6px 11px;
  font-size: 0.98rem;
}

.nav-action-link:nth-child(2) {
  transform: rotate(1deg);
}

.nav-action-link:nth-child(3) {
  transform: rotate(-1deg);
}

.nav-action-link:hover,
.nav-action-link:focus-visible,
.hero-chip:hover,
.hero-chip:focus-visible,
.button:hover,
.button:focus-visible,
.project-link:hover,
.project-link:focus-visible,
.filter-btn:hover,
.filter-btn:focus-visible,
.filter-btn.active {
  background: var(--red);
  color: var(--sheet);
  box-shadow: 2px 2px 0 0 var(--ink);
  outline: none;
  transform: translate(2px, 2px) rotate(var(--tilt-hover, 0deg));
}

.language-switch {
  gap: 2px;
  margin-left: 3px;
  padding: 3px;
  border: 2px dashed var(--ink);
  border-radius: var(--wobbly-sm);
  background: var(--yellow);
  transform: rotate(1deg);
}

.lang-btn {
  min-width: 33px;
  height: 29px;
  border: 0;
  border-radius: var(--wobbly-sm);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.lang-btn.active {
  background: var(--ink);
  color: var(--sheet);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(320px, 430px);
  align-items: center;
  gap: 56px;
  padding-top: 74px;
  padding-bottom: 62px;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: "";
  position: absolute;
  top: -22px;
  left: -18px;
  width: 92px;
  height: 24px;
  background: var(--tape);
  border: 1px solid rgba(45, 45, 45, 0.16);
  transform: rotate(-8deg);
}

.hero-kicker,
.eyebrow {
  width: fit-content;
  margin: 0 0 14px;
  padding: 5px 12px;
  border: 2px solid var(--ink);
  border-radius: var(--wobbly-sm);
  background: var(--yellow);
  color: var(--ink);
  font-family: "Kalam", "Segoe Print", cursive;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-soft);
}

.hero h1,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Kalam", "Segoe Print", cursive;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 650px;
  font-size: 5.2rem;
}

.hero h1::after {
  content: "!";
  display: inline-block;
  margin-left: 6px;
  color: var(--red);
  transform: rotate(9deg);
  animation: markerBounce 3s ease-in-out infinite;
}

.hero-role {
  max-width: 600px;
  margin: 18px 0 0;
  color: var(--ink);
  font-family: "Kalam", "Segoe Print", cursive;
  font-size: 1.58rem;
  font-weight: 700;
  line-height: 1.25;
}

.hero-text {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 1.2rem;
}

.hero-chip-row,
.contact-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-chip {
  padding: 9px 15px;
  font-size: 1.08rem;
}

.hero-chip:first-child {
  background: var(--red);
  color: var(--sheet);
}

.hero-chip:nth-child(2) {
  --tilt-hover: -1deg;
  background: var(--yellow);
  transform: rotate(1deg);
}

.hero-chip:nth-child(3) {
  --tilt-hover: 1deg;
  transform: rotate(-1deg);
}

.hero-chip:nth-child(4) {
  background: color-mix(in srgb, var(--blue) 10%, var(--sheet));
  transform: rotate(1deg);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(112px, 1fr));
  gap: 14px;
  max-width: 560px;
  margin-top: 34px;
}

.hero-stats div {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 16px;
  border: 3px solid var(--ink);
  border-radius: var(--wobbly-md);
  background: var(--sheet);
  box-shadow: var(--shadow);
}

.hero-stats div:nth-child(1) {
  transform: rotate(-1deg);
}

.hero-stats div:nth-child(2) {
  background: var(--yellow);
  transform: rotate(1deg);
}

.hero-stats div:nth-child(3) {
  transform: rotate(-1deg);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--ink);
  font-family: "Kalam", "Segoe Print", cursive;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.05;
}

.hero-stats span {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.15;
}

.hero-media {
  position: relative;
  display: grid;
  justify-self: end;
  width: min(100%, 470px);
}

.boot-terminal,
.turkey-flag-gif,
.project-card,
.experience-item {
  border: 3px solid var(--ink);
  border-radius: var(--wobbly-md);
  background: var(--sheet);
  color: var(--ink);
  box-shadow: var(--shadow-big);
}

.boot-terminal {
  width: 100%;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transform: rotate(-1deg);
  animation: terminalFloat 3.8s ease-in-out infinite;
  transition: transform 100ms ease, box-shadow 100ms ease;
}

.boot-terminal:hover,
.boot-terminal:focus-visible {
  animation: none;
  box-shadow: 5px 5px 0 0 var(--ink);
  outline: none;
  transform: translate(2px, 2px) rotate(1deg);
}

.turkey-flag-gif {
  display: none;
  width: 100%;
  max-height: 360px;
  background: var(--sheet);
  object-fit: cover;
  transform: rotate(1deg);
}

.hero-media.show-turkey-flag .boot-terminal {
  display: none;
}

.hero-media.show-turkey-flag .turkey-flag-gif {
  display: block;
  animation: revealTurkeyFlag 420ms ease both;
}

.terminal-top {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 3px solid var(--ink);
  background: var(--yellow);
}

.terminal-top span {
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.terminal-top span:nth-child(1) {
  background: var(--red);
}

.terminal-top span:nth-child(2) {
  background: var(--sheet);
}

.terminal-top span:nth-child(3) {
  background: var(--blue);
}

.terminal-top p {
  margin: 0 0 0 7px;
  font-family: "Kalam", "Segoe Print", cursive;
  font-size: 1rem;
  font-weight: 700;
}

.terminal-body {
  display: grid;
  gap: 8px;
  padding: 18px;
  font-family: "Patrick Hand", "Segoe Print", cursive;
  font-size: 1rem;
  line-height: 1.28;
}

.terminal-line {
  margin: 0;
  color: var(--ink);
  opacity: 0;
  transform: translateY(5px);
  animation: terminalLine 420ms ease forwards;
  white-space: nowrap;
}

.terminal-line:nth-child(1) {
  animation-delay: 120ms;
}

.terminal-line:nth-child(2) {
  animation-delay: 420ms;
}

.terminal-line:nth-child(3) {
  animation-delay: 720ms;
}

.terminal-line:nth-child(4) {
  animation-delay: 1020ms;
}

.terminal-line:nth-child(5) {
  animation-delay: 1320ms;
}

.terminal-line:nth-child(6) {
  animation-delay: 1620ms;
}

.terminal-line:nth-child(7) {
  animation-delay: 1900ms;
}

.terminal-line span {
  color: var(--blue);
  font-weight: 700;
}

.terminal-line.muted {
  color: color-mix(in srgb, var(--ink) 70%, var(--muted));
}

.terminal-line.success {
  color: var(--blue);
  font-weight: 700;
}

.terminal-line.prompt i {
  display: inline-block;
  width: 8px;
  height: 1em;
  margin-left: 2px;
  background: var(--red);
  vertical-align: -2px;
  animation: cursorBlink 950ms steps(2, start) infinite;
}

@keyframes terminalLine {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cursorBlink {
  50% {
    opacity: 0;
  }
}

@keyframes terminalFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-6px) rotate(1deg);
  }
}

@keyframes revealTurkeyFlag {
  from {
    opacity: 0;
    transform: translateY(8px) rotate(-1deg) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(1deg) scale(1);
  }
}

@keyframes markerBounce {
  50% {
    transform: translateY(-5px) rotate(-7deg);
  }
}

.button {
  min-height: 48px;
  padding: 10px 18px;
  font-size: 1.14rem;
}

.button.primary {
  background: var(--red);
  color: var(--sheet);
}

.button.secondary {
  background: var(--yellow);
}

.tech-band {
  width: 100%;
  padding: 24px 0;
  border-block: 3px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 77, 77, 0.16), transparent 42%, rgba(45, 93, 161, 0.12)),
    var(--sheet);
}

.tech-band .section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tech-band span,
.tag,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 2px solid var(--ink);
  border-radius: var(--wobbly-sm);
  background: var(--paper);
  color: var(--ink);
  padding: 5px 11px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
}

.tech-band span:nth-child(2n) {
  background: var(--yellow);
  transform: rotate(1deg);
}

.tech-band span:nth-child(3n) {
  background: color-mix(in srgb, var(--blue) 12%, var(--sheet));
  transform: rotate(-1deg);
}

.section-heading {
  position: relative;
  max-width: 780px;
  margin-bottom: 32px;
}

.section-heading::after {
  content: "";
  display: block;
  width: 160px;
  height: 12px;
  margin-top: 12px;
  border-bottom: 3px dashed var(--red);
  border-radius: 50%;
  transform: rotate(-1deg);
}

.section-heading h2,
.contact-copy h2 {
  font-size: 3.6rem;
}

.section-heading p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  margin: 13px 0 0;
  color: var(--ink);
  font-size: 1.18rem;
}

.project-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 40px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 1.03rem;
}

.filter-btn:nth-child(2n) {
  --tilt-hover: 1deg;
  transform: rotate(1deg);
}

.filter-btn:nth-child(3n) {
  --tilt-hover: -1deg;
  transform: rotate(-1deg);
}

.filter-btn.active {
  background: var(--blue);
}

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

.project-card {
  --tilt: 0deg;
  --tilt-hover: 1deg;
  position: relative;
  min-height: 392px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: rotate(var(--tilt));
  transition: transform 100ms ease, box-shadow 100ms ease;
}

.project-card::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 88px;
  height: 24px;
  background: var(--tape);
  border: 1px solid rgba(45, 45, 45, 0.15);
  transform: translateX(-50%) rotate(var(--tape-tilt, -2deg));
}

.project-card:hover,
.project-card:focus-within {
  box-shadow: 2px 2px 0 0 var(--ink);
  transform: translate(2px, 2px) rotate(var(--tilt-hover));
}

.project-card.hidden {
  display: none;
}

.tilt-0 {
  --tilt: -1deg;
  --tilt-hover: 1deg;
  --tape-tilt: -4deg;
}

.tilt-1 {
  --tilt: 1deg;
  --tilt-hover: -1deg;
  --tape-tilt: 3deg;
}

.tilt-2 {
  --tilt: -0.5deg;
  --tilt-hover: 1.5deg;
  --tape-tilt: 2deg;
}

.tilt-3 {
  --tilt: 1.5deg;
  --tilt-hover: -1.5deg;
  --tape-tilt: -3deg;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.project-card h3,
.experience-item h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Kalam", "Segoe Print", cursive;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.2;
}

.status-pill {
  flex: 0 0 auto;
  min-height: 28px;
  font-size: 0.93rem;
}

.status-pill.public {
  background: color-mix(in srgb, var(--blue) 12%, var(--sheet));
}

.status-pill.private {
  background: color-mix(in srgb, var(--red) 16%, var(--sheet));
}

.project-card p {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
}

.project-points {
  display: grid;
  gap: 8px;
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
}

.project-points li {
  position: relative;
  padding-left: 20px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.project-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 9px;
  height: 9px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--red);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 4px;
}

.tag:nth-child(2n) {
  background: var(--yellow);
}

.card-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.project-link {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  background: var(--ink);
  color: var(--sheet);
  font-size: 1.06rem;
}

.project-link.secondary {
  background: var(--yellow);
  color: var(--ink);
}

.project-link.pending {
  background: var(--muted);
  color: var(--ink);
  cursor: not-allowed;
}

.websites-main {
  min-height: calc(100svh - 76px);
}

.websites-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: end;
  gap: 36px;
  padding-bottom: 54px;
}

.websites-hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Kalam", "Segoe Print", cursive;
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

.websites-note {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 3px dashed var(--ink);
  border-radius: var(--wobbly-md);
  background: var(--yellow);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.websites-note strong {
  font-family: "Kalam", "Segoe Print", cursive;
  font-size: 1.28rem;
  line-height: 1.1;
}

.websites-note span {
  overflow-wrap: anywhere;
}

.template-section {
  padding-top: 34px;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.template-card {
  --tilt: 0deg;
  --tilt-hover: 1deg;
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 22px;
  border: 3px solid var(--ink);
  border-radius: var(--wobbly-md);
  background: var(--sheet);
  color: var(--ink);
  box-shadow: var(--shadow-big);
  transform: rotate(var(--tilt));
  transition: transform 100ms ease, box-shadow 100ms ease;
}

.template-card::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 92px;
  height: 24px;
  background: var(--tape);
  border: 1px solid rgba(45, 45, 45, 0.15);
  transform: translateX(-50%) rotate(var(--tape-tilt, -2deg));
}

.template-card:hover,
.template-card:focus-within {
  box-shadow: 2px 2px 0 0 var(--ink);
  transform: translate(2px, 2px) rotate(var(--tilt-hover));
}

.template-card-featured {
  background: color-mix(in srgb, var(--yellow) 42%, var(--sheet));
}

.template-preview {
  min-height: 178px;
  display: grid;
  align-content: center;
  gap: 12px;
  border: 3px solid var(--ink);
  border-radius: var(--wobbly-sm);
  background: var(--paper);
  padding: 18px;
  overflow: hidden;
}

.monochrome-preview {
  background: #ffffff;
  color: #000000;
  border-radius: 0;
}

.monochrome-preview > span {
  display: block;
  width: 38%;
  height: 12px;
  background: #000000;
}

.monochrome-preview div {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.6fr;
  gap: 8px;
  align-items: end;
}

.monochrome-preview i {
  display: block;
  height: 74px;
  border: 2px solid #000000;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(0, 0, 0, 0.16) 9px),
    #ffffff;
}

.monochrome-preview i:nth-child(2) {
  height: 108px;
  background: #000000;
}

.monochrome-preview i:nth-child(3) {
  height: 54px;
}

.monochrome-preview strong {
  font-family: Georgia, serif;
  font-size: 3.1rem;
  line-height: 0.88;
  letter-spacing: 0;
}

.bauhaus-preview {
  position: relative;
  min-height: 178px;
  display: block;
  border-radius: 0;
  background: #f0f0f0;
  color: #121212;
}

.bauhaus-preview span {
  position: absolute;
  display: block;
  border: 3px solid #121212;
  box-shadow: 4px 4px 0 0 #121212;
}

.bauhaus-circle {
  top: 22px;
  left: 20px;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #d02020;
}

.bauhaus-square {
  right: 24px;
  top: 34px;
  width: 74px;
  height: 74px;
  background: #1040c0;
  transform: rotate(12deg);
}

.bauhaus-triangle {
  left: 92px;
  bottom: 24px;
  width: 82px;
  height: 72px;
  background: #f0c020;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.bauhaus-preview strong {
  position: absolute;
  right: 18px;
  bottom: 12px;
  font-family: Arial, sans-serif;
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
}

.newsprint-preview {
  position: relative;
  min-height: 178px;
  display: block;
  border-radius: 0;
  background:
    radial-gradient(#111111 1px, transparent 1px),
    #f9f9f7;
  background-size: 12px 12px;
  color: #111111;
}

.newsprint-preview::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 2px solid #111111;
  background: rgba(249, 249, 247, 0.88);
}

.newsprint-preview strong {
  position: absolute;
  top: 24px;
  left: 26px;
  right: 26px;
  z-index: 1;
  border-bottom: 4px solid #111111;
  font-family: Georgia, serif;
  font-size: 2.55rem;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
}

.newsprint-preview div {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 7px;
}

.newsprint-preview span {
  display: block;
  height: 70px;
  border: 2px solid #111111;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(17, 17, 17, 0.32) 9px),
    #f9f9f7;
}

.newsprint-preview span:nth-child(2) {
  background: #111111;
}

.newsprint-preview i,
.newsprint-preview b {
  position: absolute;
  z-index: 1;
  display: block;
  background: #cc0000;
}

.newsprint-preview i {
  right: 28px;
  top: 74px;
  width: 50px;
  height: 8px;
}

.newsprint-preview b {
  left: 28px;
  top: 76px;
  width: 86px;
  height: 2px;
  background: #111111;
}

.modern-preview {
  position: relative;
  min-height: 178px;
  display: block;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(0, 82, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(15, 23, 42, 0.08) 1px, transparent 1px),
    #fafafa;
  background-size: 24px 24px;
  color: #0f172a;
}

.modern-preview .modern-glow {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0052ff, #4d7cff);
  box-shadow: 0 10px 22px rgba(0, 82, 255, 0.28);
}

.modern-preview strong {
  position: absolute;
  left: 20px;
  top: 22px;
  z-index: 1;
  max-width: 170px;
  font-family: Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: 0;
}

.modern-preview div {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 22px;
  display: grid;
  grid-template-columns: 1fr 1.35fr 0.85fr;
  gap: 8px;
  align-items: end;
}

.modern-preview i {
  display: block;
  height: 56px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

.modern-preview i:nth-child(2) {
  height: 86px;
  background:
    linear-gradient(135deg, rgba(0, 82, 255, 0.16), rgba(77, 124, 255, 0.08)),
    #ffffff;
}

.modern-preview b {
  position: absolute;
  left: 22px;
  top: 98px;
  width: 88px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0052ff, #4d7cff);
}

.luxury-preview {
  position: relative;
  min-height: 178px;
  display: block;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(26, 26, 26, 0.12) 1px, transparent 1px),
    #f9f8f6;
  background-size: 34% 100%;
  color: #1a1a1a;
}

.luxury-preview::before {
  content: "";
  position: absolute;
  inset: 16px 18px;
  border-top: 2px solid #1a1a1a;
  border-bottom: 1px solid rgba(26, 26, 26, 0.22);
}

.luxury-preview strong {
  position: absolute;
  top: 28px;
  left: 22px;
  z-index: 1;
  max-width: 150px;
  font-family: Georgia, serif;
  font-size: 2.55rem;
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0;
}

.luxury-preview div {
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px 58px;
  gap: 8px;
  align-items: end;
}

.luxury-preview span {
  display: block;
  height: 96px;
  border: 1px solid rgba(26, 26, 26, 0.28);
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.22), transparent),
    linear-gradient(160deg, #d9d1c6, #7a736a 58%, #1a1a1a);
  filter: grayscale(1);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.12);
}

.luxury-preview span:nth-child(2) {
  height: 126px;
}

.luxury-preview i,
.luxury-preview b {
  position: absolute;
  z-index: 1;
  display: block;
}

.luxury-preview i {
  left: 24px;
  bottom: 34px;
  width: 82px;
  height: 1px;
  background: #d4af37;
}

.luxury-preview b {
  left: 24px;
  bottom: 50px;
  width: 46px;
  height: 1px;
  background: #1a1a1a;
}

.kinetic-preview {
  position: relative;
  min-height: 178px;
  display: block;
  border-radius: 0;
  background: #09090b;
  color: #fafafa;
}

.kinetic-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, transparent 49%, #3f3f46 49%, #3f3f46 51%, transparent 51%),
    linear-gradient(0deg, transparent, transparent 63%, #3f3f46 63%, #3f3f46 65%, transparent 65%);
}

.kinetic-preview strong {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 14px;
  z-index: 1;
  font-family: Arial, sans-serif;
  font-size: 3.75rem;
  font-weight: 900;
  line-height: 0.76;
  letter-spacing: 0;
}

.kinetic-preview div {
  position: absolute;
  left: 18px;
  right: 0;
  bottom: 18px;
  z-index: 1;
  display: flex;
  overflow: hidden;
  gap: 10px;
}

.kinetic-preview span {
  display: inline-flex;
  min-width: max-content;
  background: #dfe104;
  color: #000000;
  padding: 5px 8px;
  font-family: Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1;
}

.kinetic-preview i {
  position: absolute;
  right: 12px;
  bottom: -10px;
  z-index: 0;
  color: #27272a;
  font-family: Arial, sans-serif;
  font-size: 7rem;
  font-style: normal;
  font-weight: 900;
  line-height: 0.8;
}

.kinetic-preview b {
  position: absolute;
  top: 92px;
  left: 18px;
  z-index: 1;
  width: 88px;
  height: 8px;
  background: #dfe104;
}

.material-preview {
  position: relative;
  min-height: 178px;
  display: block;
  border-radius: 30px;
  background:
    radial-gradient(circle at 80% 18%, rgba(232, 222, 248, 0.9), transparent 36%),
    #fffbfe;
  color: #1c1b1f;
}

.material-preview .material-blob-one,
.material-preview .material-blob-two {
  position: absolute;
  display: block;
  filter: blur(10px);
  opacity: 0.88;
}

.material-preview .material-blob-one {
  right: 12px;
  top: 16px;
  width: 88px;
  height: 72px;
  border-radius: 42px 18px 38px 44px;
  background: #e8def8;
}

.material-preview .material-blob-two {
  left: 18px;
  bottom: 18px;
  width: 96px;
  height: 68px;
  border-radius: 46px 26px 50px 18px;
  background: #d7eadf;
}

.material-preview strong {
  position: absolute;
  top: 24px;
  left: 22px;
  z-index: 1;
  font-family: Arial, sans-serif;
  font-size: 2.95rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0;
}

.material-preview div {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 42px);
  gap: 8px;
  align-items: end;
}

.material-preview i {
  display: block;
  height: 66px;
  border-radius: 20px;
  background: #f3edf7;
  box-shadow: 0 6px 14px rgba(28, 27, 31, 0.1);
}

.material-preview i:nth-child(2) {
  height: 92px;
  background: #6750a4;
}

.material-preview i:nth-child(3) {
  height: 54px;
  background: #e8def8;
}

.material-preview b {
  position: absolute;
  left: 24px;
  top: 98px;
  z-index: 1;
  width: 96px;
  height: 24px;
  border-radius: 999px;
  background: #6750a4;
  box-shadow: 0 6px 14px rgba(103, 80, 164, 0.22);
}

.academia-preview {
  position: relative;
  min-height: 178px;
  display: block;
  border-radius: 4px;
  background:
    radial-gradient(circle at 22% 18%, rgba(201, 169, 98, 0.2), transparent 32%),
    linear-gradient(90deg, rgba(74, 63, 53, 0.4) 1px, transparent 1px),
    #1c1714;
  background-size: auto, 52px 100%, auto;
  color: #e8dfd4;
}

.academia-preview::before,
.academia-preview::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid #c9a962;
}

.academia-preview::before {
  top: 16px;
  left: 16px;
  border-right: 0;
  border-bottom: 0;
}

.academia-preview::after {
  right: 16px;
  bottom: 16px;
  border-left: 0;
  border-top: 0;
}

.academia-preview strong {
  position: absolute;
  top: 28px;
  left: 26px;
  right: 26px;
  z-index: 1;
  color: #c9a962;
  font-family: Georgia, serif;
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: 0;
}

.academia-preview div {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px 56px;
  gap: 8px;
  align-items: end;
}

.academia-preview span {
  display: block;
  height: 88px;
  border: 1px solid rgba(201, 169, 98, 0.45);
  border-radius: 40% 40% 0 0 / 20% 20% 0 0;
  background:
    repeating-linear-gradient(90deg, rgba(201, 169, 98, 0.18) 0 7px, transparent 7px 13px),
    linear-gradient(150deg, #6d5946, #3d332b 58%, #1c1714);
  filter: sepia(0.6);
}

.academia-preview span:nth-child(2) {
  height: 116px;
}

.academia-preview i,
.academia-preview b {
  position: absolute;
  z-index: 1;
  display: block;
}

.academia-preview i {
  left: 26px;
  bottom: 34px;
  width: 92px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9a962, transparent);
}

.academia-preview b {
  left: 34px;
  bottom: 48px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #a63444, #8b2635 56%, #5f1722);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2), inset 0 -2px 4px rgba(0, 0, 0, 0.32);
}

.bitcoin-preview {
  position: relative;
  min-height: 178px;
  display: block;
  border-color: #1e293b;
  border-radius: 16px;
  background:
    radial-gradient(circle at 74% 22%, rgba(247, 147, 26, 0.26), transparent 30%),
    linear-gradient(90deg, rgba(30, 41, 59, 0.55) 1px, transparent 1px),
    linear-gradient(0deg, rgba(30, 41, 59, 0.55) 1px, transparent 1px),
    #030304;
  background-size: auto, 28px 28px, 28px 28px, auto;
  color: #ffffff;
  box-shadow: inset 0 0 36px rgba(247, 147, 26, 0.12);
}

.bitcoin-preview::before,
.bitcoin-preview::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-color: #f7931a;
  opacity: 0.82;
}

.bitcoin-preview::before {
  top: 16px;
  left: 16px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.bitcoin-preview::after {
  right: 16px;
  bottom: 16px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.bitcoin-preview strong {
  position: absolute;
  top: 24px;
  left: 22px;
  z-index: 2;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: 0;
}

.bitcoin-preview div {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: grid;
  grid-template-columns: 34px 44px 34px;
  gap: 7px;
  align-items: end;
}

.bitcoin-preview span {
  display: block;
  height: 56px;
  border: 1px solid rgba(247, 147, 26, 0.45);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 214, 0, 0.18), rgba(247, 147, 26, 0.08)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 18px rgba(247, 147, 26, 0.16);
}

.bitcoin-preview span:nth-child(2) {
  height: 92px;
  background:
    linear-gradient(180deg, #ffd600, #f7931a 62%, #ea580c);
}

.bitcoin-preview span:nth-child(3) {
  height: 70px;
}

.bitcoin-preview i {
  position: absolute;
  left: 24px;
  bottom: 34px;
  z-index: 2;
  width: 98px;
  height: 24px;
  border: 1px solid rgba(247, 147, 26, 0.44);
  border-radius: 999px;
  background: rgba(247, 147, 26, 0.12);
  box-shadow: 0 0 18px rgba(247, 147, 26, 0.24);
}

.bitcoin-preview b {
  position: absolute;
  right: 46px;
  top: 34px;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 214, 0, 0.7);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 28%, rgba(255, 214, 0, 0.52), rgba(247, 147, 26, 0.28) 48%, rgba(3, 3, 4, 0.82));
  color: #ffd600;
  font-family: Arial, sans-serif;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(247, 147, 26, 0.42);
}

.playful-preview {
  position: relative;
  min-height: 178px;
  display: block;
  border-color: #1e293b;
  border-radius: 22px;
  background:
    radial-gradient(circle at 13px 13px, rgba(30, 41, 59, 0.2) 2px, transparent 2px),
    #fffdf5;
  background-size: 24px 24px;
  color: #1e293b;
}

.playful-preview strong {
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 2;
  color: #1e293b;
  font-family: Arial, sans-serif;
  font-size: 3.35rem;
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0;
}

.playful-preview div {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  grid-template-columns: 42px 56px 42px;
  gap: 8px;
  align-items: end;
}

.playful-preview span {
  display: block;
  height: 64px;
  border: 3px solid #1e293b;
  border-radius: 18px 18px 18px 0;
  background: #8b5cf6;
  box-shadow: 4px 4px 0 0 #1e293b;
}

.playful-preview span:nth-child(2) {
  height: 100px;
  background: #f472b6;
}

.playful-preview span:nth-child(3) {
  height: 78px;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.55) 0 6px, transparent 6px 12px),
    #34d399;
}

.playful-preview i {
  position: absolute;
  left: 24px;
  bottom: 28px;
  z-index: 1;
  width: 94px;
  height: 94px;
  border: 3px solid #1e293b;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 5px 5px 0 0 #1e293b;
}

.playful-preview b {
  position: absolute;
  right: 34px;
  top: 22px;
  z-index: 1;
  width: 74px;
  height: 74px;
  border: 3px solid #1e293b;
  border-radius: 50% 50% 50% 10px;
  background: #fbbf24;
  box-shadow: 5px 5px 0 0 #1e293b;
  transform: rotate(12deg);
}

.clay-preview {
  position: relative;
  min-height: 178px;
  display: block;
  border: 0;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(244, 241, 250, 0.92)),
    #f4f1fa;
  color: #332f3a;
  box-shadow:
    14px 14px 28px #d1cadc,
    -10px -10px 20px #ffffff,
    inset 5px 5px 10px rgba(139, 92, 246, 0.05),
    inset -5px -5px 10px rgba(255, 255, 255, 0.9);
}

.clay-preview strong {
  position: absolute;
  left: 20px;
  top: 22px;
  z-index: 2;
  font-family: Arial, sans-serif;
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: 0;
  background: linear-gradient(135deg, #332f3a, #7c3aed, #db2777);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.clay-preview div {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: grid;
  grid-template-columns: 42px 52px 42px;
  gap: 8px;
  align-items: end;
}

.clay-preview span {
  display: block;
  height: 62px;
  border-radius: 20px;
  background: linear-gradient(135deg, #67e8f9, #0ea5e9);
  box-shadow:
    8px 8px 16px rgba(160, 150, 180, 0.24),
    -5px -5px 12px rgba(255, 255, 255, 0.9),
    inset 3px 3px 7px rgba(255, 255, 255, 0.4),
    inset -3px -3px 7px rgba(0, 0, 0, 0.1);
}

.clay-preview span:nth-child(2) {
  height: 102px;
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
}

.clay-preview span:nth-child(3) {
  height: 78px;
  background: linear-gradient(135deg, #6ee7b7, #10b981);
}

.clay-preview i {
  position: absolute;
  left: 26px;
  bottom: 24px;
  z-index: 1;
  width: 106px;
  height: 54px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f9a8d4, #db2777);
  box-shadow:
    10px 10px 20px rgba(219, 39, 119, 0.22),
    -6px -6px 14px rgba(255, 255, 255, 0.84),
    inset 3px 3px 7px rgba(255, 255, 255, 0.38),
    inset -3px -3px 7px rgba(0, 0, 0, 0.12);
}

.clay-preview b {
  position: absolute;
  right: 42px;
  top: 26px;
  z-index: 1;
  width: 62px;
  height: 62px;
  border-radius: 23px;
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  box-shadow:
    9px 9px 18px rgba(160, 150, 180, 0.24),
    -6px -6px 14px rgba(255, 255, 255, 0.88),
    inset 3px 3px 7px rgba(255, 255, 255, 0.42),
    inset -3px -3px 7px rgba(0, 0, 0, 0.12);
  transform: rotate(10deg);
}

.botanical-preview {
  position: relative;
  min-height: 178px;
  display: block;
  border-color: #e6e2da;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(220, 207, 194, 0.34), transparent 52%),
    #f9f8f4;
  color: #2d3a31;
  box-shadow: inset 0 0 0 1px rgba(45, 58, 49, 0.04);
}

.botanical-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 12px 12px, rgba(45, 58, 49, 0.22) 1px, transparent 1px);
  background-size: 20px 20px;
}

.botanical-preview strong {
  position: absolute;
  left: 20px;
  top: 22px;
  z-index: 2;
  color: #2d3a31;
  font-family: Georgia, serif;
  font-size: 2.28rem;
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: 0;
}

.botanical-preview div {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  grid-template-columns: 42px 50px 42px;
  gap: 8px;
  align-items: end;
}

.botanical-preview span {
  display: block;
  height: 74px;
  border: 1px solid rgba(45, 58, 49, 0.1);
  border-radius: 999px 999px 18px 18px;
  background:
    linear-gradient(180deg, rgba(249, 248, 244, 0.28), rgba(45, 58, 49, 0.14)),
    #8c9a84;
  box-shadow: 0 10px 22px rgba(45, 58, 49, 0.08);
}

.botanical-preview span:nth-child(2) {
  height: 112px;
  background:
    linear-gradient(160deg, rgba(249, 248, 244, 0.22), transparent 45%),
    #dccfc2;
}

.botanical-preview span:nth-child(3) {
  height: 88px;
  background:
    linear-gradient(135deg, rgba(140, 154, 132, 0.35), transparent),
    #2d3a31;
}

.botanical-preview i {
  position: absolute;
  left: 24px;
  bottom: 30px;
  z-index: 1;
  width: 118px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #8c9a84, transparent);
}

.botanical-preview i::before,
.botanical-preview i::after {
  content: "";
  position: absolute;
  top: -20px;
  width: 36px;
  height: 22px;
  border: 1px solid #8c9a84;
  border-left: 0;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.botanical-preview i::before {
  left: 22px;
}

.botanical-preview i::after {
  right: 8px;
  transform: scaleX(-1);
}

.botanical-preview b {
  position: absolute;
  right: 48px;
  top: 24px;
  z-index: 1;
  width: 54px;
  height: 86px;
  border-radius: 50% 50% 50% 8px;
  background: #c27b66;
  box-shadow: 0 14px 26px rgba(45, 58, 49, 0.1);
  transform: rotate(18deg);
}

.industrial-preview {
  position: relative;
  min-height: 178px;
  display: block;
  border-color: #a3b1c6;
  border-radius: 18px;
  background:
    radial-gradient(circle at 12px 12px, rgba(0, 0, 0, 0.18) 2px, transparent 3px),
    radial-gradient(circle at calc(100% - 12px) 12px, rgba(0, 0, 0, 0.18) 2px, transparent 3px),
    radial-gradient(circle at 12px calc(100% - 12px), rgba(0, 0, 0, 0.18) 2px, transparent 3px),
    radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), rgba(0, 0, 0, 0.18) 2px, transparent 3px),
    linear-gradient(145deg, #edf1f6, #d7dde8);
  color: #2d3436;
  box-shadow:
    8px 8px 16px #babecc,
    -8px -8px 16px #ffffff;
}

.industrial-preview strong {
  position: absolute;
  top: 24px;
  left: 22px;
  z-index: 2;
  font-family: Arial, sans-serif;
  font-size: 3.05rem;
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0;
  text-shadow: 0 1px 0 #ffffff;
}

.industrial-preview div {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: grid;
  grid-template-columns: 38px 48px 38px;
  gap: 8px;
  align-items: end;
}

.industrial-preview span {
  display: block;
  height: 56px;
  border-radius: 8px;
  background: #e0e5ec;
  box-shadow:
    inset 4px 4px 8px #babecc,
    inset -4px -4px 8px #ffffff;
}

.industrial-preview span:nth-child(2) {
  height: 92px;
  background:
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.22) 50%),
    #121820;
  background-size: 100% 4px;
}

.industrial-preview span:nth-child(3) {
  height: 72px;
}

.industrial-preview i {
  position: absolute;
  left: 24px;
  bottom: 32px;
  z-index: 2;
  width: 100px;
  height: 34px;
  border-radius: 10px;
  background: #ff4757;
  box-shadow:
    4px 4px 8px rgba(166, 50, 60, 0.38),
    -4px -4px 8px rgba(255, 100, 110, 0.34);
}

.industrial-preview b {
  position: absolute;
  right: 46px;
  top: 30px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #ffffff, #babecc 48%, #2d3436 52%, #202931);
  box-shadow:
    8px 8px 14px #babecc,
    -6px -6px 12px #ffffff;
}

.industrial-preview::before,
.industrial-preview::after {
  content: "";
  position: absolute;
  z-index: 2;
  border-radius: 50%;
}

.industrial-preview::before {
  left: 26px;
  top: 92px;
  width: 12px;
  height: 12px;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
}

.industrial-preview::after {
  left: 48px;
  top: 92px;
  width: 12px;
  height: 12px;
  background: #ff4757;
  box-shadow: 0 0 10px rgba(255, 71, 87, 0.9);
}

.dopamine-preview {
  position: relative;
  min-height: 178px;
  display: block;
  border-color: #ffe600;
  border-radius: 24px;
  background:
    radial-gradient(circle at 12px 12px, rgba(255, 58, 242, 0.78) 2px, transparent 2px),
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(255, 230, 0, 0.18) 10px 20px),
    radial-gradient(circle at 24% 24%, rgba(255, 58, 242, 0.55), transparent 36%),
    radial-gradient(circle at 78% 72%, rgba(0, 245, 212, 0.48), transparent 36%),
    #0d0d1a;
  background-size: 22px 22px, auto, auto, auto, auto;
  color: #ffffff;
  box-shadow:
    8px 8px 0 #00f5d4,
    16px 16px 0 #ff3af2;
}

.dopamine-preview strong {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  font-family: Arial, sans-serif;
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: 0;
  text-shadow:
    3px 3px 0 #7b2fff,
    6px 6px 0 #ff3af2,
    9px 9px 0 #00f5d4;
}

.dopamine-preview div {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  grid-template-columns: 36px 48px 36px;
  gap: 7px;
  align-items: end;
}

.dopamine-preview span {
  display: block;
  height: 58px;
  border: 3px solid #ffffff;
  border-radius: 14px;
  background: #ff3af2;
  box-shadow: 5px 5px 0 #ffe600;
}

.dopamine-preview span:nth-child(2) {
  height: 98px;
  background: #00f5d4;
  box-shadow: 5px 5px 0 #ff6b35;
}

.dopamine-preview span:nth-child(3) {
  height: 74px;
  background: #ffe600;
  box-shadow: 5px 5px 0 #7b2fff;
}

.dopamine-preview i {
  position: absolute;
  left: 26px;
  bottom: 24px;
  z-index: 1;
  width: 86px;
  height: 86px;
  clip-path: polygon(50% 0%, 61% 32%, 95% 20%, 73% 50%, 98% 78%, 65% 70%, 50% 100%, 35% 70%, 2% 78%, 27% 50%, 5% 20%, 39% 32%);
  background: #ffe600;
  filter: drop-shadow(6px 6px 0 #ff3af2);
}

.dopamine-preview b {
  position: absolute;
  right: 36px;
  top: 22px;
  z-index: 1;
  width: 70px;
  height: 70px;
  border: 4px solid #00f5d4;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    0 0 18px rgba(0, 245, 212, 0.65),
    6px 6px 0 #ff6b35;
}

.placeholder-preview {
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
}

.placeholder-preview span {
  display: block;
  min-height: 62px;
  border: 3px dashed var(--ink);
  border-radius: var(--wobbly-sm);
  background: var(--paper);
}

.placeholder-preview span:nth-child(2) {
  min-height: 116px;
  background: var(--yellow);
}

.template-content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.template-content h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Kalam", "Segoe Print", cursive;
  font-size: 1.7rem;
  line-height: 1.1;
}

.template-content p:not(.eyebrow) {
  margin: 12px 0 16px;
  color: var(--ink);
  font-size: 1.08rem;
}

.template-content .tag-list {
  margin-bottom: 18px;
}

.template-content .project-link {
  margin-top: auto;
}

.experience-section {
  width: 100%;
  max-width: none;
  padding: 94px 0;
  border-block: 3px solid var(--ink);
  background:
    linear-gradient(var(--muted) 2px, transparent 2px),
    var(--paper);
  background-size: 100% 34px;
}

.experience-section > .section-heading,
.experience-list {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.experience-list {
  display: grid;
  gap: 22px;
}

.experience-item {
  --tilt: 0deg;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  transform: rotate(var(--tilt));
  transition: transform 100ms ease, box-shadow 100ms ease;
}

.experience-item:hover {
  box-shadow: 2px 2px 0 0 var(--ink);
  transform: translate(2px, 2px) rotate(var(--tilt-hover, 1deg));
}

.experience-meta {
  color: var(--ink);
  font-size: 1.05rem;
}

.experience-meta strong {
  display: block;
  color: var(--ink);
  font-family: "Kalam", "Segoe Print", cursive;
  font-size: 1.15rem;
  font-weight: 700;
}

.experience-item ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--ink);
}

.contact-section {
  width: min(1120px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  margin: 92px auto;
  padding: 36px;
  border: 4px solid var(--ink);
  border-radius: var(--wobbly-md);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: var(--shadow-big);
  transform: rotate(-0.5deg);
}

.contact-copy {
  max-width: 760px;
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.footer {
  border-top: 3px solid var(--ink);
  padding: 26px 16px;
  background: var(--sheet);
  color: var(--ink);
  text-align: center;
  font-size: 1.02rem;
}

.footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px) rotate(var(--tilt, 0deg));
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(var(--tilt, 0deg));
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: 36px;
  }

  .hero h1 {
    font-size: 4.3rem;
  }
}

@media (max-width: 940px) {
  .navbar {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .hero-media {
    width: min(100%, 560px);
    justify-self: start;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .websites-hero {
    grid-template-columns: 1fr;
  }

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

  .experience-item,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 1.04rem;
  }

  .navbar,
  .section,
  .tech-band .section-inner,
  .experience-section > .section-heading,
  .experience-list,
  .contact-section {
    width: min(100% - 24px, 1120px);
  }

  .navbar {
    gap: 12px;
  }

  .brand {
    max-width: 100%;
    white-space: normal;
  }

  .nav-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .nav-action-link {
    min-height: 34px;
  }

  .section {
    padding: 66px 0;
  }

  .hero {
    width: min(100% - 24px, 1120px);
    padding: 50px 0 42px;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .hero-role {
    font-size: 1.32rem;
  }

  .hero-text {
    font-size: 1.08rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .terminal-body {
    padding: 15px;
    font-size: 0.95rem;
  }

  .terminal-line {
    white-space: normal;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: 2.45rem;
  }

  .websites-hero h1 {
    font-size: 3.2rem;
  }

  .websites-note {
    padding: 18px;
  }

  .project-toolbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .filter-btn {
    flex: 0 0 auto;
  }

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

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

  .template-card {
    min-height: auto;
  }

  .project-card {
    min-height: auto;
  }

  .card-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .experience-section {
    padding: 66px 0;
  }

  .contact-section {
    margin-block: 66px;
    padding: 24px;
  }

  .contact-actions,
  .button,
  .contact-actions .button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 2.74rem;
  }

  .nav-links {
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: rotate(var(--tilt, 0deg));
  }
}
