/* Add Google Fonts import for Playfair Display and DM Sans as coquette alternatives */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500&family=Playfair+Display:wght@400;500&display=swap');

/* Reset and base styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'DM Sans', 'Playfair Display', 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  background: var(--background) !important;
  color: var(--text-main) !important;
  line-height: 1.6;
  margin: 0;
  font-weight: 300;
}

:root {
  --matcha-dark: #ff4f6d;
  --matcha: #ff4f6d;
  --matcha-mid: #ff4f6d;
  --matcha-light: #ffd6df;
  --pastel-gray: #f8f9fa;
  --pastel-white: #fff;
  --pastel-accent: #ffd6df;
  --text-main: #222;
  --text-muted: #666;
  --accent: #ff4f6d;
  --background: #f8f9fa;
  --container-bg: #fff;
  --item-bg: #f7f8fa;
  --shadow: rgba(0,0,0,0.07);
}
[data-theme="dark"] {
  --background: #181a1b;
  --container-bg: #232526;
  --item-bg: #232526;
  --text-main: #eaeaea;
  --text-muted: #b0b0b0;
  --accent: #ff4f6d;
  --shadow: rgba(0,0,0,0.45);
  --border: #232526;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
header {
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  padding: 2rem 0 1rem 0;
}
.profile {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #eaeaea;
}
.profile-info h1 {
  font-family: 'Playfair Display', 'DM Sans', 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--matcha-dark);
  letter-spacing: 0.01em;
  margin-bottom: 0.3rem;
}
.profile-info p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 0.7rem;
}
.contact-links a {
  margin-right: 1rem;
  color: var(--matcha-dark);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}
.contact-links a:hover {
  color: var(--matcha);
}
main {
  background: #fff;
  margin-top: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 2rem;
}
section {
  padding: 1.5rem 1rem;
  background: #f9fbfc;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.02);
  margin-bottom: 2.5rem;
  border: 1px solid #eaeaea;
}
section#about {
  background: #f8f9fa;
  border: none;
  box-shadow: none;
}
section ul, section ol {
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
}
section li {
  margin-bottom: 0.3rem;
}
section#contact ul {
  list-style: none;
  margin-left: 0;
}
section#contact li {
  margin-bottom: 0.5rem;
}
section h2 {
  font-family: 'DM Sans', 'Playfair Display', 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--matcha-dark);
  margin-bottom: 1rem;
}
footer {
  text-align: center;
  padding: 1.5rem 0 0.5rem 0;
  color: #888;
  font-size: 0.95rem;
  background: none;
}
@media (max-width: 700px) {
  .container { padding: 1rem 0.5rem; }
  .profile { flex-direction: column; align-items: flex-start; gap: 1rem; }
  main { padding: 1rem; }
  section h2 { font-size: 1.2rem; }
}

.edu-block {
  margin-bottom: 1.5rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e0e4ea;
  box-shadow: 0 1px 2px rgba(0,0,0,0.01);
}
.edu-block h3 {
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 0.2rem;
}
.edu-block p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 0.3rem;
}
.edu-years {
  color: #888;
  font-size: 0.98rem;
  margin-left: 0.5rem;
}

.project-block {
  margin-bottom: 1.2rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e0e4ea;
  box-shadow: 0 1px 2px rgba(0,0,0,0.01);
}
.project-block h3 {
  font-size: 1.08rem;
  color: var(--matcha-dark);
  margin-bottom: 0.2rem;
  font-weight: 600;
}
.project-block p {
  font-size: 0.98rem;
  color: #444;
  margin-bottom: 0.2rem;
}
.project-date {
  color: #888;
  font-size: 0.95rem;
  margin-left: 0.5rem;
  font-weight: 400;
}

.research-block {
  margin-bottom: 1.2rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e0e4ea;
  box-shadow: 0 1px 2px rgba(0,0,0,0.01);
}
.research-block h3 {
  font-size: 1.08rem;
  color: var(--matcha-dark);
  margin-bottom: 0.2rem;
  font-weight: 600;
}
.research-block ul {
  margin-left: 1.2rem;
  margin-bottom: 0.2rem;
}
.research-block li {
  font-size: 0.98rem;
  color: #444;
  margin-bottom: 0.2rem;
}
.research-date {
  color: #888;
  font-size: 0.95rem;
  margin-left: 0.5rem;
  font-weight: 400;
}

.pub-block {
  margin-bottom: 1.2rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e0e4ea;
  box-shadow: 0 1px 2px rgba(0,0,0,0.01);
}
.pub-block ol {
  margin-left: 1.2rem;
}
.pub-block li {
  font-size: 0.98rem;
  color: #444;
  margin-bottom: 0.2rem;
}

.industry-block {
  margin-bottom: 1.2rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e0e4ea;
  box-shadow: 0 1px 2px rgba(0,0,0,0.01);
}
.industry-block h3 {
  font-family: 'Playfair Display', 'DM Sans', 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  font-size: 1.08rem;
  color: var(--matcha-dark);
  margin-bottom: 0.2rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.industry-block ul {
  margin-left: 1.2rem;
  margin-bottom: 0.2rem;
}
.industry-block li {
  font-size: 0.98rem;
  color: #444;
  margin-bottom: 0.2rem;
}
.industry-date {
  color: #888;
  font-size: 0.95rem;
  margin-left: 0.5rem;
  font-weight: 400;
}

.awards-block {
  margin-bottom: 1.2rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e0e4ea;
  box-shadow: 0 1px 2px rgba(0,0,0,0.01);
}
.awards-block ul {
  margin-left: 1.2rem;
}
.awards-block li {
  font-size: 0.98rem;
  color: #444;
  margin-bottom: 0.2rem;
}
.awards-block h4 {
  color: var(--matcha-dark);
}

.skills-block {
  margin-bottom: 1.2rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e0e4ea;
  box-shadow: 0 1px 2px rgba(0,0,0,0.01);
}
.skills-block h4 {
  font-size: 1.05rem;
  color: var(--matcha-dark);
  margin-top: 0.7rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}
.skills-block ul {
  margin-left: 1.2rem;
  margin-bottom: 0.2rem;
}
.skills-block li {
  font-size: 0.98rem;
  color: #444;
  margin-bottom: 0.2rem;
}

.interests-block {
  margin-bottom: 1.2rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e0e4ea;
  box-shadow: 0 1px 2px rgba(0,0,0,0.01);
}
.interests-block h4 {
  font-size: 1.05rem;
  color: var(--matcha-dark);
  margin-top: 0.7rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}
.interests-block ul {
  margin-left: 1.2rem;
  margin-bottom: 0.2rem;
}
.interests-block li {
  font-size: 0.98rem;
  color: #444;
  margin-bottom: 0.2rem;
}

/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--pastel-white);
  border-bottom: 1px solid var(--pastel-accent);
  padding: 1.5rem 3rem 1.5rem 3rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-radius: 14px;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 2px 8px rgba(255,79,109,0.04);
}
.navbar-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-basis: 33%;
  max-width: 33%;
  min-width: 0;
  gap: 0.2rem;
}
.navbar-name {
  font-family: 'Playfair Display', 'DM Sans', 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #111 !important;
  line-height: 1.1;
  margin-bottom: 0;
}
.navbar-title {
  font-family: 'DM Sans', 'Playfair Display', 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  font-size: 0.95rem;
  color: #888 !important;
  margin-top: 0;
  line-height: 1.1;
  font-weight: 400;
  opacity: 0.8;
}
.navbar-links {
  display: flex;
  flex-basis: 67%;
  max-width: 67%;
  justify-content: flex-end;
  gap: 1.2rem;
  list-style: none;
  flex-wrap: nowrap;
}
.navbar-links li a {
  display: block;
  padding: 0.5rem 0.7rem;
  color: var(--matcha-dark);
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  font-size: 0.98rem;
}
.navbar-links li a:hover, .navbar-links li a.active {
  background: var(--matcha-light);
  color: var(--matcha);
}
.navbar-links li a,
.navbar-name,
.navbar-title {
  color: #111 !important;
}

/* About Section */
.about-section {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background: var(--pastel-white);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(255,79,109,0.04);
  padding: 2.5rem 2.5rem;
}
.about-container {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  max-width: 950px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.about-photo {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-right: 2.2rem;
}
.profile-img-large {
  display: block;
  margin: 3.7em auto 0.2em auto;
  border-radius: 50%;
  object-fit: cover;
  width: 160px;
  height: 160px;
  box-shadow: 0 2px 8px rgba(255,79,109,0.08);
  border: 1px solid var(--pastel-accent);
}
@media (max-width: 700px) {
  .profile-img-large {
    width: 120px;
    height: 120px;
    margin-top: 2.7em;
    margin-bottom: 0.2em;
  }
}
@media (max-width: 700px) {
  .profile-img-large {
    margin-left: 0;
    margin-right: 0;
  }
}
.about-info h1 {
  font-family: 'Playfair Display', 'DM Sans', 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--matcha-dark);
  letter-spacing: 0.01em;
  margin-bottom: 0.3rem;
}
.about-info h2 {
  font-family: 'DM Sans', 'Playfair Display', 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--matcha-mid);
  margin-bottom: 0.7rem;
}
.about-info p {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 0.5rem;
}
.about-icons {
  margin-top: 1.1rem;
}
.about-icons a {
  margin-right: 1.1rem;
  color: var(--matcha-dark);
  font-size: 1.5rem;
  transition: color 0.2s;
  text-decoration: none;
}
.about-icons a:hover {
  color: var(--matcha);
}
.about-section h1 {
  text-align: center !important;
  margin-bottom: 0.2em;
}
.about-section h2 {
  color: #111 !important;
}

