@charset "UTF-8";
:root {
  --bg: #faf8f4;
  --bg-2: #f2efe8;
  --bg-3: #ebe7de;
  --paper: #ffffff;
  --line: #e2ddd2;
  --line-soft: #ece8de;
  --ink: #2d3e4f;
  --ink-2: #3e5267;
  --ink-3: #556a7d;
  --steel: #6b7d8e;
  --fog: #8b9aa8;
  --bone: #a8b3bd;
  --red: #c4625d;
  --red-deep: #a04f4a;
  --orange: #d99358;
  --orange-deep: #b87844;
  --yellow: #e8b864;
  --yellow-soft: #f4d99c;
  --cream: #f0e4c8;
  --moss: #7a9468;
  --max: 1320px;
  --card-shadow: 0 3px 10px rgba(45, 62, 79, 0.03);
  --card-shadow-hover: 0 16px 32px rgba(45, 62, 79, 0.08);
  --panel-shadow: 0 25px 60px rgba(45, 62, 79, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", sans-serif;
  background: var(--bg);
  color: var(--ink-2);
  overflow-x: hidden;
  line-height: 1.65;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 5;
}

section {
  padding: 110px 0;
  position: relative;
  z-index: 5;
}

.coded-section {
  overflow: hidden;
}
.coded-section::before {
  content: attr(data-section);
  position: absolute;
  top: 26px;
  right: max(28px, (100vw - var(--max)) / 2);
  z-index: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(78px, 12vw, 150px);
  font-weight: 800;
  line-height: 1;
  color: rgba(45, 62, 79, 0.035);
  pointer-events: none;
}

.section-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
.section-label::before, .section-label::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--orange);
}

.section-head {
  text-align: center;
  margin: 0 auto 70px;
  max-width: 720px;
}

.section-title {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}
.section-title em {
  color: var(--red);
  font-style: italic;
  font-weight: 400;
  position: relative;
  display: inline-block;
}
.section-title em::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--yellow-soft);
  z-index: -1;
  opacity: 0.8;
}

.section-sub {
  font-size: 17px;
  color: var(--steel);
  line-height: 1.75;
}

.view-all {
  text-align: center;
  margin-top: 50px;
}

@keyframes blink {
  50% {
    opacity: 0.3;
  }
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(1.25);
  }
}
@keyframes scrollDown {
  from {
    transform: translateY(-110%);
  }
  to {
    transform: translateY(110vh);
  }
}
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes fillBar {
  from {
    transform: scaleX(0);
  }
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image: linear-gradient(90deg, rgba(45, 62, 79, 0.025) 1px, transparent 1px), linear-gradient(rgba(45, 62, 79, 0.018) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 86%, transparent 100%);
}

.terminal-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.07;
}
.terminal-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 15% 10%, rgba(217, 147, 88, 0.35) 0%, transparent 55%), radial-gradient(ellipse at 85% 85%, rgba(232, 184, 100, 0.25) 0%, transparent 55%);
}

.code-rain {
  position: absolute;
  inset: 0;
  font-family: "JetBrains Mono", monospace;
  overflow: hidden;
}

.code-line {
  position: absolute;
  white-space: nowrap;
  animation: scrollDown linear infinite;
}

.tech-grid {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(rgba(45, 62, 79, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(45, 62, 79, 0.025) 1px, transparent 1px);
  background-size: 50px 50px;
}

.btn-primary {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  padding: 16px 30px;
  background: var(--ink);
  color: var(--bg);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary:hover {
  background: var(--orange-deep);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(184, 120, 68, 0.25);
}

.btn-secondary {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  padding: 16px 30px;
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--ink-3);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(250, 248, 244, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.logo-bracket {
  color: var(--orange);
}

.logo-slash {
  color: var(--red);
  animation: blink 1.4s steps(2) infinite;
}

.nav-links {
  display: flex;
  gap: 2px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  counter-reset: nav-counter;
}
.nav-links a {
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: 3px;
  transition: all 0.3s;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.nav-links a::before {
  content: counter(nav-counter, decimal-leading-zero);
  counter-increment: nav-counter;
  color: var(--bone);
  font-size: 10px;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(217, 147, 88, 0.1);
  color: var(--orange-deep);
}
.nav-links a:hover::before, .nav-links a.active::before {
  color: var(--orange);
}
.nav-links a.active {
  border-bottom: 2px solid var(--orange);
  border-radius: 0;
}

.nav-cta {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 10px 22px;
  background: var(--ink);
  color: var(--bg);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  transition: all 0.3s;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  display: inline-block;
}
.nav-cta:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  border: 1px solid var(--ink);
  color: var(--ink);
  width: 40px;
  height: 40px;
  font-family: "JetBrains Mono", monospace;
  font-size: 18px;
}

footer {
  position: relative;
  z-index: 5;
  background: var(--bg-3);
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
}

.footer-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--steel);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 360px;
}

.footer-col h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: var(--ink-2);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--orange-deep);
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 30px 40px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--steel);
  flex-wrap: wrap;
  gap: 16px;
}

@media (pointer: fine) {
  *:not(input):not(textarea):not(select):not(option) {
    cursor: none !important;
  }
  input,
  textarea,
  select,
  option {
    cursor: auto !important;
  }
  input[type=checkbox],
  input[type=range] {
    cursor: pointer !important;
  }
  input[type=hidden] {
    cursor: none !important;
  }
  #cursor-dot,
  #cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.35s;
    will-change: left, top;
  }
  #cursor-dot.visible,
  #cursor-ring.visible {
    opacity: 1;
  }
  #cursor-dot {
    width: 7px;
    height: 7px;
    background: var(--orange);
    border-radius: 50%;
    z-index: 10000;
    transition: opacity 0.35s, background 0.2s;
  }
  #cursor-ring {
    width: 30px;
    height: 30px;
    border: 1.5px solid rgba(217, 147, 88, 0.65);
    border-radius: 50%;
    transition: opacity 0.35s, width 0.3s ease, height 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  }
  #cursor-ring.expanded {
    width: 50px;
    height: 50px;
    border-color: var(--orange);
    background: rgba(217, 147, 88, 0.07);
  }
}
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--orange);
  z-index: 200;
  pointer-events: none;
  transition: width 0.1s linear;
}

.turbo-progress-bar {
  height: 2px !important;
  background: var(--orange) !important;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
main {
  animation: pageIn 0.35s ease forwards;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease var(--reveal-delay, 0ms), transform 0.55s ease var(--reveal-delay, 0ms);
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}

#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: var(--bg);
  border: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 18px;
  font-weight: 700;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  z-index: 90;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
#back-to-top.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
#back-to-top:hover {
  background: var(--orange-deep);
}
@media (max-width: 768px) {
  #back-to-top {
    bottom: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
}

#toast-container {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--bg);
  border-left: 3px solid var(--orange);
  padding: 14px 20px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  min-width: 280px;
  max-width: 420px;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s, transform 0.35s;
  box-shadow: 0 8px 24px rgba(45, 62, 79, 0.25);
}
.toast.toast-visible {
  opacity: 1;
  transform: none;
}
.toast.toast-error {
  border-left-color: var(--red);
}
.toast.toast-error .toast-icon {
  color: var(--red);
}

.toast-icon {
  color: var(--orange);
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}

.toast-msg {
  flex: 1;
  line-height: 1.5;
}

.toast-close {
  background: none;
  border: none;
  color: var(--bone);
  font-size: 18px;
  cursor: pointer;
  padding: 0 0 0 8px;
  line-height: 1;
  flex-shrink: 0;
  font-family: inherit;
  transition: color 0.2s;
}
.toast-close:hover {
  color: var(--bg);
}

.hero {
  min-height: auto;
  padding: 105px 0 34px;
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
}
.hero::before, .hero::after {
  position: absolute;
  z-index: 0;
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  color: rgba(45, 62, 79, 0.055);
  pointer-events: none;
}
.hero::before {
  content: "{ alpha.build() }";
  top: 92px;
  left: max(20px, (100vw - var(--max)) / 2);
  font-size: 15px;
  letter-spacing: 1px;
}
.hero::after {
  content: "=> deploy_ready";
  right: max(20px, (100vw - var(--max)) / 2);
  bottom: 22px;
  font-size: 13px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(122, 148, 104, 0.12);
  border: 1px solid var(--moss);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--moss);
  margin-bottom: 30px;
  width: fit-content;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--moss);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--moss);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero h1 {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: clamp(44px, 6.5vw, 84px);
  line-height: 0.98;
  color: var(--ink);
  letter-spacing: -1.8px;
  margin-bottom: 24px;
}
.hero h1 .accent {
  color: var(--red);
  font-style: italic;
  font-weight: 400;
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--yellow-soft);
  z-index: -1;
  opacity: 0.85;
}
.hero h1 .underscore {
  color: var(--orange);
  animation: blink 1.2s steps(2) infinite;
}

