@font-face {
  font-family: "Nohemi";
  src: url("./assets/fonts/nohemi-font/Nohemi-Regular-BF6438cc579d934.woff")
      format("woff"),
    url("./assets/fonts/nohemi-font/Nohemi-Regular-BF6438cc4d0e493.ttf")
      format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #101010;
  --text-primary: #ffffff;
  --text-body: rgba(255, 255, 255, 0.92);
  --text-muted: rgba(255, 255, 255, 0.75);
  --line: rgba(255, 255, 255, 0.12);
  --nav-bg: rgba(0, 0, 0, 0.8);
  --surface: #161616;
  --surface-elevated: #1e1e1e;
}

html {
  background-color: var(--bg);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--text-body);
  font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
}

body.home {
  height: 100vh;
  overflow: hidden;
}

.site-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 40px;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.25);
  font-family: "Nohemi", "Inter", "Segoe UI", Tahoma, sans-serif;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  backdrop-filter: blur(8px);
}

.site-header-wrapper .nav-drawer {
  display: flex;
  align-items: center;
}

.site-header__brand {
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.site-nav {
  display: flex;
  gap: 1.75rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: underline;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Hamburger button – hidden on desktop */
.site-header__menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--text-primary);
}

.site-header__menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--text-primary);
}

.site-header__menu-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.nav-overlay {
  display: none;
}

/* Landing / Home page */
.landing {
  position: relative;
  width: min(1280px, 100%);
  margin: 0 auto;
  height: calc(100vh - 64px);
  min-height: calc(100vh - 64px);
  max-height: calc(100vh - 64px);
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.landing__hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: fit-content;
}

.landing__hero .landing__actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.landing__title {
  margin: 0;
  font-family: "Nohemi", "Inter", "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 0.98;
  color: #ffffff;
  opacity: 1;
  white-space: nowrap;
}

.landing__subtitle {
  margin: 0;
  font-family: "Nohemi", "Inter", "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 0.98;
  color: #ffffff;
  opacity: 0.9;
}

.landing__tagline {
  margin: 78px 0 0;
  font-family: "Nohemi", "Inter", "Segoe UI", Tahoma, sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  color: #ffffff;
  opacity: 0.93;
}

.landing__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 0;
  font-family: "Nohemi", "Inter", "Segoe UI", Tahoma, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.landing__btn--outline {
  background: #ffffff;
  color: #101010;
  border: 1px solid #ffffff;
}

.landing__btn--outline:hover,
.landing__btn--outline:focus-visible {
  background: rgba(255, 255, 255, 0.92);
}

