@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-variable-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #11110f;
  --ink-soft: #1a1916;
  --paper: #f2efe8;
  --paper-deep: #e5e0d6;
  --accent: #d46f49;
  --accent-dark: #9f4f34;
  --dark-text: #f4f1ea;
  --dark-muted: #c6c0b5;
  --light-text: #171613;
  --light-muted: #5d5951;
  --dark-line: #3b3832;
  --light-line: #c4beb3;
  --focus: #f0a27e;
  --radius-panel: 56px;
  --radius-media: 14px;
  --wrap: min(1600px, calc(100% - 48px));
  --hero-gutter: clamp(24px, 7vw, 240px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--ink);
  color: var(--dark-text);
  font-family: "Archivo", "Arial Narrow", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: #625d53;
  border: 2px solid var(--ink);
  border-radius: 8px;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--paper);
  color: var(--light-text);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 60px;
  background: var(--ink);
}

.header-inner {
  width: 100%;
  min-height: 60px;
  margin: 0 auto;
  padding-inline: var(--hero-gutter);
  display: block;
}

.brand {
  flex: 0 0 auto;
  font-size: 21px;
  font-weight: 850;
  font-stretch: 86%;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.site-nav {
  width: 100%;
  min-height: 60px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-muted);
  font-size: 15px;
  font-weight: 560;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--dark-text);
  text-decoration: underline;
}

.header-contact {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--dark-text);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.header-contact:hover,
.header-contact:focus-visible {
  background: var(--accent);
  color: var(--ink);
}

main {
  position: relative;
}

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: calc(100svh - 60px);
  margin: 0 auto;
  padding: clamp(8px, 1.4vh, 18px) 0 0;
  overflow: clip;
}

.hero-title-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-inline: var(--hero-gutter);
}

.hero h1 {
  margin: 0;
  color: var(--dark-text);
  font-size: clamp(84px, 14.85vw, 510px);
  font-weight: 900;
  font-stretch: 78%;
  line-height: 0.82;
  letter-spacing: -0.04em;
  text-align: center;
  white-space: nowrap;
}

.hero-aside {
  position: absolute;
  left: var(--hero-gutter);
  top: 48%;
  z-index: 4;
  width: clamp(240px, 20vw, 420px);
  transform: translateY(-50%);
}

.hero-aside p {
  margin: 0;
  color: var(--dark-text);
  font-size: clamp(18px, 1.4vw, 23px);
  font-weight: 670;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-aside a {
  min-height: 44px;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  color: var(--dark-muted);
  font-size: 14px;
  font-weight: 650;
}

.hero-aside a:hover,
.hero-aside a:focus-visible {
  color: var(--dark-text);
}

.hero-portrait {
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  z-index: 2;
  width: clamp(325px, 29.25vw, 494px);
  transform: translate(-50%, -50%);
  perspective: 1200px;
  pointer-events: none;
}

.hero-head {
  --head-x: 0px;
  --head-y: 0px;
  --head-rx: 0deg;
  --head-ry: 0deg;
  width: 100%;
  height: auto;
  transform: translate3d(var(--head-x), var(--head-y), 0) rotateX(var(--head-rx)) rotateY(var(--head-ry));
  transform-origin: 50% 72%;
  filter: drop-shadow(0 30px 28px rgba(0, 0, 0, 0.28));
  will-change: transform;
}

.hero-contact-cta {
  position: absolute;
  right: var(--hero-gutter);
  top: 47%;
  z-index: 4;
  width: clamp(132px, 11vw, 220px);
  min-height: clamp(52px, 4.8vw, 76px);
  display: grid;
  place-items: center;
  border: 1px solid var(--paper);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: clamp(15px, 1.15vw, 21px);
  font-weight: 790;
  font-stretch: 82%;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(-50%) rotate(-4deg);
}

.hero-contact-cta:hover,
.hero-contact-cta:focus-visible {
  background: var(--paper-deep);
}

.action-primary,
.action-secondary {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 680;
  text-decoration: none;
}

.action-primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--ink);
}

.action-primary:hover,
.action-primary:focus-visible {
  background: #e18059;
}

.action-secondary {
  border: 1px solid var(--dark-line);
  color: var(--dark-text);
}

.action-secondary:hover,
.action-secondary:focus-visible {
  border-color: var(--dark-text);
}

.work-strip {
  width: var(--wrap);
  margin: 0 auto;
  padding-bottom: clamp(110px, 13vw, 190px);
}

