/* ==========================================================================
   Sawad — stylesheet
   --------------------------------------------------------------------------
   01 tokens & reset        06 rows (projects / experience / blog)
   02 typography            07 tools
   03 layout                08 contact form
   04 navigation            09 footer & floating controls
   05 profile card          10 pages (listing, article, 404)
   11 responsive tiers      12 motion
   ========================================================================== */

/* ------------------------------------------------------------ 01 tokens */
:root {
  --bg: #151312;
  --white: #ffffff;
  --muted: #998f8f;
  --orange: #f46c38;
  --lime: #c5ff41;
  --profile-desc: #6a6b6e;
  --dim: rgba(182, 180, 189, 0.2);
  --field: rgba(182, 180, 189, 0.2);
  --hover: rgba(255, 255, 255, 0.03);
  --curve: #ff7a00;
  --video: #ff3a1a;
  --article-text: rgba(255, 255, 255, 0.8);

  --font: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-mono-label: "Satoshi", "Poppins", Arial, sans-serif;
  --font-inter: "Inter", "Poppins", Arial, sans-serif;

  --fs-display: 110px;
  --fs-section: 90px;
  --fs-article-title: 50px;
  --fs-article-h: 38px;
  --fs-row: 26px;
  --fs-tool: 24px;
  --fs-body: 18px;
  --fs-meta: 16px;

  --top-space: 160px;
  --section-gap: 120px;
  /* Measured against the reference: 70px between hero, statistics and the
     specialty cards. */
  --group-gap: 70px;
  --col-gap: 100px;

  --radius-card: 16px;
  --radius-specialty: 10px;
  --radius-thumb: 8px;
  --radius-row: 16px;

  --ease: cubic-bezier(0.44, 0, 0.56, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--orange);
  color: #fff;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--orange);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------ 02 typography */
.heading {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1;
  letter-spacing: normal;
}

.heading--display {
  font-size: var(--fs-display);
}

.heading--section {
  font-size: var(--fs-section);
}

.heading__line {
  display: block;
  color: var(--white);
}

.heading__line--dim {
  color: var(--dim);
}

/* ----------------------------------------------------------- 03 layout */
.layout {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: var(--top-space) 0 0;
  display: grid;
  grid-template-columns: 344px minmax(0, 1fr);
  column-gap: var(--col-gap);
  align-items: start;
}

.column {
  min-width: 0;
}

.hero__intro {
  max-width: 480px;
  margin-top: 10px;
  font-size: var(--fs-body);
  color: var(--muted);
}

.hero {
  display: grid;
  gap: var(--group-gap);
}

.group {
  display: grid;
}

.section {
  margin-top: var(--section-gap);
}

.page-head {
  margin-bottom: 20px;
}

/* ------------------------------------------------------- 04 navigation */
.nav {
  position: fixed;
  top: 30px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav__bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 292px;
  height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-card);
  background: var(--hover);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.nav__item {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--white);
  text-decoration: none;
  transition: background-color 0.25s var(--ease);
}

.nav__item:hover,
.nav__item:focus-visible,
.nav__item.is-active {
  background: rgba(255, 255, 255, 0.06);
}

.nav__tip {
  position: absolute;
  top: 42px;
  left: 50%;
  transform: translate(-50%, -4px);
  padding: 6px 10px;
  border-radius: 8px;
  background: #211f1e;
  color: var(--white);
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav__item:hover .nav__tip,
.nav__item:focus-visible .nav__tip {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ------------------------------------------------------ 05 profile card */
aside[data-mount='profile'] {
  position: sticky;
  top: 24px;
  align-self: start;
  height: calc(100vh - 48px);
  display: flex;
  align-items: flex-start;
}

.profile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 344px;
  height: 640px;
  max-height: calc(100vh - 24px);
  padding: 30px 20px;
  border-radius: var(--radius-card);
  background: var(--white);
  color: var(--bg);
  overflow: hidden;
  align-self: start;
}

.profile__decor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.profile__decor svg {
  width: 100%;
  height: 100%;
}

.profile__portrait {
  position: relative;
  z-index: 1;
  width: 240px;
  height: 284px;
  border-radius: var(--radius-card);
  object-fit: cover;
  object-position: 50% 20%;
}

.profile__name {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-align: center;
}

/* Measured from the reference: the badge sits at card-relative (104, 396),
   clear of the name, with the lower dashed arc running into it. */
.profile__flame {
  position: absolute;
  left: 104px;
  top: 396px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--curve);
  color: var(--white);
}

.profile__bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.profile__desc {
  max-width: 300px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--profile-desc);
  text-align: center;
}

.profile__socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile__social {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--orange);
  transition: opacity 0.25s var(--ease);
}

