/* ============================
   Facerix.com — Eleventy Redesign
   ============================ */

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

:root {
  --color-primary: #B15A94;
  --color-primary-dark: #3A024F;
  --color-primary-light: #c97db0;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-border: #e2e8f0;
  --font-heading: "MEgalopolisExtraRegular", Georgia, serif;
  --font-body: "Trebuchet MS", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --hero-image: url("/images/pexels-architecture-1868265_1920.jpg");
  --hero-overlay-start: rgba(58, 2, 79, 0.85);
  --hero-overlay-mid: rgba(177, 90, 148, 0.6);
  --hero-overlay-end: rgba(58, 2, 79, 0.8);
  --header-bg: rgba(58, 2, 79, 0.95);
  --max-width: 1100px;
}

html[data-theme="pacifica"] {
  --color-primary: #4682b4;
  --color-primary-dark: #2c5a84;
  --color-primary-light: #78a7cf;
  --font-heading: "MEgalopolisExtraRegular", Georgia, serif;
  --font-body: "Trebuchet MS", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --hero-image: url("/images/pacifica.jpg");
  --hero-overlay-start: rgba(18, 56, 91, 0.8);
  --hero-overlay-mid: rgba(70, 130, 180, 0.52);
  --hero-overlay-end: rgba(18, 56, 91, 0.8);
  --header-bg: rgba(18, 56, 91, 0.95);
}

html[data-theme="forest"] {
  --color-primary: #3f7f4f;
  --color-primary-dark: #1f4b30;
  --color-primary-light: #6ea67a;
  --font-heading: "MEgalopolisExtraRegular", Georgia, serif;
  --font-body: "Trebuchet MS", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --hero-image: url("/images/utah.jpg");
  --hero-overlay-start: rgba(17, 55, 33, 0.82);
  --hero-overlay-mid: rgba(63, 127, 79, 0.5);
  --hero-overlay-end: rgba(17, 55, 33, 0.82);
  --header-bg: rgba(17, 55, 33, 0.95);
}

html[data-theme="darkwave"] {
  --color-primary: #ff2ea6;
  --color-primary-dark: #1a103a;
  --color-primary-light: #5ee7ff;
  --font-heading: "MEgalopolisExtraRegular", Georgia, serif;
  --font-body: "Trebuchet MS", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --hero-image: url("/images/kevin-laminto-7PqRZK6rbaE-unsplash.jpg");
  --hero-overlay-start: rgba(26, 16, 58, 0.88);
  --hero-overlay-mid: rgba(255, 46, 166, 0.4);
  --hero-overlay-end: rgba(11, 226, 255, 0.32);
  --header-bg: rgba(15, 9, 36, 0.95);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---- Skip link ---- */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: white;
  border-radius: 0 0 4px 4px;
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  top: 0;
}

/* ---- Header ---- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  height: 56px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: white;
  flex-shrink: 0;
}
.logo img {
  width: 28px;
  height: 28px;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.site-nav {
  margin-left: auto;
  display: flex;
  gap: 0.25rem;
}
.site-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  background: var(--hero-image) center / cover no-repeat fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    var(--hero-overlay-start) 0%,
    var(--hero-overlay-mid) 50%,
    var(--hero-overlay-end) 100%
  );
}

.hero-theme-picker {
  position: absolute;
  top: 5.25rem;
  right: 1.5rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.theme-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.65);
  background: transparent;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.theme-dot[data-theme="default"] {
  background: linear-gradient(145deg, #B15A94 0%, #3A024F 100%);
}

.theme-dot[data-theme="pacifica"] {
  background: linear-gradient(145deg, #4682b4 0%, #2c5a84 100%);
}

.theme-dot[data-theme="forest"] {
  background: linear-gradient(145deg, #3f7f4f 0%, #1f4b30 100%);
}

.theme-dot[data-theme="darkwave"] {
  background: linear-gradient(145deg, #ff2ea6 0%, #0be2ff 100%);
}

.theme-dot:hover,
.theme-dot:focus-visible {
  transform: translateY(-1px) scale(1.05);
  border-color: white;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.theme-dot.is-active {
  border-color: white;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-portrait {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.3);
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: white;
  font-weight: normal;
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}
.hero h1 strong {
  font-weight: normal;
}

.hero-role {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */

.btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: white;
  color: var(--color-primary-dark);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 2px 12px rgba(177, 90, 148, 0.3);
}
.btn-secondary:hover {
  background: var(--color-primary-dark);
}

/* ---- Dictionary entry ---- */

.definition-section {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.dictionary-entry {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem 0;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  border: none;
}
.dictionary-entry strong {
  color: var(--color-text);
}
.dictionary-entry .pronunciation {
  color: var(--color-text-muted);
  font-style: italic;
}
.dictionary-entry .definitions {
  margin-top: 0.3rem;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

/* ---- Featured Projects ---- */

.featured-section {
  padding: 5rem 0;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--color-text);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--color-surface);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 12px 32px rgba(0, 0, 0, 0.08);
}

.project-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-border);
}
.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.project-card:hover .project-thumb img {
  transform: scale(1.04);
}

.project-info {
  padding: 1.25rem;
}
.project-info h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  color: var(--color-text);
}
.project-info p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ---- Footer ---- */

.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
}

/* ---- Page Header (shared across subpages) ---- */

.page-header {
  padding: 6rem 0 2.5rem;
  text-align: center;
  background: linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: white;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: normal;
  margin-bottom: 0.4rem;
}

.page-subtitle {
  font-size: 1.05rem;
  opacity: 0.8;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- Apps Page ---- */

.apps-section {
  padding: 3rem 0 4rem;
}

.app-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 2.5rem;
  background: var(--color-surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.app-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 12px 32px rgba(0, 0, 0, 0.08);
}

.app-row:nth-child(even) {
  direction: rtl;
}
.app-row:nth-child(even) .app-row-content {
  direction: ltr;
}

.app-row-image {
  height: 280px;
  overflow: hidden;
  background: var(--color-border);
}
.app-row-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}
.app-row:hover .app-row-image img {
  transform: scale(1.04);
}

.app-row-content {
  padding: 2.5rem;
}
.app-row-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
  color: var(--color-text);
}
.app-row-content h3 {
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.app-row-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

/* ---- Archive Page ---- */

.archive-section {
  padding: 3rem 0 4rem;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.archive-card {
  background: var(--color-surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.archive-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 12px 32px rgba(0, 0, 0, 0.08);
}

.archive-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  background: #111;
}
.archive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s, opacity 0.3s;
}
.archive-card:hover .archive-thumb img {
  transform: scale(1.04);
}

.archive-info {
  padding: 1.25rem;
}
.archive-info h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.archive-info p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}
.archive-info a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}
.archive-info a:hover {
  text-decoration: underline;
}

/* ---- Talks Page ---- */

.talks-section {
  padding: 3rem 0 4rem;
}

.talks-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.talk-card {
  background: var(--color-surface);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.talk-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 12px 32px rgba(0, 0, 0, 0.08);
}

.talk-meta {
  flex-shrink: 0;
  text-align: center;
  min-width: 90px;
}
.talk-meta time {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}
.talk-venue {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}

.talk-content h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.talk-content h2 a {
  color: var(--color-text);
  text-decoration: none;
}
.talk-content h2 a:hover {
  color: var(--color-primary);
}
.talk-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* ---- About Page ---- */

.about-section {
  padding: 3rem 0 4rem;
}

.about-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 840px;
  margin: 0 auto;
}

.about-portrait {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.about-bio h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.about-bio p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 1rem;
}
.about-bio a {
  color: var(--color-primary);
}
.about-bio a:hover {
  color: var(--color-primary-dark);
}