.landing__btn--primary {
  background: #000000;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.landing__btn--primary:hover,
.landing__btn--primary:focus-visible {
  background: #141414;
}

.ascii-art {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(calc(-50% + 2.5rem));
  width: min(983px, 55vw);
  max-height: none;
  overflow: visible;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.ascii-art__pre {
  margin: 0;
  padding: 0;
  font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
  font-size: clamp(0.5rem, 0.9vw, 0.7rem);
  line-height: 1.1;
  color: rgba(143, 168, 184, 0.55);
  white-space: pre;
  letter-spacing: 0.02em;
}

.about {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 72px 32px 72px;
  display: grid;
  grid-template-columns: minmax(0, 387px) 1fr;
  gap: 46px;
  align-items: start;
}

.about__photo-wrap {
  position: relative;
  width: 100%;
  max-width: 387px;
  aspect-ratio: 387 / 519;
  overflow: hidden;
  border-top-right-radius: 120px;
}

.about__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about__photo-wrap--loaded .about__photo {
  opacity: 1;
}

.about__photo-skeleton {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #181818;
  border-top-right-radius: 120px;
  overflow: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.about__photo-wrap--loaded .about__photo-skeleton {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.about__content h1 {
  margin: 0 0 14px;
  color: var(--text-primary);
  font-family: "Nohemi", "Inter", "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 500;
  line-height: 1;
}

.work-page h1,
.work-page h2,
.cv-page h1,
.contact-page h1,
.contact-page h2 {
  font-family: "Nohemi", "Inter", "Segoe UI", Tahoma, sans-serif;
}

.about__content p {
  margin: 0 0 14px;
  font-size: 1.25rem;
  line-height: 1.07;
  color: var(--text-body);
}

.about__content p:last-child {
  margin-bottom: 0;
}

.work-page {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 72px 80px 64px;
}

.work-page__title {
  margin: 0 0 26px;
  color: var(--text-primary);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.98;
}

.work-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 20px;
  align-items: start;
}

.work-block {
  position: relative;
  background: var(--surface);
  color: var(--text-body);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  padding: 20px;
}

section.work-block {
  padding-top: 20px;
  padding-right: 20px;
  padding-left: 20px;
}

.work-block h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.work-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.work-block__date-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
  font-size: 0.78rem;
  line-height: 1;
}

.work-block--owu,
.work-block--freelance {
  min-height: 340px;
}

.work-block--owu {
  overflow: hidden;
}

/* Decorative Open Window marks — assets/media/work/owu projects/open-window.svg (see Figma My work OWU frame) */
.work-block--owu__mark {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.34;
}

.work-block--owu__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.work-block--owu__mark--back {
  width: min(56%, 380px);
  aspect-ratio: 1;
  right: -10%;
  top: -18%;
}

.work-block--owu__mark--fore {
  width: min(46%, 280px);
  aspect-ratio: 1;
  left: 4%;
  bottom: 2%;
}

.work-block--owu .work-block__header,
.work-block--owu .work-grid {
  position: relative;
  z-index: 1;
}

.work-block--personal {
  position: relative;
  overflow: hidden;
  padding: 20px;
  min-height: 220px;
  grid-column: 1;
  color: #ffffff;
}

.work-block--personal > * {
  position: relative;
  z-index: 1;
}

.work-block--personal::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
  mix-blend-mode: soft-light;
  background-image: url("./assets/media/work/personal%20projects/1.%20previews/personal%20projects.svg");
  background-size: 112% 112%;
  background-position: center;
  background-repeat: no-repeat;
}

.work-block--dark {
  background: var(--surface);
  background-image: none;
  background-clip: unset;
  -webkit-background-clip: unset;
  color: rgba(24, 24, 24, 1);
}

.work-block--freelance {
  position: relative;
  overflow: hidden;
}

.work-block--freelance > * {
  position: relative;
  z-index: 1;
}

.work-block--freelance::before,
.work-block--freelance::after {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
  z-index: 0;
  background-repeat: repeat;
}

.work-block--freelance::before {
  opacity: 0.62;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cline x1='28' y1='28' x2='108' y2='108' stroke='white' stroke-opacity='0.62' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  animation: freelance-stripes-a 12s linear infinite;
}

.work-block--freelance::after {
  opacity: 0.44;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 320'%3E%3Cline x1='44' y1='44' x2='150' y2='150' stroke='white' stroke-opacity='0.5' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 320px 320px;
  animation: freelance-stripes-b 18s linear infinite;
}

.work-grid {
  display: grid;
  row-gap: 8px;
  column-gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.work-grid--three {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.work-block--owu .work-card,
.work-block--freelance .work-card,
.work-block--personal .work-card {
  width: 92%;
  margin: 0 auto;
}

.work-card {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  aspect-ratio: 221.9 / 141.6;
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: 118px;
  object-fit: cover;
  display: block;
}

/* My Work page: card frame colour (#181818) — thumbnails stay full colour */
.work-page .work-card {
  background: #181818;
}

.work-card--light {
  background: #2a2a2a;
}

.work-page .work-card--light {
  background: #181818;
}

/* My Work page — skeleton loaders (match real card size + #181818) */
.work-card--skeleton {
  position: relative;
  flex-shrink: 0;
}

.work-page .work-card--skeleton {
  background: #181818;
}

.work-page .work-card--skeleton.work-card--light {
  background: #181818;
}

.work-page-skeleton__shine {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.work-page-skeleton__shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -55%;
  width: 48%;
  height: 100%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.06) 40%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.06) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: work-page-skeleton-shine 2.15s ease-in-out infinite;
}

.work-skeleton-line {
  position: relative;
  display: block;
  overflow: hidden;
  background: #181818;
  flex-shrink: 0;
}

.work-skeleton-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -55%;
  width: 48%;
  height: 100%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.06) 40%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.06) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: work-page-skeleton-shine 2.15s ease-in-out infinite;
}

