:root {
  --bg: #0c0e0b; /* Deep organic sage charcoal */
  --text: #e3e7e2; /* Soft sage white */
  --muted: #828c81; /* Muted willow gray */
  --line: rgba(255, 255, 255, 0.05);
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --title: #f4f4f0;
  --summary-text: #d8d8d0;
  --bullet-color: rgba(255, 255, 255, 0.25);
  --hover-color: #ffffff;
}

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

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at 50% 30%, #141813 0%, #080907 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden; /* Prevent horizontal layout overflow artifacts */
}

/* Organic paper film-grain texture overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
  z-index: 9999;
}

/* Micro Progress loading bar at the very top of viewport */
.loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0;
  background: linear-gradient(90deg, var(--muted), var(--text));
  z-index: 10000;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(130, 140, 129, 0.35);
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 8rem 1.5rem 6rem;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
  transform: translateY(0);
}

.container.page-loading {
  opacity: 0;
  transform: translateY(4px);
}

header {
  margin-bottom: 3rem;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 400;
  font-style: normal;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--title);
  margin-bottom: 1.5rem;
}

h2 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 3.25rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
}

.contact {
  font-size: 0.92rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-details {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  align-items: center;
}

.contact-links span {
  opacity: 0.15;
  user-select: none;
}

.contact-links a {
  color: var(--text);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s ease;
}

.contact-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--text);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.6;
}

/* Hover styles moved to @media (hover: hover) block at the bottom */

.resume-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.resume-link svg {
  display: inline-block;
  opacity: 0.5;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hover styles moved to @media (hover: hover) block at the bottom */

p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

#summary p {
  font-size: 1.05rem;
  color: var(--summary-text);
  line-height: 1.75;
}

/* Skills Section */
.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.skills-row {
  line-height: 1.6;
  font-size: 0.95rem;
}

.skills-row strong {
  font-weight: 500;
  color: var(--text);
  margin-right: 0.5rem;
}

.skills-row span {
  color: var(--muted);
}

/* Experience List */
.exp-list {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.exp-item {
  position: relative;
}

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

.exp-header h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  font-style: normal;
  color: var(--title);
}

.exp-header span {
  font-size: 0.85rem;
  color: var(--muted);
}

.exp-item ul {
  list-style: none;
  padding-left: 0;
}

.exp-item ul li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.exp-item ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--bullet-color);
}

/* Projects Section */
.project-list {
  display: flex;
  flex-direction: column;
}

.project-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.side-projects-details .project-item:first-child {
  border-top: 1px solid var(--line);
}

.project-item h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 0.4rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.project-item h3 a {
  color: var(--title);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

/* Hover styles moved to @media (hover: hover) block at the bottom */

/* Remove chevron addition for clean minimalist look */
.project-item h3 a::after {
  display: none !important;
}

.project-item p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.project-meta {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: lowercase;
  color: var(--muted);
  opacity: 0.6;
}

/* Side Projects (Dropdown) */
.side-projects-details {
  margin-top: 1.5rem;
  border: none;
  background: transparent;
}

.side-projects-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.side-projects-summary::-webkit-details-marker {
  display: none;
}

.side-projects-summary::marker {
  display: none;
}

.side-projects-details > summary::marker {
  display: none;
}

.summary-title {
  font-family: var(--font-sans);
}

.summary-icon {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.side-projects-details[open] .summary-icon {
  transform: rotate(90deg);
}

.side-projects-details .project-list {
  margin-top: 1rem;
}

.side-projects-details .project-item:last-child {
  border-bottom: none;
}

/* Leadership and Education */
.leadership-list {
  list-style: none;
  padding-left: 0;
}

.leadership-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.leadership-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--bullet-color);
}

.edu-item {
  margin-bottom: 2rem;
}

.edu-item:last-child {
  margin-bottom: 0;
}

.edu-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.edu-header h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  font-style: normal;
  color: var(--title);
}

