:root {
  --bg: #080a0f;
  --panel: #11151d;
  --panel-strong: #151a22;
  --panel-soft: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f7f4;
  --muted: #abb7b5;
  --brand: #2dd4bf;
  --brand-2: #f59e0b;
  --accent: #f43f5e;
  --danger: #f43f5e;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(135deg, #080a0f 0%, #10140f 46%, #151116 100%);
  background-size: 44px 44px, 44px 44px, auto;
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(8, 10, 15, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.25s ease, background 0.25s ease, padding 0.25s ease;
}

.site-header.scrolled {
  padding-block: 12px;
  background: rgba(8, 10, 15, 0.94);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.logo-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: var(--radius);
  color: #061019;
  background: linear-gradient(135deg, var(--brand), #fbbf24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.15rem;
}

.menu-toggle i {
  display: none;
}

.menu-toggle::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

main {
  padding-top: 74px;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section.compact {
  padding-top: 48px;
}

.container {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(290px, 0.72fr);
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: var(--radius);
  color: #99f6e4;
  background: rgba(45, 212, 191, 0.08);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 7vw, 5.8rem);
}

h2 {
  color: var(--text);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}

h3 {
  font-size: 1.08rem;
}

.lead {
  max-width: 700px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: #061019;
  background: linear-gradient(135deg, var(--brand), #fbbf24);
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 12px 25px rgba(45, 212, 191, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(45, 212, 191, 0.24);
}

.btn.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line);
  box-shadow: none;
}

.btn.warning {
  background: linear-gradient(135deg, #f59e0b, var(--accent));
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
}

.portrait-frame {
  position: relative;
  width: min(380px, 82vw);
  aspect-ratio: 1;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  overflow: visible;
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: -18px;
  border: 1px dashed rgba(45, 212, 191, 0.34);
  border-radius: 34px;
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.stat,
.card,
.project-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 21, 29, 0.82);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.stat {
  padding: 18px;
}

.stat strong {
  display: block;
  color: var(--brand);
  font-size: 1.75rem;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 520px;
  color: var(--muted);
}

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

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

.card {
  padding: 22px;
}

.card i,
.project-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: #061019;
  background: linear-gradient(135deg, var(--brand), #fbbf24);
  font-size: 1.15rem;
}

.card p,
.project-card p {
  margin-top: 10px;
  color: var(--muted);
}

.progress {
  height: 9px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #fbbf24);
}

.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(30px, 6vw, 72px);
}

.about-photo {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  list-style: none;
}

.timeline li {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
  color: var(--muted);
}

.timeline i {
  color: var(--brand);
  margin-top: 4px;
}

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

.project-card {
  overflow: hidden;
  min-height: 100%;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.42);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
}

.portfolio-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 21, 29, 0.82);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.portfolio-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.portfolio-photo figcaption {
  min-height: 58px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.social-button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-button:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.44);
  background: rgba(45, 212, 191, 0.14);
}

.social-button i {
  color: var(--brand);
  font-size: 1.12rem;
}

.project-visual {
  position: relative;
  display: grid;
  min-height: 178px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.16), rgba(245, 158, 11, 0.12)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.project-visual::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.project-visual i {
  position: relative;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font-size: 2rem;
}

.project-body {
  display: flex;
  min-height: 292px;
  flex-direction: column;
  padding: 18px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: var(--radius);
  color: #d7fffa;
  background: rgba(45, 212, 191, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  padding-top: 4px;
  margin-top: auto;
}

.project-links .btn {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.88rem;
}

.resume-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 28px;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.badge {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(245, 158, 11, 0.1)),
    rgba(17, 21, 29, 0.72);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.2);
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.skill-pill {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #d7fffa;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-panel {
  padding: 26px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.contact-item span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-item i {
  color: var(--brand);
  font-size: 1.2rem;
}

.site-footer {
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: rgba(8, 10, 15, 0.74);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, 100%);
  margin: 0 auto;
  color: var(--muted);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
  color: #061019;
  background: var(--brand);
}

.featured-project,
.case-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(245, 158, 11, 0.08)),
    rgba(17, 21, 29, 0.86);
  box-shadow: var(--shadow);
}

.project-feature {
  margin-top: -28px;
}

.featured-copy p:not(.eyebrow),
.case-copy p:not(.eyebrow) {
  color: var(--muted);
  max-width: 680px;
}

.featured-visual,
.case-preview {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: #0b0d12;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  text-decoration: none;
}

.featured-visual img,
.case-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.featured-visual:hover img,
.case-preview:hover img {
  transform: scale(1.025);
}

.mini-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.mini-stack span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: var(--radius);
  color: #d7fffa;
  background: rgba(45, 212, 191, 0.09);
  font-size: 0.82rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.featured-card {
  border-color: rgba(45, 212, 191, 0.32);
}

.featured-video-section {
  background: linear-gradient(180deg, rgba(7, 18, 44, 0.96), rgba(5, 13, 26, 0.98));
}

.featured-video-card {
  display: grid;
  gap: clamp(22px, 2.5vw, 32px);
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 28px;
  background: rgba(9, 16, 36, 0.82);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(24px);
}

.featured-video-card .section-head {
  margin-bottom: 0;
}

