:root {
  --violet-primary: #6a5acd;
  --violet-dark: #4b3f72;
  --violet-light: #e6e1f7;
  --background-soft: #faf9fc;
  --ink-dark: #2e2e38;
}

/* Overlay backdrop should sit above everything */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;   /* 👈 very high */
}


/* ---------- Links: Global Reset ---------- */
a {
  color: var(--violet-dark);
  text-decoration: none;
  font-weight: 500;
}

a:hover,
a:focus {
  color: var(--violet-primary);
  text-decoration: underline;
}

/* ---------- Navigation ---------- */
.nav-links a {
  margin-left: 1.25rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--violet-primary);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 100%;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;

  /* Glass-friendly background (keeps your palette, adds depth for blur to show) */
  background:
    linear-gradient(
      135deg,
      rgba(106, 90, 205, 0.25),
      rgba(75, 63, 114, 0.25)
    ),
    var(--background-soft);

  color: var(--ink-dark);
}

/* ---------- Glass Header ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.40);
  box-shadow: 0 8px 32px rgba(75, 63, 114, 0.15);
}

.nav {
  max-width: 1100px;
  margin: auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  height: 40px;
}

.hero {
  height: 26vh;        /* smaller hero */
  min-height: 180px;
  max-height: 340px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.content {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

/* ---------- Glass Project Cards ---------- */
.project-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;

  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 32px rgba(75, 63, 114, 0.12);
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(75, 63, 114, 0.18);
}

.project-card.locked {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---------- Overlay Backdrop ---------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay.hidden { display: none; }

/* ---------- Glass Overlay Content ---------- */
.overlay-content {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.65);
  padding: 2rem;
  width: 90%;
  max-width: 900px;
  border-radius: 16px;
  position: relative;

  box-shadow: 0 25px 60px rgba(75, 63, 114, 0.22);
}

/* (Your HTML already uses .overlay-content.small; keep it supported) */
.overlay-content.small {
  max-width: 520px;
}

.overlay-content iframe {
  width: 100%;
  height: 300px;
  border: none;
  margin: 1rem 0;
}

.project-meta {
  font-size: 0.9rem;
  color: var(--violet-dark);
  margin-bottom: 1rem;
}

#projectBullets {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

#projectBullets li {
  margin-bottom: 0.5rem;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.project-gallery img {
  width: 100%;
  border-radius: 6px;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: none;
  font-size: 1.25rem;
  cursor: pointer;
}

/* Accessibility floating controls — above footer */
.accessibility {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;

  z-index: 9000;   /* 👈 above footer, below overlays */
}

/* Glass Accessibility Panel */
.accessibility-panel {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.40);
  padding: 1rem;
  border-radius: 12px;
  margin-top: 0.5rem;

  box-shadow: 0 12px 34px rgba(75, 63, 114, 0.14);
}

/* ---------- Branding ---------- */
.brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--violet-dark);

  /* Subtle violet glow accent */
  text-shadow: 0 0 8px rgba(106, 90, 205, 0.35);
}

/* ---------- Glass Footer ---------- */
.site-footer {
  margin-top: 4rem;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;

  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-top: 1px solid rgba(255, 255, 255, 0.40);
  box-shadow: 0 -8px 32px rgba(75, 63, 114, 0.12);

  position: relative;
  z-index: 1;   /* 👈 stays behind overlays */

}

.site-footer a {
  color: var(--violet-primary);
  font-weight: 500;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--violet-dark);
  text-decoration: underline;
}

.hidden { display: none; }
/* =========================
   Glassy Controls (Buttons + Inputs)
   ========================= */

/* Reusable glass surface for controls */
:where(button, input, select, textarea) {
  font-family: inherit;
}

/* Text/password inputs (ex: password overlay) */
input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.40);
  color: var(--ink-dark);

  box-shadow: 0 10px 26px rgba(75, 63, 114, 0.10);
  outline: none;
}

/* Focus ring (accessible + on-brand) */
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
  border-color: rgba(106, 90, 205, 0.55);
  box-shadow:
    0 0 0 3px rgba(106, 90, 205, 0.22),
    0 12px 30px rgba(75, 63, 114, 0.14);
}

/* Placeholder */
input::placeholder,
textarea::placeholder {
  color: rgba(46, 46, 56, 0.55);
}

