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

:root {
  --bg: #160f0c;
  --surface: #211512;
  --surface-soft: #2d1d18;
  --text: #fff8f1;
  --muted: #c9b8ad;
  --line: rgba(255, 244, 235, 0.14);
  --light-bg: #f3e7da;
  --light-text: #2d1a13;
  --light-muted: #70594d;
  --accent: #b54b2e;
  --accent-two: #e09a62;
  --container: 1180px;
  --radius-large: 34px;
  --radius-medium: 24px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 150px 0;
}

.section-light {
  background: var(--light-bg);
  color: var(--light-text);
}

.section-number,
.eyebrow,
.project-index,
.mock-label {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
}

/* ------------------------------
   Progress and navigation
------------------------------ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-two));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition:
    background 300ms ease,
    border-color 300ms ease,
    backdrop-filter 300ms ease;
}

.site-header.scrolled {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(20px);
}

.navbar {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
}

.logo {
  position: relative;
  z-index: 1001;
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a {
  transition:
    color 200ms ease,
    transform 200ms ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
}

.nav-cta:hover {
  transform: translateY(-2px);
}

.menu-button {
  position: relative;
  z-index: 1001;
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  left: 10px;
  width: 22px;
  height: 1px;
  background: #fff;
  transition:
    transform 250ms ease,
    top 250ms ease;
}

.menu-button span:first-child {
  top: 16px;
}

.menu-button span:last-child {
  top: 25px;
}

.menu-button.active span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

.menu-button.active span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

/* ------------------------------
   Hero
------------------------------ */

.hero {
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 110px;
}

.hero-background,
.grid-overlay {
  position: absolute;
  inset: 0;
}

.hero-background {
  pointer-events: none;
}

.grid-overlay {
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.34;
}

.orb-one {
  top: 12%;
  left: 11%;
  width: 420px;
  height: 420px;
  background: #a9442b;
  animation: float-one 14s ease-in-out infinite alternate;
}

.orb-two {
  right: 8%;
  bottom: 8%;
  width: 500px;
  height: 500px;
  background: #d28a56;
  animation: float-two 17s ease-in-out infinite alternate;
}

@keyframes float-one {
  to {
    transform: translate(110px, 80px) scale(1.15);
  }
}

@keyframes float-two {
  to {
    transform: translate(-120px, -70px) scale(0.92);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.eyebrow {
  margin-bottom: 30px;
  color: #efb58a;
}

.hero-title {
  max-width: 1100px;
  margin: 0 auto;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.5rem, 8.2vw, 7.8rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.96;
}

.hero-title span {
  display: block;
  margin-top: 12px;
  color: transparent;
  background:
    linear-gradient(100deg, #fff8f1 10%, #efb07e 52%, #b54b2e 92%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-description {
  max-width: 720px;
  margin: 38px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 23px;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: #fff;
  color: #111;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.12);
}

.button-primary:hover {
  box-shadow: 0 14px 40px rgba(255, 255, 255, 0.2);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  color: #c6c6cb;
  font-size: 0.92rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #71dd9c;
  box-shadow: 0 0 18px rgba(113, 221, 156, 0.8);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, #fff, transparent);
  animation: scroll-pulse 1.8s ease-in-out infinite;
}

@keyframes scroll-pulse {
  50% {
    transform: scaleY(0.55);
    transform-origin: top;
    opacity: 0.4;
  }
}

/* ------------------------------
   Section headings
------------------------------ */

.section-heading {
  display: flex;
  gap: 34px;
  align-items: flex-start;
}

.section-number {
  padding-top: 12px;
  color: #7c7c84;
}

.section-heading h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 1;
  letter-spacing: -0.065em;
}

.section-heading-wide {
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 75px;
}

.section-heading-wide > div {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.section-heading-wide > p {
  max-width: 410px;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-light .section-heading-wide > p {
  color: var(--light-muted);
}

/* ------------------------------
   About
------------------------------ */

.about-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 100px;
}

.about-copy {
  max-width: 670px;
}

.about-copy > p {
  margin-bottom: 26px;
  color: var(--light-muted);
  font-size: 1.07rem;
}

.about-copy .large-copy {
  color: var(--light-text);
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 55px;
}

.stat-card {
  min-height: 160px;
  padding: 24px;
  border: 1px solid rgba(17, 17, 20, 0.09);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.6);
}

.stat-card strong {
  display: block;
  margin-bottom: 28px;
  font-family: "Manrope", sans-serif;
  font-size: 2.1rem;
  letter-spacing: -0.05em;
}

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


.personal-about-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: 85px;
  align-items: center;
}

.about-photo-wrap {
  position: relative;
}

.about-photo-wrap::before {
  content: "";
  position: absolute;
  inset: 24px -22px -24px 22px;
  border: 1px solid rgba(181, 75, 46, 0.35);
  border-radius: 34px;
}

.about-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 46% center;
  border-radius: 34px;
  box-shadow: 0 30px 70px rgba(75, 36, 23, 0.22);
}