.featured-video-card .section-head p {
  color: var(--muted);
}

.video-frame {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(16, 42, 92, 0.92), rgba(8, 14, 26, 0.92));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.video-hero {
  width: 100%;
  height: 100%;
  min-height: 320px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: none;
  background: #000;
}

.fade-up-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.fade-up-reveal.active-reveal {
  opacity: 1;
  transform: translateY(0);
}

.case-hero {
  min-height: calc(100vh - 180px);
}

.case-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.summary-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 21, 29, 0.82);
}

.summary-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.summary-card strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.25;
}

.highlight-card {
  min-height: 100%;
}

.clean-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  list-style: none;
  color: var(--muted);
}

.clean-list li {
  position: relative;
  padding-left: 24px;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

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

.workflow-step {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 21, 29, 0.82);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.workflow-step span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(45, 212, 191, 0.26);
  border-radius: var(--radius);
  color: var(--brand);
  background: rgba(45, 212, 191, 0.1);
  font-weight: 900;
}

.workflow-step p {
  margin-top: 10px;
  color: var(--muted);
}

.outcome-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(45, 212, 191, 0.26);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.13), rgba(244, 63, 94, 0.08)),
    rgba(17, 21, 29, 0.86);
  box-shadow: var(--shadow);
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: 18px;
    left: 18px;
    display: none;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(8, 10, 15, 0.97);
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: grid;
  }

  .nav-links a {
    justify-content: center;
  }

  .hero,
  .about-layout,
  .contact-layout,
  .resume-panel,
  .cta-panel,
  .featured-project,
  .case-hero,
  .outcome-panel {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: auto;
    order: -1;
  }

  .hero {
    min-height: auto;
    align-items: start;
    padding-top: 12px;
  }

  .grid,
  .grid.two,
  .projects-grid,
  .case-summary,
  .workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }

  .project-feature {
    margin-top: 0;
  }

  .case-hero {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
    padding: 12px 14px;
  }

  main {
    padding-top: 64px;
  }

  .logo {
    gap: 8px;
    letter-spacing: 0.04em;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .logo span:last-child {
    max-width: 150px;
    font-size: 0.82rem;
    line-height: 1.1;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
  }

  .nav-links {
    top: 62px;
    right: 14px;
    left: 14px;
  }

  .stats-strip,
  .grid,
  .grid.two,
  .projects-grid,
  .case-summary,
  .workflow {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .actions,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.1rem, 10.5vw, 3rem);
  }

  h2 {
    font-size: clamp(1.68rem, 8.2vw, 2.3rem);
  }

  h3 {
    font-size: 1rem;
  }

  .lead {
    margin-top: 16px;
    font-size: 1rem;
  }

  .section {
    padding: 42px 16px;
  }

  .section.compact {
    padding-top: 30px;
  }

  .hero {
    gap: 24px;
  }

  .hero-media {
    width: 100%;
  }

  .portrait-frame {
    width: min(300px, 76vw);
    padding: 9px;
    border-radius: 20px;
    overflow: hidden;
  }

  .portrait-frame::before {
    inset: 6px;
    border-radius: 17px;
  }

  .portrait-frame img {
    border-radius: 14px;
  }

  .stats-strip {
    margin-top: 24px;
  }

  .stat,
  .card,
  .project-body,
  .workflow-step,
  .summary-card,
  .contact-panel {
    padding: 16px;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 0.72rem;
    line-height: 1.25;
    letter-spacing: 0.04em;
  }

  .hero-actions,
  .actions {
    gap: 10px;
    margin-top: 22px;
  }

  .btn {
    min-height: 44px;
    padding: 10px 14px;
    line-height: 1.25;
  }

  .featured-project,
  .case-hero,
  .outcome-panel {
    padding: 16px;
    border-radius: 12px;
  }

  .featured-visual,
  .case-preview {
    border-radius: 10px;
  }

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

  .project-card img {
    aspect-ratio: 16 / 11;
  }

  .featured-visual img,
  .case-preview img {
    aspect-ratio: 16 / 10;
  }

  .mini-stack,
  .tags,
  .skill-cloud {
    gap: 7px;
  }

  .mini-stack span,
  .tag,
  .skill-pill {
    min-height: 28px;
    padding: 5px 8px;
    font-size: 0.75rem;
  }

  .project-links {
    margin-top: 18px;
  }

  .footer-inner {
    text-align: center;
  }

  .social-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-inline: 12px;
  }

  .logo span:last-child {
    max-width: 118px;
    font-size: 0.76rem;
  }

  .section {
    padding-inline: 12px;
  }

  h1 {
    font-size: clamp(1.9rem, 10vw, 2.45rem);
  }

  h2 {
    font-size: clamp(1.48rem, 8vw, 2rem);
  }

  .portrait-frame {
    width: min(260px, 74vw);
  }

  .featured-project,
  .case-hero,
  .outcome-panel,
  .card,
  .project-card,
  .contact-panel,
  .workflow-step,
  .summary-card {
    border-radius: 8px;
  }

  .featured-project,
  .case-hero,
  .outcome-panel {
    padding: 12px;
  }

  .featured-visual img,
  .case-preview img,
  .project-card img {
    aspect-ratio: 4 / 3;
  }
}