/* Buttons (includes your Unlock button) */
button {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  cursor: pointer;

  background: rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  color: var(--violet-dark);
  font-weight: 600;

  box-shadow: 0 12px 28px rgba(75, 63, 114, 0.12);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

button:hover {
  transform: translateY(-1px);
  border-color: rgba(106, 90, 205, 0.45);
  box-shadow: 0 16px 34px rgba(75, 63, 114, 0.16);
}

button:active {
  transform: translateY(0px);
  box-shadow: 0 10px 24px rgba(75, 63, 114, 0.12);
}

button:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(106, 90, 205, 0.22),
    0 16px 34px rgba(75, 63, 114, 0.16);
}

/* Make your close "✕" feel like a glass icon-button */
.close-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;

  display: grid;
  place-items: center;

  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow: 0 10px 26px rgba(75, 63, 114, 0.12);
}

.close-btn:hover {
  border-color: rgba(106, 90, 205, 0.45);
  box-shadow: 0 14px 32px rgba(75, 63, 114, 0.16);
}

/* Fix close (X) alignment */
.close-btn {
  padding: 0 !important;       /* overrides global button padding */
  line-height: 1;              /* keeps the glyph centered */
  font-size: 1.25rem;          /* consistent size */
  display: grid;
  place-items: center;
}


/* Password overlay spacing polish */
#passwordOverlay .overlay-content small,
#passwordOverlay .overlay-content {
  gap: 0.75rem;
}

#passwordOverlay input[type="password"] {
  margin: 0.75rem 0 0.75rem 0;
}

/* Error text (your "Incorrect password") */
.error {
  color: #7a1f3d;
  background: rgba(255, 255, 255, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  margin-top: 0.75rem;
}

/* Accessibility toggle as a glass floating button */
#accessibilityToggle {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  padding: 0;
  font-size: 1.2rem;

  background: rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.40);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow: 0 16px 36px rgba(75, 63, 114, 0.16);
}

/* Range slider (Text Size) */
input[type="range"] {
  width: 100%;
  accent-color: var(--violet-primary);
}

/* Optional: make overlay text look a touch softer on glass */
.overlay-content h2,
.overlay-content h3 {
  color: var(--violet-dark);
}

.overlay-content p,
.overlay-content li {
  color: rgba(46, 46, 56, 0.92);
}

.about img {
  width: 12.5%;
  height: auto;
  display: block;
  margin: 0 auto 1rem auto;

  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);

  box-shadow:
    0 12px 32px rgba(75,63,114,0.18),
    0 0 18px rgba(106,90,205,0.25);
}

/* =========================
   About Page — Centered Philosophy Layout
   ========================= */

.about-card {
  width: 100%;     /* readable line length */
  margin: 0 auto;       /* center on page */

  padding: 2rem;

  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);

  box-shadow: 0 25px 60px rgba(75, 63, 114, 0.18);
}

.about-text p {
  line-height: 1.75;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.about-text h1 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.about-role {
  text-align: center;
  margin-bottom: 1.5rem;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 18px;

  object-fit: cover;

  box-shadow:
    0 20px 45px rgba(75, 63, 114, 0.25),
    0 0 22px rgba(106, 90, 205, 0.22);
}

/* Text styling */
.about-text h1 {
  margin: 0;
  color: var(--violet-dark);
}

.about-role {
  margin: 0.25rem 0 1rem 0;
  font-weight: 600;
  color: var(--violet-primary);
  letter-spacing: 0.5px;
}

/* Paragraph spacing */
.about-text p {
  line-height: 1.6;
  margin-bottom: 0.9rem;
}

/* Mobile layout */
@media (max-width: 720px) {
  .about-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image img {
    max-width: 260px;
    margin: 0 auto;
  }
}

/* =========================
   Home Page Intro Card
   ========================= */

.home-intro-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.75rem;
  align-items: center;

  padding: 1.75rem;
  margin: 1.25rem 0 2rem 0;

  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 25px 60px rgba(75, 63, 114, 0.18);
}

.home-portrait img {
  width: 150%;
  height: 200%;
  border-radius: 18px; /* rectangular rounded frame */
  object-fit: cover;

  box-shadow:
    0 18px 45px rgba(75, 63, 114, 0.22),
    0 0 18px rgba(106, 90, 205, 0.20);

  border: 1px solid rgba(255, 255, 255, 0.55);
}

