
/* =====================================================
   KRINSH PATEL — PORTFOLIO DESIGN SYSTEM
   FMCG Food & Beverage | Sales | Marketing | Brand Building
===================================================== */

/* 1. DESIGN TOKENS */
:root {
  --bg: #f5f3ed;
  --surface: #fffdf8;
  --ink: #171719;
  --muted: #6c6b68;
  --line: #dedbd2;
  --lime: #d5f36a;
  --orange: #ff7048;
  --purple: #b6a0ff;
  --dark: #151519;
  --font: "Manrope", Arial, sans-serif;
  --mono: "DM Mono", monospace;
  --content-width: 1160px;
  --section-space: clamp(64px, 8vw, 100px);
}

/* 2. RESET AND GLOBAL STYLES */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

section {
  min-width: 0;
  scroll-margin-top: 90px;
}

p,
h1,
h2,
h3,
h4 {
  overflow-wrap: break-word;
}

.section-padding {
  padding: var(--section-space)
    max(24px, calc((100% - var(--content-width)) / 2));
}

/* 3. SHARED COMPONENTS */
.section-heading {
  max-width: 760px;
  margin: 0 0 42px;
}

.eyebrow,
.section-eyebrow {
  margin: 0;
  color: #77746b;
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.8;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 14px 0 18px;
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.075em;
}

.section-heading > p:last-child {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: #343438;
}

.btn-outline {
  border-color: #cbc7bd;
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover {
  background: #ebe8df;
}

.text-link {
  display: inline-block;
  margin-top: 20px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--orange);
  font-size: 0.8rem;
  font-weight: 800;
}

.text-link:hover {
  color: #a83e23;
}

.section-note {
  margin: 22px 0 0;
  color: #858279;
  font-size: 0.72rem;
}

/* 4. NAVIGATION */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245, 243, 237, 0.95);
  border-bottom: 1px solid rgba(23, 23, 25, 0.09);
  backdrop-filter: blur(14px);
}

.navbar {
  display: flex;
  width: min(var(--content-width), calc(100% - 48px));
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.logo {
  flex-shrink: 0;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.1em;
}

.logo span {
  margin-left: 5px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0;
  vertical-align: top;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: #5f5d58;
  font-size: 0.69rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--orange);
}

.nav-links .nav-contact {
  display: inline-block;
  padding: 11px 14px;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
}

.nav-links .nav-contact:hover {
  background: #37373b;
  color: #fff;
}

.menu-toggle {
  display: none;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

/* 5. HERO SECTION */
.hero {
  padding-top: clamp(60px, 8vw, 90px);
  padding-bottom: clamp(60px, 7vw, 85px);
}

.hero-container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(34px, 6vw, 70px);
}

.hero-content {
  min-width: 0;
}

.hero-content h1 {
  margin: 25px 0;
  font-size: clamp(3rem, 5.5vw, 5.7rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.085em;
}

.hero-content h1 span {
  color: #9988d8;
}

.hero-description {
  max-width: 620px;
  margin: 0;
  color: #62615c;
  font-size: 0.96rem;
  line-height: 1.9;
}

.hero-actions,
.creator-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 28px;
  margin-top: 42px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.hero-facts > div {
  display: grid;
  align-content: start;
  gap: 5px;
}

.fact-label {
  color: #8a877f;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

.hero-facts strong {
  font-size: 0.76rem;
  line-height: 1.5;
}

.hero-image {
  position: relative;
  min-width: 0;
  padding: 20px 20px 45px 0;
}

.hero-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 3px;
  background: #e5dfd4;
  object-fit: cover;
  object-position: center;
}

.image-decoration {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: 65%;
  height: 75%;
  border-radius: 3px;
  background: var(--lime);
}

.image-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 25px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
  background: var(--dark);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.04em;
}

/* 6. PROFESSIONAL SNAPSHOT */
.snapshot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  padding-top: 0;
  padding-bottom: 90px;
}

.snapshot-card {
  display: flex;
  min-width: 0;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 24px;
  border: 1px solid #e6e2d9;
  background: var(--surface);
  transition: transform 0.25s ease;
}

.snapshot-card:hover {
  transform: translateY(-4px);
}

.snapshot-card strong {
  font-size: 2.8rem;
  line-height: 1.1;
  letter-spacing: -0.08em;
}

