@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500;600&family=Inter:wght@400;500;600&family=Lora:wght@500;600&display=swap");

/*=============== VARIABLES ===============*/
:root {
  --header-h: 4.25rem;
  --radius: 1.25rem;
  --radius-sm: 0.75rem;

  /* Warm "paper" light theme is the default. No gradients anywhere. */
  --bg: #faf6f0;
  --surface: #fffdf9;
  --surface-2: #f3ede3;
  --border: #e6dccd;
  --title: #2b2420;
  --text: #5a4f46;
  --muted: #8a7d70;
  --accent: #c2552b;
  --accent-ink: #ffffff;
  --accent-soft: rgba(194, 85, 43, 0.1);
  --tint: #f1dccd; /* flat colour behind the portrait */

  --font-body: "Inter", "Roboto", system-ui, sans-serif;
  --font-title: "Lora", Georgia, serif;
  --font-hand: "Caveat", "Segoe Script", cursive;
}

body.dark-theme {
  --bg: #171310;
  --surface: #1f1a16;
  --surface-2: #27211c;
  --border: #38302a;
  --title: #f5ede4;
  --text: #b9ab9c;
  --muted: #857869;
  --accent: #ec8c5f;
  --accent-ink: #1a0f08;
  --accent-soft: rgba(236, 140, 95, 0.14);
  --tint: #3a2a20;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.75;
  background: var(--bg);
  color: var(--text);
  transition:
    background 0.3s,
    color 0.3s;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  color: var(--title);
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1.2;
}

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

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 200;
}
.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding-block: 6rem;
}

.section__head {
  max-width: 46rem;
  margin-bottom: 3.5rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.6rem;
  transform: rotate(-1.5deg);
}

.section__title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.section__title em {
  font-style: italic;
  color: var(--accent);
}

/*=============== BUTTONS ===============*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 500;
  font-size: 0.95rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-soft);
}
.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}
.btn--ghost {
  background: transparent;
  color: var(--title);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--accent);
  box-shadow: none;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--title);
  font-size: 1.15rem;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.icon-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.header.is-scrolled {
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__logo {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1;
  color: var(--title);
}
.nav__logo span {
  color: var(--accent);
}

.nav__list {
  display: flex;
  gap: 2rem;
}
.nav__link {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s;
}
.nav__link:hover,
.nav__link.active-link {
  color: var(--title);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav__toggle {
  display: none;
}

/*=============== HERO ===============*/
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 5rem;
  overflow: hidden;
}
.hero__container {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  font-size: 0.82rem;
  margin-bottom: 1.5rem;
}
.pill__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(61, 220, 132, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(61, 220, 132, 0);
  }
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  min-height: 2.3em;
}
.hero__typed {
  color: var(--accent);
  font-style: italic;
}
.hero__caret {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  margin-left: 4px;
  vertical-align: -0.1em;
  background: var(--accent);
  animation: blink 1s steps(2) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero__text {
  max-width: 34rem;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.hero__social {
  display: flex;
  gap: 1rem;
  font-size: 1.35rem;
}
.hero__social a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--title);
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.hero__social a:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.hero__visual {
  position: relative;
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: 1.5rem;
}
.hero__frame {
  position: relative;
  width: min(340px, 72vw);
  aspect-ratio: 4 / 5;
}
/* borderless arch with a single flat colour behind the portrait */
.hero__photo {
  position: absolute;
  inset: 0;
  border-radius: 999px 999px 1.5rem 1.5rem;
  background: var(--tint);
  overflow: hidden;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% top;
  transition: transform 0.8s ease;
}
.hero__frame:hover .hero__photo img {
  transform: scale(1.04);
}
.hero__caption {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-family: var(--font-hand);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--accent);
  transform: rotate(-2deg);
}
.hero__caption svg {
  width: 2.4rem;
  height: auto;
  margin-top: -1.1rem;
  flex: none;
}

/* handwritten touches */
.hand {
  font-family: var(--font-hand);
  font-weight: 600;
  color: var(--accent);
  line-height: 1.1;
}
.hero__hello {
  display: inline-block;
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}
.scribble {
  display: block;
  width: 7.5rem;
  height: 0.7rem;
  margin-top: 0.1rem;
  color: var(--accent);
}
.hero__hello-wrap {
  margin-bottom: 1rem;
}
.note {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 1.5rem;
  transform: rotate(-1.5deg);
}

