/* ============================================================
   CLARA KHOO — WEBSITE STYLES
   Design: Modern Minimal (ivory-beige / brown / heritage green)
   ============================================================ */

/* ---- DESIGN TOKENS ---------------------------------------- */
:root {
  --bg:       #FAF6F0;
  --text:     #5C4F3D;
  --heading:  #2C1E0F;
  --accent:   #4A7C59;
  --light:    #F2EDE4;
  --border:   #DDD5C8;
  --placeholder-bg: #E8E0D4;
  --placeholder-text: #9C8E7C;

  --max-prose: 800px;
  --max-wide:  1100px;
  --nav-h:     72px;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---- RESET ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  padding-top: var(--nav-h);
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { opacity: 0.75; }

/* ---- TYPOGRAPHY ------------------------------------------- */
h1, h2, h3, h4 {
  color: var(--heading);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.875rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
h4 { font-size: 1rem; font-weight: 600; color: var(--text); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.35rem; }

/* ---- LAYOUT CONTAINERS ------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-prose);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  width: 100%;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- PAGE BODY -------------------------------------------- */
.page-body {
  padding: 64px 0 96px;
}
.page-title {
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

/* ---- SECTION DIVIDER -------------------------------------- */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 56px 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-inner {
  width: 100%;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.nav-brand-sub {
  font-size: 0.75rem;
  color: var(--text);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  display: block;
  padding: 6px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: #E8F0E8;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--light);
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 80px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.footer-left { text-align: left; }
.footer-centre { text-align: center; }
.footer-right { text-align: right; }
.footer-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--placeholder-text);
  margin-bottom: 4px;
}
.footer-email {
  font-size: 0.875rem;
  color: var(--text);
  text-decoration: none;
}
.footer-email:hover { color: var(--accent); }
.footer-copy {
  font-size: 0.8rem;
  color: var(--placeholder-text);
}
.footer-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.875rem;
  transition: color 0.15s;
}
.footer-linkedin:hover { color: var(--accent); }
.footer-linkedin svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s, transform 0.1s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: #3D6B4A;
  border-color: #3D6B4A;
  opacity: 1;
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  opacity: 1;
}
.btn:active { transform: scale(0.98); }

/* ============================================================
   QUOTE BLOCK
   ============================================================ */
.quote-block {
  border-left: 3px solid var(--accent);
  padding: 12px 0 12px 20px;
  margin: 24px 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--heading);
  line-height: 1.6;
}
.quote-attribution {
  display: block;
  margin-top: 6px;
  font-size: 0.875rem;
  color: var(--text);
  font-style: normal;
}

/* ============================================================
   IMAGE PLACEHOLDER (for missing images)
   ============================================================ */
.img-placeholder {
  background: var(--placeholder-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--placeholder-text);
  font-size: 0.8rem;
  text-align: center;
  padding: 12px;
  border-radius: 4px;
  min-height: 200px;
}

/* ============================================================
   HOME PAGE
   ============================================================ */
.home-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 72px 24px 80px;
  gap: 0;
}

.profile-photo-wrap {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 28px;
  border: 3px solid var(--border);
  flex-shrink: 0;
}
.profile-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-photo-wrap .img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 0;
  font-size: 0.75rem;
}

.home-name {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.home-quote {
  max-width: 520px;
  text-align: left;
  margin: 0 auto 32px;
}

.home-intro-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 4px;
}
.home-intro-sub {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 28px;
}

.home-cta { margin-bottom: 36px; }

.home-bio {
  max-width: 480px;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
}

/* ============================================================
   MY WORKS PAGE
   ============================================================ */
.works-section { margin-bottom: 56px; }
.works-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 28px;
}

/* Digital resource list items */
.resource-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.resource-item:last-child { border-bottom: none; }
.resource-item-thumb {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--light);
}
.resource-item-placeholder {
  width: 88px;
  height: 88px;
  border-radius: 6px;
  background: var(--light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--placeholder-text);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px;
  line-height: 1.3;
}
.resource-item-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 6px;
}
.resource-item-body {
  font-size: 0.9375rem;
  color: var(--text);
  margin-bottom: 8px;
}
.resource-item-link { font-size: 0.875rem; }

/* Pamphlet cards */
.pamphlet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.pamphlet-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pamphlet-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.4;
}
.pamphlet-card-link {
  font-size: 0.8125rem;
  margin-top: auto;
}

/* Writings list */
.writing-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px 20px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.writing-item:first-child { border-top: 1px solid var(--border); }
.writing-year {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--placeholder-text);
  padding-top: 2px;
}
.writing-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 6px;
  line-height: 1.4;
}
.writing-link { font-size: 0.875rem; }

/* Canva links list */
.canva-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.canva-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}
.canva-list li:last-child { border-bottom: none; }

/* ============================================================
   CAROUSEL
   ============================================================ */
.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--light);
  border-radius: 8px;
  overflow: hidden;
  margin: 24px 0;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.carousel-slide.active { opacity: 1; }
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-slide .img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 0;
  min-height: unset;
}
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 2;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.carousel-dot.active { background: #fff; }

/* ============================================================
   FEATURED PAGE
   ============================================================ */
.featured-item {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.featured-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Text-only item */
.featured-text-only .featured-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 8px;
}
.featured-text-only .featured-desc { margin-bottom: 10px; }

/* Image + text side-by-side */
.featured-media {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.featured-media-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}
.featured-media-img.landscape {
  aspect-ratio: 16 / 11;
}
.featured-media-img.wide {
  aspect-ratio: 16 / 9;
}
.featured-media .img-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: unset;
  border-radius: 6px;
}
.featured-media .img-placeholder.landscape { aspect-ratio: 16 / 11; }
.featured-media .img-placeholder.wide { aspect-ratio: 16 / 9; }
.featured-images {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.featured-images .featured-media-img {
  width: 100%;
}
.featured-media-body .featured-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 8px;
}
.featured-media-body .featured-desc { margin-bottom: 10px; }

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-header {
  text-align: center;
  padding: 48px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}