.hero-sub {
  font-size: 18px;
  color: var(--steel);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.terminal-window {
  background: #343c47;
  border: 1px solid #46515f;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 28px 65px rgba(45, 62, 79, 0.18), 0 6px 18px rgba(45, 62, 79, 0.08);
  position: relative;
}
.terminal-window::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, var(--orange) 0%, transparent 35%, transparent 65%, var(--yellow) 100%);
  z-index: -1;
  opacity: 0.4;
  border-radius: 13px;
}

.terminal-header {
  background: #2a323d;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #46515f;
}

.term-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.term-dot.red {
  background: #c4625d;
}
.term-dot.yellow {
  background: #e8b864;
}
.term-dot.green {
  background: #7a9468;
}

.term-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #8795a4;
  margin-left: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.terminal-body {
  padding: 28px 28px 30px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.72;
  min-height: 455px;
  color: #c7d0d8;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.terminal-body * {
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

.term-line {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: baseline;
}

.term-indent {
  padding-left: 16px;
}

.term-json-line {
  display: block;
  gap: 0;
}

.term-spacer {
  height: 22px;
}

.term-prompt {
  color: #a6bd88;
}

.term-command {
  color: #eef2f5;
  font-weight: 600;
}

.term-output {
  color: #8b9aa8;
}

.term-brace {
  color: #8b9aa8;
}

.term-punctuation {
  color: #8b9aa8;
}

.term-json-key,
.term-key {
  color: #e8b864;
  font-weight: 400;
}

.term-str {
  color: #c8b88a;
  font-weight: 400;
}

.term-num {
  color: #e8b864;
  font-weight: 500;
}

.term-comment {
  color: #7a9870;
  font-style: italic;
}

.term-check {
  color: #8b9aa8;
  font-weight: 400;
}

.term-success {
  color: #d99358;
  font-weight: 500;
}

.term-cmd {
  color: #eef2f5;
  font-weight: 600;
}

.term-val {
  color: #e8b864;
  font-weight: 500;
}

.typed-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: #e7bd66;
  animation: blink 1s steps(2) infinite;
  vertical-align: middle;
  margin-left: 3px;
}

.marquee {
  position: relative;
  z-index: 5;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: scroll 34s linear infinite;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  will-change: transform;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  flex-shrink: 0;
}

.marquee-star {
  color: var(--fog);
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--yellow);
}

.tech-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: inline-block;
  opacity: 0.75;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px;
  position: relative;
  border-left: 3px solid var(--orange);
  box-shadow: 0 6px 20px rgba(45, 62, 79, 0.04);
}
.about-card::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  border-top: 2px solid var(--red);
  border-right: 2px solid var(--red);
  opacity: 0.6;
}

.about-card-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 20px;
}

.stat {
  background: var(--paper);
  padding: 26px 22px;
}

.stat-num {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 48px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat-num [data-stat-counter] {
  display: inline-block;
  transition: transform 0.16s ease;
}
.stat-num [data-stat-counter].is-three-digit {
  transform: translateX(-0.08em);
}
.stat-num .plus {
  color: var(--orange);
  font-size: 32px;
  vertical-align: top;
}

.stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.about-text-block .section-label {
  justify-content: flex-start;
}
.about-text-block .section-label::after {
  display: none;
}
.about-text-block h2 {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -1.3px;
  margin-bottom: 24px;
}
.about-text-block h2 em {
  color: var(--red);
  font-style: italic;
  font-weight: 400;
}

.about-text {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-text strong {
  color: var(--orange-deep);
  font-weight: 600;
}
.about-text .highlight {
  background: linear-gradient(180deg, transparent 60%, rgba(232, 184, 100, 0.55) 60%);
  padding: 0 4px;
}

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

.skills-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.skills-block-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--orange-deep);
  margin-bottom: 26px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.skill-bar {
  margin-bottom: 24px;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-family: "JetBrains Mono", monospace;
}

.skill-name {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

.skill-percent {
  font-size: 13px;
  color: var(--orange-deep);
  font-weight: 700;
}

.skill-track {
  width: 100%;
  height: 6px;
  background: var(--bg-3);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow));
  box-shadow: 0 0 10px rgba(217, 147, 88, 0.4);
  animation: fillBar 1.6s ease-out forwards;
  transform-origin: left;
}

.skills-cta-block {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(45, 62, 79, 0.04);
  position: relative;
}
.skills-cta-block::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  border-top: 2px solid rgba(196, 98, 93, 0.55);
  border-right: 2px solid rgba(196, 98, 93, 0.55);
}
.skills-cta-block .icon-big {
  font-family: "JetBrains Mono", monospace;
  font-size: 56px;
  color: var(--orange);
  font-weight: 800;
  margin-bottom: 16px;
}
.skills-cta-block h3 {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.25;
}
.skills-cta-block p {
  color: var(--steel);
  margin-bottom: 24px;
  line-height: 1.7;
}

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

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px 30px;
  position: relative;
  transition: all 0.4s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.service-card::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(217, 147, 88, 0.4);
  border-bottom: 2px solid rgba(217, 147, 88, 0.4);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  border-color: var(--orange);
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card:hover::after {
  opacity: 1;
}
.service-card:hover .arrow {
  transform: translateX(4px) translateY(-4px);
}

.service-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--bone);
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
}
.service-num .arrow {
  color: var(--orange);
  transition: transform 0.3s;
}

.service-icon {
  font-family: "JetBrains Mono", monospace;
  font-size: 34px;
  color: var(--red);
  margin-bottom: 20px;
  font-weight: 800;
}

.service-title {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.2;
}

.service-desc {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.7;
  margin-bottom: 22px;
  flex: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  padding: 4px 10px;
  background: rgba(217, 147, 88, 0.1);
  color: var(--orange-deep);
  border: 1px solid rgba(217, 147, 88, 0.25);
}

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

.blog-card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  position: relative;
}
.blog-card::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 18px;
  height: 18px;
  border-top: 2px solid rgba(250, 248, 244, 0.75);
  border-right: 2px solid rgba(250, 248, 244, 0.75);
}
.blog-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.blog-img {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.blog-img.c1 {
  background: linear-gradient(135deg, var(--red), var(--orange));
}
.blog-img.c2 {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
}
.blog-img.c3 {
  background: linear-gradient(135deg, var(--ink), var(--orange));
}
.blog-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
}

.blog-img.has-photo {
  background: var(--ink);
}
.blog-img.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 30, 45, 0.12), rgba(20, 30, 45, 0.45));
  pointer-events: none;
}

.blog-img-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-img-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 56px;
  color: var(--paper);
  opacity: 0.45;
}

.blog-img .article-image-tag {
  z-index: 3;
}

.blog-content {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--bone);
  flex-wrap: wrap;
}

.blog-cat {
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-title {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 12px;
}

.blog-excerpt {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
}

.blog-link {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.cta-final {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(217, 147, 88, 0.18) 0%, transparent 55%), radial-gradient(ellipse at 70% 50%, rgba(196, 98, 93, 0.1) 0%, transparent 55%);
}
.cta-final::after {
  content: attr(data-section);
  position: absolute;
  top: 26px;
  right: max(28px, (100vw - var(--max)) / 2);
  z-index: 1;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(78px, 12vw, 150px);
  font-weight: 800;
  line-height: 1;
  color: rgba(250, 248, 244, 0.05);
  pointer-events: none;
}
.cta-final .container {
  position: relative;
  z-index: 2;
}
.cta-final .section-label {
  color: var(--yellow);
}
.cta-final .section-label::before, .cta-final .section-label::after {
  background: var(--yellow);
}
.cta-final h2 {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  color: var(--bg);
  letter-spacing: -1.8px;
  margin-bottom: 24px;
}
.cta-final h2 em {
  color: var(--orange);
  font-style: italic;
  font-weight: 400;
}
.cta-final p {
  font-size: 18px;
  color: #c5cdd5;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.75;
}
.cta-final .btn-primary {
  background: var(--orange);
  color: var(--ink);
}
.cta-final .btn-primary:hover {
  background: var(--yellow);
}
.cta-final .btn-secondary {
  color: var(--bg);
  border-color: rgba(250, 248, 244, 0.4);
}
.cta-final .btn-secondary:hover {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}

.section-label.centered {
  justify-content: center;
}
.section-label.centered::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--orange);
}