.snapshot-card span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

/* 7. ABOUT ME */
.about {
  background: var(--dark);
  color: #fff;
}

.about .eyebrow {
  color: #b8b4c6;
}

.about .section-heading h2 {
  color: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(36px, 6vw, 75px);
}

.about-copy p {
  margin: 0 0 18px;
  color: #c1bec8;
  font-size: 0.88rem;
  line-height: 2;
}

.about-copy .about-lead {
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.65;
  letter-spacing: -0.035em;
}

.about .text-link {
  border-color: var(--lime);
}

.principles {
  border-top: 1px solid #414047;
}

.principles article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 15px;
  padding: 24px 0;
  border-bottom: 1px solid #414047;
}

.principles article > span {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.principles h3 {
  margin: 0 0 6px;
  font-size: 0.97rem;
}

.principles p {
  margin: 0;
  color: #bcb9c3;
  font-size: 0.8rem;
  line-height: 1.8;
}

/* 8. PROJECTS */
.projects,
.achievements {
  background: #eeece4;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  min-width: 0;
  border: 1px solid #e4e0d7;
  background: var(--surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(25, 25, 25, 0.07);
}

.project-visual {
  position: relative;
  display: flex;
  height: 240px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-visual.has-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08),
    rgba(0, 0, 0, 0.45)
  );
  content: "";
}

