/*--------------------------------------------------------------
# Google Fonts
--------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Pacifico&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');

/*--------------------------------------------------------------
# Global Variables
--------------------------------------------------------------*/

:root {
  --cream: #F4E4D6;
  --purple: #481b43;
  --pink: #dc527b;
  --ink: #41163d;
  --split: 55%;
  --default-font: 'DM Sans', Arial, sans-serif;
  --hero-font: 'Nunito', Arial, sans-serif;
  --nav-font: 'Nunito', Arial, sans-serif;
  --logo-font: 'Pacifico', cursive;
}

/*--------------------------------------------------------------
# General Styling
--------------------------------------------------------------*/

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--default-font);
  color: var(--ink);
  background: var(--cream);
}

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

/*--------------------------------------------------------------
# Header / Navigation
--------------------------------------------------------------*/

.nav {
  height: 88px;
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  background: none;
}

/*Website Logo*/

.logo {
  font-family: var(--logo-font);
  font-size: clamp(24px, 2.1vw, 34px);
  margin-left: 7vw;
  width: max-content;
}

/*Navigation Links*/

.nav nav {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: clamp(8px, 1.2vw, 20px);
  padding: 0 2vw;
  color: var(--cream);
  font-family: var(--nav-font);
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: lowercase;
}

.nav nav a {
  position: relative;
  padding: 10px 0;
}

/*Active Navigation / Hover Effect*/

.nav nav a.active::after,
.nav nav a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 4px;
  background: var(--pink);
}

/*--------------------------------------------------------------
# Hero Wrapper
--------------------------------------------------------------*/

.hero-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--cream);
  padding-bottom: clamp(70px, 8vw, 130px);
}

/*--------------------------------------------------------------
# Purple Background Wave
--------------------------------------------------------------*/

.hero-wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  align-items: center;
  min-height: clamp(580px, 43vw, 800px);
  background: none;
  overflow: visible;
}

/*--------------------------------------------------------------
# Hero Introduction
--------------------------------------------------------------*/

.intro {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  margin-left: 7vw;
  padding: 35px 20px 45px 0;
  min-width: 0;
  width: auto;
  font-family: var(--hero-font);
  text-align: left;
}

/* Greeting */

.hero-greeting {
  display: block;

  font-family: var(--logo-font);
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 400;

  letter-spacing: 0;
  text-transform: none;

  color: var(--page-text);

  margin-bottom: 24px;
}

/*First Name*/

.intro h1 {
  font-family: var(--hero-font);
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -2px;
  color: var(--purple);
  margin: 0 0 30px;
}

/*Last Name*/

.intro h1 span {
  display: block;
  color: var(--pink);
  margin-top: 4px;
}

/*Professional Title*/

.intro h2 {
  font-family: var(--hero-font);
  font-size: clamp(20px, 1.8vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--purple);
  margin: 0;
}

/*Decorative Pink Line*/

.accent {
  width: clamp(65px, 7vw, 125px);
  height: 7px;
  background: var(--pink);
  border-radius: 10px;
  margin: 28px 0 24px;
}

/*Hero Tagline*/

.intro .hero-tagline {
  font-family: var(--hero-font);
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--purple);
  margin: 0 0 18px;
}

/*Hero Description*/

.intro .hero-description {
  font-family: var(--hero-font);
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--purple);
  max-width: 490px;
  margin: 0;
}

/*--------------------------------------------------------------
# Scroll Indicator
--------------------------------------------------------------*/

.scroll-indicator {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 35px;
  color: var(--purple);
  font-family: var(--hero-font);
  font-size: clamp(11px, 1.1vw, 17px);
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.scroll-indicator svg {
  width: 30px;
  height: 42px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.scroll-indicator:hover {
  color: var(--pink);
}

.scroll-indicator:hover svg {
  transform: translateY(5px);
}

/*--------------------------------------------------------------
# Workspace Illustration
--------------------------------------------------------------*/

.art {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  pointer-events: none;
}

.art img,
.art #workspace {
  position: relative;
  width: 75%;
  max-width: 700px;
  height: auto;
  left: -6%;
  display: block;
}

/*--------------------------------------------------------------
# General Content Sections
--------------------------------------------------------------*/

.content {
  padding: 85px 10vw;
  min-height: 35vh;
}

.content:nth-child(odd) {
  background: #f4e4d6;
}

.content h2 {
  font-size: 36px;
  margin: 0 0 16px;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

.about {
  --about-text: #461b46;
  --about-accent: #bc275b;
  --about-tag-bg: #e9cbd8;
  --about-button: #461b46;
  --about-button-text: #ffffff;
  background: transparent;
  color: var(--about-text);
  padding: 110px 24px;
}

.about-container {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: center;
  gap: 65px;
}

/*Profile Picture*/

.about-image {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.about-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 35px;
}

/*Uniform Section Labels*/

.about-label,
.projects-label {
  display: block;
  color: var(--pink);
  font-family: var(--hero-font);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.about-content h2 {
  color: var(--about-text);
  font-family: inherit;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 24px;
}

.about-content h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 5px;
  background-color: var(--pink);
  border-radius: 10px;
  margin-top: 20px;
}

/*About Description*/

.about-content p {
  color: var(--about-text);
  font-size: 17px;
  line-height: 1.8;
  margin: 0 0 16px;
}

/*Technology Tags*/

.about-skills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 28px 0;
}

.about .skill-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--about-tag-bg);
  color: var(--about-text);
  padding: 10px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.about .skill-tag i {
  font-size: 18px;
  color: inherit;
}

