/* ============================================================
   Marek Andryszczyk — strona wizytówkowa
   Baza (kolory, fonty, przyciski, menu, stopka) z ../styles.css,
   układ wzorowany na llhqv2.vercel.app.
   ============================================================ */

.page-profil { background: var(--white); --sec-y: clamp(48px, 5vw, 76px); }

/* ---------- Znak osobisty ---------- */
.pbrand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.pbrand:hover { color: var(--ink); }
.pbrand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pbrand__mark i, .portrait__mono i { font-style: normal; color: var(--blue-light); }
.pbrand__name {
  padding-left: 12px;
  border-left: 1px solid var(--line-2);
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------- Ikony w kafelkach ---------- */
.icon-chip {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #EEF2FF;
  border: 1px solid rgba(46, 91, 255, 0.18);
}
.icon-chip svg { width: 21px; height: 21px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-chip--blue { background: var(--blue); border-color: var(--blue); }
.icon-chip--blue svg { stroke: #fff; }
.icon-chip--linkedin { background: #0A66C2; border-color: #0A66C2; }
.icon-chip--linkedin svg { stroke: #fff; }

/* ---------- HERO ---------- */
.phero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(116px, 10vw, 140px) 0 clamp(40px, 4vw, 56px);
  background: linear-gradient(180deg, #F3F5FA 0%, var(--canvas) 60%, var(--white) 100%);
}
.phero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.phero__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(155, 157, 168, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 157, 168, 0.18) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(70% 70% at 20% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 20% 30%, #000, transparent 75%);
}
/* ukośne pasy w tle (jak na LLHQ): srebrny i niebieski */
.phero__bg::before,
.phero__bg::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -18%;
  width: 70%;
  height: 150%;
  transform: rotate(32deg);
  transform-origin: center;
  border-radius: 999px;
}
.phero__bg::before {
  right: -6%;
  width: 26%;
  background: linear-gradient(90deg, rgba(155, 157, 168, 0.1), rgba(255, 255, 255, 0.9) 45%, rgba(155, 157, 168, 0.28));
  box-shadow: 0 0 60px rgba(155, 157, 168, 0.25);
}
.phero__bg::after {
  right: 2%;
  width: 7%;
  background: linear-gradient(90deg, #1B41D8, var(--blue) 40%, #7FA0FF);
  box-shadow: 0 0 40px rgba(46, 91, 255, 0.55), 0 0 120px rgba(46, 91, 255, 0.25);
  opacity: 0.9;
}

.phero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.phero__tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}
.phero__roles {
  margin: 14px 0 22px;
  font-family: var(--font-head);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--blue);
}
.phero__roles i { font-style: normal; margin: 0 8px; color: var(--grey); }
.phero__title {
  max-width: 14ch;
  font-size: clamp(40px, 5.2vw, 68px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
}
.phero__lead { margin-top: 24px; max-width: 54ch; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.7; color: var(--muted); }
.phero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.portrait {
  position: relative;
  justify-self: end;
  width: min(100%, 420px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 50px 90px -46px rgba(11, 13, 18, 0.55), 0 0 0 8px rgba(255, 255, 255, 0.45);
}
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.portrait__plate {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 70px 24px 22px;
  background: linear-gradient(180deg, rgba(11, 13, 18, 0), rgba(11, 13, 18, 0.86));
  color: #fff;
}
.portrait__plate strong { display: block; font-family: var(--font-head); font-size: 20px; letter-spacing: -0.02em; }
.portrait__plate > span > span { display: block; margin-top: 2px; font-size: 13px; color: rgba(255, 255, 255, 0.72); }
.portrait__mono { font-family: var(--font-head); font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }

/* liczby pod hero */
.pstats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(36px, 4vw, 52px) 0 0;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px -48px rgba(11, 13, 18, 0.5);
}
.pstats div { padding: 22px 24px 20px; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pstats dt {
  font-family: var(--font-head);
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
}
.pstats dd { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }

/* ---------- Sekcje ---------- */
.psec { position: relative; padding: var(--sec-y) 0; }
.psec--white { background: var(--white); }
.psec--canvas { background: var(--canvas); }
#podejscie { padding-top: clamp(8px, 1.5vw, 20px); }
.psec__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(28px, 3vw, 40px);
}
.psec__title {
  max-width: 18ch;
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}
.psec__title--wide { max-width: 24ch; font-size: clamp(28px, 3.3vw, 42px); }
.psec__aside { max-width: 52ch; font-size: 16.5px; line-height: 1.7; color: var(--muted); }
.psec__aside--short { justify-self: end; text-align: right; font-size: 15px; line-height: 1.6; }
.psec__lead { margin-top: 20px; max-width: 52ch; font-size: 17px; line-height: 1.7; color: var(--muted); }

/* ---------- Podejście (ciemny blok) ---------- */
.approach {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4.5vw, 52px);
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(160deg, #14172A, var(--ink) 55%);
}
.approach::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -3%;
  width: 90px;
  height: 180%;
  transform: rotate(28deg);
  border-radius: 999px;
  background: linear-gradient(90deg, #1B41D8, var(--blue), #7FA0FF);
  box-shadow: 0 0 50px rgba(46, 91, 255, 0.6);
  opacity: 0.85;
  pointer-events: none;
}
.approach > * { position: relative; z-index: 1; }
.approach .psec__title { color: #fff; max-width: 20ch; }
.approach .hl { color: var(--blue-light); }
.approach__lead { margin-top: 16px; max-width: 56ch; font-size: 16.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.68); }
.approach__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 38px;
  padding-right: 90px;
}
.approach__steps::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 18px;
  right: 130px;
  height: 1px;
  background: linear-gradient(90deg, rgba(76, 116, 255, 0.8), rgba(255, 255, 255, 0.15));
}
.approach__steps li { position: relative; }
.approach__steps span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--blue);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 0 0 5px rgba(46, 91, 255, 0.2);
}
.approach__steps h3 { margin-bottom: 6px; font-size: 17px; letter-spacing: -0.02em; color: #fff; }
.approach__steps p { font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.66); }
.approach__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.approach__note::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2 4.8 9 10 3' fill='none' stroke='%234C74FF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Projekty ---------- */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 320px;
  padding: clamp(26px, 3vw, 34px);
  border-radius: 26px;
}
.project__head { display: flex; align-items: center; gap: 14px; }
.project h3 { font-size: 24px; letter-spacing: -0.03em; }
.project__meta {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.project__text { font-size: 15.5px; line-height: 1.7; color: var(--slate); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tags li {
  padding: 7px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(46, 91, 255, 0.16);
  color: var(--slate);
}

.project--dark {
  color: #fff;
  background:
    radial-gradient(110% 90% at 100% 0%, rgba(46, 91, 255, 0.5), transparent 60%),
    linear-gradient(160deg, #14172A, var(--ink) 60%);
}
.project--dark .project__meta { color: rgba(255, 255, 255, 0.6); }
.project--dark .project__text { color: rgba(255, 255, 255, 0.74); }
.project--dark .tags li { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.82); }

.project--light {
  background: linear-gradient(160deg, #EEF2FF, #E1E8FF);
  border: 1px solid rgba(46, 91, 255, 0.18);
}
.project--light .icon-chip { background: #fff; }

.project--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  min-height: 0;
  background: var(--white);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 70px -60px rgba(11, 13, 18, 0.5);
}
.project__big { margin: 6px 0 16px; font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.08; }
.project--wide h3.project__big { font-size: clamp(28px, 3.4vw, 44px); }
.spec { margin: 0; border-top: 1px solid var(--line-2); }
.spec div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.spec dt { padding-top: 3px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); }
.spec dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--slate); }