.gallery-header-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.gallery-header-sub {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
}

.gallery-section { margin-bottom: 64px; }
.gallery-section-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--placeholder-text);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.gallery-section-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Section 1: single image + long text */
.gallery-single {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 24px;
}
.gallery-single-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}
.gallery-single .img-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: unset;
  border-radius: 6px;
}

/* Image strip (alternating narrow/wide) */
.gallery-strip {
  display: flex;
  gap: 8px;
  height: 265px;
  margin-bottom: 24px;
  overflow-x: auto;
}
.gallery-strip-img {
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.gallery-strip-img.narrow { width: 188px; }
.gallery-strip-img.wide   { width: 375px; }

.gallery-strip .img-placeholder {
  height: 100%;
  min-height: unset;
  border-radius: 4px;
  flex-shrink: 0;
  writing-mode: horizontal-tb;
}
.gallery-strip .img-placeholder.narrow { width: 188px; }
.gallery-strip .img-placeholder.wide   { width: 375px; }

/* 6-image gallery (2 rows) */
.gallery-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
.gallery-grid-6 img,
.gallery-grid-6 .img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  min-height: unset;
}

/* 2-image gallery */
.gallery-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
.gallery-grid-2 img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.gallery-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 12px;
}
.gallery-text { font-size: 0.9375rem; }
.gallery-text p { margin-bottom: 0.9rem; }

/* ============================================================
   LIGHTBOX (image popup)
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  cursor: zoom-out;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  cursor: default;
  transform: scale(0.95);
  transition: transform 0.25s ease;
}
.lightbox.active .lightbox-img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 4px;
  transition: background 0.15s;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Make gallery images clickable */
.gallery-single-img,
.gallery-strip-img,
.gallery-grid-2 img,
.gallery-grid-6 img {
  cursor: zoom-in;
}

/* ============================================================
   WHY I TEACH PAGE
   ============================================================ */
.belief-item {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.belief-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.belief-number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.belief-quote {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--heading);
  border-left: 3px solid var(--accent);
  padding: 10px 0 10px 20px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.belief-text { font-size: 0.9375rem; }

/* ============================================================
   RESUME PAGE
   ============================================================ */
.resume-section { margin-bottom: 48px; }
.resume-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--placeholder-text);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 0;
}

.resume-entry {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.resume-entry:last-child { border-bottom: none; }

.resume-date {
  font-size: 0.8125rem;
  color: var(--placeholder-text);
  font-weight: 500;
  padding-top: 3px;
  line-height: 1.5;
}
.resume-role {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 2px;
  line-height: 1.35;
}
.resume-org {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 10px;
}
.resume-desc {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
}
.resume-desc p { margin-bottom: 0.6rem; }
.resume-desc ul { margin-bottom: 0.6rem; }
.resume-links {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.resume-link-tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  background: #E8F0E8;
  color: var(--accent);
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
}
.resume-link-tag:hover { background: var(--accent); color: #fff; opacity: 1; }

/* Skills & Awards */
.skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.skills-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text);
}
.skills-list li:last-child { border-bottom: none; }
.skills-list li::before {
  content: '•';
  color: var(--accent);
  font-weight: 700;
  margin-right: 10px;
}

.awards-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.awards-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text);
}
.awards-list li:last-child { border-bottom: none; }
.awards-list li::before {
  content: '—';
  color: var(--placeholder-text);
  margin-right: 10px;
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  .gallery-single {
    grid-template-columns: 280px 1fr;
    gap: 24px;
  }
  .featured-media {
    grid-template-columns: 220px 1fr;
    gap: 24px;
  }
  .resume-entry {
    grid-template-columns: 110px 1fr;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  body { padding-top: var(--nav-h); }

  /* Nav */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 16px 16px;
    gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 10px 12px;
    font-size: 0.8125rem;
  }

  /* Resource items */
  .resource-item {
    grid-template-columns: 64px 1fr;
    gap: 14px;
  }
  .resource-item-thumb,
  .resource-item-placeholder {
    width: 64px;
    height: 64px;
  }
  /* Text-only written work items: stack label above essay title */
  .resource-item--written {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  .footer-left, .footer-right { text-align: center; }
  .footer-linkedin { justify-content: center; }

  /* Featured */
  .featured-media {
    grid-template-columns: 1fr;
  }
  .featured-media-img,
  .featured-media .img-placeholder {
    aspect-ratio: 16 / 9;
    width: 100%;
  }
  .featured-media .img-placeholder { aspect-ratio: 16 / 9; }

  /* Gallery */
  .gallery-single {
    grid-template-columns: 1fr;
  }
  .gallery-single-img,
  .gallery-single .img-placeholder {
    aspect-ratio: 16 / 9;
    width: 100%;
  }
  .gallery-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid-2 {
    grid-template-columns: 1fr;
  }

  /* Resume */
  .resume-entry {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .resume-date { padding-top: 0; }

  /* Writing */
  .writing-item {
    grid-template-columns: 55px 1fr;
    gap: 12px;
  }
}