/*Resume Button*/

.about-resume {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 13px 27px;
  background: var(--about-button);
  color: var(--about-button-text);
  border-radius: 30px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.25s ease,
              transform 0.25s ease;
}

.about-resume:hover {
  background: #873767;
  color: #ffffff;
  transform: translateY(-2px);
}

.about-resume span {
  font-size: 20px;
}

/*=====================================
   MOBILE RESPONSIVENESS
=====================================*/

@media (max-width: 768px) {
  .about {
    padding: 70px 24px;
  }
  .about-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .about-image {
    max-width: 260px;
  }
  .about-content h2 {
    font-size: 32px;
  }
  .about-content p {
    font-size: 16px;
  }
  .about-skills {
    justify-content: center;
  }
}

/*About Section - Dark Mode*/

body.dark-mode .about,
[data-theme="dark"] .about {
  --about-text: #f2e3d5;
  --about-accent: #d99ab8;
  --about-tag-bg: #432c40;
  --about-button: #ad6089;
  --about-button-text: #ffffff;
}

/*=====================================
   PROJECTS SECTION
=====================================*/

.projects-section {
  background-color: var(--cream);
  color: var(--ink);
  padding: 100px 0;
}

.projects-container {
  width: 88%;
  max-width: 1300px;
  margin: 0 auto;
}

/*=====================================
   PROJECTS HEADING
=====================================*/

.projects-heading {
  display: flex;
  align-items: center;
  gap: 45px;
  margin-bottom: 50px;
}

.projects-heading-title {
  flex-shrink: 0;
}

.projects-label {
  display: block;
  color: #dc4b7b;
  font-family: 'Nunito', sans-serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.projects-heading h2 {
  color: #461b46;
  font-family: var(--default-font);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.projects-line {
  width: 90px;
  height: 5px;
  background-color: var(--pink);
  border-radius: 10px;
  margin-top: 22px;
}

.projects-heading > p {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  max-width: 650px;
  margin: 0;
  padding-left: 35px;
  border-left: 1px solid var(--purple);
}

/*=====================================
   EDITORIAL GALLERY LAYOUT
=====================================*/

.projects-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr)
    minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

/*=====================================
   FEATURED PROJECT
=====================================*/

.featured-project {
  min-width: 0;
}

.featured-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 420px;
  background-color: var(--purple);
  border-radius: 24px;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}

.featured-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 0;
  transition: transform 0.4s ease;
}

.featured-visual:hover img {
  transform: scale(1.04);
}

/*Featured Tag*/