.work-skeleton-line--h2 {
  width: min(220px, 58%);
  height: 1.5rem;
  border-radius: 6px;
}

.work-skeleton-line--pill {
  width: 56px;
  height: 24px;
  border-radius: 999px;
}

.work-grid .work-card--skeleton:nth-child(2) .work-page-skeleton__shine::after {
  animation-delay: 0.14s;
}

.work-grid .work-card--skeleton:nth-child(3) .work-page-skeleton__shine::after {
  animation-delay: 0.28s;
}

.work-grid .work-card--skeleton:nth-child(4) .work-page-skeleton__shine::after {
  animation-delay: 0.42s;
}

.personal-grid .work-card--skeleton:nth-child(1) .work-page-skeleton__shine::after {
  animation-delay: 0s;
}

.personal-grid .work-card--skeleton:nth-child(2) .work-page-skeleton__shine::after {
  animation-delay: 0.18s;
}

.work-skeleton-line--h2::after {
  animation-delay: 0.05s;
}

.work-skeleton-line--pill::after {
  animation-delay: 0.25s;
}

@keyframes work-page-skeleton-shine {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(420%);
  }
}

.work-page__content:not([hidden]) {
  animation: work-page-content-reveal 0.45s ease forwards;
}

@keyframes work-page-content-reveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-page-skeleton__shine::after,
  .work-skeleton-line::after {
    animation: none;
  }

  .about__photo,
  .about__photo-skeleton {
    transition: none;
  }

  .work-page__content:not([hidden]) {
    animation: none;
  }
}

.personal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 8px;
  column-gap: 0;
}

.simple-page {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 84px 32px 64px;
}

.contact-page {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 72px 32px 64px;
}

.contact-page__title {
  margin: 0 0 24px;
  color: var(--text-primary);
  opacity: 0.92;
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 500;
  line-height: 0.98;
}

.contact-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.contact-form {
  width: min(100%, 600px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.contact-field {
  width: 100%;
}

.contact-field label {
  display: block;
  margin: 0 0 8px;
  padding-left: 20px;
  color: var(--text-muted);
  opacity: 1;
  font-size: 1.25rem;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: #0d0d0d;
  color: rgba(255, 255, 255, 0.95);
  font: inherit;
  padding: 0 14px;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact-field input {
  height: 48px;
}

.contact-field textarea {
  height: 96px;
  resize: vertical;
  min-height: 96px;
  padding-top: 12px;
}

.contact-submit {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 20px 32px;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.contact-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-form__feedback {
  margin: 12px 0 0;
  font-size: 1rem;
  line-height: 1.4;
}

.contact-form__feedback--success {
  color: #4ade80;
}

.contact-form__feedback--error {
  color: #f87171;
}

.contact-details {
  width: min(100%, 299px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-details__group h2 {
  margin: 0 0 16px;
  color: var(--text-primary);
  opacity: 0.92;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
}

.contact-details__group p {
  margin: 0;
  color: var(--text-muted);
  opacity: 1;
  font-size: 1.25rem;
  line-height: 1.2;
  text-align: left;
}

.contact-details__group p a {
  color: inherit;
}

.simple-page__card {
  max-width: 760px;
  background: var(--surface);
  color: var(--text-body);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  padding: 28px;
}

.simple-page__card h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--text-primary);
}

.simple-page__card p {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--text-body);
}

.cv-download-btn {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  text-align: left;
}

.cv-download-btn:hover,
.cv-download-btn:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.cv-page {
  width: min(1280px, 100%);
  margin: 0 auto;
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  text-align: center;
  padding: 32px 24px 64px;
}

.cv-page h1 {
  margin: 0;
  color: var(--text-primary);
  opacity: 0.92;
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 500;
  line-height: 0.98;
}

.cv-download-btn--hero {
  margin-top: 0;
  padding: 18px 26px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 500;
}

.cv-download-btn--hero:hover,
.cv-download-btn--hero:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.contact-list p {
  margin-bottom: 8px;
}

.construction-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 100;
}

.construction-modal.is-open {
  display: block;
}

.construction-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.construction-modal__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 420px);
  background: var(--surface-elevated);
  color: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.55);
  padding: 20px 20px 18px;
}