/* Responsive Design */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .about-photo {
    margin-bottom: 1rem;
  }
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1.2rem 1rem;
  }
  .navbar-links {
    gap: 1.2rem;
  }
}
@media (max-width: 600px) {
  .about-container, section {
    padding: 1rem 0.5rem;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
  }
  .profile-img-large {
    width: 120px;
    height: 120px;
  }
  .navbar-name {
    font-size: 1.1rem;
  }
  .navbar-title {
    font-size: 0.9rem;
  }
  .navbar-links li a {
    font-size: 0.95rem;
  }
}

/* Centered Boxed Layout */
.main-content, main, .navbar, footer {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

footer {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  background: var(--pastel-white);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  padding: 1.2rem 2rem;
  border: 1px solid var(--pastel-accent);
}

@media (max-width: 1000px) {
  .main-content, main, .navbar, .about-section, section, footer {
    max-width: 98vw;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
@media (max-width: 600px) {
  .navbar, footer {
    padding: 1rem 0.5rem;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
  }
}

.cv-pdf-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 2rem;
}
.cv-download-link {
  display: inline-block;
  background: var(--matcha-light);
  color: var(--matcha-dark);
  font-weight: 600;
  padding: 0.7rem 1.3rem;
  border-radius: 6px;
  text-decoration: none;
  margin-bottom: 1.2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  transition: background 0.2s, color 0.2s;
}
.cv-download-link:hover {
  background: var(--matcha);
  color: #fff;
}

.project-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5em;
  margin-bottom: 60px;
  flex-wrap: nowrap;
  width: 28%;
  min-width: 160px;
  max-width: 320px;
  align-self: center;
}

.project-links a,
.project-links button {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 400;
  font-size: 0.65em;
  padding: 0.28em 0.7em;
  border-radius: 1.2em;
  border: none;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.18s, transform 0.18s;
  cursor: pointer;
  display: inline-block;
  min-width: 70px;
  max-width: 120px;
  width: auto;
  text-align: center;
  white-space: nowrap;
}

.project-links a:hover,
.project-links button:hover {
  background: #e13a5c;
  transform: translateY(-2px) scale(1.03);
}

/* Ensure spacing above project-links, not below */
.project-links {
  margin-top: 0.5em;
  margin-bottom: 0;
}

.highlights-section {
  margin-top: 2.5rem;
  padding: 2rem 2.5rem;
  background: var(--pastel-white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(255,79,109,0.04);
  border: 1px solid var(--pastel-accent);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.highlights-section h2 {
  font-size: 1.4rem;
  color: var(--matcha-dark);
  margin-bottom: 1.2rem;
  font-family: 'Playfair Display', 'DM Sans', 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  font-weight: 500;
}
.highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.highlights-list li {
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
  color: #333;
  line-height: 1.6;
}
.highlights-list li:last-child {
  margin-bottom: 0;
}
.highlights-list a {
  color: #ff4f6d !important;
  text-decoration: underline;
  opacity: 0.85;
  transition: color 0.2s;
}
.highlights-list a:hover {
  color: #e13a5c !important;
  opacity: 1;
}

.about-blurb {
  margin: 1.3rem 0 0.7rem 0;
  font-size: 1.08rem;
  color: #333;
  font-family: 'DM Sans', 'Playfair Display', 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  line-height: 1.7;
}
.about-video {
  width: 100%;
  max-width: 600px;
  margin: 0.5rem 0 1.5rem 0;
}
.about-video iframe {
  width: 100%;
  height: 315px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(255,79,109,0.04);
  border: 1px solid var(--pastel-accent);
  background: #fff;
}
@media (max-width: 700px) {
  .about-video iframe {
    height: 200px;
  }
}

.about-video-section {
  margin: 2.2rem auto 0 auto;
  padding: 2rem 0.5rem;
  background: var(--pastel-white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(255,79,109,0.04);
  border: 1px solid var(--pastel-accent);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-left: none !important;
}
.about-video {
  width: 100%;
  max-width: 100%;
  margin: 0.5rem 0 1.5rem 0;
}
.about-video iframe {
  width: 100%;
  height: 350px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(255,79,109,0.04);
  border: 1px solid var(--pastel-accent);
  background: #fff;
}
@media (max-width: 700px) {
  .about-video iframe {
    height: 200px;
  }
}

.about-video-blurb, .side-quests-title {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 32px;
  padding-right: 32px;
}

.about-video-blurb {
  font-size: 1.08rem;
  color: #333;
  font-family: 'DM Sans', 'Playfair Display', 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  line-height: 1.7;
  margin-bottom: 1.1rem;
  text-align: left;
}

.side-quests-title {
  font-size: 1.22rem;
  color: var(--matcha-dark);
  font-family: 'Playfair Display', 'DM Sans', 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 1.1rem;
  margin-top: 0.2rem;
  letter-spacing: 0.01em;
}

.side-quests-title::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 4px;
  height: 1.2em;
  background: var(--matcha);
  border-radius: 2px;
  margin-right: 0.5em;
  margin-left: 0;
}

.contact-profile-box {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  background: var(--pastel-white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(255,79,109,0.04);
  border: 1px solid var(--pastel-accent);
  padding: 2rem 2.5rem;
  margin: 2.5rem auto 0 auto;
  max-width: 900px;
}
.contact-profile-img {
  max-height: 180px;
  width: auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(255,79,109,0.08);
  border: 1px solid var(--pastel-accent);
}
.contact-profile-blurb {
  font-size: 1.08rem;
  color: #333;
  font-family: 'DM Sans', 'Playfair Display', 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  line-height: 1.7;
}
@media (max-width: 700px) {
  .contact-profile-box {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.5rem 1rem;
  }
  .contact-profile-img {
    max-width: 100%;
    height: auto;
  }
}

/* Hamburger menu toggle button */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--matcha-dark);
  cursor: pointer;
  margin-left: auto;
  margin-right: 0.5rem;
  z-index: 200;
}

@media (max-width: 700px) {
  body {
    font-size: 0.97rem;
  }
  .about-info h1 {
    font-size: 1.3rem;
  }
  .about-info h2 {
    font-size: 1.05rem;
  }
  .navbar {
    flex-direction: row;
    align-items: center;
    padding: 0.7rem 0.7rem;
    margin-top: 1.1rem;
    margin-bottom: 1.1rem;
    border-radius: 10px;
  }
  .navbar-left {
    flex-basis: auto;
    max-width: 100%;
    min-width: 0;
    gap: 0.1rem;
  }
  .navbar-toggle {
    display: block;
  }
  .navbar-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 10px;
    background: var(--pastel-white);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(255,79,109,0.08);
    flex-direction: column;
    align-items: flex-end;
    gap: 0.7rem;
    padding: 1.1rem 1.3rem;
    z-index: 150;
    min-width: 160px;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  }
  .navbar-links.open {
    display: flex;
  }
  .navbar-links li a {
    font-size: 1rem;
    padding: 0.6rem 0.2rem;
    border-radius: 6px;
    width: 100%;
    text-align: right;
  }
  .profile-img-large, .contact-profile-img {
    max-width: 100vw;
    width: 100vw;
    height: auto;
    border-radius: 0;
    margin: 0 auto 1.2rem auto;
    display: block;
  }
  .about-photo {
    margin-right: 0;
    justify-content: center;
    width: 100%;
  }
  .about-container {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 0.2rem;
  }
} 

.main-surface {
  max-width: 700px;
  margin: 0 auto;
  padding: 3.7em 1.2rem 2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  background: transparent;
  box-shadow: none;
  border: none;
}

.main-surface > section:first-child {
  margin-top: -80px;
}

section {
  background: none;
  padding: 0;
  margin: 0;
}

section + section {
  border-top: 1px solid #ececec;
  padding-top: 2.5rem;
}

@media (max-width: 700px) {
  .main-surface {
    padding: 1.2rem 0.5rem;
    gap: 2.2rem;
  }
  .about-section div[style*="display: flex"] {
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
  }
  .profile-img-large {
    max-width: 100vw !important;
    width: 100vw !important;
    height: auto;
    border-radius: 0;
    margin: 0 auto 1.2rem auto;
    display: block;
  }
} 

.cheeky-container {
  background: var(--container-bg) !important;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 var(--shadow), 0 1.5px 4px 0 rgba(0,0,0,0.03);
  padding: 1.6rem 2rem;
  margin: 0 auto 2.5rem auto;
  max-width: 700px;
  transition: box-shadow 0.2s;
}
.cheeky-container:hover {
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.13), 0 2px 8px 0 rgba(0,0,0,0.05);
}
.cheeky-container h3 {
  margin-top: 1.2em;
}
.cheeky-container h2 {
  margin-top: 0.7em;
}
.cheeky-container h2,
.cheeky-container h3,
.cheeky-container h1,
.navbar-title {
  color: var(--matcha) !important;
}