.home-intro-text h1 {
  margin: 0 0 0.5rem 0;
  padding-left: 8rem;
  gap: 2.5rem;
  color: var(--violet-dark);
}

.home-blurb {
  line-height: 1.65;
  padding-left: 8rem;
  gap: 2.5rem;
  margin: 0.75rem 0 0 0;
}

.home-links {
  margin: 1rem 0 0 0;
  padding-left: 8rem;
}

.glass-link {
  display: inline-block;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow: 0 12px 28px rgba(75, 63, 114, 0.12);
}

.glass-link:hover,
.glass-link:focus {
  text-decoration: none;
  border-color: rgba(106, 90, 205, 0.45);
}

/* =========================
   About Page — Teaching Philosophy
   ========================= */

.about-highlight {
  padding: 1rem 1.1rem;
  border-radius: 16px;

  background: rgba(230, 225, 247, 0.70); /* violet-light tint */
  border: 1px solid rgba(255, 255, 255, 0.60);

  box-shadow: 0 14px 34px rgba(75, 63, 114, 0.12);
}

/* Responsive */
@media (max-width: 720px) {
  .home-intro-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-portrait img {
    max-width: 260px;
    margin: 0 auto;
  }
}

/* =========================
   Resume — Interactive Accordion
   ========================= */

.resume-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.75rem;

  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 25px 60px rgba(75, 63, 114, 0.18);
}

.resume-header h1 {
  margin: 0 0 0.25rem 0;
  color: var(--violet-dark);
}

.resume-subtitle {
  margin: 0 0 1rem 0;
  color: rgba(46, 46, 56, 0.75);
}

.resume-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-top: 0.75rem;
}

.btn-ghost {
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 28px rgba(75, 63, 114, 0.12);
  color: var(--violet-dark);
  font-weight: 600;
}

.resume-accordion {
  margin-top: 1.25rem;
}

.accordion-item {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: rgba(255, 255, 255, 0.40);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 1rem 1.1rem;

  display: flex;
  justify-content: space-between;
  align-items: center;

  border: none;
  background: transparent;
  cursor: pointer;

  color: var(--violet-dark);
  font-weight: 800;
}

.accordion-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;

  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.accordion-panel {
  display: none;
  padding: 0 1.1rem 1.1rem 1.1rem;
}

.accordion-item.is-open .accordion-panel {
  display: block;
}

.accordion-item.is-open .accordion-icon {
  color: var(--violet-primary);
}

.resume-paragraph {
  line-height: 1.7;
  margin: 0.25rem 0 1rem 0;
}

.resume-minihead {
  margin: 1.25rem 0 0.5rem 0;
  color: var(--violet-dark);
}

.resume-list {
  margin: 0.5rem 0 0 1.2rem;
  line-height: 1.7;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;

  background: rgba(230, 225, 247, 0.70);
  border: 1px solid rgba(255, 255, 255, 0.60);
  box-shadow: 0 10px 24px rgba(75, 63, 114, 0.10);

  color: var(--violet-dark);
  font-weight: 650;
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .resume-card { padding: 1.25rem; }
  .accordion-trigger { padding: 0.9rem 1rem; }
}

.resume-list li { margin-bottom: 0.85rem; }

/* Keep accessibility UI above footer, below overlays */
.accessibility {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 9000; /* overlays are 9999 */
}

/* Make panel pop ABOVE the button (so it's visible) */
.accessibility-panel {
  position: absolute;
  right: 0;
  bottom: 3.25rem;  /* sits above the ♿ button */
  min-width: 320px;

  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(75, 63, 114, 0.18);

  padding: 1.1rem;
}

/* Better spacing between options */
.accessibility-panel .acc-row {
  margin-bottom: 1rem;
}

.acc-toggles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

#resetAccessibility {
  margin-top: 0.75rem;
  width: 100%;
}

@media (min-width: 420px) {
  .acc-toggles { grid-template-columns: 1fr 1fr; }
}

/* Optional: make sure the button is clickable */
#accessibilityToggle {
  position: relative;
  z-index: 9001;
}


/* =========================
   Footer — SVG Icon Buttons
   ========================= */