.page-header {
  padding: 160px 0 80px;
  position: relative;
  z-index: 5;
  text-align: center;
}

.breadcrumb {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--steel);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.breadcrumb a {
  color: var(--orange-deep);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--orange);
}
.breadcrumb .breadcrumb-sep {
  color: var(--bone);
}
.breadcrumb .current {
  color: var(--ink);
}

.page-title {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: clamp(52px, 7.5vw, 100px);
  line-height: 0.96;
  color: var(--ink);
  letter-spacing: -2.5px;
  margin: 0 auto 26px;
  max-width: 900px;
}
.page-title em {
  color: var(--red);
  font-style: italic;
  font-weight: 400;
  position: relative;
  display: inline-block;
}
.page-title em::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 14px;
  background: var(--yellow-soft);
  z-index: -1;
  opacity: 0.85;
}

.page-intro {
  font-size: 20px;
  color: var(--steel);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

.header-decoration {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.decoration-item {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.decoration-item::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

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

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: stretch;
}

.story-image-wrap {
  display: flex;
  align-items: stretch;
}

.story-image {
  width: 100%;
  background: linear-gradient(135deg, var(--ink-2), var(--orange-deep));
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--panel-shadow);
  min-height: 100%;
}
.story-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(45, 62, 79, 0.1), rgba(45, 62, 79, 0.62)), linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 30px 30px, 30px 30px;
}
.story-image::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 20px;
  height: 20px;
  z-index: 3;
  border-right: 2px solid rgba(250, 248, 244, 0.55);
  border-bottom: 2px solid rgba(250, 248, 244, 0.55);
}

.story-image-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story-image-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  color: var(--bg);
}

.story-image-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.story-image-caption {
  font-family: "Fraunces", serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--bg);
  line-height: 1.2;
}

.story-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-text h2 {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -1.2px;
  margin-bottom: 22px;
}
.story-text h2 em {
  color: var(--red);
  font-style: italic;
  font-weight: 400;
}
.story-text p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.85;
  margin-bottom: 18px;
}
.story-text strong {
  color: var(--orange-deep);
  font-weight: 600;
}
.story-text .highlight {
  background: linear-gradient(180deg, transparent 60%, rgba(232, 184, 100, 0.55) 60%);
  padding: 0 4px;
}

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

.value-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px 32px;
  position: relative;
  transition: all 0.4s;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.value-card::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(217, 147, 88, 0.4);
  border-bottom: 2px solid rgba(217, 147, 88, 0.4);
  opacity: 0;
  transition: opacity 0.3s;
}
.value-card:hover {
  border-color: var(--orange);
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}
.value-card:hover::before {
  transform: scaleX(1);
}
.value-card:hover::after {
  opacity: 1;
}

.value-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--bone);
  margin-bottom: 20px;
}

.value-icon {
  width: 60px;
  height: 60px;
  background: rgba(217, 147, 88, 0.1);
  border: 1px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-deep);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 24px;
}

.value-title {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.2;
}

.value-desc {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.75;
}

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

.stack-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.stack-category {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 24px;
  box-shadow: var(--card-shadow);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.stack-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.stack-category::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 18px;
  height: 18px;
  border-right: 2px solid rgba(217, 147, 88, 0.35);
  border-bottom: 2px solid rgba(217, 147, 88, 0.35);
  opacity: 0;
  transition: opacity 0.3s;
}
.stack-category:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.stack-category:hover::before {
  transform: scaleX(1);
}
.stack-category:hover::after {
  opacity: 0.42;
}

.stack-cat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.stack-cat-title {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
}

.stack-cat-desc {
  font-size: 13px;
  color: var(--steel);
  line-height: 1.65;
  margin-bottom: 18px;
}

.stack-cat-count {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--bone);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.stack-cat-count strong {
  color: var(--orange-deep);
  font-weight: 700;
}

.tech-logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.tech-logo {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.tech-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent, var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.tech-logo:hover {
  border-color: var(--accent, var(--orange));
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.tech-logo:hover::before {
  transform: scaleX(1);
}
.tech-logo:hover::after {
  opacity: 1;
}
.tech-logo::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--accent, var(--orange));
  border-bottom: 2px solid var(--accent, var(--orange));
  opacity: 0;
  transition: opacity 0.3s;
}
.tech-logo.ruby {
  --accent: #c4625d;
}
.tech-logo.rails {
  --accent: #a04f4a;
}
.tech-logo.js {
  --accent: #e8b864;
}
.tech-logo.ts {
  --accent: #3e5267;
}
.tech-logo.react {
  --accent: #6fb4c7;
}
.tech-logo.vue {
  --accent: #7a9468;
}
.tech-logo.node {
  --accent: #7a9468;
}
.tech-logo.go {
  --accent: #6fb4c7;
}
.tech-logo.postgres {
  --accent: #3e5267;
}
.tech-logo.redis {
  --accent: #c4625d;
}
.tech-logo.mongo {
  --accent: #7a9468;
}
.tech-logo.docker {
  --accent: #6fb4c7;
}
.tech-logo.aws {
  --accent: #d99358;
}
.tech-logo.k8s {
  --accent: #3e5267;
}
.tech-logo.figma {
  --accent: #c4625d;
}
.tech-logo.stripe {
  --accent: #b89cd9;
}
.tech-logo.next {
  --accent: #2d3e4f;
}
.tech-logo.tailwind {
  --accent: #6fb4c7;
}

.tech-logo-mark {
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 26px;
  color: var(--accent, var(--ink));
  margin-bottom: 10px;
  line-height: 1;
  transition: color 0.3s;
}

.tech-logo-name {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.tech-logo-version {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--bone);
}

.stack-note {
  margin: 50px auto 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 800px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.stack-note::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  border-top: 2px solid rgba(196, 98, 93, 0.55);
  border-right: 2px solid rgba(196, 98, 93, 0.55);
}

.stack-note-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(217, 147, 88, 0.1);
  border: 1px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-deep);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 18px;
}

.stack-note-content .nlbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.stack-note-content p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}

.process-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}

.process-steps {
  position: relative;
}

.process-step {
  display: flex;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.process-step:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.process-step:last-child .process-num::before {
  display: none;
}

.process-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--paper);
  border: 1px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 17px;
  color: var(--orange-deep);
  position: relative;
}
.process-num::before {
  content: "";
  position: absolute;
  bottom: -37px;
  left: 50%;
  width: 1px;
  height: 37px;
  background: var(--line);
}

.process-content h3 {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.2;
}
.process-content p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.75;
}

.process-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.process-image-wrap {
  display: flex;
  align-items: flex-start;
  position: sticky;
  top: 120px;
}

.process-image {
  width: 100%;
  background: linear-gradient(135deg, var(--ink), var(--red-deep));
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--panel-shadow);
  min-height: 0;
  height: clamp(420px, 46vw, 560px);
}
.process-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(45, 62, 79, 0.08), rgba(45, 62, 79, 0.62)), linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 25px 25px, 25px 25px;
}
.process-image::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 20px;
  height: 20px;
  z-index: 3;
  border-right: 2px solid rgba(250, 248, 244, 0.55);
  border-bottom: 2px solid rgba(250, 248, 244, 0.55);
}

.process-image-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.process-image-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: var(--bg);
}

.process-image-caption {
  font-family: "Fraunces", serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--bg);
  line-height: 1.25;
}

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

.culture-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: stretch;
}

.culture-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.culture-text h2 {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -1.2px;
  margin-bottom: 22px;
}
.culture-text h2 em {
  color: var(--red);
  font-style: italic;
  font-weight: 400;
}
.culture-text p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.8;
  margin-bottom: 18px;
}
.culture-text strong {
  color: var(--orange-deep);
  font-weight: 600;
}

.culture-list {
  list-style: none;
  margin-top: 20px;
}
.culture-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--ink-2);
}
.culture-list li::before {
  content: "✓";
  color: var(--moss);
  font-weight: 800;
  font-size: 16px;
}

.culture-collage-wrap {
  display: flex;
  align-items: stretch;
}

.culture-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
  min-height: 100%;
}

.collage-img {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  background: var(--ink);
}
.collage-img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(45, 62, 79, 0.02), rgba(45, 62, 79, 0.16)), linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: auto, 18px 18px, 18px 18px;
}
.collage-img::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  z-index: 2;
  border-top: 2px solid rgba(250, 248, 244, 0.65);
  border-right: 2px solid rgba(250, 248, 244, 0.65);
}
.collage-img.i2 {
  grid-row: span 2;
}

