.portfolio {
  background: var(--paper);
}

.portfolio-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.65fr);
  gap: 7vw;
  align-items: end;
  margin: 64px 0 58px;
}

.portfolio-heading h2,
.photo-service-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.portfolio-heading h2 em,
.photo-service-copy h2 em {
  font-weight: 400;
}

.portfolio-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 18px;
}

.portfolio-card {
  min-width: 0;
}

.portfolio-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  color: #fff;
  background: #1b1b19;
}

.portfolio-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

.portfolio-card:nth-child(2n) .portfolio-poster img {
  object-position: 70% center;
}

.portfolio-card:nth-child(3n) .portfolio-poster img {
  object-position: 40% center;
}

.portfolio-poster:hover img {
  transform: scale(1.035);
}

.portfolio-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 6, 0.02) 40%, rgba(7, 7, 6, 0.62) 100%);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(12, 12, 11, 0.24);
  backdrop-filter: blur(7px);
  font-size: 14px;
  text-indent: 3px;
  transform: translate(-50%, -50%);
  transition: background 180ms ease, transform 180ms ease;
}

.portfolio-poster:hover .play-button {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  transform: translate(-50%, -50%) scale(1.06);
}

.portfolio-status {
  position: absolute;
  left: 18px;
  bottom: 15px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.portfolio-card.is-placeholder .portfolio-poster {
  cursor: default;
}

.portfolio-card.is-placeholder .portfolio-poster img {
  filter: grayscale(0.28) brightness(0.72);
}

.portfolio-card.is-placeholder .play-button {
  opacity: 0.56;
}

.portfolio-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 17px;
}

.portfolio-meta h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.portfolio-meta p,
.portfolio-meta > span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.portfolio-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 72px;
}

.page-numbers {
  display: flex;
  align-items: center;
  gap: 7px;
}