/*=============== STORY ===============*/
.story {
  max-width: 40rem;
  margin-bottom: 4.5rem;
}
.story p {
  font-family: var(--font-title);
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--title);
}
.story p + p {
  margin-top: 1.1rem;
}
.signature {
  display: block;
  margin-top: 1.25rem;
  font-size: 2.2rem;
  transform: rotate(-2deg);
  transform-origin: left center;
}
.now {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 1.3rem;
  transform: rotate(-1.5deg);
}

/*=============== CARDS / BENTO ===============*/
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition:
    transform 0.25s,
    border-color 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.card h3 {
  font-size: 1.15rem;
  margin: 0.9rem 0 0.5rem;
}
.card__icon {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.35rem;
}
.card--accent {
  background: var(--tint);
  border-color: transparent;
}
.card--accent h3 {
  margin-top: 0;
  font-size: 1.4rem;
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.bento > .card {
  grid-column: span 2;
}
.bento > .bento__lg {
  grid-column: span 4;
}
.bento > .card:nth-child(3),
.bento > .card:nth-child(4) {
  grid-column: span 3;
}
.bento > .bento__wide {
  grid-column: 1 / -1;
}

.api-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.api-strip span {
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--accent);
  background: var(--surface-2);
}

/*=============== STATS ===============*/
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--border);
}
.stat:last-child {
  border-right: 0;
}
.stat__num,
.stat__plus {
  font-family: var(--font-title);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--title);
}
.stat__plus {
  color: var(--accent);
}
.stat p {
  font-size: 0.9rem;
  color: var(--muted);
}

/*=============== SKILLS ===============*/
.skills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.skills__group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.skills__group:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.skills__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}
.skills__title i {
  color: var(--accent);
}
.skills__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
}
.skill {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  padding: 1rem 0.5rem;
  text-align: center;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.skill:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.skill img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 0.4rem;
}
.skill span {
  color: var(--title);
  font-size: 0.88rem;
  font-weight: 500;
}
.skill em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--muted);
}

/*=============== EXPERIENCE ===============*/
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}
.split__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
}
.split__title i {
  color: var(--accent);
}
.timeline {
  position: relative;
  padding-left: 1.75rem;
  border-left: 1px solid var(--border);
  display: grid;
  gap: 2rem;
}
.timeline__item {
  position: relative;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-1.75rem - 5px);
  top: 0.45rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.timeline__date {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
}
.timeline__item h4 {
  font-size: 1.1rem;
  margin: 0.2rem 0;
}
.timeline__org {
  font-size: 0.92rem;
  color: var(--muted);
}

/*=============== PROJECTS ===============*/
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.filter {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text);
  transition: all 0.2s;
}
.filter:hover {
  border-color: var(--accent);
}
.filter.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.project {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.25s,
    border-color 0.25s,
    opacity 0.3s;
}
.project:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}
.project.is-hidden {
  display: none;
}
.project__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}
.project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.project:hover .project__media img {
  transform: scale(1.05);
}
.project__body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.project__tag {
  font-size: 0.78rem;
  color: var(--muted);
}
.project__body h3 {
  font-size: 1.2rem;
  margin: 0.25rem 0 0.9rem;
}
.project__media--placeholder {
  display: grid;
  place-items: center;
  background: var(--tint);
}
.project__media--placeholder i {
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.85;
}
.project__desc {
  font-size: 0.9rem;
  margin: -0.4rem 0 1rem;
}
.project__soon {
  font-size: 0.82rem;
  color: var(--muted);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--accent);
}
.link-arrow i {
  transition: transform 0.2s;
}
.link-arrow:hover i {
  transform: translate(3px, -3px);
}