.about-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}
.btn-outline-dark:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ---- Resume Page ---- */

.resume-header {
  padding: 6rem 0 2rem;
  text-align: center;
  background: linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: white;
}

.resume-name {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: normal;
  margin-bottom: 0.3rem;
}

.resume-title {
  font-size: 1.15rem;
  opacity: 0.85;
  margin-bottom: 0.8rem;
}

.resume-contact {
  font-size: 0.9rem;
}
.resume-contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.resume-contact a:hover {
  color: white;
  text-decoration: underline;
}
.resume-contact .sep {
  margin: 0 0.5rem;
  opacity: 0.5;
}

.resume-body {
  padding: 2.5rem 0 4rem;
}

.resume-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
}

.resume-section {
  margin-bottom: 2rem;
}
.resume-section h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--color-border);
}
.resume-section > p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text);
}

.job {
  margin-bottom: 1.5rem;
}
.job-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.job-header h3 {
  font-size: 1rem;
  color: var(--color-text);
}
.job-date {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.job-company {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}
.job ul {
  padding-left: 1.2rem;
  margin: 0;
}
.job li {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 0.3rem;
}

.resume-sidebar {
  background: var(--color-surface);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
  align-self: start;
}

.tag-list {
  list-style: none;
  padding: 0;
}
.tag-list li {
  font-size: 0.9rem;
  padding: 0.3rem 0;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}
.tag-list li:last-child {
  border-bottom: none;
}

.tech-list {
  columns: 2;
  column-gap: 1.5rem;
}

.edu-entry {
  margin-bottom: 0.75rem;
}
.edu-entry strong {
  display: block;
  font-size: 0.9rem;
}
.edu-entry span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.contact-list {
  list-style: none;
  padding: 0;
}
.contact-list li {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}
.contact-list a {
  color: var(--color-primary);
  text-decoration: none;
}
.contact-list a:hover {
  text-decoration: underline;
}

.resume-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
  font-style: italic;
}

/* ---- Print (Resume) ---- */

@media print {
  .site-header,
  .site-footer,
  .skip-link {
    display: none;
  }
  .resume-header {
    padding-top: 1rem;
    background: none;
    color: var(--color-text);
  }
  .resume-contact a {
    color: var(--color-text);
  }
  .resume-sidebar {
    box-shadow: none;
    border: 1px solid var(--color-border);
  }
  body {
    font-size: 11pt;
  }
}

/* ---- Mobile ---- */

@media (max-width: 680px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 0.5rem 1rem 1rem;
    gap: 0;
    display: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    padding: 0.7rem 0.75rem;
    font-size: 1rem;
  }

  .hero {
    min-height: 80vh;
    padding: 5rem 1.25rem 3rem;
  }
  .hero-theme-picker {
    top: 4.5rem;
    right: 1rem;
  }
  .hero-portrait {
    width: 110px;
    height: 110px;
  }

  .project-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }

  .featured-section {
    padding: 3rem 0;
  }

  /* Apps */
  .app-row {
    grid-template-columns: 1fr;
  }
  .app-row:nth-child(even) {
    direction: ltr;
  }
  .app-row-image {
    height: 200px;
  }
  .app-row-content {
    padding: 1.5rem;
  }
  .app-row-content h2 {
    font-size: 1.4rem;
  }

  /* Archive */
  .archive-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
  }

  /* Talks */
  .talk-card {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
  }
  .talk-meta {
    text-align: left;
  }

  /* About */
  .about-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .about-portrait {
    width: 160px;
    height: 160px;
  }
  .about-links {
    justify-content: center;
  }

  /* Resume */
  .resume-layout {
    grid-template-columns: 1fr;
  }
  .resume-sidebar {
    order: -1;
  }
  .tech-list {
    columns: 2;
  }
  .job-header {
    flex-direction: column;
    gap: 0.1rem;
  }
}