.cheeky-container h1,
.cheeky-container h2,
.cheeky-container h3 {
  font-weight: 600;
}

/* Remove pink from all other elements */
.item-block .item-bullets li,
.item-title,
.item-date,
.navbar-links li a,
.navbar-name {
  color: #111 !important;
}

.item-block {
  margin-bottom: 2.2em;
  background: var(--item-bg) !important;
  border-radius: 12px;
  box-shadow: 0 1px 4px var(--shadow);
  padding: 1.2em 1.2em 1.5em 1.2em;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.18s;
}
.item-block:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.item-block::before { display: none; }
.item-block::after { display: none !important; }

.item-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-bottom: 0.2em;
}

.item-title {
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--text-main) !important;
  flex: 1 1 auto;
  margin-bottom: 0.02em;
}

.item-date {
  display: block;
  color: var(--text-muted) !important;
  font-size: 0.98rem;
  min-width: 90px;
  text-align: left;
  flex: 0 0 auto;
  margin-top: 0.02em;
  margin-left: 0;
}

.item-bullets {
  margin: 0.2em 0 0.5em 1.2em;
  padding: 0;
}

.item-bullets li {
  font-size: 0.98rem;
  color: var(--text-main) !important;
  margin-bottom: 0.2em;
}

.item-block .project-links {
  justify-content: center !important;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
} 

