:root {
  --bg: #07090b;
  --bg-soft: #111417;
  --panel: #12161a;
  --panel-strong: #171c20;
  --card: #11151a;
  --primary: #f8f5f2;
  --secondary: #d9d3ce;
  --muted: #a9a29c;
  --accent: #ffb15e;
  --accent-strong: #ff8a3d;
  --accent-soft: rgba(255, 177, 94, 0.14);
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--primary);
  background:
    radial-gradient(circle at top left, rgba(255, 177, 94, 0.15), transparent 24%),
    radial-gradient(circle at bottom right, rgba(255, 138, 61, 0.12), transparent 20%),
    linear-gradient(180deg, #07090b 0%, #0d1013 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  max-width: 1220px;
  margin: 0 auto;
  padding: 26px 38px 28px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 18, 20, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #101010;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(255, 138, 61, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--primary);
}

.brand-role {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
}

.main-nav a {
  position: relative;
  color: var(--secondary);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.main-content {
  padding-top: 24px;
}

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.3fr;
  align-items: center;
  gap: 50px;
  padding: 30px 0 18px;
}

.hero-photo-wrap {
  position: relative;
  width: min(100%, 500px);
  justify-self: center;
}

.hero-photo-wrap::before {
  content: "";
  position: absolute;
  inset: 14px 10px 10px 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 177, 94, 0.22), rgba(255, 138, 61, 0.08));
  filter: blur(10px);
  z-index: -1;
}

.hero-photo-wrap img {
  width: min(100%, 420px);
  height: 420px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.025), var(--shadow);
  display: block;
  margin: 0 auto;
  filter: saturate(1.08) contrast(1.02) brightness(1.04);
  transform: scale(1.02);
}