.edu-header span {
  font-size: 0.85rem;
  color: var(--muted);
}

.edu-item p {
  font-size: 0.95rem;
  color: var(--muted);
}

footer {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

/* Helper classes for strict CSP compliance (no inline styles) */
.studio-subtext {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-style: normal;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: normal;
}

.loading-text {
  color: var(--muted);
}

.no-projects {
  color: var(--muted);
  padding: 1rem 0;
}

.project-spacer {
  flex: 1;
}

/* Staggered load animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Base fade-in state and animations */
header,
section,
footer {
  opacity: 0;
}

.fonts-loaded header,
.fonts-loaded section,
.fonts-loaded footer,
.fonts-loaded .back-link,
.fonts-loaded .post-header,
.fonts-loaded .post-content {
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

header { animation-delay: 0.05s; }
#summary { animation-delay: 0.12s; }
#skills { animation-delay: 0.18s; }
#experience { animation-delay: 0.24s; }
#projects { animation-delay: 0.3s; }
#side-projects { animation-delay: 0.36s; }
#leadership { animation-delay: 0.42s; }
#education { animation-delay: 0.48s; }
#blog-section { animation-delay: 0.12s; }
.back-link { animation-delay: 0.05s; }
.post-header { animation-delay: 0.12s; }
.post-content { animation-delay: 0.18s; }
footer { animation-delay: 0.54s; }

/* Interactive active states (tactile mobile/touch feedback) */
.contact-links a:active,
.project-item h3 a:active,
.resume-link:active,
.side-projects-summary:active {
  opacity: 0.6;
  transition: opacity 0.1s ease;
}

/* Hover-capable devices optimization (No stuck hover on mobile) */
@media (hover: hover) {
  .contact-links a:hover {
    color: var(--hover-color);
  }
  .contact-links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
    opacity: 1;
  }
  .resume-link:hover svg {
    opacity: 1;
    transform: translate(2px, -2px);
  }
  .project-item h3 a:hover {
    border-bottom-color: var(--title);
  }
  .side-projects-summary:hover {
    color: var(--text);
  }
}

/* Tablet viewports (iPads, larger mobile devices) */
@media (max-width: 768px) {
  .container {
    padding: 5rem 1.5rem 4rem;
  }
  h1 {
    font-size: clamp(3rem, 10vw, 4.5rem);
    margin-bottom: 1.25rem;
  }
  h2 {
    margin-top: 2.25rem;
    margin-bottom: 1rem;
  }
  footer {
    margin-top: 3.5rem;
    padding-top: 1.5rem;
  }
}

/* Mobile viewports (iPhones, Android devices) */
@media (max-width: 480px) {
  .container {
    padding: 3.5rem 1.25rem 3rem;
  }
  h1 {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
    margin-bottom: 1rem;
  }
  h2 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }
  .contact {
    gap: 0.6rem;
  }
  .contact-details,
  .contact-links {
    flex-wrap: wrap;
    gap: 0.4rem 0.8rem;
  }
  .separator {
    display: none !important;
  }
  .contact-links span {
    display: none !important;
  }
  .skills-row {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 0.25rem;
  }
  .skills-row strong {
    margin-right: 0;
  }
  .exp-list {
    gap: 1.75rem;
  }
  .exp-header,
  .edu-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }
  .exp-header span,
  .edu-header span {
    font-size: 0.8rem;
  }
  .exp-header h3,
  .edu-header h3 {
    font-size: 1.3rem;
  }
  .project-item h3 {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }
  .project-spacer {
    display: none !important;
  }
  .project-meta {
    font-size: 0.8rem;
    opacity: 0.7;
  }
  .project-item {
    padding: 1rem 0;
  }
  footer {
    margin-top: 2.75rem;
    padding-top: 1.25rem;
  }
}

/* Navigation styling */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
}

.site-nav a.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 2px;
}