.project-visual.has-image .project-number,
.project-visual.has-image .visual-caption {
  z-index: 1;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.project-britannia .project-visual {
  background: #dce5d3;
}

.project-pepsico .project-visual {
  background: #f4d8cb;
}

.project-export .project-visual {
  background: #f1e6ba;
}

.project-impact .project-visual {
  background: #ded5f7;
}

.project-number {
  position: absolute;
  top: 17px;
  left: 18px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.visual-symbol {
  color: rgba(23, 23, 25, 0.82);
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.12em;
}

.project-pepsico .visual-symbol {
  color: #b64d36;
}

.project-export .visual-symbol {
  color: #5e673b;
}

.project-impact .visual-symbol {
  color: #5e4b91;
}

.visual-caption {
  position: absolute;
  right: 18px;
  bottom: 17px;
  font-family: var(--mono);
  font-size: 0.57rem;
  letter-spacing: 0.06em;
}

.project-content {
  padding: 25px;
}

.project-category {
  margin: 0;
  color: #827e74;
  font-family: var(--mono);
  font-size: 0.6rem;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

.project-content h3 {
  margin: 12px 0;
  font-size: 1.45rem;
  line-height: 1.3;
  letter-spacing: -0.045em;
}

.project-content > p:not(.project-category) {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.9;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.project-tags span {
  padding: 6px 9px;
  border: 1px solid #e0dcd2;
  border-radius: 2px;
  color: #65625b;
  font-size: 0.64rem;
}

/* 9. EXPERIENCE TIMELINE */
.experience {
  background: var(--bg);
}

.experience-list {
  position: relative;
  border-top: 1px solid var(--line);
}

/* Date | red marker | description */
.experience-item {
  position: relative;
  display: grid;
  grid-template-columns: 145px 18px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  width: 100%;
  min-width: 0;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.experience-date {
  grid-column: 1;
  min-width: 0;
  padding-top: 5px;
  color: #77746b;
  font-family: var(--mono);
  font-size: 0.62rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.experience-marker {
  position: relative;
  grid-column: 2;
  width: 11px;
  height: 11px;
  margin-top: 8px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  outline: 1px solid var(--orange);
  background: var(--orange);
  z-index: 1;
}

/* Connecting line between entries */
.experience-item:not(:last-child) .experience-marker::after {
  position: absolute;
  top: 7px;
  left: 1px;
  z-index: -1;
  width: 1px;
  height: 190px;
  background: var(--line);
  content: "";
}

.experience-details,
.experience-content {
  grid-column: 3;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.experience-type {
  margin: 0;
  color: #8a867c;
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.07em;
}

.experience-details h3,
.experience-content h3 {
  margin: 7px 0;
  font-size: 1.45rem;
  line-height: 1.3;
  letter-spacing: -0.05em;
}

.experience-details h4,
.experience-content h4 {
  margin: 0 0 12px;
  font-size: 0.87rem;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.experience-details p,
.experience-content p {
  max-width: 850px;
  color: #66645e;
  font-size: 0.82rem;
  line-height: 1.9;
}

.experience-details ul,
.experience-content ul {
  margin: 0;
  padding-left: 18px;
  color: #66645e;
  font-size: 0.82rem;
  line-height: 1.95;
}

.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.experience-tags span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.64rem;
}

/* 10. SKILLS */
.skills {
  background: #eeece4;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.skill-card {
  min-width: 0;
  min-height: 185px;
  padding: 25px;
  border: 1px solid #e3dfd6;
  background: var(--surface);
  transition: transform 0.25s ease;
}

.skill-card:hover {
  transform: translateY(-4px);
}

.skill-card > span,
.skill-card .skill-icon {
  display: inline-flex;
  min-width: 34px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  border: 1px solid #e3dfd6;
  color: #7663b8;
  font-family: var(--mono);
  font-size: 0.7rem;
}

.skill-card h3 {
  margin: 18px 0 12px;
  font-size: 1.1rem;
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.skill-card p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.85;
}

.skill-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.skill-list li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-top: 1px solid #e9e5dc;
  color: #55534e;
  font-size: 0.82rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.skill-list li::before {
  position: absolute;
  top: 1.18em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

/* 11. EDUCATION */
.education {
  background: var(--bg);
}

.education-list {
  border-top: 1px solid var(--line);
}

.education-item {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr) 120px;
  align-items: center;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.education-year,
.education-status {
  color: #817d73;
  font-family: var(--mono);
  font-size: 0.61rem;
}

.education-item h3 {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.5;
  letter-spacing: -0.03em;
}

.education-item p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.education-status {
  text-align: right;
}

/* 12. VOLUNTEER AND AWARDS */
.volunteer {
  background: var(--bg);
}

.volunteer .experience-item {
  grid-template-columns: 145px 18px minmax(0, 1fr);
}

.achievements {
  background: #eeece4;
}

.achievements .experience-item {
  background: transparent;
}

/* 13. CREATOR SECTION */
.creator {
  background: var(--dark);
  color: #fff;
}

.creator-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(36px, 6vw, 70px);
}

.creator-art {
  position: relative;
  display: grid;
  min-height: 310px;
  place-items: center;
  overflow: hidden;
  background: var(--purple);
  color: #29213e;
}

.creator-art::before,
.creator-art::after {
  position: absolute;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(41, 33, 62, 0.35);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.creator-art::after {
  width: 310px;
  height: 310px;
}

.play-symbol {
  position: relative;
  z-index: 1;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  padding-left: 5px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}

.creator-art:hover .play-symbol {
  transform: scale(1.08);
}

.creator-art p {
  position: absolute;
  bottom: 15px;
  left: 16px;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.57rem;
  letter-spacing: 0.06em;
}

.creator-content .eyebrow {
  color: #b8b4c6;
}

.creator-content h2 {
  margin: 15px 0 20px;
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.07em;
}

.creator-content > p:not(.eyebrow) {
  color: #c1bec8;
  font-size: 0.88rem;
  line-height: 1.95;
}

.creator .btn-primary {
  background: var(--lime);
  color: var(--ink);
}

.creator .btn-primary:hover {
  background: #e1ff84;
}

.creator .btn-outline {
  border-color: #55535e;
  color: #fff;
}

.creator .btn-outline:hover {
  background: #29282f;
}

/* 14. CONTACT */
.contact {
  background: var(--lime);
}

.contact-content {
  max-width: 850px;
}

.contact .eyebrow {
  color: #505b31;
}

.contact-content h2 {
  margin: 20px 0;
  font-size: clamp(3rem, 6.5vw, 5.7rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.085em;
}

.contact-content > p:not(.eyebrow) {
  max-width: 540px;
  color: #505542;
  font-size: 0.94rem;
  line-height: 1.9;
}

.contact .btn-outline {
  border-color: #9baa73;
}

.contact .btn-outline:hover {
  background: rgba(255, 255, 255, 0.3);
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #aab87e;
  color: #4d5734;
  font-family: var(--mono);
  font-size: 0.65rem;
}

/* 15. FOOTER */
.footer {
  display: flex;
  width: min(var(--content-width), calc(100% - 48px));
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 auto;
}

.footer p {
  margin: 0;
  color: #77746b;
  font-size: 0.69rem;
}

.footer > a:last-child {
  font-family: var(--mono);
  font-size: 0.61rem;
  font-weight: 500;
}

/* 16. TABLET RESPONSIVENESS */
@media (max-width: 1050px) {
  .navbar {
    gap: 12px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 0.65rem;
  }

  .hero-container {
    gap: 38px;
  }

  .hero-content h1 {
    font-size: clamp(3rem, 6vw, 4.8rem);
  }

  .hero-facts {
    gap: 20px;
  }

  .snapshot-card {
    padding: 20px;
  }

  .about-grid,
  .creator-grid {
    gap: 40px;
  }
}

/* 17. MOBILE NAVIGATION AND LAYOUT */
@media (max-width: 820px) {
  html {
    scroll-padding-top: 76px;
  }

  .navbar {
    position: relative;
    width: calc(100% - 32px);
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    right: -16px;
    left: -16px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    box-shadow: 0 14px 25px rgba(23, 23, 25, 0.07);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 12px 0;
    font-size: 0.86rem;
  }

  .nav-links li .nav-contact {
    margin-top: 8px;
    padding: 12px 15px;
    text-align: center;
  }

  .hero-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .hero-content h1 {
    font-size: clamp(3rem, 10vw, 5rem);
  }

  .hero-image {
    width: min(100%, 480px);
    margin: 0 auto;
  }

  .snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding-top: 0;
  }

  .snapshot-card {
    min-height: 125px;
  }

  .snapshot-card strong {
    font-size: 2.4rem;
  }

  .about-grid,
  .creator-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
  }

  .creator-art {
    min-height: 260px;
  }

  .experience-item,
  .volunteer .experience-item {
    grid-template-columns: 125px 18px minmax(0, 1fr);
    gap: 12px;
  }

  .experience-details h3,
  .experience-content h3 {
    font-size: 1.25rem;
  }

  .education-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 14px;
  }

  .education-year {
    grid-column: 1;
  }

  .education-status {
    grid-column: 2;
    grid-row: 1;
  }

  .education-item > div {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* 18. SMALL MOBILE */
@media (max-width: 600px) {
  .section-padding {
    padding: 64px 18px;
  }

  .hero {
    padding-top: 54px;
    padding-bottom: 64px;
  }

  .hero-content h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .hero-description {
    font-size: 0.9rem;
    line-height: 1.85;
  }

  .hero-actions .btn,
  .creator-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .hero-facts {
    gap: 18px 22px;
  }

  .image-caption {
    left: 12px;
    padding: 12px;
    font-size: 0.5rem;
  }

  .snapshot {
    padding-top: 0;
    padding-bottom: 64px;
  }

  .snapshot-card {
    padding: 16px;
  }

  .snapshot-card strong {
    font-size: 2rem;
  }

  .snapshot-card span {
    font-size: 0.7rem;
  }

  .section-heading h2 {
    font-size: clamp(2.3rem, 10vw, 2.8rem);
  }

  .projects-grid,
  .skills-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-visual {
    height: 215px;
  }

  .project-content {
    padding: 20px;
  }

  .project-content h3 {
    font-size: 1.3rem;
  }

  /* Stack experience entries on phones to prevent narrow text columns. */
  .experience-item,
  .volunteer .experience-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 24px 0;
  }

  .experience-date,
  .experience-details,
  .experience-content {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  .experience-date {
    padding-top: 0;
  }

  .experience-marker,
  .experience-item:not(:last-child) .experience-marker::after {
    display: none;
  }

  .experience-details h3,
  .experience-content h3 {
    font-size: 1.22rem;
  }

  .about-copy .about-lead {
    font-size: 1.15rem;
  }

  .skill-card {
    min-height: auto;
    padding: 22px;
  }

  .creator-content h2 {
    font-size: 2.5rem;
  }

  .contact-content h2 {
    font-size: clamp(2.7rem, 12vw, 3.4rem);
  }

  .contact-details {
    flex-direction: column;
    margin-top: 40px;
  }

  .footer {
    width: calc(100% - 36px);
    justify-content: space-between;
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .footer p:nth-of-type(1),
  .footer p:nth-of-type(2) {
    width: 100%;
  }
}

/* 19. ACCESSIBILITY */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #8c77d4;
  outline-offset: 4px;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