.navbar-left * {
  color: #111 !important;
} 

.about-section h1 {
  color: #111 !important;
} 

footer .project-links {
  margin: 0;
  gap: 0;
}
footer .project-links a,
footer .project-links {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 600;
  padding: 0.45em 1.2em;
  border-radius: 1.5em;
  border: none;
  text-decoration: none;
  font-size: 0.98rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.18s, transform 0.18s;
  cursor: pointer;
  display: inline-block;
  min-width: 120px;
  max-width: 180px;
  width: auto;
  text-align: center;
  white-space: nowrap;
}
footer .project-links a:hover,
footer .project-links:hover {
  background: #e13a5c;
  transform: translateY(-2px) scale(1.03);
} 

section, .cheeky-container, .item-block, .container, .about-section, .about-container, .navbar, footer {
  border: 1px solid var(--border) !important;
}
[data-theme="dark"] section, [data-theme="dark"] .cheeky-container, [data-theme="dark"] .item-block, [data-theme="dark"] .container, [data-theme="dark"] .about-section, [data-theme="dark"] .about-container, [data-theme="dark"] .navbar, [data-theme="dark"] footer {
  border: 1px solid var(--border) !important;
} 
[data-theme="dark"] .item-block,
[data-theme="dark"] .cheeky-container,
[data-theme="dark"] section,
[data-theme="dark"] .about-section {
  color: #fff !important;
}
[data-theme="dark"] .item-block p,
[data-theme="dark"] .item-block li,
[data-theme="dark"] .item-block span,
[data-theme="dark"] .item-block h1,
[data-theme="dark"] .item-block h2,
[data-theme="dark"] .item-block h3,
[data-theme="dark"] .item-block h4,
[data-theme="dark"] .item-block h5,
[data-theme="dark"] .item-block h6,
[data-theme="dark"] .item-block a,
[data-theme="dark"] .item-block strong,
[data-theme="dark"] .item-block em,
[data-theme="dark"] .item-block div,
[data-theme="dark"] .cheeky-container p,
[data-theme="dark"] .cheeky-container li,
[data-theme="dark"] .cheeky-container span,
[data-theme="dark"] .cheeky-container h1,
[data-theme="dark"] .cheeky-container h2,
[data-theme="dark"] .cheeky-container h3,
[data-theme="dark"] .cheeky-container h4,
[data-theme="dark"] .cheeky-container h5,
[data-theme="dark"] .cheeky-container h6,
[data-theme="dark"] .cheeky-container a,
[data-theme="dark"] .cheeky-container strong,
[data-theme="dark"] .cheeky-container em,
[data-theme="dark"] .cheeky-container div,
[data-theme="dark"] section p,
[data-theme="dark"] section li,
[data-theme="dark"] section span,
[data-theme="dark"] section h1,
[data-theme="dark"] section h2,
[data-theme="dark"] section h3,
[data-theme="dark"] section h4,
[data-theme="dark"] section h5,
[data-theme="dark"] section h6,
[data-theme="dark"] section a,
[data-theme="dark"] section strong,
[data-theme="dark"] section em,
[data-theme="dark"] section div,
[data-theme="dark"] .about-section p,
[data-theme="dark"] .about-section li,
[data-theme="dark"] .about-section span,
[data-theme="dark"] .about-section h1,
[data-theme="dark"] .about-section h2,
[data-theme="dark"] .about-section h3,
[data-theme="dark"] .about-section h4,
[data-theme="dark"] .about-section h5,
[data-theme="dark"] .about-section h6,
[data-theme="dark"] .about-section a,
[data-theme="dark"] .about-section strong,
[data-theme="dark"] .about-section em,
[data-theme="dark"] .about-section div {
  color: #fff !important;
} 
[data-theme="dark"] .navbar,
[data-theme="dark"] footer {
  background: var(--container-bg) !important;
  color: #fff !important;
  border: 1px solid var(--border) !important;
}
[data-theme="dark"] .navbar *,
[data-theme="dark"] footer * {
  color: #fff !important;
} 