.page-arrow,
.page-numbers button {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  cursor: pointer;
  background: transparent;
  transition: color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.page-numbers button[aria-current="page"],
.page-arrow:hover:not(:disabled),
.page-numbers button:hover {
  color: #fff;
  background: var(--ink);
}

.page-arrow:disabled {
  cursor: default;
  opacity: 0.28;
}

.photo-service {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  min-height: 760px;
  background: var(--charcoal);
  color: #fff;
}

.photo-service-image {
  min-height: 650px;
  overflow: hidden;
}

.photo-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.photo-service-copy {
  padding: clamp(70px, 8vw, 130px) clamp(42px, 7vw, 110px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.photo-service-copy .mini-label {
  margin: 0 0 24px;
  color: var(--gold);
}

.photo-service-copy h2 {
  font-size: clamp(2.9rem, 4.4vw, 5rem);
}

.photo-lead {
  margin: 30px 0 0;
  max-width: 590px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

.photo-price {
  display: flex;
  align-items: baseline;
  gap: 11px;
  margin: 34px 0 5px;
}

.photo-price span,
.photo-unit {
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.photo-price strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.photo-price i {
  color: rgba(255, 255, 255, 0.34);
  font-style: normal;
}

.photo-unit {
  margin: 0;
}

.photo-service-copy ul {
  margin: 31px 0 22px;
  padding: 24px 0 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  list-style: none;
}

.photo-service-copy li {
  position: relative;
  margin: 0 0 13px;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.photo-service-copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.photo-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.43);
  font-size: 12px;
  line-height: 1.55;
}

.photo-link {
  width: fit-content;
  margin-top: 30px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.order-section {
  padding: clamp(82px, 10vw, 150px) 6vw;
  background: #e8e4d9;
}

.order-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 7vw;
  align-items: end;
  margin: 62px 0 58px;
}

.order-heading .mini-label {
  margin: 0 0 22px;
  color: var(--muted);
}

.order-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.order-heading h2 em {
  font-weight: 400;
}

.order-heading > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.order-shell {
  display: grid;
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 1fr);
  border: 1px solid rgba(16, 16, 15, 0.2);
  background: #f7f5ef;
  box-shadow: 0 28px 70px rgba(27, 25, 20, 0.08);
}

.order-progress {
  margin: 0;
  padding: 38px 28px;
  border-right: 1px solid var(--line);
  list-style: none;
  background: #1a1a18;
  color: #fff;
}

.order-progress li {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  min-height: 76px;
  color: rgba(255, 255, 255, 0.38);
}

.order-progress li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 53px;
  width: 1px;
  height: 46px;
  background: rgba(255, 255, 255, 0.14);
}

.order-progress span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-size: 10px;
}

.order-progress strong {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.order-progress li.is-active,
.order-progress li.is-complete {
  color: #fff;
}

.order-progress li.is-active span {
  color: var(--ink);
  border-color: var(--gold);
  background: var(--gold);
}

.order-progress li.is-complete span {
  border-color: rgba(205, 176, 128, 0.8);
}

.order-form {
  min-width: 0;
  padding: clamp(34px, 5vw, 72px);
}

.order-step[hidden],
.payment-panel[hidden] {
  display: none;
}

.step-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.step-heading span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.step-heading h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.service-options,
.currency-options {
  margin: 0;
  padding: 0;
  border: 0;
}

.service-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-option {
  position: relative;
  min-height: 116px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 20px;
  padding: 23px;
  border: 1px solid var(--line);
  cursor: pointer;
  background: #fbfaf6;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.service-option:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 16, 15, 0.42);
}

.service-option:has(input:checked) {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.service-option input {
  position: absolute;
  top: 18px;
  right: 18px;
  accent-color: var(--gold);
}

.service-option > span {
  display: grid;
  gap: 7px;
}

.service-option strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
}

.service-option small {
  color: var(--muted);
  font-size: 12px;
}

.service-option:has(input:checked) small {
  color: rgba(255, 255, 255, 0.58);
}

.service-option b {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.currency-options {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.currency-options legend {
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.currency-options label {
  position: relative;
  flex: 1;
  cursor: pointer;
}

.currency-options input {
  position: absolute;
  opacity: 0;
}

.currency-options label > span {
  min-height: 59px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}

.currency-options label > span small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.currency-options input:checked + span {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.step-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.order-next,
.order-back,
.copy-order,
.email-order,
.paypal-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

.order-next,
.email-order {
  color: #fff;
  background: var(--ink);
}

.order-back,
.copy-order {
  color: var(--ink);
  background: transparent;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
}

.form-grid label,
.payment-reference label {
  display: grid;
  gap: 9px;
}

.form-grid label > span,
.payment-reference label > span {
  color: #3f3d38;
  font-size: 12px;
  font-weight: 600;
}

.form-wide {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea,
.payment-reference input {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 14px;
}

.form-grid textarea {
  min-height: 145px;
  resize: vertical;
  line-height: 1.55;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus,
.payment-reference input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgba(205, 176, 128, 0.34);
}

.form-grid .is-invalid,
.payment-reference .is-invalid {
  border-color: #a42b20;
}

.order-review {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.review-item {
  min-height: 92px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.review-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.review-item strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.review-item.deposit {
  color: #fff;
  background: var(--ink);
}

.review-item.deposit span {
  color: var(--gold);
}

.review-item.deposit strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.deposit-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.deposit-consent input {
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--ink);
}

.form-error {
  margin: 16px 0 0;
  color: #a42b20;
  font-size: 13px;
}

.payment-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 36px;
  margin-top: 36px;
  padding: clamp(25px, 4vw, 42px);
  color: #fff;
  background: #161615;
}

.payment-copy .mini-label {
  margin: 0 0 12px;
  color: var(--gold);
}

.payment-copy h4 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
}

.payment-copy > p:not(.mini-label):not(.payment-help) {
  max-width: 520px;
  margin: 13px 0 24px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
}

.paypal-button {
  gap: 18px;
  width: fit-content;
  color: var(--ink);
  border-color: #fff;
  background: #fff;
}

.payment-help {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 11px;
  line-height: 1.5;
}

.payment-checklist {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 21px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  list-style: none;
}

.payment-checklist li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.payment-checklist span {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(205, 176, 128, 0.62);
  border-radius: 50%;
  color: var(--gold);
  font-size: 10px;
}

.paypal-qr {
  width: 250px;
  height: 250px;
  align-self: center;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
}

.paypal-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.payment-reference {
  grid-column: 1 / -1;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.payment-reference label > span {
  color: rgba(255, 255, 255, 0.76);
}

.payment-reference p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  line-height: 1.5;
}

.payment-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.copy-order {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.email-order {
  color: var(--ink);
  border-color: var(--gold);
  background: var(--gold);
}

.payment-status {
  grid-column: 1 / -1;
  min-height: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-align: right;
}

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

.video-modal[hidden] {
  display: none;
}

.video-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 6vw;
  background: rgba(4, 4, 4, 0.94);
}

.video-modal-inner {
  width: min(1200px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-close {
  position: absolute;
  top: 25px;
  right: 30px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  cursor: pointer;
  font-size: 32px;
  font-weight: 200;
  background: transparent;
}

.modal-open {
  overflow: hidden;
}

.contact-action .button {
  overflow-wrap: anywhere;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.instagram-link {
  min-height: 54px;
  padding: 0 19px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13px;
}

.instagram-link span {
  color: rgba(255, 255, 255, 0.52);
}

.instagram-link strong {
  font-weight: 500;
}

.instagram-link i {
  font-style: normal;
}

.instagram-card {
  margin-top: 22px;
  padding-top: 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.instagram-qr {
  position: relative;
  flex: 0 0 174px;
  width: 174px;
  height: 174px;
  overflow: hidden;
  border-radius: 17px;
  background: #fff;
}

.instagram-qr img {
  position: absolute;
  top: -39.2%;
  left: -12.7%;
  width: 125.2%;
  max-width: none;
  height: auto;
}

.instagram-card > div {
  display: grid;
  gap: 7px;
}

.instagram-card span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.instagram-card strong {
  font-size: 16px;
  font-weight: 500;
}

@media (max-width: 960px) {
  .portfolio-heading,
  .photo-service,
  .order-heading {
    grid-template-columns: 1fr;
  }

  .portfolio-heading {
    gap: 28px;
  }

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

  .photo-service-image {
    min-height: 620px;
  }

  .photo-service-copy {
    padding: 85px 7vw 95px;
  }

  .order-shell {
    grid-template-columns: 1fr;
  }

  .order-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 18px 20px;
    border-right: 0;
  }

  .order-progress li {
    display: flex;
    gap: 8px;
    min-height: 44px;
  }

  .order-progress li:not(:last-child)::after {
    display: none;
  }

  .order-progress strong {
    font-size: 10px;
  }
}

@media (max-width: 640px) {
  .portfolio-heading {
    margin: 48px 0 45px;
  }

  .portfolio-heading h2 {
    font-size: 2.85rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .portfolio-pagination {
    margin-top: 55px;
  }

  .photo-service-image {
    min-height: 440px;
  }

  .photo-service-copy {
    padding: 68px 22px 78px;
  }

  .photo-service-copy h2 {
    font-size: 3rem;
  }

  .photo-price {
    flex-wrap: wrap;
  }

  .video-modal {
    padding: 64px 0 0;
  }

  .video-modal-close {
    top: 9px;
    right: 12px;
  }

  .instagram-card {
    align-items: flex-start;
  }

  .instagram-qr {
    flex-basis: 148px;
    width: 148px;
    height: 148px;
  }

  .order-section {
    padding: 72px 18px;
  }

  .order-heading {
    margin: 46px 0 38px;
    gap: 22px;
  }

  .order-heading h2 {
    font-size: 2.85rem;
  }

  .order-progress {
    grid-template-columns: repeat(4, 1fr);
    padding: 14px 10px;
  }

  .order-progress li {
    justify-content: center;
  }

  .order-progress strong {
    display: none;
  }

  .order-form {
    padding: 30px 18px;
  }

  .step-heading {
    display: grid;
    gap: 8px;
  }

  .service-options,
  .form-grid,
  .order-review {
    grid-template-columns: 1fr;
  }

  .service-option {
    min-height: 105px;
  }

  .currency-options {
    display: grid;
  }

  .form-wide {
    grid-column: auto;
  }

  .payment-panel {
    grid-template-columns: 1fr;
  }

  .paypal-qr {
    width: min(280px, 100%);
    height: auto;
    aspect-ratio: 1;
    justify-self: center;
  }

  .payment-reference,
  .payment-actions,
  .payment-status {
    grid-column: auto;
  }

  .payment-actions,
  .step-actions {
    flex-direction: column-reverse;
  }

  .payment-actions button,
  .step-actions button,
  .paypal-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-poster img,
  .play-button {
    transition: none;
  }
}