.hero-text {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 10px;
  font-family: "Montserrat", "Poppins", sans-serif;
  font-size: clamp(7.2rem, 5vw, 6rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0.05em;
  color: var(--accent);
  text-transform: uppercase;
}

.hero-text h1 {
  margin: 0 0 18px;
  font-family: "Montserrat", "Poppins", sans-serif;
  font-size: clamp(1.4rem, 2vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
}

.intro {
  margin: 0;
  max-width: 600px;
  color: rgba(248, 245, 242, 0.8);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.45;
  font-weight: 500;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(255, 105, 4, 0.412);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #17120d;
  box-shadow: 0 18px 32px rgba(255, 138, 61, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, #ffc57d 0%, #ff9d4d 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.871), 0 20px 38px rgba(255, 138, 61, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--primary);
  border: 1px solid var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 177, 94, 0.1);
  border-color: rgba(255, 177, 94, 0.32);
  color: #ffd6a8;
}

.btn-tertiary {
  background: rgba(255, 177, 94, 0.1);
  color: var(--primary);
  border: 1px solid rgba(255, 177, 94, 0.3);
}

.btn-tertiary:hover,
.btn-tertiary:focus-visible {
  background: linear-gradient(135deg, rgba(255, 177, 94, 0.18), rgba(255, 138, 61, 0.12));
  border-color: rgba(255, 177, 94, 0.5);
  color: #ffd9af;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.info-card {
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-soft);
}

.label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-card a {
  font-size: 1rem;
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.projects-section {
  padding-top: 90px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 2.6vw, 3rem);
  letter-spacing: -0.05em;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.project-card {
  background: #111315;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.28s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 177, 94, 0.48);
  box-shadow: 0 0 0 1px rgba(255, 177, 94, 0.18), 0 0 18px rgba(255, 177, 94, 0.22), 0 22px 55px rgba(0, 0, 0, 0.28);
}

.project-thumb {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.project-one {
  background-image: url('assets/Screenshot 2026-08-14 152016.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.project-two {
  background-image: url('assets/Screenshot 2026-08-14 151307.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.project-three {
  background: linear-gradient(135deg, #a7865d, #f0dcc0);
}

.project-content {
  padding: 22px 20px 24px;
}

.project-content h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  color: var(--primary);
}

.project-content p {
  margin: 0 0 16px;
  color: rgba(248, 245, 242, 0.74);
  line-height: 1.75;
}

.project-content span {
  display: inline-block;
  background: rgba(255, 177, 94, 0.1);
  color: var(--accent);
  border: 1px solid rgba(255, 177, 94, 0.22);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer {
  margin-top: 90px;
  padding: 30px 0 4px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 120px;
  padding: 22px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.footer-label {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.footer-column a,
.footer-column span {
  color: var(--primary);
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.social-badge {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 177, 94, 0.1);
  border: 1px solid rgba(255, 177, 94, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-badge:hover,
.social-badge:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 177, 94, 0.18);
}

.social-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
}

.footer-brand {
  justify-content: center;
}

.brand-signature {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.projects-page {
  background:
    radial-gradient(circle at top left, rgba(255, 177, 94, 0.12), transparent 18%),
    linear-gradient(180deg, #07090b 0%, #0d1013 100%);
}

.projects-wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 30px 22px 40px;
}

.projects-panel {
  background: rgba(15, 18, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
  padding: 38px 28px 18px;
}

.projects-topbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 18px;
}

.projects-title {
  margin: 0;
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: #f7d5a4;
}

.projects-subtitle {
  margin: 8px 0 0;
  color: rgba(248, 245, 242, 0.7);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card.page-project-card {
  background: rgba(17, 19, 21, 0.9);
  border-color: rgba(255, 255, 255, 0.08);
}

.project-card.page-project-card:hover {
  border-color: rgba(255, 177, 94, 0.48);
}

.page-project-card .project-content h3 {
  font-size: 1.45rem;
}

.page-project-card .project-content p {
  font-size: 0.98rem;
}

.page-project-card .project-content span {
  margin-top: 8px;
}

.project-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #17120d;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-link-btn:hover,
.project-link-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(255, 138, 61, 0.28);
}

.resume-page {
  background:
    radial-gradient(circle at top left, rgba(255, 177, 94, 0.12), transparent 18%),
    linear-gradient(180deg, #07090b 0%, #0d1013 100%);
}

.resume-wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 30px 22px 40px;
}

.resume-panel {
  background: rgba(15, 18, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
  padding: 42px 50px 48px;
}

.resume-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 18px;
}

.resume-intro h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: #f7d5a4;
  font-weight: 700;
}

.resume-headline {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d9a66a;
  margin-bottom: 6px;
}

.resume-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  color: rgba(248, 245, 242, 0.82);
  font-size: 0.95rem;
}

.resume-contact span,
.resume-contact a {
  color: rgba(248, 245, 242, 0.8);
}

.resume-grid {
  padding-top: 24px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
}

.resume-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.resume-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.resume-section h2 {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f2c98a;
  font-weight: 700;
}

.resume-section p,
.resume-section li,
.resume-section span {
  color: rgba(248, 245, 242, 0.8);
  font-size: 1rem;
  line-height: 1.7;
}

.resume-entry {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.resume-entry h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
}

.resume-entry .meta {
  margin-top: 4px;
  color: rgba(248, 245, 242, 0.7);
}

.resume-year {
  white-space: nowrap;
  color: #f4cb8a;
  font-size: 0.9rem;
  padding-top: 2px;
}

.project-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f1d39d;
  font-weight: 600;
}

.project-title .arrow {
  font-size: 1.25rem;
}

.skills-list {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 18px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-photo-wrap {
    width: min(100%, 520px);
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .info-strip,
  .footer-grid,
  .resume-grid {
    grid-template-columns: 1fr;
  }

  .resume-intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .resume-contact {
    justify-content: flex-start;
  }
}

@media (max-width: 1024px) {
  .page-shell,
  .projects-wrap,
  .resume-wrap {
    padding: 20px 24px;
  }

  .site-header {
    padding: 14px 18px;
    gap: 16px;
  }

  .main-nav {
    gap: 20px;
    font-size: 0.88rem;
  }

  .hero {
    gap: 32px;
  }

  .eyebrow {
    font-size: clamp(4rem, 8vw, 6rem);
  }

  .intro {
    font-size: clamp(1.2rem, 3vw, 2rem);
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resume-panel {
    padding: 32px 24px;
  }

  .resume-intro h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }

  .resume-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-shell,
  .projects-wrap,
  .resume-wrap {
    padding: 16px 18px;
  }

  .site-header {
    top: 10px;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
    gap: 12px;
  }

  .main-nav {
    width: 100%;
    gap: 12px;
    font-size: 0.85rem;
    flex-wrap: wrap;
  }

  .main-nav a {
    flex: 1;
    min-width: 80px;
    text-align: center;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-role {
    font-size: 0.65rem;
  }

  .main-content {
    padding-top: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px 0 12px;
  }

  .hero-photo-wrap {
    width: min(100%, 380px);
  }

  .hero-photo-wrap img {
    width: min(100%, 360px);
    height: 360px;
  }

  .eyebrow {
    font-size: clamp(3.5rem, 10vw, 5.5rem);
    margin-bottom: 8px;
  }

  .hero-text h1 {
    font-size: clamp(1.2rem, 4vw, 2rem);
    margin-bottom: 12px;
  }

  .intro {
    font-size: clamp(1.1rem, 3.5vw, 1.8rem);
    line-height: 1.4;
  }

  .cta-group {
    gap: 12px;
    margin-top: 20px;
  }

  .btn {
    min-height: 44px;
    padding: 0 20px;
    font-size: 0.95rem;
  }

  .info-strip {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 18px;
  }

  .info-card {
    padding: 16px 14px;
  }

  .label {
    font-size: 0.68rem;
    margin-bottom: 6px;
  }

  .info-card a {
    font-size: 0.95rem;
  }

  .projects-section {
    padding-top: 60px;
  }

  .section-heading h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-thumb {
    height: 180px;
  }

  .project-content {
    padding: 18px 16px 20px;
  }

  .project-content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
  }

  .project-content p {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }

  .site-footer {
    margin-top: 60px;
    padding: 20px 0 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-column {
    min-height: auto;
    padding: 16px 12px;
    border-radius: 14px;
  }

  .footer-label {
    font-size: 0.68rem;
  }

  .footer-column a {
    font-size: 0.95rem;
  }

  .projects-wrap {
    padding: 20px 16px;
  }

  .projects-panel {
    padding: 24px 18px 14px;
    border-radius: 22px;
  }

  .projects-topbar {
    margin-bottom: 20px;
    padding-bottom: 14px;
  }

  .projects-title {
    font-size: clamp(1.8rem, 6vw, 3rem);
  }

  .projects-subtitle {
    font-size: 0.7rem;
    margin-bottom: 4px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-project-card .project-content h3 {
    font-size: 1.3rem;
  }

  .page-project-card .project-content p {
    font-size: 0.93rem;
  }

  .project-link-btn {
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.9rem;
    margin-top: 14px;
  }

  .resume-wrap {
    padding: 20px 16px;
  }

  .resume-panel {
    padding: 24px 16px 28px;
    border-radius: 22px;
  }

  .resume-intro {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 14px;
    gap: 12px;
  }

  .resume-intro h1 {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }

  .resume-headline {
    font-size: 0.85rem;
  }

  .resume-contact {
    justify-content: flex-start;
    font-size: 0.9rem;
    flex-direction: column;
    gap: 8px;
  }

  .resume-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 16px;
  }

  .resume-section h2 {
    font-size: 0.85rem;
  }

  .resume-section p,
  .resume-section li,
  .resume-section span {
    font-size: 0.95rem;
  }

  .resume-entry {
    gap: 12px;
  }

  .resume-entry h3 {
    font-size: 1rem;
  }

  .skills-list {
    grid-template-columns: 1fr;
    gap: 4px 12px;
  }
}

@media (max-width: 640px) {
  .page-shell,
  .projects-wrap,
  .resume-wrap {
    padding: 12px 14px;
  }

  .site-header {
    top: 8px;
    padding: 10px 12px;
    gap: 8px;
  }

  .brand-wrap {
    gap: 8px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-role {
    font-size: 0.6rem;
  }

  .main-nav {
    width: 100%;
    gap: 8px;
    font-size: 0.8rem;
  }

  .main-nav a {
    padding: 6px 10px;
    min-width: 60px;
  }

  .hero-photo-wrap {
    width: min(100%, 280px);
  }

  .hero-photo-wrap img {
    width: min(100%, 260px);
    height: 260px;
  }

  .eyebrow {
    font-size: clamp(2.5rem, 12vw, 4rem);
    line-height: 0.85;
    margin-bottom: 6px;
  }

  .hero-text h1 {
    font-size: clamp(1rem, 3.5vw, 1.6rem);
    margin-bottom: 10px;
  }

  .intro {
    font-size: clamp(1rem, 3vw, 1.5rem);
    line-height: 1.35;
  }

  .cta-group {
    gap: 10px;
    margin-top: 16px;
  }

  .btn {
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.88rem;
  }

  .btn-primary {
    box-shadow: 0 12px 24px rgba(255, 138, 61, 0.22);
  }

  .info-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
  }

  .info-card {
    padding: 14px 12px;
  }

  .label {
    font-size: 0.65rem;
    margin-bottom: 4px;
  }

  .info-card a {
    font-size: 0.9rem;
  }

  .projects-section {
    padding-top: 40px;
  }

  .section-heading {
    margin-bottom: 16px;
  }

  .section-heading h2 {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-thumb {
    height: 150px;
  }

  .project-content {
    padding: 14px 12px 16px;
  }

  .project-content h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
  }

  .project-content p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.6;
  }

  .project-content span {
    font-size: 0.65rem;
    padding: 5px 10px;
  }

  .site-footer {
    margin-top: 40px;
    padding: 16px 0 4px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-column {
    padding: 12px 10px;
    min-height: auto;
    border-radius: 12px;
  }

  .footer-label {
    font-size: 0.63rem;
    margin-bottom: 4px;
  }

  .footer-column a {
    font-size: 0.9rem;
  }

  .footer-social {
    gap: 8px;
  }

  .social-badge {
    width: 34px;
    height: 34px;
  }

  .brand-signature {
    font-size: 1rem;
  }

  .projects-panel {
    padding: 18px 12px 12px;
    border-radius: 18px;
  }

  .projects-topbar {
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  .projects-title {
    font-size: clamp(1.4rem, 7vw, 2.4rem);
  }

  .projects-subtitle {
    font-size: 0.65rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-thumb {
    height: 140px;
  }

  .page-project-card .project-content h3 {
    font-size: 1.1rem;
  }

  .page-project-card .project-content p {
    font-size: 0.9rem;
  }

  .project-link-btn {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.85rem;
    margin-top: 12px;
  }

  .resume-panel {
    padding: 18px 12px 20px;
    border-radius: 18px;
  }

  .resume-intro {
    padding-bottom: 12px;
    gap: 8px;
  }

  .resume-intro h1 {
    font-size: clamp(1.4rem, 7vw, 2.4rem);
  }

  .resume-headline {
    font-size: 0.8rem;
  }

  .resume-contact {
    font-size: 0.85rem;
    gap: 6px;
  }

  .resume-grid {
    gap: 16px;
    padding-top: 12px;
  }

  .resume-section h2 {
    font-size: 0.8rem;
  }

  .resume-section p,
  .resume-section li,
  .resume-section span {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .resume-entry {
    gap: 10px;
  }

  .resume-entry h3 {
    font-size: 0.95rem;
  }

  .resume-year {
    font-size: 0.85rem;
  }

  .skills-list {
    gap: 3px 10px;
    padding-left: 16px;
  }
}

@media (max-width: 480px) {
  .page-shell,
  .projects-wrap,
  .resume-wrap {
    padding: 10px 12px;
  }

  .site-header {
    padding: 8px 10px;
    gap: 6px;
  }

  .brand-wrap {
    gap: 6px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .main-nav {
    gap: 6px;
    font-size: 0.75rem;
  }

  .main-nav a {
    padding: 4px 8px;
    min-width: 50px;
    font-size: 0.75rem;
  }

  .hero-photo-wrap {
    width: min(100%, 220px);
  }

  .hero-photo-wrap img {
    width: min(100%, 200px);
    height: 200px;
  }

  .eyebrow {
    font-size: clamp(2rem, 13vw, 3.2rem);
    margin-bottom: 4px;
  }

  .hero-text h1 {
    font-size: clamp(0.9rem, 3vw, 1.4rem);
    margin-bottom: 8px;
  }

  .intro {
    font-size: clamp(0.95rem, 2.5vw, 1.3rem);
    line-height: 1.3;
  }

  .cta-group {
    gap: 8px;
    margin-top: 12px;
  }

  .btn {
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.8rem;
  }

  .info-strip {
    gap: 10px;
    margin-top: 10px;
  }

  .info-card {
    padding: 10px 8px;
  }

  .label {
    font-size: 0.6rem;
    margin-bottom: 2px;
  }

  .info-card a {
    font-size: 0.85rem;
  }

  .projects-section {
    padding-top: 28px;
  }

  .project-thumb {
    height: 120px;
  }

  .project-content {
    padding: 10px 8px 12px;
  }

  .project-content h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }

  .project-content p {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }

  .site-footer {
    margin-top: 30px;
    padding: 12px 0;
  }

  .footer-column {
    padding: 10px 8px;
  }

  .footer-label {
    font-size: 0.6rem;
  }

  .footer-column a {
    font-size: 0.85rem;
  }

  .projects-panel {
    padding: 14px 10px;
  }

  .projects-title {
    font-size: clamp(1.2rem, 8vw, 2rem);
  }

  .projects-subtitle {
    font-size: 0.6rem;
  }

  .page-project-card .project-content h3 {
    font-size: 1rem;
  }

  .project-link-btn {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.8rem;
    margin-top: 10px;
  }

  .resume-panel {
    padding: 14px 10px 16px;
  }

  .resume-intro h1 {
    font-size: clamp(1.2rem, 8vw, 2rem);
  }

  .resume-headline {
    font-size: 0.75rem;
  }

  .resume-contact {
    font-size: 0.8rem;
  }

  .resume-grid {
    gap: 14px;
  }

  .resume-section h2 {
    font-size: 0.75rem;
  }

  .resume-section p,
  .resume-section li,
  .resume-section span {
    font-size: 0.85rem;
  }

  .resume-entry h3 {
    font-size: 0.9rem;
  }

  .skills-list {
    padding-left: 14px;
    gap: 2px 8px;
  }
}