.collage-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1100px) {
  .values-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  .stack-categories {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-logos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 900px) {
  .story-grid,
  .process-grid,
  .culture-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .process-image-wrap {
    position: static;
  }
  .story-image {
    min-height: 400px;
  }
  .process-image {
    height: 400px;
    min-height: 0;
  }
  .culture-collage {
    min-height: 400px;
  }
  .tech-logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-header {
    padding: 130px 0 60px;
  }
}
@media (max-width: 600px) {
  .stack-categories {
    grid-template-columns: 1fr;
  }
  .tech-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stack-note {
    flex-direction: column;
    align-items: flex-start;
  }
}
.services-nav {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  position: sticky;
  top: 73px;
  z-index: 50;
  backdrop-filter: blur(20px);
}

.services-nav-inner {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.services-nav a {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--ink-2);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.services-nav a::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}
.services-nav a:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.services-nav a:hover::before {
  background: var(--yellow);
}

.service-section {
  padding: 100px 0;
  position: relative;
  z-index: 5;
}
.service-section.alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: stretch;
}
.service-block.reverse {
  grid-template-columns: 1fr 1.1fr;
}
.service-block.reverse .service-content {
  order: 2;
}
.service-block.reverse .service-image-wrap {
  order: 1;
}

.service-image-wrap {
  display: flex;
  align-items: stretch;
}

.service-image {
  width: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--panel-shadow);
  min-height: 100%;
}
.service-image.web {
  background: linear-gradient(135deg, var(--ink-2), var(--orange-deep));
}
.service-image.mobile {
  background: linear-gradient(135deg, var(--red), var(--yellow));
}
.service-image.api {
  background: linear-gradient(135deg, var(--ink), var(--orange));
}
.service-image.devops {
  background: linear-gradient(135deg, var(--orange-deep), var(--ink-2));
}
.service-image.design {
  background: linear-gradient(135deg, var(--yellow), var(--red));
}
.service-image.maintain {
  background: linear-gradient(135deg, var(--ink-3), var(--red-deep));
}
.service-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
}

.service-image.has-photo {
  display: block;
  background: var(--ink);
  align-self: center;
  aspect-ratio: 1/1;
  min-height: 0;
}

.service-image-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 100%;
  z-index: 0;
}

.service-image.devops .service-image-photo {
  top: -7%;
}

.service-image.design .service-image-photo {
  top: -10%;
}

.service-image-window {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background: rgba(20, 30, 45, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 20px 22px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #c5cdd5;
  line-height: 1.7;
}
.service-image-window .w-prompt {
  color: #9ab088;
}
.service-image-window .w-cmd {
  color: #e8ecf0;
}
.service-image-window .w-key {
  color: #e8b864;
}
.service-image-window .w-str {
  color: #c8b88a;
}
.service-image-window .w-out {
  color: #8b9aa8;
}

.service-image.has-photo .service-image-window {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 22px;
  transform: translateX(-50%);
  margin: 0;
  width: min(66%, 390px);
  background: rgba(20, 30, 45, 0.78);
}

.service-image-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--bg);
  background: rgba(45, 62, 79, 0.6);
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.service-image-num {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 72px;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1;
}

.service-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(217, 147, 88, 0.1);
  border: 1px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-deep);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 24px;
}

.service-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.service-title-h {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -1.4px;
  margin-bottom: 22px;
}
.service-title-h em {
  color: var(--red);
  font-style: italic;
  font-weight: 400;
}

.service-desc {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.85;
  margin-bottom: 24px;
}
.service-desc strong {
  color: var(--orange-deep);
  font-weight: 600;
}

.service-features {
  list-style: none;
  margin-bottom: 28px;
}
.service-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-2);
}
.service-features li:last-child {
  border-bottom: none;
}
.service-features li::before {
  content: "→";
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.tech-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  padding: 6px 12px;
  background: rgba(217, 147, 88, 0.1);
  color: var(--orange-deep);
  border: 1px solid rgba(217, 147, 88, 0.3);
}

.service-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.process-compact-section {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-compact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-compact-step {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.process-compact-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.process-compact-step:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.process-compact-step:hover::before {
  transform: scaleX(1);
}

.pc-num {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 48px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.85;
}

.pc-step-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.pc-step-title {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.25;
}

.pc-step-desc {
  font-size: 13px;
  color: var(--steel);
  line-height: 1.6;
}

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

.pricing-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px 32px;
  position: relative;
  transition: all 0.4s;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.pricing-card.featured {
  border-color: var(--orange);
  box-shadow: 0 16px 40px rgba(184, 120, 68, 0.15);
  transform: scale(1.02);
}
.pricing-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow));
}
.pricing-card:hover:not(.featured) {
  border-color: var(--orange);
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  background: var(--orange);
  color: var(--ink);
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.pricing-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.pricing-name {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.15;
}

.pricing-tagline {
  font-size: 14px;
  color: var(--steel);
  margin-bottom: 24px;
  line-height: 1.5;
}

.pricing-price {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 56px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price .unit {
  font-size: 18px;
  color: var(--steel);
  font-weight: 400;
  margin-left: 6px;
}

.pricing-period {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--bone);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}
.pricing-features li {
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}
.pricing-features li::before {
  content: "✓";
  color: var(--moss);
  font-weight: 800;
  flex-shrink: 0;
}
.pricing-features li.no {
  color: var(--bone);
  text-decoration: line-through;
}
.pricing-features li.no::before {
  content: "×";
  color: var(--bone);
}

.pricing-cta {
  width: 100%;
  justify-content: center;
}

.pricing-footnote {
  text-align: center;
  margin-top: 40px;
  color: var(--steel);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
}

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

.faq-grid {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  margin-bottom: 14px;
  transition: all 0.3s;
  overflow: hidden;
}
.faq-item:hover {
  border-color: var(--orange);
}
.faq-item.open {
  border-color: var(--orange);
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}
.faq-item.open .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-question {
  padding: 22px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  user-select: none;
}
.faq-question h3 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}

.faq-toggle {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: rgba(217, 147, 88, 0.1);
  border: 1px solid var(--orange);
  color: var(--orange-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  padding: 0 28px;
  color: var(--ink-2);
  line-height: 1.7;
  font-size: 15px;
  border-top: 0 solid var(--line);
}

.faq-item.open .faq-answer {
  padding: 20px 28px 24px 28px;
  border-top: 1px solid var(--line);
}

.stats-band .stats-band-num {
  font-size: 56px;
}
.stats-band .stats-band-num .plus {
  font-size: 38px;
}

@media (max-width: 1100px) {
  .process-compact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .pricing-card.featured {
    transform: none;
  }
}
@media (max-width: 900px) {
  .services-nav {
    display: none;
  }
  .service-block,
  .service-block.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-block .service-content,
  .service-block.reverse .service-content {
    order: 2;
  }
  .service-block .service-image-wrap,
  .service-block.reverse .service-image-wrap {
    order: 1;
  }
  .service-image {
    min-height: 350px;
  }
  .service-image.has-photo {
    aspect-ratio: 1/1;
    min-height: 0;
  }
  .service-section {
    padding: 70px 0;
  }
}
@media (max-width: 600px) {
  .process-compact-grid {
    grid-template-columns: 1fr;
  }
  .service-cta {
    flex-direction: column;
    width: 100%;
  }
  .service-cta .btn-primary,
  .service-cta .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .service-image-window {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 14px 16px;
    font-size: 11px;
  }
  .service-image.has-photo .service-image-window {
    left: 50%;
    right: auto;
    bottom: 14px;
    transform: translateX(-50%);
    width: min(76%, 300px);
    padding: 10px 12px;
    font-size: 9px;
    line-height: 1.45;
  }
  .service-image-num {
    top: 16px;
    right: 16px;
    font-size: 52px;
  }
}
.blog-controls {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
  position: sticky;
  top: 72px;
  z-index: 50;
  box-shadow: 0 -1px 0 var(--bg-2);
}

.blog-controls-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--ink-2);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: all 0.3s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.filter-btn .count {
  font-size: 10px;
  color: var(--bone);
  background: var(--bg-2);
  padding: 2px 6px;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.filter-btn:hover .count, .filter-btn.active .count {
  background: var(--orange);
  color: var(--ink);
}

.blog-search {
  position: relative;
  min-width: 280px;
}
.blog-search::before {
  content: "$";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 14px;
}

.blog-search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--ink);
  transition: all 0.3s;
}
.blog-search-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(217, 147, 88, 0.15);
}
.blog-search-input::placeholder {
  color: var(--bone);
}

