/* Home / Portfolio page — mobile-first 393px canvas. */

* { box-sizing: border-box; }
html, body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: clip;
  background: #efece5;
  font-family: var(--font-sans);
  color: var(--ink);
}

/* ─── Shell ────────────────────────────────────────────────────── */
.hm-shell {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
}
.hm-phone {
  --hm-grid-max: 393px;
  --hm-grid-gutter: 16px;
  --hm-grid-gap: 16px;
  --hm-cta-desktop-max: 352px;
  width: 100%;
  min-width: 360px;
  background: var(--paper);
  position: relative;
  overflow-x: clip;
  box-shadow: none;
  font-family: var(--font-sans);
  color: var(--ink);
}

.hm-site-avatar {
  z-index: 60;
}

/* ─── Hero — photo background with overlaid text ───────────────── */
.hm-hero {
  position: relative;
  width: 100%;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* Video background layer with SVG motion blur applied */
.hm-hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: url(#motion-blur);
  transform: scale(1.1); /* Scale slightly to hide translucent blurred edges */
}
/* Dark wash so light text stays legible */
.hm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(27, 24, 20, 0) 0%, rgba(27, 24, 20, 0) 58%, rgba(27, 24, 20, 0.52) 82%, var(--ink) 100%),
    linear-gradient(to bottom, rgba(104, 146, 158, 0.20) 0%, rgba(62, 101, 112, 0.10) 46%, rgba(27, 24, 20, 0.10) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
  mix-blend-mode: normal;
  z-index: 1;
}
.hm-hero-content {
  position: relative;
  z-index: 2;
  width: calc(100% - 32px);
  max-width: 100%;
  min-width: 0;
  margin: 0 16px;
  display: flex;
  flex-direction: column;
  padding: 72px 0 48px;
}
.hm-eyebrow {
  font-size: var(--type-size-meta);
  letter-spacing: var(--type-track-meta);
  text-transform: uppercase;
  color: var(--cream);
  line-height: var(--type-line-meta);
  margin-bottom: 8px;
}
.hm-headline {
  margin: 0;
  font-weight: 700;
  font-size: var(--type-size-hero);
  line-height: var(--type-line-hero);
  letter-spacing: var(--type-track-hero);
  color: var(--cream);
  margin-bottom: 24px;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
}
.hm-headline span {
  font-weight: 400;
}
.hm-lead {
  margin: 0;
  max-width: 100%;
  font-size: var(--type-size-body-small);
  line-height: var(--type-line-body-small);
  letter-spacing: var(--type-track-body-small);
  color: rgba(255, 245, 232, 0.9);
  overflow-wrap: normal;
  word-break: normal;
}
.hm-lead strong { font-weight: 700; color: var(--cream); }
.hm-hero-cta {
  width: 100%;
  margin-top: 64px;
}
.hm-scroll-cue {
  display: none;
}

@media (max-width: 374px) {
  .hm-hero {
    min-height: 640px;
  }

  .hm-hero-content {
    width: calc(100% - 32px);
    margin: 0 16px;
    padding: 72px 0 48px;
  }

  .hm-headline {
    font-size: 48px;
    line-height: 1.08;
    margin-bottom: 24px;
  }

  .hm-lead {
    font-size: var(--type-size-body-small);
    line-height: 1.55;
  }

  .hm-hero-cta {
    margin-top: 56px;
  }
}

@media (max-width: 392px) {
  .hm-headline {
    font-size: 50px;
  }

  .hm-hero-content {
    width: calc(100% - 32px);
    margin: 0 16px;
    padding-right: 0;
    padding-left: 0;
  }
}

/* ─── Ticker strip ─────────────────────────────────────────────── */
.hm-ticker {
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 245, 232, 0.08);
}
.hm-ticker-track {
  display: flex;
  width: max-content;
  animation: hm-ticker 48s linear infinite;
  gap: 0;
}
.hm-ticker-track:hover { animation-play-state: paused; }
@keyframes hm-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333333%); }
}
.hm-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0 0 0 24px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 245, 232, 0.55);
}
.hm-ticker-item::after {
  content: "";
  width: 8px;
  height: 8px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon points='12,2 15.09,8.26 22,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 2,9.27 8.91,8.26' fill='%23FF8A36'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex: 0 0 auto;
}