.work-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.work-strip a {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-soft);
  border: 1px solid var(--dark-line);
  border-radius: 9px;
}

.work-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition: filter 180ms ease-out;
}

.work-strip a:hover img,
.work-strip a:focus-visible img {
  filter: saturate(1.12);
}

.showreel-section,
.project-gallery-section {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: clip;
  background: var(--ink);
  scroll-margin-top: 60px;
}

.showreel-frame,
.project-gallery-frame {
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
  background: var(--ink);
}

.showreel-frame {
  height: 900px;
}

.project-gallery-frame {
  height: 1640px;
}

body.portfolio-modal-open .site-header {
  visibility: hidden;
  pointer-events: none;
}

body.portfolio-modal-open .showreel-section,
body.portfolio-modal-open .showreel-frame,
body.portfolio-modal-open .project-gallery-section,
body.portfolio-modal-open .project-gallery-frame {
  position: relative;
  z-index: 1000;
}

.section-heading {
  margin: 0;
  font-size: clamp(54px, 6.8vw, 96px);
  font-weight: 850;
  font-stretch: 78%;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.panel {
  position: relative;
  border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  margin-top: -48px;
}

.showreel-section + .panel {
  margin-top: clamp(56px, 6vw, 96px);
}

.panel-light {
  background: var(--paper);
  color: var(--light-text);
}

.panel-dark {
  background: var(--ink);
  color: var(--dark-text);
}

.panel-contact {
  background: var(--ink);
  color: var(--dark-text);
}

#services {
  --workflow-tail: clamp(140px, 14vw, 210px);
  z-index: 2;
  overflow: hidden;
  border-bottom-right-radius: var(--radius-panel);
  border-bottom-left-radius: var(--radius-panel);
}

#services .panel-inner {
  padding-bottom: var(--workflow-tail);
}

.project-gallery-section {
  z-index: 1;
}

.panel-inner {
  width: var(--wrap);
  margin: 0 auto;
  padding: clamp(118px, 12vw, 180px) 0 clamp(140px, 14vw, 210px);
}

.section-heading {
  max-width: 12ch;
}

#services-title {
  max-width: none;
  text-align: center;
  font-size: clamp(34px, 10vw, 96px);
}

#services-title span {
  display: block;
  white-space: nowrap;
}

.service-list {
  margin-top: clamp(64px, 8vw, 112px);
  border-top: 1px solid var(--light-line);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(340px, 1.35fr) minmax(110px, 0.35fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 52px);
  min-height: 150px;
  border-bottom: 1px solid var(--light-line);
}

.service-row h3 {
  margin: 0;
  font-size: clamp(26px, 2.5vw, 42px);
  font-weight: 770;
  font-stretch: 86%;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.service-row p {
  max-width: 58ch;
  margin: 0;
  color: var(--light-muted);
}

.service-price {
  font-size: 18px;
  font-weight: 750;
  white-space: nowrap;
}

.service-start {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--light-text);
  font-weight: 680;
}

.workflow {
  position: relative;
  margin-top: clamp(88px, 9vw, 140px);
  padding: clamp(46px, 5vw, 72px) clamp(22px, 3vw, 42px) clamp(24px, 3.2vw, 38px);
  border: 1px solid #d1ccc2;
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
}

.workflow-head {
  text-align: center;
}

.workflow-head h3 {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 820;
  font-stretch: 82%;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.workflow-head p {
  max-width: 62ch;
  margin: 18px auto 0;
  color: #5f5c56;
  font-size: 16px;
  line-height: 1.5;
}

.workflow-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(42px, 4.5vw, 66px) 0 24px;
  padding: 0;
  list-style: none;
}

.workflow-progress::before {
  position: absolute;
  top: 50%;
  right: 12.5%;
  left: 12.5%;
  height: 1px;
  background: #c9c4ba;
  content: "";
}

.workflow-progress-step {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.workflow-progress-step span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #b9b3a8;
  border-radius: 50%;
  background: #ded9cf;
  color: var(--ink);
  font-size: 14px;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
}

.workflow-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.workflow-card {
  min-width: 0;
  min-height: 390px;
  padding: clamp(20px, 2vw, 28px);
  border: 1px solid #d1ccc2;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
}

.workflow-card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #c9c4ba;
  border-radius: 9px;
  background: #e6e1d7;
  color: #24231f;
}

.workflow-card-icon svg {
  width: 22px;
  height: 22px;
}