.featured-section {
  padding: 48px 0 64px;
}
.featured-section .container {
  max-width: 1180px;
}

.featured-article {
  display: grid;
  grid-template-columns: minmax(0, 56%) minmax(0, 44%);
  gap: 0;
  align-items: stretch;
  width: 100%;
  height: 420px;
  max-height: 420px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.4s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.featured-article::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(217, 147, 88, 0.4);
  border-bottom: 2px solid rgba(217, 147, 88, 0.4);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.featured-article:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.featured-article:hover::after {
  opacity: 1;
}
.featured-article:hover .featured-link {
  gap: 14px;
}

.featured-image-wrap {
  display: flex;
  align-items: stretch;
  min-height: 0;
  height: 100%;
}

.featured-image {
  width: 100%;
  background: linear-gradient(135deg, var(--ink-2), var(--orange-deep));
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 0;
}
.featured-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
}

.featured-image.has-photo {
  background: var(--ink);
}
.featured-image.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 30, 45, 0.08), rgba(20, 30, 45, 0.5));
  pointer-events: none;
}

.featured-image-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.featured-image-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--bg);
  background: rgba(45, 62, 79, 0.6);
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.featured-image-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--ink);
  background: var(--yellow);
  padding: 6px 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.featured-image-decoration {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background: rgba(20, 30, 45, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 18px 22px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #c5cdd5;
  line-height: 1.7;
}
.featured-image-decoration .deco-prompt {
  color: #9ab088;
}
.featured-image-decoration .deco-cmd {
  color: #e8ecf0;
}
.featured-image-decoration .deco-out {
  color: #8b9aa8;
}
.featured-image-decoration .deco-key {
  color: #e8b864;
}
.featured-image-decoration .deco-str {
  color: #c8b88a;
}

.featured-content {
  min-width: 0;
  height: 100%;
  overflow: hidden;
  padding: 32px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--steel);
  flex-wrap: wrap;
  align-items: center;
}

.featured-cat {
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  padding: 4px 10px;
  background: rgba(217, 147, 88, 0.1);
  border: 1px solid rgba(217, 147, 88, 0.3);
}

.meta-sep {
  color: var(--bone);
}

.featured-title {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 32px;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: 0;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.featured-title em {
  color: var(--red);
  font-style: italic;
  font-weight: 400;
}

.featured-excerpt {
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
}

.author-role {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.featured-link {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: gap 0.3s;
}

.articles-section {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.articles-section turbo-frame {
  display: block;
}

.articles-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}
.articles-header h2 {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -1px;
}
.articles-header h2 em {
  color: var(--red);
  font-style: italic;
  font-weight: 400;
}

.articles-count {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--steel);
  padding: 8px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.articles-count strong {
  color: var(--orange-deep);
}

.articles-actions {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.article-card:hover {
  border-color: var(--orange);
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}
.article-card:hover .article-title {
  color: var(--orange-deep);
}
.article-card:hover .article-link {
  transform: translateX(4px);
}

.article-image {
  width: 100%;
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.article-image.c1 {
  background: linear-gradient(135deg, var(--red), var(--orange));
}
.article-image.c2 {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
}
.article-image.c3 {
  background: linear-gradient(135deg, var(--ink), var(--orange-deep));
}
.article-image.c4 {
  background: linear-gradient(135deg, var(--ink-2), var(--red));
}
.article-image.c5 {
  background: linear-gradient(135deg, var(--orange-deep), var(--cream));
}
.article-image.c6 {
  background: linear-gradient(135deg, var(--red-deep), var(--yellow));
}
.article-image.c7 {
  background: linear-gradient(135deg, var(--yellow), var(--ink-2));
}
.article-image.c8 {
  background: linear-gradient(135deg, var(--ink-3), var(--orange));
}
.article-image.c9 {
  background: linear-gradient(135deg, var(--red), var(--ink));
}
.article-image::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: 22px 22px;
}

.article-image.has-photo {
  background: var(--ink);
}
.article-image.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 30, 45, 0.08), rgba(20, 30, 45, 0.48));
  pointer-events: none;
}

.article-image-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-image-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 52px;
  color: var(--paper);
  opacity: 0.4;
}

.article-image-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--bg);
  background: rgba(45, 62, 79, 0.6);
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.article-content {
  padding: 28px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--steel);
  flex-wrap: wrap;
  align-items: center;
}

.article-cat {
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.article-title {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.article-excerpt {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.article-author-mini {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar-mini {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}
.author-avatar-mini.a1 {
  background: linear-gradient(135deg, var(--orange), var(--red));
}
.author-avatar-mini.a2 {
  background: linear-gradient(135deg, var(--ink), var(--orange-deep));
}
.author-avatar-mini.a3 {
  background: linear-gradient(135deg, var(--red), var(--yellow));
}
.author-avatar-mini.a4 {
  background: linear-gradient(135deg, var(--ink-2), var(--red));
}

.author-name-mini {
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 500;
}

.article-link {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  transition: transform 0.3s;
}

.article-page-switcher {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 56px 0 0;
}

.article-page-btn {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  min-width: 54px;
  padding: 12px 20px;
  border: 1px solid var(--orange);
  background: var(--paper);
  color: var(--orange-deep);
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: var(--card-shadow);
}
.article-page-btn:hover, .article-page-btn.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}
.article-page-btn.active {
  background: var(--orange);
  color: var(--ink);
  border-color: var(--orange);
  cursor: default;
  transform: none;
}

.articles-empty {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--steel);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  padding: 28px;
  text-align: center;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px 28px;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: var(--card-shadow);
}
.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cat-color, var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.category-card::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(217, 147, 88, 0.4);
  border-bottom: 2px solid rgba(217, 147, 88, 0.4);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.category-card:hover {
  border-color: var(--cat-color, var(--orange));
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.category-card:hover::before {
  transform: scaleX(1);
}
.category-card:hover::after {
  opacity: 1;
}
.category-card.architecture {
  --cat-color: var(--red);
}
.category-card.devops {
  --cat-color: var(--orange);
}
.category-card.performance {
  --cat-color: var(--yellow);
}
.category-card.security {
  --cat-color: var(--ink-2);
}

.cat-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--bone);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.cat-icon {
  font-family: "JetBrains Mono", monospace;
  font-size: 32px;
  color: var(--cat-color, var(--orange));
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1;
}

.cat-name {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
}

.cat-count {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--steel);
}
.cat-count strong {
  color: var(--cat-color, var(--orange-deep));
  font-weight: 700;
}

.newsletter-section {
  background: var(--ink);
  color: var(--bg);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 30%, rgba(217, 147, 88, 0.15) 0%, transparent 55%), radial-gradient(ellipse at 80% 70%, rgba(232, 184, 100, 0.1) 0%, transparent 55%);
}
.newsletter-section .container {
  position: relative;
  z-index: 2;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.newsletter-content .section-label {
  color: var(--yellow);
}
.newsletter-content .section-label::before {
  background: var(--yellow);
}
.newsletter-content h2 {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  color: var(--bg);
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.newsletter-content h2 em {
  color: var(--orange);
  font-style: italic;
  font-weight: 400;
}
.newsletter-content p {
  font-size: 16px;
  color: #c5cdd5;
  line-height: 1.75;
  margin-bottom: 24px;
}

.newsletter-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.newsletter-stat {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #8b9aa8;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.newsletter-stat strong {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 24px;
  color: var(--yellow);
  letter-spacing: 0;
}

.newsletter-form-wrap {
  background: rgba(250, 248, 244, 0.05);
  border: 1px solid rgba(250, 248, 244, 0.1);
  padding: 40px;
  position: relative;
}
.newsletter-form-wrap::before {
  content: "> ./subscribe.sh";
  position: absolute;
  top: -12px;
  left: 24px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  background: var(--ink);
  color: var(--orange);
  padding: 2px 14px;
  border: 1px solid rgba(217, 147, 88, 0.3);
}

.newsletter-form-group {
  margin-bottom: 18px;
}

.newsletter-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #8b9aa8;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}
.newsletter-label::before {
  content: "> ";
  color: var(--orange);
}

.newsletter-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(250, 248, 244, 0.15);
  padding: 14px 16px;
  color: var(--bg);
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  transition: all 0.3s;
}
.newsletter-input::placeholder {
  color: #6b7d8e;
}
.newsletter-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(217, 147, 88, 0.15);
}