.featured-tag {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  background-color: var(--pink);
  color: var(--cream);
  padding: 8px 18px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

/*=====================================
   FEATURED PROJECT DETAILS
=====================================*/

.featured-details {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin: 28px 0;
}

.featured-heading {
  flex: 0 0 auto;
  border-left: 4px solid var(--pink);
  padding-left: 18px;
}

.featured-heading span {
  display: block;
  color: var(--pink);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.featured-heading h3 {
  color: var(--ink);
  font-family: inherit;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0;
}

.featured-details p {
  flex: 1;
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  border-left: 1px solid var(--purple);
  padding-left: 20px;
  margin: 0;
}

/*=====================================
   EXPLORE PROJECT BUTTON
=====================================*/

.project-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background-color: var(--purple);
  color: var(--cream);
  border: 1px solid var(--purple);
  border-radius: 50px;
  padding: 13px 25px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.project-button span {
  font-size: 22px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.project-button:hover {
  background-color: var(--cream);
  color: var(--purple);
  transform: translateY(-2px);
}

.project-button:hover span {
  transform: translateX(4px);
}

/*=====================================
   SECONDARY PROJECTS
=====================================*/

.secondary-projects {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.secondary-project {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr)
    minmax(0, 1fr);
  align-items: stretch;
  gap: 20px;
  padding: 16px;
  background-color: var(--cream);
  border: 1px solid rgba(72, 27, 67, 0.3);
  border-radius: 22px;
  min-width: 0;
  box-sizing: border-box;
  transition: border-color 0.3s ease,
    transform 0.3s ease;
}

.secondary-project:hover {
  border-color: var(--purple);
  transform: translateY(-3px);
}

/*=====================================
   SECONDARY PROJECT IMAGES
=====================================*/

.secondary-visual {
  position: relative;
  width: 100%;
  height: 175px;
  overflow: hidden;
  border-radius: 15px;
  background-color: var(--purple);
}

.secondary-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
  transition: transform 0.4s ease;
}

.secondary-project:hover .secondary-visual img {
  transform: scale(1.05);
}

/*=====================================
   SECONDARY PROJECT CONTENT
=====================================*/

.secondary-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 5px 0;
}

.project-number {
  display: block;
  color: var(--pink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.secondary-content h3 {
  color: var(--ink);
  font-family: inherit;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: break-word;
  margin: 0;
}

/*Secondary Project Descriptions*/

.secondary-content p {
  color: var(--ink);
  font-family: var(--default-font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 12px;
}

.secondary-content .project-line {
  width: 65px;
  height: 4px;
  margin: 10px 0 12px;
}

.secondary-visual {
  height: auto;
  min-height: 175px;
}

.project-arrow {
  flex-shrink: 0;
}

.project-line {
  width: 65px;
  height: 4px;
  background-color: var(--pink);
  border-radius: 10px;
  margin: 14px 0;
  flex-shrink: 0;
}

/*=====================================
   CIRCULAR ARROW BUTTONS
=====================================*/

.project-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--purple);
  border-radius: 50%;
  background-color: transparent;
  color: var(--purple);
  font-size: 23px;
  line-height: 1;
  text-decoration: none;
  align-self: flex-end;
  margin-top: auto;
  transition: background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.project-arrow:hover {
  background-color: var(--purple);
  color: var(--cream);
  transform: translateX(3px);
}

.project-button:focus-visible,
.project-arrow:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 4px;
}

/*=====================================
   TABLET RESPONSIVE
=====================================*/

@media (max-width: 1100px) {
  .projects-gallery {
    gap: 24px;
  }
  .featured-visual {
    height: 380px;
  }
  .featured-heading h3 {
    font-size: 32px;
  }
  .secondary-project {
    gap: 15px;
    padding: 12px;
  }
  .secondary-visual {
    height: 155px;
  }
  .secondary-content h3 {
    font-size: 20px;
  }
  .project-number {
    font-size: 13px;
  }
}

/*=====================================
   SMALL TABLET RESPONSIVE
=====================================*/

@media (max-width: 900px) {
  .projects-gallery {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .featured-visual {
    height: 420px;
  }
  .secondary-project {
    padding: 18px;
    gap: 25px;
  }
  .secondary-visual {
    height: 200px;
  }
  .secondary-content h3 {
    font-size: 26px;
  }
}

/*=====================================
   MOBILE RESPONSIVE
=====================================*/

@media (max-width: 768px) {
  .projects-section {
    padding: 65px 0;
  }
  .projects-container {
    width: 88%;
  }
  .projects-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 35px;
  }
  .projects-heading h2 {
    font-size: 34px;
  }
  .projects-heading > p {
    border-left: none;
    padding-left: 0;
    font-size: 16px;
  }
  .featured-visual {
  height: 350px;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
}

.featured-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

  /*Featured Project Details*/
  .featured-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .featured-details p {
    border-left: none;
    padding-left: 0;
    font-size: 16px;
  }
  .featured-heading h3 {
    font-size: 32px;
  }
  .secondary-project {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
  }
  .secondary-visual {
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .secondary-content {
    padding: 4px;
  }
  .secondary-content h3 {
    font-size: 25px;
  }
  .project-arrow {
    width: 44px;
    height: 44px;
  }
}

/*=====================================
   SMALL MOBILE SCREENS
=====================================*/

@media (max-width: 480px) {
  .projects-section {
    padding: 55px 0;
  }
  .featured-visual {
    height: 300px;
  }
  .featured-tag {
    top: 14px;
    left: 14px;
    font-size: 11px;
  }
  .projects-heading h2 {
    color: #461b46;
    font-family: var(--default-font);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
  }
  .secondary-content h3 {
    font-size: 23px;
  }
}

/*=====================================
   REDUCED MOTION ACCESSIBILITY
=====================================*/

@media (prefers-reduced-motion: reduce) {
  .featured-visual img,
  .secondary-visual img,
  .secondary-project,
  .project-button,
  .project-button span,
  .project-arrow {
    transition: none;
  }
  .featured-visual:hover img,
  .secondary-project:hover,
  .secondary-project:hover img,
  .project-button:hover,
  .project-button:hover span,
  .project-arrow:hover {
    transform: none;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/

.contact {
  background-color: #481b43;
  color: #F4E4D6;
  padding: 100px 24px;
  text-align: center;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.contact h2 {
  font-family: inherit;
  font-size: 38px;
  font-weight: 900;
  color: #F4E4D6;
  margin-bottom: 16px;
}

.contact-line {
  width: 45px;
  height: 3px;
  background-color: #dc527b;
  margin: 0 auto 24px;
}

.contact p {
  max-width: 420px;
  margin: 0 auto 24px;
  font-size: 16px;
  line-height: 1.8;
}

.contact-email {
  position: relative;
  z-index: 5;
  pointer-events: auto;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #F4E4D6;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-email i {
  color: #dc527b;
}

.contact-email:hover {
  color: #dc527b;
}

/*Mobile*/

@media (max-width: 768px) {
  .contact {
    padding: 70px 20px;
  }
  .contact h2 {
    font-size: 32px;
  }
  .contact-email {
    font-size: 16px;
  }
}

/*=====================================
   FOOTER
=====================================*/

.footer {
  background-color: #F4E4D6;
  color: #481b43;
  text-align: center;
  padding: 20px 15px;
}

.footer p {
  font-size: 13px;
  font-weight: 500;
  margin: 0;
}

/*--------------------------------------------------------------
# Mobile Hamburger Menu
--------------------------------------------------------------*/

.menu-toggle {
  display: none;
  background: var(--purple);
  border: none;
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  margin: 4px 0;
  background: var(--cream);
  border-radius: 5px;
}

/*--------------------------------------------------------------
# Responsive Design / Smaller Desktops
--------------------------------------------------------------*/

@media (min-width: 1001px) and (max-width: 1300px) {
  .hero {
    grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  }
  .hero-wave {
    left: 6%;
    width: 94%;
  }
  .intro {
    margin-left: 3vw;
    padding-right: 20px;
  }
  .intro h1 {
    font-size: clamp(38px, 4.3vw, 56px);
  }
  .intro h2 {
    font-size: 25px;
  }
  .intro .hero-tagline {
    font-size: 22px;
  }
  .intro .hero-description {
    font-size: 17px;
  }
  .accent {
    width: 75px;
    height: 5px;
  }
  .art img,
  .art #workspace {
    width: 88%;
    left: 0;
  }
}

/*--------------------------------------------------------------
# Mobile Responsive Layout
--------------------------------------------------------------*/

@media (max-width: 1000px) {
  /*Navigation*/
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
    padding: 20px 7vw;
    min-height: 80px;
    background: var(--cream);
  }
  .logo {
    margin: 0;
    font-size: 28px;
  }
  .menu-toggle {
    display: block;
  }
  .nav nav {
    display: none;
  }
  /*Mobile Navigation Dropdown*/
  .nav nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    right: 7vw;
    gap: 12px;
    padding: 20px 28px;
    background: var(--purple);
    color: var(--cream);
    border-radius: 12px;
  }
  /*Hero Layout*/
  .hero-shell {
    padding-bottom: 0;
    overflow: hidden;
  }
  .hero-wave {
    display: none;
  }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    background: var(--cream);
  }
  /*Hero Introduction*/
  .intro {
    width: 100%;
    max-width: 600px;
    margin: 0;
    padding: 40px 7vw 45px;
    text-align: left;
  }
  /*Greeting*/
  .hero-greeting {
  font-size: 24px;
  letter-spacing: 0;
  margin-bottom: 20px;
}
  /*Name*/
  .intro h1 {
    font-size: clamp(34px, 8.5vw, 58px);
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
  }
  .intro h1 span {
    margin-top: 4px;
  }
  /*Professional Title*/
  .intro h2 {
    font-size: clamp(20px, 4.8vw, 28px);
    line-height: 1.3;
  }
  /*Decorative Pink Line*/
  .accent {
    width: 55px;
    height: 5px;
    margin: 24px 0;
  }
  /*Tagline*/
  .intro .hero-tagline {
    font-size: 20px;
    margin-bottom: 12px;
  }
  /*Description*/
  .intro .hero-description {
    font-size: 17px;
    line-height: 1.6;
    max-width: 440px;
  }
  /*Scroll Indicator*/
  .scroll-indicator {
    margin-top: 28px;
    font-size: 11px;
    letter-spacing: 2px;
  }
  /*Workspace Illustration*/
  .art {
    position: relative;
    isolation: isolate;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 65px 5vw 60px;
    background: none;
  }
  /*Curved Purple Background*/
  .art::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--purple);
    border-radius: 75% 0 0 0 / 25% 0 0 0;
  }
  /*Workspace Image*/
  .art img,
  .art #workspace {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: auto;
    left: 0;
    margin: 0;
  }
  /*Bottom Cream Transition*/
  .art::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 35px;
    background: var(--cream);
    clip-path: ellipse(65% 100% at 35% 100%);
  }
  .about {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 7vw 65px;
  }
  .about-art {
    max-width: 220px;
    width: 100%;
  }
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

