body {
  overflow-x: clip;
}

h1,
h2,
h3,
p {
  margin: 0;
}
.art {
  display: block;
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.logo {
  width: 44px;
  height: 44px;
  transform: scaleX(-1);
}
.intro {
  max-width: 1034px;
  margin: 133px auto 0;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 685px) 344px;
  gap: 48px;
  align-items: center;
}
.hero > div {
  text-align: right;
}
.hero h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1.5px;
}
.availability {
  font-size: 32px;
  font-weight: 300;
  color: #7aa150;
  margin-top: 24px;
  line-height: 1.1;
}
.binoculars {
  width: 344px;
  height: 344px;
}
.art-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 50px;
}
.first-row {
  margin-top: 29px;
  height: 247px;
}
.art-row .art {
  max-height: 247px;
}
.second-row {
  margin: 176px auto 0;
  max-width: 956px;
  gap: 32px;
  height: 244px;
}
.second-row .art {
  max-height: 244px;
}
.intro-copy {
  font-size: 32px;
  line-height: 1.5;
  text-align: center;
  max-width: 981px;
  margin: 165px auto 0;
}
h2 {
  font-size: 48px;
  font-family: var(--font-display);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.8px;
}
.section-wide {
  width: calc(100% - 152px);
  max-width: 1289px;
  margin: 379px auto 0;
}
.projects h2 {
  margin-bottom: 67px;
}
.project-list {
  display: flex;
  flex-direction: column;
  gap: 46px;
}
.project {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 492px) minmax(0, 1fr);
  gap: 45px;
  align-items: center;
  min-height: 500px;
  padding: 10px;
}
.project-description h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}
.project-description p {
  font-family: Inter, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 300;
  margin-top: 28px;
}
.project-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
}
.project-notes {
  font-family: Inter, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section-narrow {
  max-width: 1050px;
  width: calc(100% - 152px);
  margin: 379px auto 0;
}
.experiment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 250px));
  justify-content: space-between;
  gap: 100px 60px;
  margin-top: 130px;
}
.experiment-tile {
  aspect-ratio: 1;
  background: #d9d9d9;
  border-radius: 24px;
}
.about {
  max-width: 1221px;
}
.about > h2 {
  margin-bottom: 60px;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 378px) minmax(0, 1fr);
  gap: 24px 44px;
  font-family: Inter, sans-serif;
}
.portrait-frame {
  height: 562px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}