.newsletter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.newsletter-tag-check {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  padding: 6px 12px;
  background: rgba(217, 147, 88, 0.1);
  color: var(--yellow);
  border: 1px solid rgba(217, 147, 88, 0.3);
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}
.newsletter-tag-check:hover, .newsletter-tag-check.active {
  background: var(--orange);
  color: var(--ink);
  border-color: var(--orange);
}

.newsletter-btn {
  width: 100%;
  background: var(--orange);
  color: var(--ink);
  justify-content: center;
}
.newsletter-btn:hover {
  background: var(--yellow);
}

.newsletter-footnote {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: #6b7d8e;
  text-align: center;
  margin-top: 16px;
}

@media (max-width: 1100px) {
  .featured-article {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }
  .featured-image {
    height: 320px;
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .newsletter-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}
@media (max-width: 900px) {
  .featured-image {
    height: 280px;
  }
  .featured-content {
    padding: 36px 30px;
  }
  .blog-controls-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .blog-search {
    min-width: auto;
    width: 100%;
  }
  .blog-controls {
    position: relative;
    top: 0;
  }
}
@media (max-width: 600px) {
  .blog-controls {
    padding: 22px 0;
  }
  .blog-controls .container {
    padding: 0 22px;
  }
  .blog-controls-inner {
    gap: 16px;
  }
  .blog-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }
  .filter-btn {
    min-height: 40px;
    justify-content: space-between;
    padding: 9px 12px;
    font-size: 11px;
    gap: 8px;
  }
  .filter-btn-all {
    grid-column: 1/-1;
  }
  .blog-search {
    min-width: 0;
    width: 100%;
  }
  .blog-search-input {
    height: 42px;
    padding-right: 12px;
    font-size: 11.5px;
    text-overflow: ellipsis;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .featured-image {
    height: 220px;
  }
  .featured-content {
    padding: 28px 22px;
  }
  .newsletter-form-wrap {
    padding: 28px 22px;
  }
  .pagination {
    flex-wrap: wrap;
  }
  .pagination .nav-arrow {
    display: none;
  }
}
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(122, 148, 104, 0.12);
  border: 1px solid var(--moss);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--moss);
  margin: 0 auto;
}

.contact-main {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 80px 0 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 50px;
  position: relative;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}
.contact-form-card::before {
  content: "> ./new_project.sh";
  position: absolute;
  top: -12px;
  left: 32px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  background: var(--bg-2);
  color: var(--orange-deep);
  padding: 4px 14px;
  border: 1px solid var(--line);
}
.contact-form-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(217, 147, 88, 0.4);
  border-bottom: 2px solid rgba(217, 147, 88, 0.4);
  pointer-events: none;
}

.form-fields-wrapper {
  margin-bottom: 36px;
}

.form-intro {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.form-intro h2 {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 10px;
}
.form-intro p {
  color: var(--steel);
  font-size: 14px;
  line-height: 1.7;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 22px;
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
  font-weight: 600;
}
.form-label::before {
  content: "> ";
  color: var(--orange);
}
.form-label .required {
  color: var(--red);
  margin-left: 4px;
}
.form-label .optional {
  color: var(--bone);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 10px;
  margin-left: 6px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 14px 16px;
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  transition: all 0.3s;
}
.form-input::placeholder,
.form-textarea::placeholder,
.form-select::placeholder {
  color: var(--bone);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(217, 147, 88, 0.15);
  background-color: var(--paper);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23b87844' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"), linear-gradient(90deg, transparent 0, transparent calc(100% - 52px), rgba(217, 147, 88, 0.1) calc(100% - 52px), rgba(217, 147, 88, 0.1) 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: right 17px center, center;
  background-size: 18px, 100% 100%;
  border-color: rgba(184, 120, 68, 0.28);
  line-height: 1.3;
  min-height: 48px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 1px 0 rgba(45, 62, 79, 0.03);
  padding-right: 44px;
  cursor: pointer;
}
.form-select:hover {
  border-color: rgba(184, 120, 68, 0.55);
  color: var(--ink-2);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23b87844' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"), linear-gradient(90deg, transparent 0, transparent calc(100% - 52px), rgba(217, 147, 88, 0.16) calc(100% - 52px), rgba(217, 147, 88, 0.16) 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: right 17px center, center;
  background-size: 18px, 100% 100%;
}
.form-select:focus {
  background-color: var(--paper);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23b87844' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"), linear-gradient(90deg, transparent 0, transparent calc(100% - 52px), rgba(217, 147, 88, 0.18) calc(100% - 52px), rgba(217, 147, 88, 0.18) 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: right 17px center, center;
  background-size: 18px, 100% 100%;
}
.form-select option {
  background: var(--paper);
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
}

.custom-select {
  position: relative;
  width: 100%;
  z-index: 1;
}
.custom-select.open {
  z-index: 20;
}

.custom-select-trigger {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(184, 120, 68, 0.28);
  background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23b87844' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") right 17px center/18px no-repeat, linear-gradient(90deg, transparent 0, transparent calc(100% - 52px), rgba(217, 147, 88, 0.1) calc(100% - 52px), rgba(217, 147, 88, 0.1) 100%), var(--paper);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 1px 0 rgba(45, 62, 79, 0.03);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  line-height: 1.3;
  padding: 14px 60px 14px 16px;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.custom-select-trigger:hover {
  border-color: rgba(184, 120, 68, 0.55);
  color: var(--ink-2);
}
.custom-select-trigger:focus-visible, .custom-select.open .custom-select-trigger {
  outline: none;
  border-color: var(--orange);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75), 0 0 0 3px rgba(217, 147, 88, 0.15);
}
.custom-select.open .custom-select-trigger {
  background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23b87844' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='18 15 12 9 6 15'%3e%3c/polyline%3e%3c/svg%3e") right 17px center/18px no-repeat, linear-gradient(90deg, transparent 0, transparent calc(100% - 52px), rgba(217, 147, 88, 0.18) calc(100% - 52px), rgba(217, 147, 88, 0.18) 100%), var(--paper);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 240px;
  overflow-y: auto;
  padding: 6px;
  background: var(--paper);
  border: 1px solid rgba(184, 120, 68, 0.32);
  box-shadow: var(--panel-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.custom-select.open .custom-select-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.custom-select-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  line-height: 1.35;
  padding: 11px 12px;
  text-align: left;
  transition: background 0.16s ease, color 0.16s ease;
}
.custom-select-option::before {
  content: ">";
  color: var(--orange);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.custom-select-option:hover, .custom-select-option:focus-visible {
  outline: none;
  background: rgba(217, 147, 88, 0.1);
  color: var(--orange-deep);
}
.custom-select-option:hover::before, .custom-select-option:focus-visible::before {
  opacity: 1;
  transform: translateX(0);
}
.custom-select-option.active {
  background: rgba(217, 147, 88, 0.14);
  color: var(--orange-deep);
  font-weight: 600;
}
.custom-select-option.active::before {
  opacity: 1;
  transform: translateX(0);
}

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

.project-type-chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  padding: 12px 14px;
  background: var(--bg);
  color: var(--ink-2);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.project-type-chip::before {
  content: "○";
  color: var(--bone);
  font-weight: 800;
  transition: all 0.3s;
}
.project-type-chip:hover {
  border-color: var(--orange);
  color: var(--orange-deep);
}
.project-type-chip.active {
  background: rgba(217, 147, 88, 0.1);
  border-color: var(--orange);
  color: var(--orange-deep);
  font-weight: 600;
}
.project-type-chip.active::before {
  content: "●";
  color: var(--orange);
}

.budget-display {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 32px;
  color: var(--ink);
  margin-bottom: 16px;
}
.budget-display .currency {
  color: var(--orange);
  margin-right: 4px;
}
.budget-display .separator {
  color: var(--bone);
  margin: 0 12px;
  font-weight: 400;
  font-size: 24px;
}

.budget-range {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  outline: none;
  cursor: pointer;
}
.budget-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: var(--orange);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--orange-deep);
  cursor: pointer;
}
.budget-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--orange);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--orange-deep);
  cursor: pointer;
}

.budget-marks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--bone);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  margin-bottom: 8px;
}
.form-checkbox input[type=checkbox] {
  appearance: none;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  position: relative;
  margin-top: 2px;
  transition: all 0.2s;
}
.form-checkbox input[type=checkbox]:checked {
  background: var(--orange);
  border-color: var(--orange);
}
.form-checkbox input[type=checkbox]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
}

.form-checkbox-text {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}
.form-checkbox-text a {
  color: var(--orange-deep);
  font-weight: 600;
  text-decoration: underline;
}

.form-submit-row {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.form-submit-info {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--steel);
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-submit-info::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--moss);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--moss);
}