.profile__social:hover {
  opacity: 0.7;
}

/* ------------------------------------------- 06 stats & specialty cards */
.stats {
  display: flex;
  gap: 40px;
}

.stat__value {
  font-size: 70px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.stat__label {
  display: flex;
  flex-direction: column;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.06;
  color: var(--muted);
}

.about__copy {
  display: grid;
  gap: 18px;
  padding-left: 22px;
  border-left: 2px solid var(--orange);
}

.about__lead {
  max-width: 600px;
  color: var(--white);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.35;
}

.about__detail {
  max-width: 600px;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.6;
}

.tech-stack__intro {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.tech-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 76px;
  margin-top: 20px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.tech-marquee__track {
  display: flex;
  width: max-content;
  animation: tech-marquee-scroll 24s linear infinite;
}

.tech-marquee:hover .tech-marquee__track {
  animation-play-state: paused;
}

.tech-marquee__group {
  display: flex;
  flex: none;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
}

.tech-marquee__item {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  min-width: 92px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.tech-marquee__item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  animation: tech-logo-wiggle 1.8s ease-in-out infinite;
}

.tech-marquee__item:nth-child(2) img {
  animation-delay: 0.15s;
}

.tech-marquee__item:nth-child(3) img {
  animation-delay: 0.3s;
}

.tech-marquee__item:nth-child(4) img {
  animation-delay: 0.45s;
}

.tech-marquee__item:nth-child(5) img {
  animation-delay: 0.6s;
}

.tech-marquee__item:nth-child(6) img {
  animation-delay: 0.75s;
}

.tech-marquee__item:nth-child(7) img {
  animation-delay: 0.9s;
}

.tech-marquee__item:nth-child(8) img {
  animation-delay: 1.05s;
}

.tech-marquee__item:nth-child(9) img {
  animation-delay: 1.2s;
}

.tech-marquee__item:nth-child(10) img {
  animation-delay: 1.35s;
}

.tech-stack + .section {
  margin-top: calc(var(--section-gap) + 32px);
}

.specialty {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 30px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 240px;
  padding: 40px 20px 22px;
  border-radius: var(--radius-specialty);
  overflow: hidden;
  text-align: left;
  text-decoration: none;
  transition: background-color 0.25s var(--ease);
}

.card--orange {
  background: var(--orange);
  color: var(--white);
}

.card--lime {
  background: var(--lime);
  color: var(--bg);
}

.card__decor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.card__decor svg {
  width: 100%;
  height: 100%;
}

.card__title {
  position: relative;
  z-index: 1;
  margin-top: auto;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
  /* The reference lets both card headings use the full card width, which
     wraps them into exactly two lines. */
}

.card__icon {
  align-self: flex-start;
}

.card__icon {
  position: relative;
  z-index: 1;
  color: inherit;
}

.card__btn {
  position: absolute;
  right: 20px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid currentColor;
  border-radius: 8px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.card--orange:hover .card__btn {
  background: var(--white);
  color: var(--orange);
}

.card--lime:hover .card__btn {
  background: var(--bg);
  color: var(--lime);
}

.card--orange:hover {
  background: #f57344;
}

.card--lime:hover {
  background: #cfff5c;
}

/* ------------------------------------------------------------- 06 rows */
.rows {
  display: grid;
}

.rows--tools {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.row__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 16px;
  border-radius: var(--radius-row);
  text-decoration: none;
  transition: background-color 0.25s var(--ease);
}

.row__link:hover {
  background: var(--hover);
}

.row__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.row__title {
  font-size: var(--fs-row);
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
}

.row__meta {
  font-size: var(--fs-meta);
  line-height: 1.4;
  color: var(--muted);
}

.row__arrow {
  display: grid;
  place-items: center;
  margin-left: auto;
  align-self: flex-start;
  margin-top: 4px;
  color: var(--orange);
  transition: transform 0.3s var(--ease);
}

.row__link:hover .row__arrow {
  transform: translate(3px, -3px);
}

/* Project rows */
.row__thumb {
  flex: none;
  width: 130px;
  height: 135px;
  border-radius: var(--radius-thumb);
  overflow: hidden;
  background: #211f1e;
}

.row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Experience rows */
.row--experience .row__link {
  padding: 24px 16px;
  align-items: flex-start;
}

.row--experience .row__desc {
  margin-top: 14px;
  max-width: 420px;
  font-size: var(--fs-meta);
  line-height: 1.4;
  color: var(--muted);
}

.row--experience .row__date {
  margin-top: 20px;
  font-size: var(--fs-meta);
  line-height: 1.1;
  color: var(--muted);
}

.row--experience .row__text {
  flex: 1;
  gap: 0;
}

/* Blog rows */
.row--blog .row__link {
  padding: 30px 16px;
  align-items: flex-start;
}

.row--blog .row__text {
  flex: 1;
  gap: 0;
}

.row__inner {
  display: flex;
  flex-direction: column;
  max-width: 480px;
}

.row__inner .row__desc {
  margin-top: 14px;
  font-size: var(--fs-meta);
  line-height: 1.4;
  color: var(--muted);
}

.row__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  font-size: var(--fs-meta);
  line-height: 1.1;
  color: var(--muted);
}

/* ------------------------------------------------------------ 07 tools */
.row--tool .row__link {
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-thumb);
}

.tool__logo {
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-thumb);
  overflow: hidden;
}