/* ─── Work reel ────────────────────────────────────────────────── */
.hm-reel {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
}
.hm-reel-img {
  position: absolute;
  inset: 0;
  background: url('../design-system/assets/work-reel.png') center / cover no-repeat;
  opacity: 0.75;
  transition: opacity 300ms var(--ease-out);
}
.hm-reel:hover .hm-reel-img { opacity: 0.6; }
.hm-reel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.hm-reel-play {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255, 252, 244, 0.15);
  border: 1.5px solid rgba(255, 252, 244, 0.40);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.hm-reel:hover .hm-reel-play { background: rgba(255, 252, 244, 0.22); transform: scale(1.08); }
.hm-reel-play svg { width: 24px; height: 24px; fill: var(--cream); margin-left: 3px; }
.hm-reel-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 252, 244, 0.55);
}

/* ─── Section base ─────────────────────────────────────────────── */
.hm-section {
  padding: 48px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hm-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.hm-section-count {
  font-size: var(--type-size-meta);
  line-height: var(--type-line-meta);
  letter-spacing: var(--type-track-meta);
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hm-section-title {
  margin: 0;
  font-weight: var(--fw-demi);
  font-size: var(--type-size-section-title);
  line-height: var(--type-line-section-title);
  letter-spacing: var(--type-track-section-title);
}

/* ─── Projects ─────────────────────────────────────────────────── */
.hm-work-section {
  --hm-work-content-max: 393px;
  --hm-work-gutter: 16px;
  --hm-work-padding-y: 48px;
  --hm-work-heading-gap: 24px;
  --hm-work-card-gap: 16px;
  --hm-work-card-ratio: 361 / 300;
  width: 100%;
}

.hm-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
/* Filter chips — follow the Secondary button spec (toggle/Selected pattern).
   Spec: design-system/README.md → Secondary Button. Kept as page-specific
   class because Secondary is not yet promoted into shared CSS. */
.hm-chip {
  height: 40px;
  padding: 0 24px;
  border-radius: 99px;
  border: 1px solid var(--ink);
  background: var(--color-cream-50);
  font-family: inherit;
  font-weight: var(--type-weight-button-secondary);
  font-size: var(--type-size-button-secondary);
  line-height: var(--type-line-button-secondary);
  letter-spacing: var(--type-track-button-secondary);
  color: var(--ink);
  cursor: pointer;
  transition:
    background 200ms var(--ease-out),
    color 200ms var(--ease-out),
    transform 160ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}
.hm-chip:hover {
  background: var(--color-cream-200);
  transform: translateY(-1px);
}
.hm-chip:active {
  background: var(--ink);
  color: var(--cream);
  transform: scale(0.95);
  box-shadow: none;
}
/* Selected — persistent toggle state */
.hm-chip.active {
  background: var(--ink);
  color: var(--cream);
  transform: none;
  box-shadow: none;
}
.hm-chip.active:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-1px);
}
.hm-chip:disabled,
.hm-chip[disabled] {
  background: var(--color-gray-500);
  border-color: transparent;
  color: var(--color-cream-700);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.hm-projects {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* "View all projects" now uses shared .pk-link (Text/Link role) */

/* ─── Featured project ─────────────────────────────────────────── */
.hm-featured-section {
  padding: 48px 16px;
  border-top: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hm-featured-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hm-featured-title {
  margin: 0;
  font-weight: var(--fw-demi);
  font-size: var(--type-size-section-title);
  line-height: var(--type-line-section-title);
  letter-spacing: var(--type-track-section-title);
}
.hm-featured-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hm-featured-tags span {
  min-height: 32px;
  padding: 6px 14px;
  border: 1px solid var(--color-gray-500);
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  font-size: var(--type-size-button-tertiary);
  line-height: var(--type-line-button-tertiary);
  color: var(--ink);
}
.hm-featured-copy p {
  margin: 0;
  font-size: var(--type-size-body);
  line-height: var(--type-line-body);
  letter-spacing: var(--type-track-body);
  color: var(--ink);
}
.hm-featured-facts {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-gray-500);
}
.hm-featured-facts div {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-gray-500);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
}
.hm-featured-facts dt {
  font-size: var(--type-size-meta);
  line-height: var(--type-line-meta);
  letter-spacing: var(--type-track-meta);
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hm-featured-facts dd {
  margin: 0;
  font-size: var(--type-size-body-small);
  line-height: var(--type-line-body-small);
  letter-spacing: var(--type-track-body-small);
  color: var(--ink);
}
.hm-featured-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.hm-featured-img {
  display: block;
  min-height: 220px;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-sm);
  background: var(--color-cream-200) center / cover no-repeat;
  transition: transform 240ms var(--ease-out), opacity 240ms var(--ease-out);
}
.hm-featured-img:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.hm-featured-img-1,
.hm-featured-img-4 {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}
.hm-featured-img:not(.hm-featured-img-1):not(.hm-featured-img-4) {
  min-height: 0;
  aspect-ratio: 1 / 1;
}

/* ─── Experience ───────────────────────────────────────────────── */
.hm-xp-section {
  background: var(--ink);
  color: var(--cream);
  padding: 48px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hm-xp-section .hm-section-title { color: var(--cream); }
.hm-xp-section .hm-section-count { color: var(--orange); }
.hm-xp-list { display: flex; flex-direction: column; }
.hm-xp-row {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 245, 232, 0.25);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hm-xp-row:first-child { border-top: 1px solid rgba(255, 245, 232, 0.12); }
.hm-xp-role {
  font-size: var(--type-size-row-title);
  font-weight: var(--fw-demi);
  line-height: var(--type-line-row-title);
  letter-spacing: var(--type-track-row-title);
  color: var(--cream);
}
.hm-xp-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.hm-xp-place {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(255, 245, 232, 0.55);
}
.hm-xp-dates {
  font-size: var(--type-size-meta);
  line-height: var(--type-line-meta);
  letter-spacing: var(--type-track-meta);
  color: rgba(255, 245, 232, 0.50);
  white-space: nowrap;
}
.hm-xp-dates-short { display: inline; }
.hm-xp-dates-full { display: none; }

/* ─── Skills ───────────────────────────────────────────────────── */
.hm-skills-section { padding-bottom: 64px; }
.hm-skills-list { display: flex; flex-direction: column; }
.hm-skill-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--ink);
}
.hm-skill-row:first-child { border-top: 1px solid var(--ink); }
.hm-skill-name {
  grid-column: 1;
  grid-row: 1;
  font-size: var(--type-size-feature-title);
  font-weight: 400;
  line-height: var(--type-line-feature-title);
  letter-spacing: var(--type-track-feature-title);
}
.hm-skill-num {
  grid-column: 2;
  grid-row: 1;
  font-size: var(--type-size-meta);
  line-height: var(--type-line-meta);
  letter-spacing: var(--type-track-meta);
  color: var(--orange);
  flex: 0 0 auto;
  padding-top: 8px;
}
.hm-skill-detail,
.hm-skill-tools {
  grid-column: 1 / -1;
  font-size: var(--type-size-body-small);
  line-height: var(--type-line-body-small);
  letter-spacing: var(--type-track-body-small);
}
.hm-skill-detail {
  color: rgba(27, 24, 20, 0.72);
}
.hm-skill-tools {
  color: var(--ink-muted);
  text-transform: uppercase;
  font-size: var(--type-size-meta);
  line-height: var(--type-line-meta);
  letter-spacing: 0.05em;
}