.personal-about-copy .large-copy {
  margin-bottom: 30px;
  color: var(--light-text);
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.personal-about-copy > p:not(.large-copy) {
  margin-bottom: 22px;
  color: var(--light-muted);
  font-size: 1.06rem;
}

.interest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.interest-list span {
  padding: 9px 14px;
  border: 1px solid rgba(181, 75, 46, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  color: #6d3325;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ------------------------------
   Projects
------------------------------ */

.projects {
  background: #1a100d;
}

.project-list {
  display: grid;
  gap: 90px;
}

.project-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 680px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.project-card-reverse {
  grid-template-columns: 0.8fr 1.2fr;
}

.project-card-reverse .project-visual {
  order: 2;
}

.project-card-reverse .project-info {
  order: 1;
}

.project-visual {
  position: relative;
  display: grid;
  min-height: 560px;
  place-items: center;
  overflow: hidden;
  padding: 50px;
}

.balance-visual {
  background:
    radial-gradient(circle at 22% 15%, rgba(74, 108, 255, 0.8), transparent 36%),
    linear-gradient(140deg, #1c2142, #6d3faf);
}

.compass-visual {
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 156, 78, 0.85), transparent 34%),
    linear-gradient(145deg, #312a56, #bd5d87);
}

.mock-window {
  width: min(100%, 620px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  background: rgba(13, 13, 18, 0.74);
  box-shadow: 0 35px 75px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px);
  transform: rotate(-3deg);
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card:hover .mock-window {
  transform: rotate(0deg) translateY(-10px);
}

.mock-toolbar {
  display: flex;
  gap: 7px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mock-toolbar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
}

.mock-content {
  padding: 60px 48px;
}

.mock-content .mock-label,
.phone-screen .mock-label {
  color: rgba(255, 255, 255, 0.55);
}

.mock-content h3,
.phone-screen h3 {
  margin-top: 14px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.mock-content p:not(.mock-label) {
  max-width: 440px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.mock-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.mock-chip-row span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
}

.phone-frame {
  width: min(330px, 80%);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 48px;
  background: #09090b;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.35);
  transform: rotate(4deg);
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card:hover .phone-frame {
  transform: rotate(0deg) translateY(-10px);
}

.phone-camera {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 2;
  width: 85px;
  height: 23px;
  border-radius: 999px;
  background: #050505;
  transform: translateX(-50%);
}

.phone-screen {
  min-height: 610px;
  padding: 74px 24px 30px;
  border-radius: 39px;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04), transparent),
    #17151f;
}

.phone-screen h3 {
  margin-bottom: 60px;
  font-size: 2.8rem;
}

.activity-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.activity-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.activity-card strong,
.activity-card small {
  display: block;
}

.activity-card strong {
  font-size: 0.88rem;
}

.activity-card small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.52);
}

.project-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px;
}

.project-index {
  color: var(--accent);
}

.project-info h3 {
  margin: 22px 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.065em;
}

.project-info > p:not(.project-index) {
  color: var(--muted);
  font-size: 1.02rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.tag-list span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #cfcfd4;
  font-size: 0.8rem;
}

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

.project-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  font-weight: 600;
  transition:
    gap 200ms ease,
    border-color 200ms ease;
}

.project-links a:hover {
  gap: 13px;
  border-color: #fff;
}


