/* ==========================================================================
   Lattice Digital — Portfolio Stylesheet
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600&display=swap");

:root {
  --ink: #10141c;
  --ink-soft: #1b2130;
  --paper: #f5f3ee;
  --paper-dim: #ece8de;
  --slate: #5b6472;
  --slate-light: rgba(245, 243, 238, 0.62);
  --signal: #2f6f5e;
  --signal-light: #4a8d7a;
  --gold: #c79a4b;
  --line: #d9d4c8;
  --line-dark: rgba(245, 243, 238, 0.14);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1180px;
  --gutter: clamp(24px, 5vw, 64px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(72px, 11vw, 132px) 0;
}
.section--dark {
  background: var(--ink);
  color: var(--paper);
}
.section--dim {
  background: var(--paper-dim);
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--signal);
  margin: 0 0 14px;
}
.section--dark .eyebrow {
  color: var(--gold);
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.section-head.in-view {
  opacity: 1;
  transform: translateY(0);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.section-head p {
  color: var(--slate);
  font-size: 1.05rem;
  max-width: 52ch;
  margin: 16px 0 0;
}
.section--dark .section-head p {
  color: var(--slate-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 3px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition:
    transform 0.3s var(--ease),
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--signal);
  transform: translateY(-2px);
}
.btn--ghost {
  border-color: var(--line);
  color: var(--paper);
}
.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.section--dark .btn--ghost {
  border-color: var(--line-dark);
  color: var(--paper);
}
.section--dark .btn--ghost:hover {
  border-color: var(--paper);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition:
    padding 0.35s var(--ease),
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.nav.scrolled {
  padding: 14px 0;
  background: rgba(245, 243, 238, 0.86);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.35s var(--ease);
}
.nav.scrolled .nav-logo {
  color: var(--ink);
}
.nav-logo .mark {
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 1px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate-light);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}
.nav.scrolled .nav-links a {
  color: var(--slate);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a.active {
  color: var(--gold);
}
.nav.scrolled .nav-links a.active {
  color: var(--signal);
}
.nav-cta {
  display: none;
}
.nav .btn--primary {
  padding: 10px 20px;
  font-size: 0.88rem;
}
.nav:not(.scrolled) .btn--primary {
  background: var(--paper);
  color: var(--ink);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--paper);
  transition: background 0.3s ease;
}
.nav.scrolled .nav-toggle span {
  background: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.hero-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.net-pulse {
  fill: var(--gold);
  filter: drop-shadow(0 0 4px rgba(199, 154, 75, 0.7));
}

.hero-network path {
  fill: none;
  stroke: var(--line-dark);
  stroke-width: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.hero-network circle {
  fill: var(--gold);
  opacity: 0;
}
.hero .wrap {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
}
.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
  margin: 0 0 22px;
  opacity: 0;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  max-width: 15ch;
  opacity: 0;
}
.hero-sub {
  margin: 28px 0 0;
  font-size: 1.15rem;
  color: var(--slate-light);
  max-width: 46ch;
  opacity: 0;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  opacity: 0;
  flex-wrap: wrap;
}
.hero-strip {
  margin-top: 88px;
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
  border-top: 1px solid var(--line-dark);
  padding-top: 28px;
  opacity: 0;
}
.hero-strip-item .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--paper);
}
.hero-strip-item .label {
  font-size: 0.82rem;
  color: var(--slate-light);
  margin-top: 2px;
}

.hero-eyebrow,
.hero h1,
.hero-sub,
.hero-actions,
.hero-strip {
  animation: rise 0.9s var(--ease) forwards;
}
.hero-eyebrow {
  animation-delay: 0.15s;
}
.hero h1 {
  animation-delay: 0.28s;
}
.hero-sub {
  animation-delay: 0.46s;
}
.hero-actions {
  animation-delay: 0.6s;
}
.hero-strip {
  animation-delay: 0.78s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Capabilities I ---------- */