.site-footer {
  position: relative;
  z-index: 1; /* stays behind overlays */
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 1rem;
}

.footer-name {
  font-weight: 650;
  color: var(--violet-dark);
}

.footer-icons {
  display: flex;
  gap: 0.6rem;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;

  display: grid;
  place-items: center;

  color: var(--violet-dark);
  text-decoration: none;

  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow: 0 10px 26px rgba(75, 63, 114, 0.12);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  transform: translateY(-2px);
  color: var(--violet-primary);
  border-color: rgba(106, 90, 205, 0.45);
  box-shadow: 0 16px 34px rgba(75, 63, 114, 0.18);
  outline: none;
}

/* Mobile */
@media (max-width: 720px) {
  .footer-content {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* =========================
   Projects Page — File Links Section
   ========================= */

.project-files {
  margin-top: 2rem;
  padding: 1.75rem;

  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 25px 60px rgba(75, 63, 114, 0.16);
}

.project-files h2 {
  margin: 0 0 0.25rem 0;
  color: var(--violet-dark);
}

.files-accordion {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
}

.files-item {
  border-radius: 16px;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.files-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.1rem;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;

  color: var(--violet-dark);
  font-weight: 800;
}

.files-item summary::-webkit-details-marker {
  display: none;
}

.files-hint {
  font-weight: 600;
  color: rgba(46, 46, 56, 0.65);
  font-size: 0.95rem;
}

.files-list {
  margin: 0;
  padding: 0 1.1rem 1.1rem 1.1rem;
  list-style: none;
}

.files-group {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
}

.files-group-title {
  font-weight: 750;
  color: var(--violet-primary);
  margin-bottom: 0.5rem;
}

.files-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.files-links a {
  display: inline-block;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;

  background: rgba(230, 225, 247, 0.70);
  border: 1px solid rgba(255, 255, 255, 0.60);
  box-shadow: 0 10px 24px rgba(75, 63, 114, 0.10);

  color: var(--violet-dark);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
}

.files-links a:hover,
.files-links a:focus-visible {
  color: var(--violet-primary);
  border-color: rgba(106, 90, 205, 0.45);
  outline: none;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
}

.project-links a {
  padding: 0.55rem 0.75rem;
  border-radius: 999px;

  background: rgba(230, 225, 247, 0.70);
  border: 1px solid rgba(255, 255, 255, 0.60);
  box-shadow: 0 10px 24px rgba(75, 63, 114, 0.10);

  color: var(--violet-dark);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
}

.project-links a:hover {
  color: var(--violet-primary);
  border-color: rgba(106, 90, 205, 0.45);
}


/* =========================
   Home Page — About Me Section
   ========================= */

.home-about {
  margin-top: 1.75rem;
  padding: 1.75rem;

  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 25px 60px rgba(75, 63, 114, 0.16);

  width: 100%;
}

.home-about h2 {
  margin-top: 0;
  color: var(--violet-dark);
}

.home-about p {
  line-height: 1.7;
  margin-bottom: 0.9rem;
}


/* =========================
   Home — Section 2: About Me
   ========================= */

.home-about {
  margin-top: 1.75rem;
  padding: 1.75rem;

  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 25px 60px rgba(75, 63, 114, 0.16);

  width: 100%;
}

.home-about h2 {
  margin-top: 0;
  color: var(--violet-dark);
}

.home-about p {
  line-height: 1.7;
  margin-bottom: 0.9rem;
}

/* =========================
   Home — Section 3: What I Do
   ========================= */

.home-what {
  margin-top: 1.75rem;
}

.home-what h2 {
  margin: 0 0 0.9rem 0;
  color: var(--violet-dark);
}

.what-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.what-card {
  padding: 1.25rem;

  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 18px 45px rgba(75, 63, 114, 0.12);
}

.what-card h3 {
  margin: 0 0 0.5rem 0;
  color: var(--violet-dark);
  font-size: 1.05rem;
}

.what-card p {
  margin: 0;
  line-height: 1.65;
  color: rgba(46, 46, 56, 0.9);
}

/* Mobile */
@media (max-width: 720px) {
  .what-grid {
    grid-template-columns: 1fr;
  }

  .home-about {
    max-width: 100%;
  }
}