.nav a:focus-visible,
.menu-toggle:focus-visible,
.scroll-indicator:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .scroll-indicator,
  .scroll-indicator svg {
    transition: none;
  }
}

/*--------------------------------------------------------------
# Minimal Theme Toggle
--------------------------------------------------------------*/

.theme-toggle {
  position: relative;
  width: 60px;
  height: 28px;
  padding: 0;
  border: 2px solid #F4E4D6;
  border-radius: 999px;
  background: rgba(244, 228, 214, 0.14);
  box-sizing: border-box;
  overflow: hidden;
  cursor: pointer;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* glossy / polished track */
.theme-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.18),
    rgba(255,255,255,0.04)
  );
  pointer-events: none;
}

.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6fa3, #dc527b);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.18),
    inset 0 1px 2px rgba(255,255,255,0.35);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

/* dark mode state */
body.dark-mode .theme-toggle {
  background: rgba(88, 42, 86, 0.35);
  border-color: #F4E4D6;
}

body.dark-mode .toggle-thumb {
  transform: translateX(32px);
  background: linear-gradient(135deg, #b04bff, #4b1f5e);
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.28),
    inset 0 1px 2px rgba(255,255,255,0.18);
}

/* keyboard accessibility */
.theme-toggle:focus-visible {
  outline: 3px solid #dc527b;
  outline-offset: 4px;
}