.form-submit-btn {
  width: auto;
  min-width: 240px;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.sidebar-card::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(217, 147, 88, 0.4);
  border-bottom: 2px solid rgba(217, 147, 88, 0.4);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.sidebar-card:hover {
  border-color: var(--orange);
  box-shadow: var(--card-shadow-hover);
}
.sidebar-card:hover::after {
  opacity: 1;
}
.sidebar-card.flex-fill {
  flex: 1;
}

.sidebar-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.sidebar-title {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 18px;
  line-height: 1.2;
}

.direct-list {
  list-style: none;
}

.direct-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
}
.direct-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.direct-item:first-child {
  padding-top: 0;
}

.direct-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(217, 147, 88, 0.1);
  border: 1px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-deep);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 16px;
}

.direct-content {
  flex: 1;
  min-width: 0;
}

.direct-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 3px;
}

.direct-value {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  word-break: break-word;
}
.direct-value a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}
.direct-value a:hover {
  color: var(--orange-deep);
}

.hours-list {
  list-style: none;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
}
.hours-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.hours-row:first-child {
  padding-top: 0;
}
.hours-row.today {
  background: rgba(217, 147, 88, 0.06);
  margin: 0 -16px;
  padding: 10px 16px;
  border-bottom: none;
  border-left: 2px solid var(--orange);
}

.hours-day {
  color: var(--ink-2);
}

.hours-time {
  color: var(--orange-deep);
  font-weight: 600;
}
.hours-time.closed {
  color: var(--bone);
  font-weight: 400;
}

.map-embed {
  aspect-ratio: 4/3;
  margin: -32px -32px 24px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
  overflow: hidden;
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.map-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.map-info p {
  color: var(--steel);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.social-section {
  margin-top: 40px;
}

.social-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px 50px;
  box-shadow: var(--card-shadow);
  position: relative;
}
.social-card::before {
  content: "> ./social_links.sh";
  position: absolute;
  top: -12px;
  left: 32px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  background: var(--bg);
  color: var(--orange-deep);
  padding: 4px 14px;
  border: 1px solid var(--line);
}
.social-card.social-card--engagements::before {
  content: "> ./engagements.sh";
}
.social-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(217, 147, 88, 0.4);
  border-bottom: 2px solid rgba(217, 147, 88, 0.4);
  pointer-events: none;
}

.social-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.social-header-left .sidebar-label {
  margin-bottom: 8px;
}
.social-header-left h3 {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--ink);
  line-height: 1.2;
}
.social-header-left h3 em {
  color: var(--red);
  font-style: italic;
  font-weight: 400;
}

.social-header-right {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--steel);
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-header-right .pulse-dot {
  width: 8px;
  height: 8px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.social-item {
  padding: 24px 22px;
  border: 1px solid var(--line);
  background: var(--bg);
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.social-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--social-color, var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.social-item:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.social-item:hover::before {
  transform: scaleX(1);
}
.social-item:hover .social-icon {
  color: var(--social-color, var(--yellow));
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.3);
}
.social-item:hover .social-name {
  color: var(--bg);
}
.social-item:hover .social-handle {
  color: #c5cdd5;
}
.social-item:hover .social-stat {
  color: var(--social-color, var(--yellow));
}
.social-item:hover .social-stat-label {
  color: #8b9aa8;
}
.social-item:hover .social-arrow {
  color: var(--social-color, var(--yellow));
  transform: translate(4px, -4px);
}
.social-item:hover .social-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
}
.social-item.github {
  --social-color: var(--yellow);
}
.social-item.linkedin {
  --social-color: var(--orange);
}
.social-item.twitter {
  --social-color: var(--red);
}
.social-item.dribbble {
  --social-color: var(--yellow);
}
.social-item.eng-delais {
  --social-color: var(--yellow);
}
.social-item.eng-prix {
  --social-color: var(--orange);
}
.social-item.eng-code {
  --social-color: var(--red);
}
.social-item.eng-support {
  --social-color: var(--yellow);
}
.social-item.eng-support {
  --social-color: var(--moss);
}

.social-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.social-icon {
  width: 44px;
  height: 44px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.3s;
}

.social-arrow {
  color: var(--bone);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s;
}

.social-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.social-name {
  font-family: "Fraunces", serif;
  font-size: 18px;
  color: var(--ink);
  font-weight: 700;
  transition: color 0.3s;
}

.social-handle {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--steel);
  transition: color 0.3s;
}

.social-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  transition: border-color 0.3s;
}

.social-stat {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  transition: color 0.3s;
}

.social-stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}

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

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

.alt-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px 32px;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.alt-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.alt-card:hover {
  border-color: var(--orange);
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}
.alt-card:hover::before {
  transform: scaleX(1);
}
.alt-card:hover::after {
  opacity: 1;
}
.alt-card:hover .alt-arrow {
  transform: translate(4px, -4px);
}
.alt-card::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(217, 147, 88, 0.4);
  border-bottom: 2px solid rgba(217, 147, 88, 0.4);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.alt-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--bone);
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.alt-arrow {
  color: var(--orange);
  transition: transform 0.3s;
}

.alt-icon {
  width: 56px;
  height: 56px;
  background: rgba(217, 147, 88, 0.1);
  border: 1px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-deep);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 22px;
}

.alt-title {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.2;
}

.alt-desc {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.7;
  margin-bottom: 18px;
}

.alt-link {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.faq-mini-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.faq-mini {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px 28px;
  transition: all 0.3s;
  position: relative;
  box-shadow: var(--card-shadow);
}
.faq-mini::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(217, 147, 88, 0.4);
  border-bottom: 2px solid rgba(217, 147, 88, 0.4);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.faq-mini:hover {
  border-color: var(--orange);
  box-shadow: var(--card-shadow-hover);
}
.faq-mini:hover::after {
  opacity: 1;
}

.faq-mini-q {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.faq-mini-q::before {
  content: "Q.";
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  color: var(--orange);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 4px;
}

.faq-mini-a {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.7;
  padding-left: 28px;
}

@media (max-width: 1100px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .alt-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}
@media (max-width: 900px) {
  .contact-form-card {
    padding: 36px 28px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .project-types {
    grid-template-columns: repeat(2, 1fr);
  }
  .social-card {
    padding: 32px 28px;
  }
  .contact-main {
    padding: 60px 0 80px;
  }
}
@media (max-width: 600px) {
  .contact-form-card {
    padding: 28px 22px;
  }
  .sidebar-card {
    padding: 24px;
  }
  .project-types {
    grid-template-columns: 1fr;
  }
  .social-grid {
    grid-template-columns: 1fr;
  }
  .form-submit-btn {
    width: 100%;
    justify-content: center;
  }
  .form-submit-row {
    flex-direction: column;
    align-items: stretch;
  }
}
.header-stats-mini {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.header-stat {
  text-align: center;
}

.header-stat-num {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 42px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}
.header-stat-num .plus {
  color: var(--orange);
  font-size: 28px;
  vertical-align: top;
}

.header-stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 2px;
}

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

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: stretch;
}

.expertise-image-wrap {
  display: flex;
  align-items: stretch;
}

.expertise-image {
  width: 100%;
  background: linear-gradient(135deg, var(--ink-2), var(--orange-deep));
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 25px 60px rgba(45, 62, 79, 0.15);
  min-height: 100%;
}
.expertise-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
}

.expertise-photo,
.method-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transform: scale(1.08);
  transform-origin: center;
}

.expertise-photo {
  object-position: center center;
}

.method-photo {
  object-position: center center;
}

.expertise-image::after,
.method-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 30, 45, 0.18), rgba(20, 30, 45, 0.64));
  pointer-events: none;
}

.expertise-image-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  color: var(--bg);
}

.expertise-image-terminal {
  background: rgba(20, 30, 45, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 18px 22px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #c5cdd5;
  line-height: 1.7;
}
.expertise-image-terminal .t-prompt {
  color: #9ab088;
}
.expertise-image-terminal .t-cmd {
  color: #e8ecf0;
}
.expertise-image-terminal .t-key {
  color: #e8b864;
}
.expertise-image-terminal .t-out {
  color: #8b9aa8;
}

.expertise-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.expertise-content h2 {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -1.2px;
  margin-bottom: 22px;
}
.expertise-content h2 em {
  color: var(--red);
  font-style: italic;
  font-weight: 400;
}
.expertise-content p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.8;
  margin-bottom: 30px;
}

.skill-bars-wrapper {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px;
  box-shadow: 0 6px 20px rgba(45, 62, 79, 0.04);
}