.workflow-card h4 {
  margin: 18px 0 0;
  font-size: 19px;
  font-weight: 760;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.workflow-card > p {
  min-height: 74px;
  margin: 10px 0 0;
  color: #5f5c56;
  font-size: 15px;
  line-height: 1.5;
}

.workflow-card ul {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.workflow-card li {
  position: relative;
  padding-left: 24px;
  color: #4e4b45;
  font-size: 14px;
  line-height: 1.4;
}

.workflow-card li::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid #77736b;
  border-radius: 50%;
  background: #4e4b45;
  box-shadow: inset 0 0 0 2px var(--paper);
  content: "";
}

.feedback-section {
  padding-top: 0;
}

.feedback-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  align-items: end;
  gap: 54px;
  margin-bottom: 66px;
}

.feedback-head .section-heading {
  max-width: 11ch;
}

.feedback-head p {
  margin: 0;
  color: var(--dark-muted);
}

.review-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.review {
  min-height: 300px;
  padding: clamp(30px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  border: 1px solid #34312c;
  border-radius: 18px;
  background: #171714;
}

.review h3 {
  max-width: 34ch;
  margin: 0;
  color: var(--dark-text);
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 720;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.review-rating {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-stars {
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
}

.review-score {
  color: var(--dark-text);
  font-size: 15px;
  font-weight: 700;
}

.review blockquote {
  max-width: 58ch;
  margin: 30px 0 0;
  color: #d4cfc5;
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 480;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.upwork-proof {
  margin-top: 32px;
  color: var(--dark-muted);
}

.upwork-proof a {
  color: var(--dark-text);
  font-weight: 680;
}

.contact-section {
  margin-top: 0;
  padding-bottom: 0;
  border-radius: 0;
}

.contact-section .panel-inner {
  padding-top: clamp(120px, 11vw, 170px);
  padding-bottom: 0;
}

.contact-about-layout {
  display: grid;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(56px, 7vw, 96px);
}

.profile-card {
  display: flex;
  width: 100%;
  max-width: 500px;
  min-height: 640px;
  margin: 0;
  padding: 44px 44px 46px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #343431;
  border-radius: 24px;
  background: #10100f;
  color: var(--dark-text);
  text-align: center;
}

.profile-avatar-ring {
  width: 128px;
  height: 128px;
  padding: 5px;
  border: 3px solid #555552;
  border-radius: 50%;
  background: #181816;
}

.profile-avatar-ring img {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid #85817a;
  border-radius: 50%;
  object-fit: cover;
}

.profile-card h2 {
  margin: 26px 0 0;
  font-size: 36px;
  font-weight: 780;
  font-stretch: 86%;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.profile-role {
  margin: 10px 0 0;
  color: #d8d4cc;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.profile-bio {
  max-width: 36ch;
  margin: 26px auto 0;
  color: #aaa69e;
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
}

.profile-divider {
  width: 220px;
  height: 1px;
  margin: 34px auto 28px;
  background: #30302d;
}

.profile-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.profile-icon-link {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid #222220;
  border-radius: 50%;
  background: #191917;
  color: #bdb9b1;
  text-decoration: none;
  transition: background-color 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out;
}

.profile-icon-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-icon-link:first-child svg {
  fill: currentColor;
  stroke: none;
}

.profile-upwork-mark {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
}

.profile-fiverr-mark {
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.1em;
  line-height: 1;
}

.profile-icon-link:hover {
  border-color: #3a3a37;
  background: #232321;
  color: var(--paper);
}

.profile-icon-link:focus-visible,
.profile-contact-button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.profile-contact-button {
  display: inline-flex;
  min-width: 190px;
  min-height: 56px;
  margin-top: 38px;
  padding: 0 28px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--paper);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  font-weight: 720;
  text-decoration: none;
  transition: background-color 160ms ease-out, border-color 160ms ease-out;
}

.profile-contact-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-contact-button:hover {
  border-color: var(--paper-deep);
  background: var(--paper-deep);
}

.about-me {
  width: 100%;
  max-width: 600px;
  color: var(--dark-text);
  text-align: left;
}

.about-me h2 {
  margin: 0;
  font-size: clamp(54px, 5.2vw, 76px);
  font-weight: 820;
  font-stretch: 82%;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.about-me-list {
  margin-top: 46px;
  border-top: 1px solid #343431;
}

.about-me-item {
  padding: 24px 0 26px;
  border-bottom: 1px solid #343431;
}

.about-me-item h3 {
  margin: 0;
  color: var(--dark-text);
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.about-me-item p {
  max-width: 54ch;
  margin: 10px 0 0;
  color: #aaa69e;
  font-size: 17px;
  line-height: 1.62;
  text-wrap: pretty;
}

.site-footer {
  width: 100%;
  margin: clamp(120px, 12vw, 190px) auto 0;
  min-height: 116px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid #2f2f2c;
  background: transparent;
  color: var(--dark-text);
  border-radius: 0;
}

.footer-name {
  font-size: clamp(28px, 3.2vw, 50px);
  font-weight: 850;
  font-stretch: 78%;
  letter-spacing: -0.035em;
}

.footer-note {
  max-width: 34ch;
  color: var(--dark-muted);
  font-size: 14px;
  text-align: right;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-title-wrap {
    animation: hero-title-enter 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-head {
    animation: hero-head-enter 820ms 80ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-aside,
  .hero-contact-cta {
    animation: hero-control-enter 620ms 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  @keyframes hero-title-enter {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes hero-head-enter {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes hero-control-enter {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  @supports (animation-timeline: view()) {
    .panel:not(#services) {
      animation: panel-arrive linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 46%;
    }

    #services {
      animation: panel-arrive-round linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 46%;
    }

    @keyframes panel-arrive {
      from {
        transform: translateY(46px);
        border-radius: 82px 82px 0 0;
      }
      to {
        transform: translateY(0);
        border-radius: var(--radius-panel) var(--radius-panel) 0 0;
      }
    }

    @keyframes panel-arrive-round {
      from {
        transform: translateY(46px);
        border-radius: 82px;
      }
      to {
        transform: translateY(0);
        border-radius: var(--radius-panel);
      }
    }
  }
}

@media (max-width: 1100px) {
  :root {
    --wrap: min(100% - 36px, 1080px);
  }

  .hero {
    min-height: calc(100svh - 60px);
  }

  .hero h1 {
    font-size: clamp(76px, 10.2vw, 112px);
  }

  .hero-portrait {
    width: clamp(312px, 33.15vw, 390px);
  }

  .hero-aside {
    width: min(28vw, 280px);
  }

  .hero-contact-cta {
    right: var(--hero-gutter);
    width: clamp(128px, 14vw, 164px);
  }

  .service-row {
    grid-template-columns: minmax(230px, 0.9fr) minmax(270px, 1fr) auto;
  }

  .service-start {
    grid-column: 1 / -1;
    min-height: 30px;
    padding-bottom: 22px;
  }

}

@media (min-width: 1800px) and (min-height: 1100px) {
  .hero-portrait {
    width: min(39vw, 700px);
  }

  .contact-about-layout {
    max-width: 1800px;
    grid-template-columns: minmax(0, 700px) minmax(0, 1fr);
    gap: 160px;
  }

  .profile-card {
    max-width: 700px;
    min-height: 800px;
    padding: 58px 64px 60px;
  }

  .profile-avatar-ring {
    width: 160px;
    height: 160px;
    padding: 6px;
  }

  .profile-card h2 {
    margin-top: 30px;
    font-size: 44px;
  }

  .profile-role {
    font-size: 18px;
  }

  .profile-bio {
    margin-top: 30px;
    font-size: 18px;
  }

  .profile-divider {
    width: 260px;
    margin-top: 40px;
    margin-bottom: 32px;
  }

  .profile-icon-link {
    width: 64px;
    height: 64px;
  }

  .profile-contact-button {
    min-width: 220px;
    min-height: 64px;
    margin-top: 42px;
    font-size: 18px;
  }

  .about-me {
    max-width: 900px;
  }

  .about-me h2 {
    font-size: 96px;
  }

  .about-me-list {
    margin-top: 54px;
  }

  .about-me-item {
    padding: 30px 0 32px;
  }

  .about-me-item h3 {
    font-size: 22px;
  }

  .about-me-item p {
    max-width: 66ch;
    margin-top: 12px;
    font-size: 20px;
  }
}

@media (max-width: 820px) {
  :root {
    --radius-panel: 36px;
    --wrap: calc(100% - 28px);
    --hero-gutter: 18px;
  }

  html {
    scroll-padding-top: 68px;
  }

  .site-header,
  .header-inner {
    min-height: 60px;
  }

  .site-nav {
    min-height: 60px;
  }

  .site-nav a:nth-child(2),
  .site-nav a:nth-child(3) {
    display: none;
  }

  .header-contact {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 60px);
    padding: 46px 0 0;
  }

  .hero h1 {
    max-width: 8ch;
    font-size: clamp(72px, 15.5vw, 106px);
    line-height: 0.82;
    text-align: left;
    white-space: normal;
  }

  .hero-portrait {
    top: 57%;
    width: min(50.7vw, 396.5px);
  }

  .hero-aside {
    top: auto;
    bottom: 32px;
    width: min(34vw, 220px);
    transform: none;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.92);
  }

  .hero-contact-cta {
    top: auto;
    right: var(--hero-gutter);
    bottom: 44px;
    width: 128px;
    min-height: 54px;
    transform: rotate(-4deg);
  }

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

  .work-strip a:nth-child(10) {
    display: none;
  }

  .section-heading {
    font-size: clamp(50px, 12vw, 74px);
  }

  .panel {
    margin-top: -32px;
  }

  .contact-section {
    margin-top: 0;
  }

  .contact-about-layout {
    max-width: 680px;
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .profile-card,
  .about-me {
    margin: 0 auto;
  }

  #services {
    --workflow-tail: 136px;
  }

  .panel-inner {
    padding-top: 100px;
    padding-bottom: 136px;
  }

  .service-row {
    min-height: 0;
    padding: 28px 0;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px 24px;
  }

  .service-row p,
  .service-start {
    grid-column: 1 / -1;
  }

  .service-price {
    align-self: start;
  }

  .workflow {
    padding: 46px 20px 24px;
  }

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

  .workflow-card {
    min-height: 350px;
  }

  .feedback-head {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 30px;
  }

  .review-wall {
    grid-template-columns: 1fr;
  }

  .site-footer {
    min-height: 150px;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .footer-note {
    text-align: left;
  }
}

@media (max-width: 520px) {
  :root {
    --wrap: calc(100% - 24px);
    --hero-gutter: 14px;
  }

  .site-nav {
    gap: 18px;
  }

  .site-nav a {
    font-size: 14px;
  }

  .hero {
    min-height: max(720px, calc(100svh - 60px));
    padding-top: 38px;
  }

  .hero h1 {
    max-width: 7.4ch;
    font-size: clamp(62px, 19.4vw, 82px);
    line-height: 0.82;
  }

  .hero-portrait {
    top: 60.5%;
    width: min(68.9vw, 292.5px);
  }

  .hero-aside {
    top: 202px;
    bottom: auto;
    width: 170px;
  }

  .hero-aside p {
    font-size: 14px;
    line-height: 1.3;
  }

  .hero-aside a {
    margin-top: 12px;
    font-size: 12px;
  }

  .hero-contact-cta {
    top: 214px;
    right: var(--hero-gutter);
    bottom: auto;
    width: 112px;
    min-height: 50px;
    font-size: 14px;
    transform: rotate(-4deg);
  }

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

  .work-strip a:nth-child(10) {
    display: block;
  }

  .section-heading {
    font-size: clamp(48px, 14vw, 62px);
  }

  .contact-section .panel-inner {
    padding-top: 112px;
  }

  .profile-card {
    min-height: 560px;
    padding: 34px 24px 36px;
    border-radius: 22px;
  }

  .profile-avatar-ring {
    width: 112px;
    height: 112px;
  }

  .profile-card h2 {
    font-size: 32px;
  }

  .profile-role,
  .profile-bio {
    font-size: 15px;
  }

  .profile-divider {
    width: 190px;
    margin-top: 28px;
    margin-bottom: 24px;
  }

  .profile-icon-link {
    width: 52px;
    height: 52px;
  }

  .profile-contact-button {
    min-height: 54px;
    margin-top: 32px;
  }

  .about-me h2 {
    font-size: clamp(48px, 14vw, 64px);
  }

  .about-me-list {
    margin-top: 34px;
  }

  .about-me-item p {
    font-size: 16px;
  }

  .site-footer {
    margin-top: 112px;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .service-price,
  .service-row p,
  .service-start {
    grid-column: 1;
  }

  .workflow {
    padding: 38px 14px 16px;
    border-radius: 18px;
  }

  .workflow-head h3 {
    font-size: clamp(36px, 12vw, 50px);
  }

  .workflow-head p {
    max-width: 30ch;
    margin-top: 14px;
    font-size: 14px;
  }

  .workflow-progress {
    margin: 34px 0 20px;
  }

  .workflow-progress-step span {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .workflow-cards {
    grid-template-columns: 1fr;
  }

  .workflow-card {
    min-height: 0;
    padding: 22px;
  }

  .workflow-card > p {
    min-height: 0;
  }

  .review {
    min-height: 0;
  }

  .review-meta {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
