@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;600&display=swap');

@font-face {
  font-family: "Lavonia Classy";
  src: url("./fonts/EDLavonia-Regular.otf") format("opentype"),
       url("./fonts/EDLavonia-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

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

:root {
  --forest: #004209;
  --forest-deep: #003307;
  --forest-soft: #2f7a3e;
  --cream: #fff4e7;
  --mint: #5fb06a;
  --sand: #eadfcd;
}

body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  color: var(--cream);
  background: var(--forest);
}

main {
  overflow-x: hidden;
}

.hero {
  min-height: 80vh;
  background: #004209;
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
  padding: 0 clamp(1.5rem, 4vw, 4.5rem);
}


.hero__wrap {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: clamp(1.25rem, 2.4vw, 2.5rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.1rem, 3vw, 2.5rem);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  padding: 0;
  margin-right: 0.6rem;
  position: relative;
}

.nav__toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #fff4e7;
  border-radius: 999px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav__toggle span:nth-child(1) {
  top: 14px;
}

.nav__toggle span:nth-child(2) {
  top: 22px;
}

.nav__toggle span:nth-child(3) {
  top: 30px;
}

.nav__bar {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  width: fit-content;
  height: 83px;
  background: #3e7f3c;
  padding: 0 50px;
  border-radius: 30px;
  box-sizing: border-box;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.2);
  transform: translate3d(calc(var(--nav-mx, 0) * 1px), calc(var(--nav-my, 0) * 1px), 0);
  transition: transform 120ms ease-out;
  position: relative;
  overflow: hidden;
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 2.8rem;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
  align-items: center;
  height: 100%;
  justify-content: center;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  text-transform: uppercase;
  position: relative;
  padding: 0.4rem 0.6rem;
  line-height: 1;
  transition: transform 180ms ease, color 180ms ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.25rem;
  width: 70%;
  height: 2px;
  background: var(--cream);
  opacity: 0;
  transform: translateX(-50%) scaleX(0.4);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav__link:hover,
.nav__link:focus-visible {
  transform: translateY(-2px);
  color: #ffffff;
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.nav__highlight {
  position: absolute;
  top: 48%;
  transform: translate(0, -50%);
  left: 0;
  height: 64px;
  width: 132px;
  border-radius: 21px;
  background: #f5e8d7;
  border: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: none;
  z-index: 1;
  will-change: transform, width;
}

.nav__link.is-active {
  color: #0e4b1d;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  position: relative;
  min-height: 75vh;
  overflow: visible;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
  z-index: 1;
  max-width: 60%;
  transform: translate(-2.5rem, -200px);
}


.hero__copy h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(3.4rem, 8.5vw, 8.5rem);
  margin: 0;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.hero__script {
  font-family: "Lavonia Classy", serif;
  font-size: clamp(5.8rem, 15vw, 13rem);
  color: var(--mint);
  margin: -7.1rem 0 0;
  line-height: 0.9;
  align-self: flex-start;
  position: relative;
  z-index: 0;
  transform: translate(1.6rem, 0.3rem);
}

.hero-logo {
  width: min(860px, 92vw);
  height: auto;
  display: block;
  transform: translate(-1.5rem, 1.2rem);
}

.hero__portrait {
  position: absolute;
  right: clamp(-18rem, -22vw, -28rem);
  top: 18.5rem;
  bottom: -9rem;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  z-index: 3;
  pointer-events: none;
  width: clamp(320px, 45vw, 900px);
  transform: translateY(9rem);
}

.portrait__img {
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  clip-path: inset(0 0 20% 0);
  transform: scale(1.04);
  transform-origin: top right;
  display: block;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 90%, rgba(0, 0, 0, 0.7) 96%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 90%, rgba(0, 0, 0, 0.7) 96%, transparent 100%);
}

.gallery {
  position: relative;
  overflow: hidden;
  padding: clamp(0.8rem, 1.8vw, 1.4rem) 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -22rem;
  z-index: 1;
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.gallery__track {
  display: flex;
  gap: clamp(0.7rem, 1.6vw, 1.6rem);
  width: max-content;
  will-change: transform;
}

.gallery__card {
  flex: 0 0 auto;
  background: linear-gradient(135deg, #c9d8c1, #f4efe3);
  height: clamp(140px, 20vw, 230px);
  width: clamp(120px, 18vw, 200px);
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b3b3b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.gallery__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fade-section {
  background: linear-gradient(180deg, #004209 0%, #0b3d13 35%, #17501f 70%, #e9eaeb 100%);
  min-height: 20vh;
  margin-top: 1vh;
  position: relative;
  z-index: 2;
}

.camera-section {
  background: #fff4e7;
  min-height: 115vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  --camera-progress: 0;
  --camera-scale: clamp(0.8, 0.75 + 0.02vw, 0.95);
  --orbit-tighten: 0.9;
  --orbit-size: 0.95;
}

.camera-wrap {
  position: sticky;
  top: 3vh;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60vh;
  width: 100%;
  position: relative;
  transform: scale(var(--camera-scale));
  transform-origin: center top;
}

.camera-img {
  width: min(240px, 38vw);
  height: auto;
  transform: rotate(var(--camera-rotate, 0deg));
  transition: transform 80ms linear;
  will-change: transform;
  z-index: 2;
}

.camera-orbit {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  z-index: 1;
}

.orbit__item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--w, 140px) * var(--orbit-size));
  height: calc(var(--h, 110px) * var(--orbit-size));
  min-width: 120px;
  min-height: 90px;
  background: #f5e8d7;
  border-radius: 0.8rem;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #3b3b3b;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  z-index: var(--z, 1);
  transform: translate(-50%, -50%)
    rotate(var(--angle))
    translateX(calc(var(--radius) * var(--orbit-tighten) * var(--camera-progress)))
    rotate(calc(-1 * var(--angle)));
  transition: transform 260ms ease, opacity 120ms ease;
  will-change: transform, opacity;
}

.camera-section[data-orbit-visible="true"] .orbit__item {
  opacity: 1;
}

.orbit__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.name-section {
  min-height: 110vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff4e7 url("assets/my-name-background.png") top center / 100% auto no-repeat;
  padding-top: 0;
}

.name-wrap {
  position: relative;
  max-width: min(820px, 90vw);
  text-align: center;
  transform: translateY(-3.5rem);
}

.name-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 0 0 1.4rem;
}

.name-title__lead {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.9rem, 5.6vw, 3.9rem);
  color: #fff4e7;
}