.locker-visual {
  background:
    radial-gradient(circle at 20% 18%, rgba(47, 219, 162, 0.72), transparent 34%),
    linear-gradient(145deg, #10231f, #173f4b);
}

.locker-terminal {
  width: min(100%, 620px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(5, 12, 13, 0.88);
  box-shadow: 0 35px 75px rgba(0, 0, 0, 0.35);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  transform: rotate(2deg);
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card:hover .locker-terminal {
  transform: rotate(0deg) translateY(-10px);
}

.locker-terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.locker-terminal-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.locker-terminal-bar p {
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

.locker-terminal-content {
  padding: 46px 42px 54px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.78rem, 1.5vw, 1rem);
  line-height: 2;
}

.terminal-prompt,
.terminal-success {
  color: #72e6b4;
}

.terminal-title {
  margin: 14px 0 18px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ------------------------------
   Skills
------------------------------ */

.skills-grid {
  border-top: 1px solid rgba(17, 17, 20, 0.12);
}

.skill-group {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 45px;
  padding: 42px 0;
  border-bottom: 1px solid rgba(17, 17, 20, 0.12);
}

.skill-group p {
  color: var(--light-muted);
}

.skill-group h3 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

/* ------------------------------
   Contact
------------------------------ */

.contact {
  overflow: hidden;
  min-height: 780px;
  display: grid;
  place-items: center;
  text-align: center;
}

.contact-glow {
  position: absolute;
  left: 50%;
  bottom: -260px;
  width: 900px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 75, 46, 0.42), transparent 64%);
  transform: translateX(-50%);
  filter: blur(40px);
}

.contact-content {
  position: relative;
  z-index: 1;
}

.contact-content .section-number {
  margin-bottom: 30px;
}

.contact h2 {
  max-width: 980px;
  margin: 0 auto;
  font-family: "Manrope", sans-serif;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.contact h2 span {
  display: block;
  color: transparent;
  background: linear-gradient(95deg, #f2c09b, #b54b2e);
  background-clip: text;
  -webkit-background-clip: text;
}

.contact-content > p:not(.section-number) {
  max-width: 600px;
  margin: 36px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 600;
  transition:
    gap 200ms ease,
    border-color 200ms ease;
}

.email-link:hover {
  gap: 18px;
  border-color: #fff;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 45px;
  color: var(--muted);
}

.social-links a:hover {
  color: #fff;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-content {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-content a:hover {
  color: #fff;
}

/* ------------------------------
   Reveal animations
------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity 900ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------
   Responsive
------------------------------ */

@media (max-width: 980px) {
  .personal-about-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .about-photo-wrap {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .section {
    padding: 110px 0;
  }

  .about-grid,
  .project-card,
  .project-card-reverse {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 60px;
  }

  .project-card-reverse .project-visual,
  .project-card-reverse .project-info {
    order: initial;
  }

  .project-info {
    padding: 55px 45px;
  }

  .section-heading-wide {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }

  .section-heading-wide > p {
    max-width: 600px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    background: rgba(5, 5, 5, 0.98);
    font-size: 1.7rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition:
      opacity 250ms ease,
      transform 250ms ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-cta {
    margin-top: 10px;
    font-size: 1rem;
  }

  .hero-title {
    font-size: clamp(3.2rem, 16vw, 5.4rem);
  }

  .hero-description {
    margin-top: 28px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 340px);
    margin-inline: auto;
    margin-top: 34px;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading,
  .section-heading-wide > div {
    flex-direction: column;
    gap: 12px;
  }

  .section-number {
    padding-top: 0;
  }

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

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

  .stat-card strong {
    margin-bottom: 10px;
  }

  .project-list {
    gap: 55px;
  }

  .project-card {
    min-height: auto;
    border-radius: 26px;
  }

  .project-visual {
    min-height: 480px;
    padding: 26px;
  }

  .project-info {
    padding: 42px 28px;
  }

  .mock-content {
    padding: 42px 28px;
  }

  .phone-frame {
    width: min(315px, 92%);
  }

  .skill-group {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 32px 0;
  }

  .contact {
    min-height: 690px;
  }

  .contact h2 {
    font-size: clamp(3.4rem, 16vw, 5.5rem);
  }

  .email-link {
    font-size: 1rem;
  }

  .social-links {
    flex-wrap: wrap;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