/* .cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.cap-item {
  padding: 32px 28px 32px 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  position: relative;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
.cap-item.in-view {
  opacity: 1;
  transform: translateY(0);
}
.cap-item:nth-child(3n) {
  border-right: none;
  padding-right: 0;
}
.cap-item:nth-child(3n + 1),
.cap-item:nth-child(3n + 2) {
  padding-right: 28px;
}
.cap-grid > .cap-item {
  padding-left: 0;
}
.cap-grid > .cap-item:not(:nth-child(3n + 1)) {
  padding-left: 28px;
}

.cap-icon {
  width: 34px;
  height: 34px;
  color: var(--signal);
  margin-bottom: 18px;
}
.cap-icon svg {
  width: 100%;
  height: 100%;
}
.cap-item h3 {
  margin-bottom: 10px;
}
.cap-item p.summary {
  color: var(--slate);
  font-size: 0.96rem;
  margin: 0;
}
.cap-details {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s var(--ease),
    margin-top 0.4s var(--ease);
}
.cap-item:hover .cap-details,
.cap-item:focus-within .cap-details {
  max-height: 200px;
  margin-top: 14px;
}
.cap-details li {
  font-size: 0.85rem;
  color: var(--ink);
  padding: 5px 0 5px 16px;
  position: relative;
}
.cap-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 1px;
  background: var(--signal);
} */

/* ---------- Capabilities I END---------- */

/* ---------- Capabilities II ---------- */
.cap-tabs {
  display: grid;
  grid-template-columns: 300px 1fr;
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
.cap-tabs.in-view {
  opacity: 1;
  transform: translateY(0);
}
.cap-tab-list {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}
.cap-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 20px 22px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--slate);
  position: relative;
  transition:
    color 0.25s ease,
    background 0.25s ease;
}
.cap-tab:last-child {
  border-bottom: none;
}
.cap-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--signal);
  transform: scaleY(0);
  transition: transform 0.3s var(--ease);
}
.cap-tab-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--slate);
  transition: color 0.25s ease;
}
.cap-tab-icon svg {
  width: 100%;
  height: 100%;
}
.cap-tab:hover {
  color: var(--ink);
  background: var(--paper-dim);
}
.cap-tab.active {
  color: var(--ink);
  background: var(--paper-dim);
}
.cap-tab.active::before {
  transform: scaleY(1);
}
.cap-tab.active .cap-tab-icon {
  color: var(--signal);
}

.cap-tab-panel {
  padding: 44px 48px;
}
.cap-tab-panel .cap-icon {
  width: 42px;
  height: 42px;
  color: var(--signal);
  margin-bottom: 20px;
}
.cap-tab-panel .cap-icon svg {
  width: 100%;
  height: 100%;
}
.cap-tab-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.cap-tab-panel p.summary {
  color: var(--slate);
  font-size: 1.02rem;
  max-width: 46ch;
  margin: 0 0 24px;
}
.cap-details {
  list-style: none;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
}
.cap-details li {
  font-size: 0.92rem;
  color: var(--ink);
  padding: 6px 0 6px 16px;
  position: relative;
}
.cap-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 1px;
  background: var(--signal);
}
.cap-tab-panel.fade-in {
  animation: fadeIn 0.4s ease;
}

/* ---------- Capabilities II END---------- */