/* ---------- Rozwiązania dla przemysłu ---------- */
.inventions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.inventions__note { margin-top: 14px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.inventions > li { display: flex; }
.inventions > li > .invention { flex: 1; color: var(--ink); }
.inventions > li > .invention:focus-visible { outline-offset: 2px; border-radius: 18px; }
.invention {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 22px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: var(--canvas);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}
.invention:hover { transform: translateY(-3px); border-color: rgba(46, 91, 255, 0.35); box-shadow: 0 20px 40px -32px rgba(46, 91, 255, 0.6); }
.invention h3 { font-size: 16.5px; line-height: 1.35; letter-spacing: -0.02em; }
.invention__top { display: flex; flex-wrap: wrap; gap: 6px; }
.invention__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
  font-size: 13px;
  color: var(--muted);
}
.invention__meta span + span { font-family: var(--font-mono); font-size: 11px; color: var(--grey); white-space: nowrap; transition: color 0.2s ease; }
.invention:hover .invention__meta span + span { color: var(--blue); }
.badge-s {
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px dashed var(--grey);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.badge-s--on { border: 1px solid rgba(46, 91, 255, 0.4); background: rgba(46, 91, 255, 0.07); color: var(--blue); }
.badge-s--impl { border: 1px solid var(--ink); background: var(--ink); color: #fff; }
.invention--note { background: transparent; border-style: dashed; }
.invention--note:hover { transform: none; box-shadow: none; border-color: var(--line-2); }
.invention--note p:not(.minilabel) { font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* wcześniejsze prawa (wygasłe) */
.archive {
  margin-top: 16px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: var(--white);
}
.archive summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  list-style: none;
  cursor: pointer;
}
.archive summary::-webkit-details-marker { display: none; }
.archive summary .minilabel { margin: 0; color: var(--slate); }
.archive__count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--canvas);
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.archive__hint { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--blue); }
.archive__hint::after { content: "+"; font-size: 18px; line-height: 1; }
.archive[open] .archive__hint { font-size: 0; }
.archive[open] .archive__hint::after { content: "−"; font-size: 18px; }
.archive__list { border-top: 1px solid var(--line); }
.archive__list li + li { border-top: 1px solid var(--line); }
.archive__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 24px;
  align-items: center;
  padding: 14px 24px;
  color: var(--ink);
  transition: background 0.2s ease;
}
.archive__row:hover { background: var(--canvas); color: var(--ink); }
.archive__main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.archive__kind { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
.archive__title { flex-basis: 100%; font-family: var(--font-head); font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.archive__meta { display: flex; gap: 16px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.archive__meta span + span { font-family: var(--font-mono); font-size: 11px; color: var(--grey); }
.archive__row:hover .archive__meta span + span { color: var(--blue); }
.archive .badge-s { border-radius: 10px; line-height: 1.4; }
.archive__note { padding: 12px 24px 16px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.55; color: var(--muted); }

/* pasek: rola i branże */
.rnd {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 32px;
  margin-top: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: var(--canvas);
}
.rnd__group .minilabel { margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--white);
  font-size: 13px;
  color: var(--slate);
}

/* ---------- Kompetencje ---------- */
.skills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.skill {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--white);
}
.skill h3 { margin-top: 6px; font-size: 19px; letter-spacing: -0.02em; }
.skill p { font-size: 15px; line-height: 1.65; color: var(--muted); }
.skill .skill__tools {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--slate);
}

