:root {
  --bg: #090909;
  --bg-soft: #101010;
  --panel: #141414;
  --panel-2: #181818;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3efe8;
  --muted: rgba(243, 239, 232, 0.72);
  --accent: #d77a7e;
  --accent-2: #f0b7a4;
  --max-width: 1180px;
  --radius: 26px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.035),
      transparent 28%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(240, 183, 164, 0.08),
      transparent 24%
    ),
    var(--bg);
  color: var(--text);
}

#logo {
  max-height: 3.5rem;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 2.5rem 0;
}

.section-title-feature {
  font-size: 34px;
  text-align: center;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(9, 9, 9, 0.76);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05),
    rgba(215, 122, 126, 0.08)
  );
  font-weight: 800;
  letter-spacing: 0.06em;
}

.desktop-nav,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.desktop-nav a,
.social-link {
  color: var(--muted);
  font-size: 0.93rem;
  transition: color 0.25s ease;
}

.desktop-nav a:hover,
.social-link:hover,
.project-actions a:hover,
.contact-links a:hover {
  color: var(--text);
}

.menu-toggle,
.menu-close {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(0, 0, 0, 0.95);
  padding: 1.25rem;
}

.mobile-menu-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1rem 0 2rem;
}

.mobile-menu-inner a {
  font-size: clamp(1.5rem, 7vw, 2.5rem);
  font-weight: 700;
}

.menu-close {
  display: inline-flex;
  margin-left: auto;
  font-size: 3rem;
  line-height: 1;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

/* TYPE */
.eyebrow,
.section-label,
.project-kicker {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
}

.hero h1,
.section-title,
.project-content h3,
.panel-title {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero h1 {
  font-size: clamp(2rem, 1.5vw, 3.1rem);
  margin-top: 0.65rem;
  max-width: 80ch;
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.35rem);
  margin-top: 0.45rem;
  max-width: 960px;
}

.panel-title {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  max-width: 25ch;
  margin: 0.5rem 0 1.2rem;
}

.hero-lead {
  max-width: 620px;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  color: var(--text);
  margin: 1rem 0 0.7rem;
  text-align: center;
}

.hero-lead,
.hero-support {
  max-width: 540px;
}

.hero-support,
.about-copy p,
.project-content p,
.skill-block p,
.contact-copy,
.education-card p,
.project-points li,
.panel-intro,
.info-card p {
  color: var(--muted);
  line-height: 1.68;
  font-size: 0.98rem;
}

.about-copy p {
  padding-top: 25px;
}

.hero-support {
  text-align: center;
}

/* HERO */
.hero {
  padding-top: 2.25rem;
  padding-bottom: 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: center;
}

.hero-actions,
.project-actions,
.tag-row,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions {
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #121212;
}

.btn-primary:hover {
  opacity: 0.85;
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

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

.hero-photo-card {
  width: min(100%, 420px);
  aspect-ratio: 0.86;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(
    180deg,
    rgba(215, 122, 126, 0.1),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.hero-note {
  position: absolute;
  border-radius: 999px;
  padding: 0.78rem 1rem;
  background: rgba(20, 20, 20, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 0.9rem;
}

.note-one {
  left: 0;
  bottom: 2.5rem;
}

.note-two {
  right: 0;
  top: 3rem;
}

/* LAYOUT */
.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 1.8rem;
  align-items: start;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1.4rem;
  align-items: start;
}

.section-heading {
  margin-bottom: 1.4rem;
}

/* PANELS */
.project-card,
.contact-panel,
.education-card,
.panel-section {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.028),
    rgba(255, 255, 255, 0.018)
  );
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.project-card {
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
}

.featured-project {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  padding: 1.25rem;
  align-items: stretch;
}

.featured-project .project-media {
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  display: block;
}

.featured-project .project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  display: block;
}

.project-media {
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(215, 122, 126, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  aspect-ratio: 16 / 11;
  min-height: unset;
  display: block;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.project-content {
  padding: 0.25rem 0.1rem;
}

.project-content h3 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  margin-top: 0.55rem;
}

.project-subtitle {
  font-size: 0.98rem;
  color: var(--text) !important;
  margin: 0.5rem 0 0.85rem;
}

.project-points {
  padding-left: 1rem;
  margin: 0.85rem 0 0;
}

.project-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.compact-project {
  padding: 1.25rem;
}

.compact-media {
  aspect-ratio: 16 / 10;
  margin-bottom: 1rem;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.project-actions {
  margin-top: 1rem;
}

.contact-links a,
.project-actions a {
  min-height: 46px;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  color: rgb(22, 22, 22);
}

/* WHAT I BRING */
.panel-section {
  padding: 1.75rem;
}

#strengths.section {
  padding-top: 2.5rem;
}

.panel-intro {
  max-width: 840px;
  margin: 0 0 0.9rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.6rem;
}

.info-card {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.018);
  min-height: 0;
}

.info-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  color: var(--text);
}

.info-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.5;
}

