/* Visual system: ai-design-skills (landing-page-design) applied to the portfolio.
   Type: Tailwind scale steps with named styles. Spacing: 0,2,4,8,12,16,24,32,40,48,64,80,96.
   Radius: Tailwind values only. Flat backgrounds. Motion: transform and opacity, one curve. */
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f5f5f5;
  --raised: #ebebeb;
  --ink: #131209;
  --muted: #5c5c5c;
  --line: #dcdcdc;
  --accent: #3f5f55;
  --soft: #e3ebe6;
  --nav: rgba(255, 255, 255, 0.72);
  --panel: rgba(255, 255, 255, 0.94);
  --hero: #131209;
  --heroink: #ffffff;
  --taupe: #cabba5;
  --h1-from: #000000;
  --h1-to: #666666;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Manrope", "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
}
:root.dark {
  color-scheme: dark;
  --bg: #181818;
  --surface: #1f1f1f;
  --raised: #272727;
  --ink: #ffffff;
  --muted: #a8a8a8;
  --line: #313131;
  --accent: #adc7ba;
  --soft: #272727;
  --nav: rgba(24, 24, 24, 0.72);
  --panel: rgba(0, 0, 0, 0.94);
  --hero: #000000;
  --h1-from: #ffffff;
  --h1-to: #9b9b9b;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 8px;
}
svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: none;
}
bdi {
  unicode-bidi: isolate;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
p {
  color: var(--muted);
  text-wrap: pretty;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
.wrap {
  width: min(1160px, 100% - 48px);
  margin: auto;
}
.skip {
  position: fixed;
  top: -64px;
  inset-inline-start: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  z-index: 100;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.skip:focus {
  top: 8px;
}

/* Text styles */
.eyebrow {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}
.section-head h2,
.cv-copy h3 {
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
}
.cv-copy h3 {
  font-size: 30px;
  line-height: 36px;
}

/* Floating navigation */
.topbar {
  position: fixed;
  top: 16px;
  inset-inline: 0;
  margin-inline: auto;
  width: fit-content;
  max-width: calc(100% - 32px);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 8px 8px 16px;
  padding-inline: 16px 8px;
  background: var(--nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
.mark {
  height: 40px;
  width: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--accent);
}
.brand small {
  display: block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
}
nav {
  display: flex;
  gap: 4px;
}
nav a {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 8px;
  transition:
    color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}
nav a:hover {
  color: var(--ink);
  background: var(--surface);
}
nav a[aria-current="true"] {
  color: var(--ink);
  background: var(--raised);
}
.tools {
  display: flex;
  gap: 8px;
}
.control {
  height: 44px;
  min-width: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 12px;
  display: grid;
  place-items: center;
  transition:
    background-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.control:hover {
  background: var(--surface);
}
.control:active,
.button:active,
.filter:active {
  transform: scale(0.98);
}
.language {
  padding: 0 12px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.menu {
  display: none;
}
.menu-lines {
  position: relative;
  width: 20px;
  height: 20px;
  display: block;
}
.menu-lines i {
  position: absolute;
  inset-inline: 2px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.5s var(--ease);
}
.menu-lines i:first-child {
  top: 6px;
}
.menu-lines i:last-child {
  top: 12px;
}
.menu[aria-expanded="true"] .menu-lines i:first-child {
  transform: translateY(3px) rotate(45deg);
}
.menu[aria-expanded="true"] .menu-lines i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--panel);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 96px 24px 48px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s var(--ease),
    visibility 0s linear 0.5s;
}
.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.5s var(--ease),
    visibility 0s;
}
.mobile-nav a {
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  padding: 8px 0;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.mobile-nav.open a {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i) * 60ms);
}

/* Hero */
.hero {
  padding-top: 112px;
  display: grid;
  grid-template-columns: 1.13fr 0.87fr;
  gap: 24px;
}
.intro {
  align-self: center;
  padding-block: 24px;
}
.eyebrow-row,
.intro .eyebrow,
.section-head .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  margin-bottom: 16px;
}
.intro .eyebrow:before,
.section-head .eyebrow:before {
  content: "";
  height: 8px;
  width: 8px;
  background: currentColor;
  border-radius: 9999px;
}
h1 {
  font-size: 60px;
  line-height: 60px;
  font-weight: 600;
  max-width: 680px;
  margin-bottom: 16px;
  color: var(--ink);
  background: linear-gradient(to right, var(--h1-from), var(--h1-to));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
html[dir="rtl"] h1 {
  line-height: 72px;
}
html[dir="rtl"] h1 {
  background: linear-gradient(to left, var(--h1-from), var(--h1-to));
  -webkit-background-clip: text;
  background-clip: text;
}
.subtitle {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  max-width: 680px;
  margin-bottom: 16px;
}
.lead {
  max-width: 680px;
  font-size: 16px;
  line-height: 24px;
}
html[dir="rtl"] .lead,
html[dir="rtl"] .about-text,
html[dir="rtl"] .job li,
html[dir="rtl"] .cv-copy p {
  line-height: 28px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  background: var(--surface);
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.button.primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.button:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.button.primary:hover {
  border-color: var(--ink);
}
.button:active {
  transform: scale(0.98);
}
.location {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--muted);
}
.location svg {
  width: 16px;
  height: 16px;
}
.hero-art {
  position: relative;
  min-height: 480px;
  padding: 32px;
  background: var(--hero);
  border-radius: 24px;
  color: var(--heroink);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.hero-art:before,
.hero-art:after {
  content: "";
  position: absolute;
  width: 384px;
  height: 384px;
  border: 1px solid #ffffff1f;
  border-radius: 9999px;
  z-index: -1;
}
.hero-art:before {
  inset-inline-end: -160px;
  top: -144px;
}
.hero-art:after {
  inset-inline-start: -192px;
  bottom: -176px;
}
.art-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #d2d2d2;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.ledger-art {
  height: 208px;
  display: grid;
  place-items: center;
}
.ledger-art svg {
  width: 144px;
  height: 144px;
  color: var(--taupe);
  transform: rotate(-8deg);
}
.art-copy {
  margin-top: auto;
}
.art-copy small {
  color: var(--taupe);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}
.art-copy h2 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  margin: 8px 0;
}
.art-copy p {
  color: #b8b8b8;
  font-size: 14px;
  line-height: 20px;
}
.art-bottom {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.art-bottom span {
  padding: 4px 12px;
  border: 1px solid #ffffff2e;
  border-radius: 9999px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: #d2d2d2;
}
.ticker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.ticker div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
.ticker svg {
  color: var(--accent);
}

/* Sections */
section {
  padding-top: 96px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 32px;
}
.section-head .eyebrow {
  margin-bottom: 8px;
}
.section-head .index {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.about-text {
  font-size: 16px;
  line-height: 24px;
}
.fact-list {
  display: grid;
  gap: 24px;
  align-content: start;
}
.fact-list small {
  display: block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 4px;
}
.fact-list span {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
.jobs {
  display: grid;
  gap: 16px;
}
.job {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.badge {
  display: inline-block;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  margin-bottom: 16px;
}
.badge.current {
  background: var(--soft);
  color: var(--accent);
  border-color: var(--soft);
}
.job h3 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}
.company {
  font-size: 14px;
  line-height: 20px;
}
.job ul {
  padding: 0;
  list-style: none;
  margin: 0;
  display: grid;
  gap: 12px;
}
.job li {
  display: flex;
  gap: 12px;
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
}
.job li:before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex: none;
  margin-top: 9px;
  border-radius: 9999px;
}

/* Tagline reveal */
.tagline-section {
  padding-top: 96px;
}
.tagline {
  max-width: 680px;
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  text-wrap: balance;
}
html[dir="rtl"] .tagline {
  line-height: 56px;
}
.tagline .w {
  display: inline-block;
  opacity: 0.3;
  transition: opacity 0.7s var(--ease);
}
.tagline .w.on {
  opacity: 1;
}

.filters {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.filter {
  padding: 8px 12px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s var(--ease);
}
.filter:hover {
  background: var(--surface);
}
.filter[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.skills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.skill {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 24px 12px;
  min-height: 112px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  transition:
    transform 0.5s var(--ease),
    background-color 0.3s var(--ease);
}
.skill:hover {
  transform: translateY(-2px);
  background: var(--raised);
}
.skill svg {
  color: var(--accent);
  width: 24px;
  height: 24px;
}
.skill[hidden] {
  display: none;
}
.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.project .project-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--accent);
}
.project h3 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  margin-bottom: 8px;
}
.project p {
  font-size: 14px;
  line-height: 20px;
}
.project small {
  display: block;
  color: var(--accent);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.cv-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr 336px;
  background: var(--surface);
  overflow: hidden;
}
.cv-copy {
  padding: 48px;
  align-self: center;
}
.cv-copy h3 {
  margin-bottom: 12px;
}
.cv-copy p {
  max-width: 520px;
  font-size: 16px;
  line-height: 24px;
}
.cv-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.cv-meta span {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: 9999px;
  padding: 4px 12px;
}
.cv-preview {
  background: var(--raised);
  padding: 24px 32px 0;
  height: 384px;
  overflow: hidden;
  display: block;
  position: relative;
}
.cv-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  transform: rotate(-4deg);
  transition: transform 0.5s var(--ease);
}
.cv-preview:hover img {
  transform: rotate(0) translateY(-8px);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.contact-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  transition:
    background-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.contact-card:hover {
  background: var(--raised);
  transform: translateY(-2px);
}
.contact-card:active {
  transform: scale(0.98);
}
.contact-card > svg {
  color: var(--accent);
  width: 24px;
  height: 24px;
}
.contact-card .details {
  min-width: 0;
  flex: 1;
}
.contact-card small {
  display: block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-card .value {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.contact-card .arrow {
  opacity: 0.5;
}
.contact-card .arrow svg {
  width: 16px;
  height: 16px;
}
.social-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.social-row a {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition:
    background-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.social-row a:hover {
  background: var(--surface);
}
.social-row a:active {
  transform: scale(0.98);
}
.social-row svg {
  width: 16px;
  height: 16px;
}
.contact-note {
  font-size: 12px;
  line-height: 16px;
  margin-top: 16px;
}
footer {
  margin-top: 96px;
  padding: 24px 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}
footer a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 500;
}
footer svg {
  width: 16px;
  height: 16px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--bg);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  z-index: 100;
}
.toast:empty {
  display: none;
}

/* Scroll reveals: rise 32px, 700ms, once */
.rv {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.rv.in {
  opacity: 1;
  transform: none;
}

/* CV dialog */
.cv-dialog {
  width: min(780px, calc(100% - 16px));
  max-height: 92vh;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
}
.cv-dialog::backdrop {
  background: #000000bd;
  backdrop-filter: blur(8px);
}
.dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  position: sticky;
  top: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  z-index: 2;
}
.dialog-bar h2 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
.dialog-bar button {
  background: var(--raised);
  border-radius: 12px;
  min-width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
.dialog-image {
  display: block;
  width: 100%;
  height: auto;
}
.cv-dialog .dialog-bar .button {
  font-size: 14px;
  line-height: 20px;
}

/* 404 */
.nf {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 16px;
  width: min(680px, 100% - 48px);
  margin: auto;
}
.nf h1 {
  font-size: 48px;
  line-height: 48px;
}
.nf-code {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--accent);
}

@media (max-width: 1000px) {
  nav,
  .brand-name {
    display: none;
  }
  .menu {
    display: grid;
  }
  .topbar {
    gap: 16px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .skills {
    grid-template-columns: repeat(3, 1fr);
  }
  .projects {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .topbar {
    width: calc(100% - 32px);
    justify-content: space-between;
  }
  .hero {
    padding-top: 96px;
    gap: 16px;
  }
  h1,
  .tagline,
  .section-head h2,
  .mobile-nav a {
    font-size: 36px;
    line-height: 40px;
  }
  html[dir="rtl"] h1 {
    line-height: 52px;
  }
  .tagline {
    font-size: 30px;
    line-height: 36px;
  }
  html[dir="rtl"] .tagline {
    line-height: 48px;
  }
  .section-head h2 {
    font-size: 30px;
    line-height: 36px;
  }
  .hero-art {
    min-height: 384px;
    padding: 24px;
  }
  .ledger-art {
    height: 144px;
  }
  .ledger-art svg {
    width: 112px;
    height: 112px;
  }
  .ticker {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .ticker div {
    justify-content: flex-start;
  }
  section,
  .tagline-section {
    padding-top: 64px;
  }
  .section-head {
    margin-bottom: 24px;
  }
  .about-grid,
  .job,
  .cv-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .job {
    gap: 16px;
  }
  .skills {
    grid-template-columns: repeat(2, 1fr);
  }
  .cv-copy {
    padding: 24px;
  }
  .cv-preview {
    height: 288px;
    padding: 24px 64px 0;
  }
  footer {
    margin-top: 64px;
  }
}
@media (max-width: 360px) {
  .brand {
    display: none;
  }
  .topbar {
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition-property: opacity, color, background-color !important;
    transition-duration: 0.2s !important;
    transition-delay: 0s !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .rv,
  .mobile-nav a {
    transform: none !important;
  }
  .tagline .w {
    opacity: 1 !important;
  }
}