/* ---------- O mnie ---------- */
.about-p { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 20px; align-items: stretch; }
.about-p__main {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line-2);
  border-radius: 26px;
  background: var(--canvas);
}
.about-p__main .psec__title { margin-bottom: 8px; }
.about-p__main > p:not(.eyebrow) { margin-top: 16px; font-size: 16.5px; line-height: 1.75; color: var(--slate); }
.about-p__main strong { color: var(--ink); }
.about-p__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.about-p__links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; font-size: 15px; font-weight: 600; }
.about-p__links .minilabel { margin: 0; }
.about-p__side { display: grid; gap: 20px; }
.fact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--white);
}
.fact h3 { margin-bottom: 8px; font-size: 18px; letter-spacing: -0.02em; }
.fact .minilabel { margin-bottom: 6px; }
.fact p:not(.minilabel) { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.fact__list li { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--slate); }
.fact__list strong { color: var(--ink); }

/* ---------- Kontakt ---------- */
.psec--contact {
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, var(--white), #F1F4FB);
}
.psec--contact::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -30%;
  right: 8%;
  width: 60px;
  height: 140%;
  transform: rotate(32deg);
  border-radius: 999px;
  background: linear-gradient(90deg, #1B41D8, var(--blue), #7FA0FF);
  box-shadow: 0 0 50px rgba(46, 91, 255, 0.45);
  opacity: 0.55;
}
.pcontact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pcontact__mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-family: var(--font-head);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.pcontact__cards { display: grid; gap: 14px; }
.ccard {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  box-shadow: 0 20px 50px -42px rgba(11, 13, 18, 0.6);
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}
.ccard:hover { color: var(--ink); transform: translateY(-3px); border-color: rgba(46, 91, 255, 0.4); }
.ccard strong { display: block; font-family: var(--font-head); font-size: 16px; }
.ccard > span:last-child > span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; }

/* ---------- Stopka ---------- */
.footer__grid--p { grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr) minmax(0, 0.8fr); }
.footer__up { color: var(--grey); }
.footer__up:hover { color: var(--blue); }

/* ---------- Responsywność ---------- */
@media (max-width: 1024px) {
  .phero__inner { grid-template-columns: 1fr; }
  .portrait { justify-self: start; width: min(100%, 380px); }
  .phero__bg::before, .phero__bg::after { top: 10%; }
  .psec__head { grid-template-columns: 1fr; align-items: start; }
  .psec__aside--short { justify-self: start; text-align: left; }
  .pstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .approach__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; padding-right: 0; }
  .approach__steps::before, .approach::after { display: none; }
  .projects { grid-template-columns: 1fr; }
  .project--wide { grid-template-columns: 1fr; }
  .inventions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rnd { grid-template-columns: 1fr; }
  .skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-p { grid-template-columns: 1fr; }
  .pcontact { grid-template-columns: 1fr; }
  .footer__grid--p { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .archive__row { grid-template-columns: 1fr; }
  .archive__meta { white-space: normal; flex-wrap: wrap; }
  .phero__roles i { margin: 0 5px; }
  .approach__steps { grid-template-columns: 1fr; }
  .inventions { grid-template-columns: 1fr; }
  .skills { grid-template-columns: 1fr; }
  .spec div { grid-template-columns: 1fr; gap: 4px; }
  .footer__grid--p { grid-template-columns: 1fr; }
}