@media (max-width: 700px) {
  footer .container {
    flex-direction: column !important;
    gap: 0.7em !important;
    align-items: stretch !important;
  }
  footer .project-links,
  footer .project-links a {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    font-size: 0.95em !important;
    margin: 0.2em 0 !important;
    box-sizing: border-box;
    display: block !important;
    text-align: center !important;
  }
} 
[data-theme="dark"] .navbar-links,
[data-theme="dark"] .navbar-links.open {
  background: var(--container-bg) !important;
  color: #fff !important;
}
[data-theme="dark"] .navbar-links li a {
  color: #fff !important;
}
[data-theme="dark"] .navbar-toggle {
  color: #fff !important;
} 

@media (max-width: 700px) {
  .cheeky-container,
  .about-section.cheeky-container {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    box-sizing: border-box;
  }
  .main-surface > section:first-child,
  .about-section.cheeky-container {
    margin-top: 1.5rem !important;
  }
  .about-section > div,
  .about-section .item-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .about-section .profile-img-large {
    max-width: 140px !important;
    width: 60vw !important;
    min-width: 90px;
    height: auto;
    display: block;
    margin: 0 auto 1.2rem auto;
    border-radius: 18px;
    object-fit: cover;
  }
  .about-section h1, .about-section h2 {
    text-align: center !important;
    font-size: 1.2rem !important;
    word-break: break-word;
  }
  .about-section h1 {
    font-size: 1.4rem !important;
  }
} 