/* ---------- Work / Projects ---------- */
.work-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.filter-btn {
  background: none;
  border: 1px solid var(--line-dark);
  color: var(--slate-light);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.25s ease;
}
.filter-btn:hover {
  border-color: var(--paper);
  color: var(--paper);
}
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.project-card {
  background: var(--ink);
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease),
    background 0.3s ease,
    border-color 0.3s ease;
}
.project-card.in-view {
  opacity: 1;
  transform: translateY(0);
}
.project-card.filtered-out {
  display: none;
}
.project-card:hover {
  background: var(--ink-soft);
  border-color: var(--gold);
}
.project-bar {
  width: 34px;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 22px;
}
.project-card .cat {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold);
  margin-bottom: 10px;
}
.project-card h3 {
  color: var(--paper);
  margin-bottom: 10px;
}
.project-card p.summary {
  color: var(--slate-light);
  font-size: 0.92rem;
  flex-grow: 1;
  margin: 0 0 20px;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.project-tags span {
  font-size: 0.74rem;
  color: var(--slate-light);
  border: 1px solid var(--line-dark);
  padding: 4px 10px;
  border-radius: 999px;
}
.project-year {
  font-size: 0.8rem;
  color: var(--slate-light);
  border-top: 1px solid var(--line-dark);
  padding-top: 14px;
  margin-top: auto;
}

/* ---------- Process ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.step {
  position: relative;
  padding-top: 44px;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
.step.in-view {
  opacity: 1;
  transform: translateY(0);
}
.step-dot {
  position: absolute;
  top: 8px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--signal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--signal);
  z-index: 1;
}
.step-duration {
  font-size: 0.76rem;
  color: var(--signal);
  font-weight: 600;
  margin-bottom: 8px;
}
.step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.step p {
  color: var(--slate);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- About + Stats ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.about-copy p {
  color: var(--slate);
  font-size: 1.02rem;
  margin: 0 0 18px;
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat-item {
  background: var(--paper-dim);
  padding: 30px 26px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--signal);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 10px;
}

/* ---------- Testimonials ---------- */
.testimonial-wrap {
  max-width: 760px;
}
.t-slide {
  display: none;
  animation: fadeIn 0.6s ease;
}
.t-slide.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.t-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  color: var(--paper);
  margin: 0 0 28px;
}
.t-name {
  font-weight: 600;
  color: var(--gold);
}
.t-role {
  color: var(--slate-light);
  font-size: 0.9rem;
  margin-top: 2px;
}
.t-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 44px;
}
.t-dots {
  display: flex;
  gap: 8px;
}
.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-dark);
  border: none;
  padding: 0;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}
.t-dot.active {
  background: var(--gold);
  transform: scale(1.2);
}
.t-arrow {
  background: none;
  border: 1px solid var(--line-dark);
  color: var(--paper);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease;
}
.t-arrow:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
}
.contact-info-list {
  margin-top: 32px;
}
.contact-info-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}
.contact-info-list li span:first-child {
  color: var(--slate);
}
.contact-info-list li span:last-child {
  font-weight: 500;
}
.contact-social {
  margin-top: 28px;
  display: flex;
  gap: 18px;
}
.contact-social a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.form-field {
  margin-bottom: 20px;
}
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 3px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.25s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--signal);
}
.form-field textarea {
  min-height: 120px;
  resize: vertical;
}
.form-success {
  display: none;
  background: var(--signal);
  color: var(--paper);
  padding: 16px 20px;
  border-radius: 3px;
  font-size: 0.92rem;
  margin-top: 18px;
}
.form-success.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--slate-light);
  padding: 50px 0 34px;
  font-size: 0.85rem;
}
.footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 28px;
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Counter view helper ---------- */
[data-count] {
  font-variant-numeric: tabular-nums;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  /* ---------- Capabilities II ---------- */

  .cap-tabs {
    grid-template-columns: 1fr;
  }
  .cap-tab-list {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .cap-tab {
    border-bottom: none;
    border-right: 1px solid var(--line);
    white-space: nowrap;
  }
  .cap-tab::before {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 3px;
    transform: scaleX(0);
  }
  .cap-tab.active::before {
    transform: scaleX(1);
  }
  .cap-details {
    grid-template-columns: 1fr;
  }

  /* ---------- Capabilities II END ---------- */
  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cap-grid > .cap-item:nth-child(3n + 1) {
    padding-left: 0;
  }
  .cap-grid > .cap-item:not(:nth-child(2n + 1)) {
    padding-left: 28px;
  }
  .cap-item:nth-child(3n) {
    border-right: 1px solid var(--line);
    padding-right: 28px;
  }
  .cap-item:nth-child(2n) {
    border-right: none;
    padding-right: 0;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }
  .timeline::before {
    display: none;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }
  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a {
    color: var(--slate-light);
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav-links .btn {
    margin-top: 12px;
  }
  .nav-toggle {
    display: flex;
  }
  .nav .btn--primary:not(.nav-links .btn) {
    display: none;
  }

  .cap-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }
  .cap-grid > .cap-item {
    border-right: none !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .work-head-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