.skill-bars-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.skill-bars-label::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.skill-bars-wrapper .skill-bar {
  margin-bottom: 22px;
}
.skill-bars-wrapper .skill-bar:last-child {
  margin-bottom: 0;
}

.skill-bars-wrapper .skill-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-family: "JetBrains Mono", monospace;
}

.skill-bars-wrapper .skill-name {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}

.skill-years {
  font-size: 11px;
  color: var(--steel);
  margin-left: 8px;
  font-weight: 400;
}

.skill-bars-wrapper .skill-percent {
  font-size: 13px;
  color: var(--orange-deep);
  font-weight: 700;
}

.skill-bars-wrapper .skill-track {
  width: 100%;
  height: 8px;
  background: var(--bg-3);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.skill-bars-wrapper .skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow));
  box-shadow: 0 0 10px rgba(217, 147, 88, 0.4);
  animation: fillBar 1.6s ease-out forwards;
  transform-origin: left;
  position: relative;
}
.skill-bars-wrapper .skill-fill::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: var(--paper);
}

.domains-section {
  padding: 100px 0;
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.domain-card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.4s;
  box-shadow: 0 3px 10px rgba(45, 62, 79, 0.03);
  display: flex;
  flex-direction: column;
}
.domain-card:hover {
  border-color: var(--orange);
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(45, 62, 79, 0.1);
}

.domain-image {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.domain-image.backend {
  background: linear-gradient(135deg, var(--ink-2), var(--orange-deep));
}
.domain-image.frontend {
  background: linear-gradient(135deg, var(--red), var(--yellow));
}
.domain-image.data {
  background: linear-gradient(135deg, var(--orange-deep), var(--ink));
}
.domain-image.devops {
  background: linear-gradient(135deg, var(--orange), var(--ink-2));
}
.domain-image::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: 24px 24px;
}
.domain-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 30, 45, 0.04), rgba(20, 30, 45, 0.42));
  pointer-events: none;
}

.domain-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transform: scale(1.06);
  transform-origin: center;
  object-position: center center;
}

.domain-image-num {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 2;
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 56px;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1;
}

.domain-image-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 64px;
  color: var(--paper);
  opacity: 0.85;
}

.domain-content {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.domain-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.domain-title {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.15;
}

.domain-desc {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.domain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.domain-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  padding: 5px 11px;
  background: rgba(217, 147, 88, 0.1);
  color: var(--orange-deep);
  border: 1px solid rgba(217, 147, 88, 0.3);
}

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

.stack-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.stack-tab {
  appearance: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.stack-tab::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  transition: all 0.3s;
}
.stack-tab:hover, .stack-tab.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.stack-tab:hover::before, .stack-tab.active::before {
  background: var(--yellow);
}

.tech-logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.tech-logo {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 18px;
  text-align: center;
  transition: all 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.tech-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent, var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.tech-logo:hover {
  border-color: var(--accent, var(--orange));
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(45, 62, 79, 0.08);
}
.tech-logo:hover::before {
  transform: scaleX(1);
}
.tech-logo.ruby {
  --accent: #c4625d;
}
.tech-logo.rails {
  --accent: #a04f4a;
}
.tech-logo.js {
  --accent: #e8b864;
}
.tech-logo.ts {
  --accent: #3e5267;
}
.tech-logo.react {
  --accent: #6fb4c7;
}
.tech-logo.vue {
  --accent: #7a9468;
}
.tech-logo.node {
  --accent: #7a9468;
}
.tech-logo.go {
  --accent: #6fb4c7;
}
.tech-logo.postgres {
  --accent: #3e5267;
}
.tech-logo.redis {
  --accent: #c4625d;
}
.tech-logo.mongo {
  --accent: #7a9468;
}
.tech-logo.docker {
  --accent: #6fb4c7;
}
.tech-logo.aws {
  --accent: #d99358;
}
.tech-logo.k8s {
  --accent: #3e5267;
}
.tech-logo.figma {
  --accent: #c4625d;
}
.tech-logo.stripe {
  --accent: #b89cd9;
}
.tech-logo.next {
  --accent: #2d3e4f;
}
.tech-logo.tailwind {
  --accent: #6fb4c7;
}

.tech-logo.is-hidden {
  display: none;
}

.tech-logo-mark {
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 28px;
  color: var(--accent, var(--ink));
  margin-bottom: 12px;
  line-height: 1;
}

.tech-logo-name {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.tech-logo-version {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--bone);
  margin-bottom: 10px;
}

.tech-logo-level {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  padding: 3px 8px;
  background: rgba(217, 147, 88, 0.1);
  color: var(--orange-deep);
  border: 1px solid rgba(217, 147, 88, 0.3);
  display: inline-block;
}

.method-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.method-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.method-content h2 {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -1.2px;
  margin-bottom: 22px;
}
.method-content h2 em {
  color: var(--red);
  font-style: italic;
  font-weight: 400;
}
.method-content > p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.8;
  margin-bottom: 30px;
}

.method-list {
  list-style: none;
}

.method-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.method-item:last-child {
  border-bottom: none;
}

.method-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--paper);
  border: 1px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 13px;
  color: var(--orange-deep);
}

.method-text {
  flex: 1;
}
.method-text strong {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}
.method-text p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.7;
}

.method-image-wrap {
  display: flex;
  align-items: stretch;
}

.method-image {
  width: 100%;
  background: linear-gradient(135deg, var(--ink), var(--red-deep));
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 25px 60px rgba(45, 62, 79, 0.15);
  min-height: 100%;
}
.method-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 25px 25px;
}

.method-image-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: var(--bg);
}

.method-image-window {
  background: rgba(20, 30, 45, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  margin-top: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #c5cdd5;
  line-height: 1.7;
}
.method-image-window .m-key {
  color: #e8b864;
}
.method-image-window .m-val {
  color: #c8b88a;
}
.method-image-window .m-out {
  color: #8b9aa8;
}

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

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cert-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 24px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.cert-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.cert-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(45, 62, 79, 0.08);
}
.cert-card:hover::before {
  transform: scaleX(1);
}

.cert-badge {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 18px;
  position: relative;
}
.cert-badge::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid var(--orange);
  pointer-events: none;
}

.cert-issuer {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.cert-name {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.3;
}

.cert-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.cert-date {
  color: var(--steel);
}

.cert-status {
  color: var(--moss);
  display: flex;
  align-items: center;
  gap: 6px;
}
.cert-status::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--moss);
  border-radius: 50%;
  box-shadow: 0 0 4px var(--moss);
}

.learning-section {
  padding: 100px 0;
}

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

.learning-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px 32px;
  transition: all 0.3s;
  box-shadow: 0 3px 10px rgba(45, 62, 79, 0.03);
}
.learning-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(45, 62, 79, 0.08);
}

.learning-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--bone);
  margin-bottom: 18px;
}

.learning-icon {
  width: 56px;
  height: 56px;
  background: rgba(217, 147, 88, 0.1);
  border: 1px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-deep);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 22px;
}

.learning-title {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.2;
}

.learning-desc {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.7;
  margin-bottom: 22px;
}

.learning-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.learning-stat-num {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 32px;
  color: var(--orange);
  line-height: 1;
}

.learning-stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

@media (max-width: 1100px) {
  .domains-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  .tech-logos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .learning-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}
@media (max-width: 900px) {
  .expertise-grid,
  .method-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .expertise-image,
  .method-image {
    min-height: 400px;
  }
  .tech-logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .domains-section,
  .learning-section {
    padding: 70px 0;
  }
}
@media (max-width: 600px) {
  .tech-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-grid {
    grid-template-columns: 1fr;
  }
  .header-stats-mini {
    gap: 30px;
  }
  .header-stat-num {
    font-size: 32px;
  }
  .domain-image-num {
    font-size: 40px;
  }
}
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta {
    display: none;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--orange);
  }
  .hero-grid,
  .about-grid,
  .skills-preview {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .terminal-body {
    min-height: 330px;
  }
  .container {
    padding: 0 24px;
  }
  .nav-inner {
    padding: 0 20px;
  }
  section {
    padding: 80px 0;
  }
  .hero {
    padding: 92px 0 30px;
  }
  .footer-content {
    padding: 0 24px;
  }
  .footer-bottom {
    padding: 30px 24px 0;
  }
}
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero {
    padding: 82px 0 26px;
  }
  .coded-section::before {
    font-size: 72px;
    right: 18px;
  }
  .terminal-body {
    padding: 18px;
    font-size: 11.5px;
    min-height: 310px;
  }
  .about-card {
    padding: 28px 22px;
  }
  .hero-actions {
    width: 100%;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