.site-nav a.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--text);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.6;
}

.site-nav a.nav-link.active {
  color: var(--title);
}

.site-nav a.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
  background-color: var(--title);
  opacity: 1;
}

.nav-divider {
  color: var(--muted);
  opacity: 0.25;
  user-select: none;
}

/* Blog Page Styles */
.blog-items {
  display: flex;
  flex-direction: column;
}

.blog-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

/* First-child border top removed to prevent double border under h2 */

.blog-item h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  font-style: normal;
  margin-top: 0.3rem;
  margin-bottom: 0.4rem;
}

.blog-item h3 a {
  color: var(--title);
  text-decoration: none;
  transition: border-bottom 0.2s ease;
  border-bottom: 1px solid transparent;
}

.blog-item p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.25rem;
  line-height: 1.6;
}

.blog-meta {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.meta-dot {
  opacity: 0.5;
}

/* Individual Post Page Styles */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  margin-bottom: 3rem;
  transition: color 0.2s ease;
}

.back-link svg {
  transition: transform 0.2s ease;
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--title);
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.post-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--summary-text);
}

.post-content p {
  font-size: inherit;
  color: inherit;
  line-height: inherit;
  margin-bottom: 1.5rem;
}

.post-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--title);
  margin-top: 3rem;
  margin-bottom: 1rem;
  border-bottom: none;
  padding-bottom: 0;
}

.post-content h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--title);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.post-content ul, .post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.post-content li {
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 1rem;
}

.post-content blockquote {
  border-left: 2px solid var(--muted);
  padding-left: 1.25rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--muted);
}

.post-content code {
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  border: 1px solid var(--line);
  color: var(--title);
}

body.light-theme .post-content code {
  background: rgba(0, 0, 0, 0.03);
}

.post-content pre {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  padding: 1.25rem;
  border-radius: 6px;
  overflow-x: auto;
  margin: 2rem 0;
}

body.light-theme .post-content pre {
  background: rgba(0, 0, 0, 0.015);
}

.post-content pre code {
  background: none;
  padding: 0;
  border: none;
  font-size: 0.88rem;
  line-height: 1.5;
  color: inherit;
}

/* Hover-capable devices optimizations */
@media (hover: hover) {
  .site-nav a.nav-link:hover {
    color: var(--hover-color);
  }
  .site-nav a.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
    opacity: 1;
  }
  .blog-item h3 a:hover {
    border-bottom-color: var(--title);
  }
  .back-link:hover {
    color: var(--text);
  }
  .back-link:hover svg {
    transform: translateX(-3px);
  }
}