.construction-modal__panel h2 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.construction-modal__panel p {
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.4;
}

.construction-modal__button {
  border: 0;
  border-radius: 8px;
  background: #222;
  color: #fff;
  padding: 8px 14px;
  font: inherit;
  cursor: pointer;
}

.project-page {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 35% 65%;
  min-height: calc(100vh - 64px);
}

.project-sidebar {
  position: sticky;
  top: 64px;
  align-self: start;
  min-height: calc(100vh - 64px);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  background: rgba(16, 16, 16, 0.96);
  border-right: 1px solid var(--line);
  padding: 26px 18px;
}

.project-sidebar img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.project-sidebar h1 {
  margin: 18px 0 10px;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.95);
}

.project-sidebar p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}

.project-content {
  padding: 0 22px 38px;
}

.project-tabs {
  position: sticky;
  top: 64px;
  margin-left: -22px;
  margin-right: calc(50% - 50vw);
  padding: 0 22px;
  box-sizing: border-box;
  background: rgba(16, 16, 16, 0.92);
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.project-tabs a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
}

.project-tabs a[aria-current="page"] {
  text-decoration: underline;
}

.project-content h2 {
  margin: 26px 0 10px;
  color: rgba(255, 255, 255, 0.94);
}

.project-content p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
}

.project-list {
  margin: 10px 0 0;
  padding-left: 20px;
}

.project-list li {
  margin-bottom: 8px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.86);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 14px;
}

.insight-column h3 {
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
}

.insight-card {
  border: 2px solid;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 12px;
}

.insight-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
}

.insight-card p {
  font-size: 0.9rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
}

.insight-card--negative {
  border-color: #ee1010;
  background: rgba(238, 16, 16, 0.12);
}

.insight-card--neutral {
  border-color: #eed410;
  background: rgba(238, 212, 16, 0.1);
}

.insight-card--positive {
  border-color: #19b959;
  background: rgba(25, 185, 89, 0.12);
}

.consideration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.consideration-card {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(28, 32, 24, 0.95);
  color: #fff;
  padding: 14px;
}

.consideration-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.consideration-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.35;
}

.project-hero,
.project-image {
  width: min(100%, 775px);
  margin-top: 18px;
  border-radius: 14px;
  display: block;
}

.feature-grid,
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.strategy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid article,
.strategy-grid article {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(30, 42, 38, 0.85);
  color: rgba(255, 255, 255, 0.9);
  padding: 14px;
  min-height: 108px;
}

.feature-grid h3 {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.95);
}

.feature-grid p,
.strategy-grid article {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.86);
}

.feature-grid--wheelie .wheelie-card {
  color: #ffffff;
  border-width: 2px;
}

.feature-grid--wheelie .wheelie-card h3 {
  color: #ffffff;
}

.feature-grid--wheelie .wheelie-card p {
  color: rgba(255, 255, 255, 0.95);
}

.feature-grid--wheelie .wheelie-card--sos {
  border-color: rgba(170, 44, 44, 0.38);
  background: #7f1f1f;
}

.feature-grid--wheelie .wheelie-card--partner {
  border-color: rgba(140, 172, 214, 0.5);
  background: #27486e;
}

.feature-grid--wheelie .wheelie-card--track {
  border-color: rgba(164, 164, 164, 0.45);
  background: #2f2f2f;
}

@keyframes freelance-stripes-a {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 220px 220px;
  }
}

@keyframes freelance-stripes-b {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 320px 320px;
  }
}