/* ─── Footer nav links ─────────────────────────────────────────── */
.pk-social-link {
  display: inline-flex;
  width: 32px; height: 32px;
  line-height: 0;
  cursor: pointer;
  transition: transform 200ms var(--ease-out);
}
@media (hover: hover) {
  .pk-social-link:hover { transform: scale(1.08); }
}
.pk-social-link img { width: 32px; height: 32px; display: block; }

@media (min-width: 640px) and (max-width: 899px) {
  .hm-hero-cta {
    width: 50%;
    min-width: 30vw;
    max-width: 50vw;
    padding-inline: 32px;
  }
}

@media (min-width: 900px) {
  .hm-shell {
    padding: 0;
    display: block;
  }

  .hm-phone {
    --hm-grid-max: 1248px;
    --hm-grid-gutter: 48px;
    --hm-grid-gap: 24px;
    --hm-button-max-desktop: calc((var(--hm-grid-max) - (11 * var(--hm-grid-gap))) / 12 * 5 + (4 * var(--hm-grid-gap)));
    --hm-type-hero-desktop: 96px;
    --hm-type-statement-desktop: 56px;
    --hm-type-section-title-desktop: 48px;
    --hm-type-feature-title-desktop: 40px;
    --hm-type-card-title-desktop: 24px;
    --hm-type-row-title-desktop: 20px;
    --hm-type-body-desktop: 18px;
    --hm-type-nav-desktop: 16px;
    --hm-type-meta-desktop: 16px;
    --hm-type-ticker-desktop: 14px;
    width: 100%;
    box-shadow: none;
  }


  .hm-hero {
    min-height: 780px;
  }

  .hm-hero-content {
    width: 100%;
    max-width: var(--hm-grid-max);
    min-height: 780px;
    margin: 0 auto;
    padding: 128px var(--hm-grid-gutter) 96px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--hm-grid-gap);
    align-content: center;
  }

  .hm-hero-content > * {
    grid-column: 1 / span 10;
  }

  .hm-headline {
    font-size: var(--hm-type-hero-desktop);
  }

  .hm-lead {
    max-width: 448px;
    font-size: var(--hm-type-body-desktop);
    line-height: 1.55;
  }

  .hm-scroll-cue {
    position: absolute;
    right: calc((100% - min(100%, var(--hm-grid-max))) / 2 + var(--hm-grid-gutter));
    bottom: 48px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    font-size: var(--hm-type-nav-desktop);
    line-height: 1.4;
    font-weight: var(--type-weight-button-secondary);
    letter-spacing: 0;
    color: rgba(255, 245, 232, 0.82);
    text-transform: uppercase;
  }

  .hm-hero-cta {
    grid-column: 1 / span 5;
    width: 100%;
    margin-top: 80px;
    min-width: 160px;
    max-width: var(--hm-button-max-desktop);
    padding-inline: 28px;
  }

  .hm-ticker-item {
    gap: 28px;
    padding: 0 0 0 28px;
    font-size: var(--hm-type-ticker-desktop);
    line-height: 1.5;
  }

  .hm-reel {
    height: clamp(520px, 52vw, 760px);
  }

  .hm-work-section {
    --hm-work-content-max: var(--hm-grid-max);
    --hm-work-gutter: var(--hm-grid-gutter);
    --hm-work-padding-y: 80px;
    --hm-work-heading-gap: 24px;
    --hm-work-card-gap: 24px;
    --hm-work-card-ratio: 4 / 3;
    width: 100%;
    max-width: var(--hm-work-content-max);
    margin: 0 auto;
    padding: var(--hm-work-padding-y) var(--hm-work-gutter);
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
    column-gap: var(--hm-grid-gap);
    row-gap: var(--hm-work-heading-gap);
  }

  .hm-work-section .hm-section-head,
  .hm-work-section .hm-projects {
    grid-column: 1 / -1;
  }

  .hm-work-section .hm-section-head {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-gray-300);
  }

  .hm-work-section .hm-section-title {
    grid-column: 1 / span 4;
    font-size: var(--hm-type-section-title-desktop);
  }

  .hm-work-section .hm-chips {
    grid-column: 7 / -1;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }

  .hm-work-section .hm-chip {
    min-width: 96px;
  }

  .hm-work-section .hm-projects {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--hm-work-card-gap);
    align-items: start;
    margin-top: 8px;
  }

  .hm-work-section .pk-project-card {
    min-width: 0;
    overflow: visible;
  }

  .hm-work-section .pk-project-card-img {
    aspect-ratio: var(--hm-work-card-ratio);
    border-radius: var(--r-sm);
    overflow: hidden;
  }

  .hm-work-section .pk-project-card-body {
    position: static;
    padding: 14px 0 0;
    background: transparent;
    border-top: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hm-work-section .pk-project-card:hover .pk-project-card-body {
    transform: none;
    background: transparent;
  }

  .hm-work-section .pk-project-card-title {
    max-width: 22rem;
    font-size: var(--hm-type-card-title-desktop);
    line-height: 1.2;
  }

  .hm-work-section .pk-link {
    grid-column: 10 / -1;
    justify-self: end;
    margin-top: 8px;
  }

  .hm-xp-section,
  .hm-section:not(.hm-work-section) {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 80px calc((100% - min(100%, var(--hm-grid-max))) / 2 + var(--hm-grid-gutter));
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--hm-grid-gap);
    row-gap: 24px;
  }

  .hm-xp-section .hm-section-head,
  .hm-xp-section .hm-section-title,
  .hm-xp-section .hm-xp-list,
  .hm-section:not(.hm-work-section) .hm-section-head,
  .hm-section:not(.hm-work-section) .hm-section-title,
  .hm-section:not(.hm-work-section) .hm-skills-list {
    grid-column: 1 / -1;
  }

  .hm-featured-section {
    width: 100%;
    max-width: var(--hm-grid-max);
    margin: 0 auto;
    padding: 96px var(--hm-grid-gutter);
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--hm-grid-gap);
    row-gap: 48px;
  }

  .hm-featured-copy {
    grid-column: 1 / span 4;
    grid-row: 1 / span 2;
    align-self: start;
    padding-left: 24px;
    border-left: 1px solid var(--ink);
  }

  .hm-featured-copy p {
    max-width: 384px;
    font-size: var(--hm-type-body-desktop);
    line-height: 1.55;
  }

  .hm-featured-title {
    font-size: var(--hm-type-section-title-desktop);
  }

  .hm-featured-facts {
    grid-column: 7 / -1;
    grid-row: 1;
  }

  .hm-featured-facts div {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--hm-grid-gap);
  }

  .hm-featured-facts dt {
    grid-column: 1 / span 2;
    font-size: var(--hm-type-meta-desktop);
    line-height: 1.5;
  }

  .hm-featured-facts dd {
    grid-column: 3 / -1;
    font-size: var(--type-size-body);
  }

  .hm-featured-gallery {
    grid-column: 5 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .hm-featured-img {
    min-height: 0;
  }



  .hm-section-title {
    font-size: var(--hm-type-section-title-desktop);
  }

  .hm-xp-role {
    font-size: var(--hm-type-row-title-desktop);
  }

  .hm-xp-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    column-gap: var(--hm-grid-gap);
    row-gap: 4px;
    align-items: start;
  }

  .hm-xp-meta {
    display: contents;
  }

  .hm-xp-role {
    grid-column: 1;
    grid-row: 1;
  }

  .hm-xp-place {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .hm-xp-place,
  .hm-xp-dates {
    font-size: var(--hm-type-meta-desktop);
    line-height: 1.5;
  }

  .hm-xp-dates {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    justify-self: end;
    max-width: 100%;
    text-align: right;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hm-xp-dates-short { display: none; }
  .hm-xp-dates-full { display: inline; }

  .hm-skills-section {
    padding-bottom: 96px;
  }

  .hm-skill-row {
    grid-template-columns: minmax(24px, 0.5fr) minmax(220px, 3fr) minmax(280px, 4fr) minmax(180px, 2fr);
    column-gap: var(--hm-grid-gap);
    align-items: start;
    padding: 28px 0;
  }

  .hm-skill-num {
    grid-column: 1;
    grid-row: 1;
    padding-top: 8px;
  }

  .hm-skill-name {
    grid-column: 2;
    grid-row: 1;
    font-size: 28px;
    line-height: 1.18;
    max-width: 18rem;
  }

  .hm-skill-detail {
    grid-column: 3;
    grid-row: 1;
    max-width: 34rem;
    font-size: var(--type-size-body);
    line-height: var(--type-line-body);
    letter-spacing: var(--type-track-body);
  }

  .hm-skill-tools {
    grid-column: 4;
    grid-row: 1;
    justify-self: end;
    max-width: 14rem;
    text-align: right;
  }
}

@media (min-width: 1180px) {
  .hm-phone {
    --hm-grid-gutter: 64px;
    --hm-grid-gap: 32px;
    --hm-type-hero-desktop: 104px;
  }

  .hm-hero,
  .hm-hero-content {
    min-height: 860px;
  }

  .hm-hero-content {
    padding-top: 144px;
    padding-bottom: 112px;
  }

  .hm-hero-content > * {
    grid-column: 1 / span 8;
  }

  .hm-hero-cta {
    max-width: var(--hm-button-max-desktop);
  }

  .hm-reel {
    height: clamp(620px, 54vw, 860px);
  }

  .hm-work-section {
    --hm-work-card-gap: 32px;
  }

  .hm-work-section .hm-projects {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 640px) and (max-width: 899px) {
  .hm-section, .hm-hero-content {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}