.name-title__accent {
  font-family: "Lavonia Classy", serif;
  font-size: clamp(8rem, 8vw, 8rem);
  padding-left: 15px;
  color: #fff4e7;
}


.name-body {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  line-height: 1.6;
  color: #fff4e7;
  margin: 0 auto 2.2rem;
  max-width: 60ch;
}

.name-body strong {
  font-weight: 700;
}

.name-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  font-family: "Poppins", sans-serif;
  color: #fff4e7;
}

.name-highlights strong {
  font-weight: 700;
}

.works-section {
  background: #fff4e7;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
}

.works-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-4rem);
}

.works-title {
  width: min(520px, 90vw);
  height: auto;
  display: block;
}

.works-grid {
  margin-top: clamp(5rem, 9vh, 8rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  width: min(900px, 90vw);
  row-gap: clamp(7rem, 14vh, 11rem);
}

.work-folder {
  position: relative;
  height: clamp(120px, 18vw, 160px);
  perspective: 800px;
  transition: transform 220ms ease;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #fff4e7;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.folder {
  position: relative;
  width: 100%;
  height: 100%;
}

.folder__back {
  width: calc(100% - 36px);
  margin-left: 18px;
  height: 100%;
  background: #64a861;
  border-radius: 0 22px 22px 22px;
  position: relative;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
}

.folder__back::after {
  content: "";
  width: 62%;
  height: 32px;
  background: #64a861;
  position: absolute;
  top: -16px;
  left: 0;
  border-radius: 22px 40px 0 0;
  clip-path: polygon(0% 0%, 50% 0%, 100% 100%, 0% 100%);
}

.folder__front {
  cursor: pointer;
  width: calc(100% - 36px);
  height: calc(100% - 18px);
  padding: 16px;
  position: absolute;
  bottom: 0;
  left: 18px;
  background: #7bb466;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: top;
  transform: rotateX(0deg);
  transition: transform 0.35s ease, height 0.35s ease, bottom 0.35s ease, opacity 0.2s ease;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  z-index: 3;
}

.folder__label {
  position: relative;
  z-index: 4;
}

.folder__file {
  width: calc(100% - 50px);
  padding: 12px;
  height: calc(100% - 30px);
  position: absolute;
  background: transparent;
  bottom: -24px;
  left: 25px;
  border-radius: 12px;
  transition: transform 0.4s ease, opacity 0.3s ease;
  overflow: hidden;
  opacity: 0;
  box-shadow: none;
  z-index: 1;
}

.folder__file img {
  width: 75%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  margin: 0 auto;
  transform: rotate(-6deg);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
}

.work-folder--img-right .folder__file img {
  transform: rotate(6deg);
}

.work-folder--img-left .folder__file img {
  transform: rotate(-8deg);
}

.work-folder--img-slight .folder__file img {
  transform: rotate(2deg);
}

.folder__file .folder__flower {
  position: absolute;
  right: -10%;
  top: 8%;
  width: 60%;
  height: auto;
  transform: translateX(12px) rotate(-8deg);
  transition: transform 0.4s ease;
}

.work-folder:hover {
  transform: translateY(-6px);
}

.work-folder:hover .folder__front {
  height: calc(100% - 12px);
  bottom: -6px;
  transform: rotateX(-8deg) scaleX(1.02);
  opacity: 1;
}

.work-folder:hover .folder__file {
  transform: translateY(-150px);
  opacity: 1;
}

.work-folder:hover .folder__flower {
  transform: translateX(0) rotate(-4deg);
}

.work-folder--flower-left .folder__flower {
  right: auto;
  left: -12%;
  transform: translateX(-12px) rotate(8deg);
}

.work-folder--flower-left:hover .folder__flower {
  transform: translateX(0) rotate(4deg);
}

.work-folder--flower-right .folder__flower {
  transform: translateX(14px) rotate(-10deg);
}

@media (max-width: 720px) {
  .works-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

@media (max-width: 480px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
}

.contact-section {
  background: #004209;
  color: #fff4e7;
  padding: clamp(3rem, 8vh, 6rem) clamp(1.5rem, 6vw, 5rem);
  overflow: hidden;
  position: relative;
}

.contact-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: clamp(2rem, 6vw, 4rem);
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-copy {
  position: relative;
  max-width: 520px;
  z-index: 1;
  margin-top: 4.5rem;
  margin-left: clamp(1rem, 5vw, 4rem);
}

.contact-star {
  position: absolute;
  left: -10%;
  top: -30%;
  height: clamp(1200px, 40vw, 520px);
  width: auto;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  transform: translate(-20%, -10%);
}

.contact-title {
  margin: 0 0 1.5rem;
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  margin-left: -40px;
}


.contact-copy p {
  font-size: 1.32rem;
  line-height: 1.6;
  margin: 0 0 1.2rem;
  font-weight: 100;
  font-family: "Montserrat", sans-serif;
}

.contact-form {
  display: grid;
  gap: 1.4rem;
  width: min(520px, 100%);
  position: relative;
  margin-top: 4.5rem;
}

.field {
  display: block;
}

.field__control {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff4e7;
  border-radius: 999px;
  padding: 1.2rem 1.6rem;
}

.field__control img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.field__control input,
.field__control select,
.field__control textarea {
  background: transparent;
  border: none;
  outline: none;
  color: #004209;
  font-size: 1.25rem;
  font-weight: 200;
  font-family: "Montserrat", sans-serif;
  width: 100%;
}

.field__control textarea {
  resize: vertical;
  min-height: 220px;
}

.field__control--textarea {
  border-radius: 24px;
  align-items: flex-start;
}

.field__control--textarea img {
  margin-top: 0.2rem;
}

.field__control input::placeholder,
.field__control textarea::placeholder {
  color: #004209;
}

.field__control select {
  appearance: none;
}

.contact-submit {
  background: #51a35b;
  color: #fff4e7;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
}

.faq-section {
  background: #fff4e7;
  padding: clamp(3rem, 8vh, 6rem) clamp(1.5rem, 6vw, 5rem);
}

.faq-wrap {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}

.faq-media img {
  width: 85%;
  height: auto;
  display: block;
  border-radius: 28px;
  object-fit: cover;
  transform: scale(1.08);
  transform-origin: center;
  margin: 0 auto;
  clip-path: inset(10% 5% 10% 5% round 28px);
}

.faq-media {
  align-self: start;
}

.faq-list {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.faq-header {
  width: min(580px, 100%);
  height: auto;
  margin: 2.5rem 0 0.2rem 0;
  display: block;
  transform: translateX(-3%);
}

.faq-item {
  display: grid;
  grid-template-columns: 1fr 24px;
  gap: 1rem;
  align-items: start;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 2px solid #489b53;
  color: #004209;
  padding: 1.1rem 0;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-weight: 200;
}

.faq-arrow {
  justify-self: end;
  width: 18px;
  height: 18px;
  border: 2px solid #004209;
  border-top: 0;
  border-left: 0;
  transform: rotate(-45deg);
  transition: transform 220ms ease;
  margin-top: 0.2rem;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 200;
}

.faq-answer {
  grid-column: 1 / 2;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 1rem;
  font-weight: 200;
  line-height: 1.6;
  transition: max-height 220ms ease, opacity 220ms ease;
}

.faq-item.is-open .faq-arrow {
  transform: rotate(45deg);
}

.faq-item.is-open .faq-answer {
  max-height: 140px;
  opacity: 1;
  margin-top: 0.6rem;
}

@media (max-width: 900px) {
  .faq-wrap {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  background: #4b9a56;
  color: #0e4b1d;
  padding: clamp(2.5rem, 6vh, 4rem) clamp(2rem, 6vw, 5rem);
}

.footer-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.footer-left p,
.footer-center p {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.footer-left strong {
  font-size: 1.1rem;
}

.footer-center {
  text-align: center;
}

.footer-center img {
  width: min(360px, 80%);
  height: auto;
  display: block;
  margin: 0 auto 0.6rem;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-end;
}

.footer-right a {
  color: #0e4b1d;
  text-decoration: underline;
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .footer-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-right {
    align-items: center;
  }
}

.book-session {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: #5da55f;
  color: #fff4e7;
  text-decoration: none;
  padding: 0.85rem 1.1rem;
  border-radius: 22px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(0.95rem, 2vw, 1.3rem);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
  z-index: 100;
  transition: transform 200ms ease, opacity 200ms ease;
}

.book-session img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.book-session.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

@media (max-width: 640px) {
  .book-session {
    padding: 0.9rem 1.2rem;
    gap: 0.8rem;
    border-radius: 22px;
  }

  .book-session img {
    width: 46px;
    height: 46px;
  }
}

.form-toast {
  position: absolute;
  top: -2.6rem;
  right: 0;
  background: #51a35b;
  color: #fff4e7;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
}

.contact-form.is-submitted .form-toast {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    max-width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .field input,
  .field select,
  .field textarea {
    border-radius: 20px;
  }
}

@media (max-width: 900px) {
  .nav__bar {
    width: min(100%, 92vw);
    padding: 0 20px;
  }

  .nav__links {
    gap: 1rem;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__copy {
    max-width: 100%;
    transform: translate(-1rem, -120px);
  }

  .hero__portrait {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: min(560px, 90vw);
    transform: translateY(0);
    margin: 0 auto;
  }

  .gallery {
    margin-top: -6rem;
  }

  .works-grid {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 640px) {
  .nav__bar {
    width: 100%;
    justify-content: space-between;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__links {
    display: none;
  }

  .nav__bar.is-open .nav__links {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
    margin-top: 0.8rem;
    align-items: center;
  }

  .nav__highlight {
    display: none;
  }

  .hero__copy {
    align-items: center;
    text-align: center;
    transform: translate(0, -80px);
  }

  .hero__script {
    transform: translate(0.2rem, 0);
  }

  .hero__portrait {
    width: min(520px, 92vw);
    transform: translate(0, 24px);
    margin: 0 auto;
  }

  .gallery {
    margin-top: -4rem;
  }

  .works-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    row-gap: clamp(4rem, 10vh, 7rem);
  }
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
  }

  .nav__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__copy {
    max-width: 100%;
    transform: translateY(-40px);
    align-items: center;
    text-align: center;
  }

  .hero__script {
    align-self: center;
  }

  .hero__portrait {
    right: clamp(-14rem, -20vw, -26rem);
    top: 12rem;
    bottom: -6rem;
    width: clamp(240px, 75vw, 760px);
    height: auto;
    justify-content: flex-end;
    align-items: flex-end;
    margin-top: 0;
    transform: translateY(6rem);
  }

  .portrait__img {
    height: auto;
    width: min(80vw, 600px);
    max-width: 100%;
    clip-path: inset(0 0 15% 0);
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero__wrap {
    padding-top: 1.25rem;
  }

  .gallery__track {
    transform: translate3d(0, 0, 0);
  }

  .hero__copy h1,
  .hero__script {
    text-align: center;
  }

  .hero__copy {
    align-items: center;
  }

  .hero__copy h1 {
    font-size: clamp(2.6rem, 10vw, 4.6rem);
  }

  .hero__script {
    font-size: clamp(3.4rem, 14vw, 6.5rem);
    margin: -2rem 0 0;
  }

  .gallery__card {
    height: clamp(130px, 28vw, 170px);
    width: clamp(120px, 26vw, 160px);
  }
}

@media (max-width: 480px) {
  .nav__bar {
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.9rem 1.1rem;
  }

  .nav__links {
    gap: 0.8rem;
  }

  .nav__cta {
    width: 100%;
    justify-content: center;
  }

  .hero__copy {
    transform: translateY(-20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery__track {
    transform: translate3d(0, 0, 0);
  }
}