/*=============== WHY / PROCESS ===============*/
.why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2.5rem;
}
.why__item {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  transition: border-color 0.25s;
}
.why__item:hover {
  border-top-color: var(--accent);
}
.why__item i {
  font-size: 1.6rem;
  color: var(--accent);
}
.why__item h3 {
  font-size: 1.1rem;
  margin: 0.8rem 0 0.4rem;
}
.why__item p {
  font-size: 0.93rem;
}

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  counter-reset: step;
}
.process__step {
  padding: 1.5rem 1.25rem;
  border-top: 2px solid var(--border);
  transition: border-color 0.25s;
}
.process__step:hover {
  border-top-color: var(--accent);
}
.process__num {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
}
.process__step h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0 0.35rem;
}
.process__step p {
  font-size: 0.9rem;
}

/*=============== REVIEWS ===============*/
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.reviews {
  gap: 3rem 2.5rem;
}
.review {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review figcaption {
  margin-top: auto;
  padding-top: 0.75rem;
}
.review::before {
  content: "\201C";
  font-family: var(--font-title);
  font-size: 4.5rem;
  line-height: 0.6;
  height: 2rem;
  color: var(--accent);
}
.review blockquote {
  font-family: var(--font-title);
  font-style: italic;
  color: var(--title);
  font-size: 1.05rem;
  line-height: 1.8;
}
.review figcaption {
  display: grid;
  font-size: 0.9rem;
}
.review figcaption strong {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--accent);
}
.review figcaption span {
  font-size: 0.8rem;
  color: var(--muted);
}

/*=============== CONTACT ===============*/
.cta {
  padding: clamp(1.75rem, 5vw, 4rem);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  background: var(--surface);
}
.cta > p {
  max-width: 34rem;
  margin: 1rem 0 0.5rem;
}
.cta .note {
  display: block;
  margin: 0 0 2.75rem;
}
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
}
.contact__info {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.contact__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--title);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
a.contact__row:hover {
  border-color: var(--accent);
}
.contact__row i {
  font-size: 1.4rem;
  color: var(--accent);
}
.contact__row small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

.contact__form {
  display: grid;
  gap: 1.1rem;
}
.contact__form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.contact__form input,
.contact__form textarea {
  font: inherit;
  color: var(--title);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 0.7rem 0.1rem;
  transition: border-color 0.2s;
}
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact__form textarea {
  resize: vertical;
}
.contact__form .btn {
  justify-self: start;
}
.contact__message {
  min-height: 1.2em;
  font-size: 0.85rem;
}
.color-red {
  color: #ef5350;
}
.color-blue {
  color: var(--accent);
}

/*=============== FOOTER ===============*/
.footer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}
.footer__container {
  padding-block: 3rem 2rem;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  font-size: 0.92rem;
}
.footer__list a:hover {
  color: var(--title);
}
.footer__social {
  display: flex;
  gap: 0.75rem;
  font-size: 1.25rem;
}
.footer__social a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--title);
  transition: border-color 0.2s;
}
.footer__social a:hover {
  border-color: var(--accent);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}
.footer__bottom a:hover {
  color: var(--title);
}

/*=============== SCROLL REVEAL ===============*/
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/*=============== SCROLLBAR ===============*/
::-webkit-scrollbar {
  width: 0.6rem;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 0.5rem;
}

/*=============== RESPONSIVE ===============*/
@media (max-width: 960px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero__visual {
    order: -1;
    justify-self: center;
  }
  .hero__frame {
    width: min(280px, 70vw);
  }

  .bento,
  .projects,
  .why,
  .reviews {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento > .card,
  .bento > .card:nth-child(3),
  .bento > .card:nth-child(4) {
    grid-column: auto;
  }
  .bento > .bento__lg,
  .bento > .bento__wide {
    grid-column: 1 / -1;
  }
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
  .skills,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav__toggle {
    display: grid;
  }
  .nav__cta {
    display: none;
  }
  .nav__menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    padding: 1.5rem 1.25rem 2rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: -1;
  }
  .nav__menu.show-menu {
    transform: none;
  }
  .nav__list {
    flex-direction: column;
    gap: 1.25rem;
  }
  .nav__link {
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) {
  .section {
    padding-block: 4rem;
  }
  .hero__caption {
    justify-content: center;
  }
  .bento,
  .projects,
  .why,
  .reviews,
  .process {
    grid-template-columns: 1fr;
  }
  .bento > .bento__lg,
  .bento > .bento__wide {
    grid-column: auto;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .stat:last-child {
    border-bottom: 0;
  }
}