.portrait-frame img {
  position: absolute;
  width: 140.09%;
  max-width: none;
  height: 125.52%;
  top: -25.49%;
  left: -14.47%;
  object-fit: fill;
}
.about-details {
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.panel {
  border: 1px solid #898686;
  border-radius: 24px;
  padding: 20px;
}
.panel h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.skills {
  min-height: 340px;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 29px 15px;
  max-width: 360px;
  margin: 83px 0 0;
  padding: 0;
  list-style: none;
}
.skill-tags li {
  font-size: 14px;
  line-height: 1.5;
  padding: 5px 10px;
  background: #d9d9d9;
  border-radius: 50px;
}
.tools {
  flex: 1;
}
.tool-icons {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
  align-items: center;
}
.tool-icons img {
  display: block;
  width: 76px;
  max-width: 100%;
  height: 76px;
  object-fit: contain;
}
.experience {
  grid-column: 1/-1;
  border-color: #c8bfbf;
  padding: 28px 20px 60px;
}
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 24px;
}
.experience-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 400px;
}
.experience-item > img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.experience-item h4,
.experience-item p {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 8px;
}
.hobbies {
  max-width: 1370px;
  margin: 379px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 40px;
  gap: 70px;
}
.hobby-card {
  position: relative;
  width: 240px;
  aspect-ratio: 1;
  flex-shrink: 1;
}
.hobby-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: #d9d9d9;
  border-radius: 28.8px;
  transform: rotate(-14.46deg);
}
.hobby-card:nth-child(even):before {
  transform: rotate(3.62deg);
}
.hobby-card .art {
  position: relative;
  padding: 12px;
}
.home-footer {
  --footer-spacing: 379px;
  --footer-spacing-mobile: 140px;
}
@media (min-width: 1600px) {
  .hero {
    grid-template-columns: 685px 344px;
  }
}
@media (max-width: 1199px) {
  .intro {
    width: calc(100% - 100px);
  }
  .hero {
    grid-template-columns: minmax(0, 1fr) 30%;
    gap: 32px;
  }
  .binoculars {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
  .hero h1 {
    font-size: clamp(40px, 4.45vw, 64px);
  }
  .availability {
    font-size: 28px;
  }
  .art-row {
    gap: 30px;
  }
  .section-wide,
  .section-narrow {
    width: calc(100% - 80px);
  }
  .project {
    gap: 28px;
    grid-template-columns: 1fr 1.6fr 1fr;
  }
  .project-notes {
    font-size: 16px;
  }
  .about-grid {
    grid-template-columns: 32% 1fr;
    gap: 24px;
  }
  .hobbies {
    gap: 60px;
  }
}
@media (max-width: 700px) {
  .intro {
    width: calc(100% - 48px);
    margin-top: 85px;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr) 27%;
    gap: 8px;
  }
  .hero h1 {
    font-size: clamp(25px, 5.6vw, 40px);
    letter-spacing: -0.8px;
  }
  .availability {
    font-size: 18px;
    margin-top: 16px;
  }
  .first-row {
    height: 130px;
    margin-top: 45px;
  }
  .art-row {
    gap: 12px;
  }
  .art-row .art {
    max-height: 130px;
  }
  .second-row {
    height: 130px;
    margin-top: 64px;
    gap: 12px;
  }
  .intro-copy {
    font-size: 20px;
    margin-top: 70px;
    line-height: 1.6;
  }
  h2 {
    font-size: 32px;
  }
  .section-wide,
  .section-narrow {
    width: calc(100% - 48px);
    margin-top: 140px;
  }
  .projects h2 {
    margin-bottom: 48px;
  }
  .project-list {
    gap: 72px;
  }
  .project {
    min-height: 0;
    padding: 0;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .project-description h3 {
    font-size: 20px;
  }
  .project-description p {
    margin-top: 12px;
  }
  .project-image {
    grid-row: 1;
  }
  .project-notes {
    font-size: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .experiment-grid {
    margin-top: 48px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .experiment-tile {
    border-radius: 20px;
  }
  .about > h2 {
    margin-bottom: 40px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .portrait-frame {
    height: auto;
    aspect-ratio: 378/562;
    max-width: 378px;
    width: 100%;
    margin: auto;
  }
  .about-details {
    gap: 24px;
  }
  .skills {
    min-height: 250px;
  }
  .skill-tags {
    margin-top: 50px;
    gap: 18px 12px;
  }
  .tool-icons {
    gap: 10px;
  }
  .tool-icons img {
    height: auto;
    aspect-ratio: 1;
  }
  .experience {
    padding-bottom: 32px;
  }
  .experience-list {
    gap: 32px;
  }
  .hobbies {
    margin-top: 140px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    padding: 20px 40px;
  }
  .hobby-card {
    width: 100%;
  }
  .hobby-card:before {
    border-radius: 20px;
  }
}

/* Selected project cards */
.project {
  grid-template-columns: minmax(190px, 0.78fr) minmax(360px, 1.42fr) minmax(
      190px,
      0.7fr
    );
  gap: 40px;
  min-height: 420px;
  padding: 42px 46px;
  background: #fff;
  border: 1px solid #aeb4bd;
  border-radius: 24px;
}
@media (max-width: 1199px) and (min-width: 701px) {
  .project {
    grid-template-columns: minmax(150px, 0.72fr) minmax(280px, 1.45fr) minmax(
        170px,
        0.72fr
      );
    gap: 24px;
    padding: 34px 28px;
  }
  .project-action {
    min-width: 170px;
  }
}
@media (max-width: 760px) {
  .project {
    grid-template-columns: 1fr;
    padding: 24px;
    border-radius: 20px;
  }
}