/* EDUCATION */
.education-section .education-title {
  margin-bottom: 1.4rem;
}

.education-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  max-width: 22ch;
}

#education.section {
  padding-top: 2.5rem;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.education-card {
  padding: 1.3rem;
  min-height: 100%;
}

.education-logo,
.education-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 0.9rem;
}

.education-card h3 {
  display: block;
  margin: 0 0 0.5rem;
  color: var(--text);
  font-size: 1.05rem;
}

.education-card p {
  margin: 0 0 0.35rem;
  font-size: 0.96rem;
  line-height: 1.55;
}

.education-card span {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--accent-2);
  font-size: 0.92rem;
}

/* CONTACT */
.contact-panel {
  padding: 1rem;
}

.contact-copy {
  max-width: 560px;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .desktop-nav,
  .nav-actions .social-link {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-grid,
  .about-grid,
  .contact-panel,
  .featured-project,
  .project-stack,
  .education-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-photo-card {
    aspect-ratio: 0.9;
  }

  .note-one {
    left: 1rem;
    bottom: 1rem;
  }

  .note-two {
    right: 1rem;
    top: 1rem;
  }

  .panel-title {
    max-width: 12ch;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 2.8rem 0;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--max-width));
    
  }

  .hero {
    padding-top: 1.5rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .section-title,
  .panel-title {
    font-size: 2.1rem;
  }

  .featured-project,
  .compact-project,
  .contact-panel,
  .panel-section,
  .education-card {
    padding: 1rem;
  }

  .hero-note {
    position: static;
    margin-top: 0.75rem;
  }

  .hero-visual {
    display: block;
  }

  .hero-photo-card {
    width: 100%;
  }

  .project-media {
    min-height: 220px;
  }

  .info-card {
    padding: 1rem;
  }
}

a {
  display: flex;
  align-items: center; /* vertically centers text with logo */
  gap: 10px; /* space between logo and name */
  text-decoration: none;
}

#logo {
  height: 50px; /* adjust as needed */
  width: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand .name {
  font-family: "Moon Dance", cursive;
  font-size: 35px;
}

@media (max-width: 768px) {
  .hero {
    padding: 24px 20px 56px;
    gap: 24px;
  }

  .hero-image-wrap,
  .hero-image,
  .hero-visual {
    margin-bottom: 12px;
  }

  .hero-tags,
  .hero-badges,
  .floating-tags {
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 16px;
  }

  .hero-kicker {
    margin-bottom: 10px;
  }

  .hero h1 {
    margin-bottom: 16px;
    line-height: 0.95;
  }

  .hero p {
    margin-bottom: 14px;
  }
}

  .hero-actions {
    justify-content: center;
  }

@media (max-width: 768px) {
  .about,
  #about {
    padding-top: 10px;
    padding-bottom: 56px;
  }

  .about p,
  #about p {
    margin-bottom: 20px;
    line-height: 1.65;
  }

  .about p:last-child,
  #about p:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-heading,
  .section-intro {
    margin-bottom: 24px;
  }

  h2 {
    margin-bottom: 16px;
    line-height: 1.02;
  }
}

@media (max-width: 768px) {
  .project-card,
  .work-card {
    padding: 20px;
    gap: 16px;
  }

  .project-card p,
  .work-card p {
    margin-bottom: 14px;
  }

  .project-tags,
  .work-tags {
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 14px;
  }

  .project-card .btn,
  .work-card .btn {
    margin-top: 8px;
  }
}

@media (max-width: 768px) {
  .skills-grid,
  .what-i-bring-grid {
    gap: 16px;
  }

  .skill-card,
  .info-card {
    padding: 20px 18px;
  }

  .skill-card h3,
  .info-card h3 {
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .education-grid {
    gap: 16px;
  }

  .education-card {
    padding: 20px;
  }

  .education-card img {
    margin-bottom: 16px;
    max-height: 52px;
    width: auto;
  }

  .education-card h3 {
    margin-bottom: 10px;
  }

  .education-card p {
    margin-bottom: 8px;
  }
}

@media (max-width: 768px) {
  .contact-section,
  #contact {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .contact-section h2,
  #contact h2 {
    margin-bottom: 16px;
    line-height: 1;
  }

  .contact-section p,
  #contact p {
    margin-bottom: 20px;
  }

  .contact-links,
  .contact-buttons {
    gap: 12px;
  }

  .contact-links a,
  .contact-buttons a {
    padding: 16px 20px;
  }
}

@media (max-width: 768px) {
  .contact-links a,
  .contact-buttons a {
    font-size: 1rem;
    border-radius: 22px;
  }
}