.tool__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.row__title--tool {
  font-size: var(--fs-tool);
}

/* --------------------------------------------------------- 08 contact */
.contact {
  display: grid;
}

.form {
  display: grid;
  gap: 20px;
  margin-top: 50px;
}

.form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.field {
  display: grid;
  gap: 6px;
}

.field__label {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--muted);
}

.field__label[data-font="Inter"] {
  font-family: var(--font-inter);
  font-weight: 500;
}

.field__input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius-thumb);
  background: var(--field);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  transition: box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}

.field__input::placeholder {
  color: var(--muted);
}

.field__input:hover {
  background: rgba(182, 180, 189, 0.26);
}

.field__input:focus {
  outline: none;
  box-shadow: 0 0 0 1px var(--orange);
}

.field__input--select {
  border-radius: var(--radius-specialty);
  padding-right: 36px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23998F8F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.field__input--select option {
  background: #211f1e;
  color: var(--white);
}

.field__input--area {
  height: auto;
  min-height: 100px;
  padding: 12px;
  line-height: 1.4;
  resize: vertical;
}

.field__input.has-error {
  box-shadow: 0 0 0 1px var(--orange);
}

.field__error {
  font-size: 12px;
  line-height: 1.3;
  color: var(--orange);
}

.field__error[hidden] {
  display: none;
}

.form__status {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.form__status.is-success {
  color: var(--lime);
}

.form__status.is-error {
  color: var(--orange);
}

.form__status.is-info {
  color: var(--muted);
}

.form__status[hidden] {
  display: none;
}

.form__submit {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: var(--radius-thumb);
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s var(--ease);
}

.form__submit:hover {
  background: #ff7f4c;
}

.form__submit[disabled] {
  opacity: 0.65;
  cursor: progress;
}

/* ------------------------------------------- 09 footer and floaters */
.footer {
  margin-top: var(--top-space);
  padding: 24px 20px 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.footer__credit {
  font-size: var(--fs-meta);
  font-weight: 400;
  color: var(--muted);
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer__link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer__link:hover {
  color: var(--orange);
}

.fab {
  position: fixed;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  font-family: var(--font-mono-label);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease);
}

.fab:hover {
  transform: translateY(-2px);
}

.fab--template {
  right: 20px;
  bottom: 110px;
  background: var(--orange);
  color: var(--white);
}

.fab--more {
  right: 20px;
  bottom: 66px;
  width: 142px;
  background: var(--lime);
  color: var(--bg);
}

.fab--video {
  left: 20px;
  bottom: 66px;
  background: var(--video);
  color: var(--white);
}

/* ------------------------------------------------------------ 10 pages */
.article__cover {
  width: 100%;
  aspect-ratio: 696 / 460;
  border-radius: var(--radius-card);
  object-fit: cover;
}

.article__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  font-size: var(--fs-meta);
  line-height: 1.1;
  color: var(--muted);
}

.article__title {
  margin-top: 22px;
  font-size: var(--fs-article-title);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

.article__body {
  margin-top: 50px;
}

.article__p {
  margin-bottom: 20px;
  font-size: var(--fs-body);
  line-height: 1.4;
  color: var(--article-text);
}

.article__h2,
.article__h3 {
  margin: 48px 0 20px;
  font-size: var(--fs-article-h);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

.article__h3 {
  font-size: calc(var(--fs-article-h) * 0.78);
}

.article__body > *:first-child {
  margin-top: 0;
}

.article__body a {
  color: var(--orange);
  text-decoration: none;
}

.article__body a:hover {
  text-decoration: underline;
}

.article__body strong {
  color: var(--white);
  font-weight: 600;
}

.article__body em {
  font-style: italic;
}

.article__list {
  margin: 0 0 20px;
  padding-left: 24px;
  list-style: disc;
}

.article__list li {
  margin-bottom: 8px;
  font-size: var(--fs-body);
  line-height: 1.4;
  color: var(--article-text);
}

.article__list li::marker {
  color: var(--muted);
}

.notfound {
  /* Centred in the space between the navigation and the credit footer. */
  min-height: calc(100vh - 200px);
  display: grid;
  place-items: center;
}

.notfound__code {
  font-size: clamp(120px, 19.5vw, 280px);
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}

/* -------------------------------------------------- 11 responsive tiers */
/* Small desktop 1080–1439 */
@media (max-width: 1439px) {
  :root {
    --fs-display: 94px;
    --col-gap: 50px;
  }
  .layout {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* Tablet 810–1079 */
@media (max-width: 1079px) {
  :root {
    --fs-display: 86px;
    --fs-section: 74px;
    --fs-article-title: 44px;
    --fs-article-h: 28px;
    --fs-row: 20px;
    --fs-body: 16px;
    --top-space: 120px;
    --section-gap: 80px;
  }
  .layout {
    max-width: 810px;
    padding-left: 30px;
    padding-right: 30px;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
  }
  .profile {
    position: relative;
    top: 0;
    width: 100%;
    height: 540px;
  }
  .footer__inner {
    max-width: 750px;
  }
  .hero,
  .heading--display,
  .heading--section,
  .stat {
    text-align: center;
  }
  .hero__intro {
    margin-left: auto;
    margin-right: auto;
  }
  .stats {
    justify-content: center;
  }
  .stat {
    text-align: center;
  }
  .specialty {
    grid-template-columns: minmax(0, 1fr);
  }
  .card {
    width: 100%;
  }
  .row__text {
    text-align: left;
  }
  .page-head {
    text-align: center;
  }
}

/* Phone < 810 */
@media (max-width: 809px) {
  :root {
    /* Fluid below 390px so single long words can never overflow the
      20px-padded phone column. */
    --fs-display: clamp(34px, 13.3vw, 52px);
    --fs-section: clamp(30px, 10.8vw, 42px);
    --fs-article-title: 36px;
    --fs-article-h: 24px;
    --fs-row: 18px;
    --fs-tool: 24px;
    --fs-body: 16px;
    --fs-meta: 16px;
    --top-space: 100px;
    --section-gap: 80px;
    --group-gap: 70px;
  }
  .layout {
    max-width: none;
    padding-left: 20px;
    padding-right: 20px;
  }
  .nav {
    top: 20px;
  }
  .profile {
    height: auto;
    padding: 30px 20px;
  }
  .profile__portrait {
    width: 100%;
    max-width: 260px;
    height: 210px;
  }
  .profile__name {
    margin-top: 24px;
    margin-bottom: 12px;
  }
  .profile__flame {
    left: 34px;
    top: 208px;
  }
  .profile__decor {
    transform: scaleX(-1);
  }
  .profile__bottom {
    margin-top: 0;
    gap: 16px;
  }
  .footer__inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer__links {
    gap: 18px;
  }
  .stats {
    gap: 26px;
    flex-wrap: wrap;
    row-gap: 20px;
  }
  .group,
  .column,
  .hero {
    min-width: 0;
  }
  .stat__value {
    font-size: 50px;
  }
  .stat__label {
    font-size: 11px;
  }
  .specialty {
    gap: 20px;
  }
  .card {
    max-width: 350px;
    min-height: 213px;
    height: auto;
  }
  .row--project .row__link {
    gap: 12px;
    padding: 16px 8px;
  }
  .row__thumb {
    width: 90px;
    height: 93px;
  }
  .row__arrow {
    display: none;
  }
  .row--experience .row__link,
  .row--blog .row__link {
    padding: 20px 8px;
  }
  .rows--tools {
    grid-template-columns: minmax(0, 1fr);
  }
  .row--tool .row__link {
    padding: 16px 8px;
  }
  .form {
    margin-top: 20px;
  }
  .fab--video {
    display: none;
  }
  .notfound {
    min-height: calc(100vh - 180px);
  }
}

/* ----------------------------------------------------------- 12 motion */
@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.anim-profile {
  animation: settle 0.5s var(--ease) both;
}

.anim-hero {
  animation: settle 0.5s var(--ease) 0.2s both;
}

.anim-page {
  animation: settle 0.5s var(--ease) 0.1s both;
}

.reveal {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes tech-marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

@keyframes tech-logo-wiggle {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  25% {
    transform: translateY(-2px) rotate(-5deg);
  }
  75% {
    transform: translateY(1px) rotate(5deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .anim-profile,
  .anim-hero,
  .anim-page {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .tech-marquee {
    overflow-x: auto;
  }
  .tech-marquee__track {
    animation: none;
  }
  .tech-marquee__item img {
    animation: none;
  }
  .fab:hover,
  .row__link:hover .row__arrow,
  .card {
    transform: none;
  }
}