#video-section video {
  width: 100%;
  max-width: 100%;
  max-height: 60vh;
  border-radius: 12px;
  background: #000;
  display: block;
  margin: 0 auto;
}
@media (max-width: 700px) {
  #video-section video {
    width: 90%;
    max-width: 98vw;
    max-height: 40vh;
  }
} 

#video-section.cheeky-container {
  max-width: 670px !important;
  margin: 0 auto 2.5rem auto !important;
  padding: 1.6rem 2rem 1.6rem 2rem !important;
  padding-right: 1.8rem !important;
} 

#video-section .swiper-slide {
  width: 55% !important;
  max-width: 400px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0 auto;
} 

.video-caption {
  max-width: 100%;
  width: 100%;
  text-align: center;
  margin: 0.5em auto 0 auto;
  word-break: break-word;
  font-size: 1em;
  color: #333;
} 

.video-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7em 1.2em;
  margin-bottom: 2em;
}
.video-filter {
  border-radius: 1em;
  padding: 0.5em 1.1em;
  margin-bottom: 0.5em;
  margin-right: 0.5em;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #333;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.video-filter.active,
.video-filter:focus,
.video-filter:hover {
  border-color: #ff4f6d;
  box-shadow: 0 2px 8px rgba(255,79,109,0.10);
} 

@media (max-width: 700px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
} 

.item-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.97);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  pointer-events: auto;
  transition: opacity 0.35s cubic-bezier(.4,0,.2,1);
}
[data-theme="dark"] .item-image-overlay {
  background: rgba(30,30,30,0.97);
}
.item-image-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.item-block:hover .item-image-overlay,
.item-block:focus-within .item-image-overlay,
.item-block.revealed .item-image-overlay {
  opacity: 0;
  pointer-events: none;
} 