/* remove old icons */
.sun-icon,
.moon-icon {
  display: none;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .theme-toggle,
  .toggle-thumb {
    transition: none;
  }
}

/*--------------------------------------------------------------
# Dark Mode
--------------------------------------------------------------*/

body.dark-mode {
  --ink: #F4E4D6;
  background: #1C101B;
  color: var(--ink);
}

body.dark-mode .hero-shell,
body.dark-mode .projects-section,
body.dark-mode .footer,
body.dark-mode .content:nth-child(odd) {
  background-color: #1C101B;
}

body.dark-mode .hero-greeting,
body.dark-mode .intro h1,
body.dark-mode .intro h2,
body.dark-mode .intro .hero-tagline,
body.dark-mode .intro .hero-description,
body.dark-mode .scroll-indicator,
body.dark-mode .projects-heading h2,
body.dark-mode .footer,
body.dark-mode .project-arrow {
  color: var(--cream);
}

body.dark-mode .secondary-project {
  background-color: #2C1B2B;
  border-color: #68445E;
}

body.dark-mode .project-arrow {
  border-color: #B684A8;
}

body.dark-mode .projects-heading > p,
body.dark-mode .featured-details p {
  border-color: #68445E;
}

body.dark-mode .scroll-indicator:hover {
  color: var(--pink);
}

body, .hero-shell, .projects-section, .footer, .secondary-project {
  transition: background-color .35s ease, color .35s ease;
}

@media (max-width: 1000px) {
  body.dark-mode .nav, body.dark-mode .hero,
  body.dark-mode .art::after {
    background-color: #1C101B;
  }
}

@media (prefers-reduced-motion: reduce) {
  body, .hero-shell, .projects-section, .footer, .secondary-project,
  .toggle-thumb {
    transition: none;
  }
}

/*Navigation and theme refinements*/

.nav nav a {
  white-space: nowrap;
}

.theme-toggle {
  font-family: inherit;
}

body.dark-mode .intro h1 span {
  color: var(--pink);
}

@media (min-width: 1001px) and (max-width: 1300px) {
  .nav nav {
    gap: 8px;
    padding: 0 1.5vw;
    letter-spacing: 0.5px;
  }
}