@media (max-width: 1080px) {
  .site-header-wrapper {
    padding: 0 24px;
  }

  .site-header {
    padding: 12px 0;
    height: 64px;
    min-height: 64px;
  }

  .site-header__brand {
    font-size: 1.35rem;
  }

  .site-nav {
    gap: 1.1rem;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: center;
    padding: 56px 32px 56px;
  }

  .about__content h1 {
    text-align: left;
  }

  .work-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .work-block--personal {
    grid-column: auto;
  }

  .project-page {
    grid-template-columns: 1fr;
    padding: 0;
    min-height: auto;
    padding-top: 56px;
  }

  .project-sidebar {
    position: static;
    min-height: auto;
    max-height: none;
    overflow-y: visible;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 24px 28px;
  }

  .project-sidebar img {
    max-height: 280px;
    object-fit: cover;
  }

  .project-sidebar h1 {
    font-size: 2rem;
    margin: 16px 0 10px;
  }

  .project-tabs {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 10;
    flex-wrap: wrap;
    padding: 12px 24px;
    margin: 0;
  }

  .project-content {
    padding: 0 24px 38px;
  }

  .contact-page {
    padding: 56px 24px 56px;
  }

  .contact-layout {
    flex-direction: column;
    gap: 32px;
  }

  .contact-form,
  .contact-details {
    width: min(100%, 680px);
  }

  .feature-grid,
  .strategy-grid,
  .insights-grid,
  .consideration-grid {
    grid-template-columns: 1fr;
  }

  .landing {
    padding: 0 24px;
  }

  .ascii-art {
    width: 50vw;
    opacity: 0.6;
  }
}

@media (max-width: 700px) {
  .site-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    width: 100%;
    height: 64px;
    min-height: 64px;
  }

  .site-header__menu-btn {
    display: flex;
    margin-left: auto;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 25;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  body.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    max-width: 78vw;
    height: 100vh;
    box-sizing: border-box;
    background: var(--nav-bg);
    backdrop-filter: blur(8px);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    padding: 72px 20px 24px;
    z-index: 30;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  body.nav-open .nav-drawer {
    transform: translateX(0);
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-drawer .site-nav {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    width: 100%;
    text-align: left;
  }

  .nav-drawer .site-nav a {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 1.15rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
    box-sizing: border-box;
  }

  .nav-drawer .site-nav a:last-child {
    border-bottom: 0;
  }

  .project-sidebar {
    padding: 20px 20px 24px;
  }

  .project-sidebar img {
    max-height: 220px;
  }

  .project-sidebar h1 {
    font-size: 1.75rem;
  }

  .project-page {
    padding-top: 70px;
  }

  .project-tabs {
    top: 64px;
    margin: 0;
    padding: 10px 20px;
  }

  .project-content {
    padding: 0 20px 32px;
  }

  .landing {
    padding: 0 20px;
    height: calc(100vh - 64px);
    min-height: calc(100vh - 64px);
    max-height: calc(100vh - 64px);
  }

  .landing__hero {
    max-width: 100%;
  }

  .landing__title {
    white-space: normal;
  }

  .landing__tagline {
    margin-top: 48px;
  }

  .landing__hero .landing__actions {
    margin-top: 12px;
  }

  .landing__btn {
    padding: 12px 18px;
    font-size: 1.1rem;
  }

  .ascii-art {
    width: 70vw;
    max-height: none;
    overflow: visible;
    opacity: 0.5;
  }

  .ascii-art__pre {
    font-size: 0.3rem;
  }

  .about {
    padding: 40px 20px 56px;
  }

  .about__content p {
    font-size: clamp(1.15rem, 4vw, 1.65rem);
    line-height: 1.2;
  }

  .work-page {
    padding: 44px 20px 56px;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .work-block,
  section.work-block {
    padding: 16px 14px 18px;
  }

  .work-block--owu,
  .work-block--freelance {
    min-height: auto;
  }

  .work-block h2 {
    margin-bottom: 12px;
    font-size: 1.7rem;
  }

  .work-card {
    min-height: 0;
  }

  .work-card img {
    min-height: 0;
    object-fit: cover;
  }

  .personal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .simple-page {
    padding: 44px 20px 56px;
  }

  .contact-page {
    padding: 44px 20px 56px;
  }

  .contact-page__title {
    margin-bottom: 20px;
  }

  .contact-field label {
    padding-left: 12px;
    font-size: 1.1rem;
  }

  .contact-details__group h2 {
    font-size: 2.1rem;
  }

  .contact-details__group p {
    font-size: 1.05rem;
  }

  .contact-submit {
    padding: 14px 24px;
    font-size: 1.05rem;
  }

  .simple-page__card {
    padding: 22px;
  }

  .cv-page {
    padding: 26px 20px 56px;
    gap: 18px;
  }

  .cv-download-btn--hero {
    padding: 14px 20px;
    font-size: 1.05rem;
    border-radius: 0;
  }
}