/* Light Theme Variables */
body.light-theme {
  --bg: #f5f6f4;
  --text: #171d15;
  --muted: #5e685c;
  --line: rgba(0, 0, 0, 0.08);
  background: radial-gradient(circle at 50% 30%, #fcfdfb 0%, #ebece9 100%);
  --title: #171d15;
  --summary-text: #2f372d;
  --bullet-color: rgba(0, 0, 0, 0.25);
  --hover-color: #000000;
}

body.light-theme::before {
  opacity: 0.012;
}

/* Secure Contacts (Click to Reveal & Copy) */
.secure-contact {
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  color: var(--text);
  cursor: pointer;
  padding: 0;
  margin: 0;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  transition: color 0.2s ease, opacity 0.2s ease;
  position: relative;
  display: inline-block;
  outline: none;
}

.secure-contact:focus-visible {
  outline: 1px dashed var(--muted);
  outline-offset: 4px;
}

.secure-contact.revealed {
  text-decoration: none;
  cursor: text;
}

/* Secure Tooltip */
.secure-tooltip {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: #171d15;
  color: #f4f4f0;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.light-theme .secure-tooltip {
  background: #ffffff;
  color: #171d15;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.secure-tooltip.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Heading Anchor Links */
.anchor-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  margin-left: 0.4rem;
  opacity: 0;
  transition: opacity 0.2s ease, color 0.2s ease;
  font-weight: 400;
  vertical-align: middle;
}

h2:hover .anchor-link {
  opacity: 0.4;
}

.anchor-link:hover {
  opacity: 1 !important;
  color: var(--text);
}

.anchor-link:focus-visible {
  opacity: 1;
  outline: 1px dashed var(--muted);
}


/* Theme Toggle Button - Floating borderless contrast circle */
.theme-toggle-btn {
  position: fixed;
  top: 2.25rem;
  right: 2.25rem;
  z-index: 999;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  outline: none;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease, opacity 0.4s ease;
  width: 24px;
  height: 24px;
}

.fonts-loaded .theme-toggle-btn {
  opacity: 1;
}

.theme-toggle-btn:focus-visible {
  outline: 1px dashed var(--muted);
  outline-offset: 4px;
}

.theme-toggle-btn:hover {
  color: var(--text);
  transform: rotate(180deg) scale(1.15);
}

.theme-toggle-btn:active {
  transform: rotate(180deg) scale(0.92);
}
/* Navigation Toggle Button - Floating borderless icon circle */
.nav-toggle-btn {
  position: fixed;
  top: 2.25rem;
  right: 4.75rem;
  z-index: 999;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  outline: none;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease, opacity 0.4s ease;
  width: 24px;
  height: 24px;
  text-decoration: none;
}

.fonts-loaded .nav-toggle-btn {
  opacity: 1;
}

.nav-toggle-btn:focus-visible {
  outline: 1px dashed var(--muted);
  outline-offset: 4px;
}

.nav-toggle-btn:hover {
  color: var(--text);
  transform: scale(1.15);
}

.nav-toggle-btn:active {
  transform: scale(0.92);
}

/* Responsive adjustment for floating buttons */
@media (max-width: 768px) {
  .theme-toggle-btn {
    top: 1.5rem;
    right: 1.5rem;
  }
  .nav-toggle-btn {
    top: 1.5rem;
    right: 3.5rem;
  }
}


/* Print Stylesheet for PDF/Print Resume formatting */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 10pt !important;
    line-height: 1.4 !important;
  }
  
  body::before {
    display: none !important;
  }

  .container {
    max-width: 100% !important;
    padding: 1.5cm !important;
    margin: 0 !important;
  }

  h1 {
    font-size: 28pt !important;
    color: #000000 !important;
    margin-bottom: 0.2cm !important;
  }

  h2 {
    font-size: 9pt !important;
    margin-top: 0.8cm !important;
    margin-bottom: 0.3cm !important;
    color: #333333 !important;
    border-bottom: 1px solid #cccccc !important;
  }

  p, .skills-row, .exp-item ul li, .leadership-list li {
    font-size: 9.5pt !important;
    color: #222222 !important;
  }

  .exp-header h3, .edu-header h3, .project-item h3 {
    font-size: 11pt !important;
    color: #000000 !important;
  }

  .exp-header span, .edu-header span, .project-meta {
    font-size: 8.5pt !important;
    color: #555555 !important;
  }

  /* Hide elements that are web-only */
  .theme-toggle-btn,
  .nav-toggle-btn,
  .anchor-link,
  .resume-link svg,
  .separator:last-of-type,
  .back-link,
  .site-nav {
    display: none !important;
  }

  /* Convert interactive spans back to plain text formatting */
  .secure-contact {
    text-decoration: none !important;
    cursor: default !important;
    color: #000000 !important;
    font-weight: normal !important;
  }

  /* Avoid breaking experience items and project items across pages */
  .exp-item, .project-item, .edu-item {
    page-break-inside: avoid !important;
  }

  footer {
    margin-top: 1cm !important;
    padding-top: 0.2cm !important;
    border-top: 1px solid #cccccc !important;
    font-size: 8pt !important;
    color: #666666 !important;
  }
}

