:root {
  --black: #0d0b09;
  --dark: #17110d;
  --ink: #1f1a16;
  --cream: #fbf6ed;
  --soft: #f3eadc;
  --section-light: #fffdf8;
  --section-soft: #f6eddf;
  --gold: #d4af6a;
  --gold-dark: #9d7533;
  --white: #fffdf8;
  --muted: #73685f;
  --line: rgba(31, 26, 22, 0.12);
  --shadow: 0 24px 80px rgba(13, 11, 9, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5vw;
  color: var(--white);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 246, 237, 0.94);
  box-shadow: 0 10px 35px rgba(13, 11, 9, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
  transition: color 0.2s ease;
}

.brand::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 48px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
  content: "";
}

.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) {
  .brand:hover {
    color: var(--gold);
  }

  .site-header.is-scrolled .brand:hover,
  .site-header.is-open .brand:hover {
    color: var(--gold-dark);
  }

  .brand:hover::after {
    transform: scaleX(1);
  }

  .brand:hover .brand__mark {
    background: rgba(212, 175, 106, 0.12);
    transform: translateY(-1px);
  }
}

.nav {
  position: fixed;
  top: 70px;
  right: 0;
  left: 0;
  display: grid;
  gap: 0;
  padding: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(212, 175, 106, 0.24);
  border-bottom: 1px solid rgba(212, 175, 106, 0.24);
  border-radius: 0;
  box-shadow: 0 24px 60px rgba(13, 11, 9, 0.16);
  backdrop-filter: blur(22px);
  transform: translateY(-14px) scale(0.98);
  transform-origin: top center;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
}

.nav.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(13, 11, 9, 0.08);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s ease, background 0.2s ease, padding 0.2s ease;
}

.nav a::before {
  content: none;
}

.nav a:last-child {
  margin-top: 0;
  border-bottom: 0;
  color: var(--gold-dark);
  background: rgba(212, 175, 106, 0.08);
}

.nav a:hover {
  padding-left: 18px;
  color: var(--gold-dark);
  background: rgba(212, 175, 106, 0.1);
}

.nav a:last-child:hover {
  padding-left: 18px;
  color: var(--gold-dark);
  background: rgba(212, 175, 106, 0.14);
}

.menu-toggle {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-content: center;
  border: 1px solid rgba(212, 175, 106, 0.7);
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(13, 11, 9, 0.12);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.menu-toggle span {
  grid-area: 1 / 1;
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.menu-toggle span:nth-child(1) { transform: translateY(-6px); }
.menu-toggle span:nth-child(3) { transform: translateY(6px); }

.site-header:not(.is-scrolled):not(.is-open) .menu-toggle {
  color: var(--gold);
  background: transparent;
  box-shadow: none;
}

@media (hover: hover) {
  .site-header:not(.is-scrolled):not(.is-open) .menu-toggle:hover {
    color: var(--gold);
    background: transparent;
    box-shadow: none;
  }
}

.site-header.is-open .menu-toggle {
  color: var(--ink);
  background: var(--gold);
  transform: rotate(90deg);
}

.site-header.is-open .menu-toggle span:nth-child(1) { transform: rotate(45deg); }
.site-header.is-open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .menu-toggle span:nth-child(3) { transform: rotate(-45deg); }

body.menu-open { overflow: hidden; }

body::before {
  position: fixed;
  inset: 0;
  z-index: 19;
  background: rgba(13, 11, 9, 0.46);
  backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  content: "";
}

body.menu-open::before {
  opacity: 1;
  pointer-events: auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 110px 5vw 64px;
  color: var(--white);
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 11, 9, 0.86), rgba(13, 11, 9, 0.36)),
    url("https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&w=1800&q=80") center/cover;
  transform: scale(1.02);
}

.hero__content {
  position: relative;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  font-size: clamp(46px, 9vw, 92px);
}

h2 {
  font-size: clamp(34px, 6vw, 58px);
}

.hero p:not(.eyebrow),
.about__content p {
  max-width: 680px;
  font-size: clamp(17px, 2.5vw, 21px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid var(--gold);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--black);
  background: var(--gold);
}

.button--ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.section {
  position: relative;
  scroll-margin-top: 88px;
  padding: 76px 5vw;
}

.section::before {
  position: absolute;
  inset: 0 0 auto;
  height: 128px;
  pointer-events: none;
  content: "";
}

.section::after {
  content: none;
}

.section__inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section__heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.about,
.work,
.reviews {
  background: var(--section-light);
}

.experience,
.pricing {
  background: var(--section-soft);
}

.work {
  color: var(--ink);
}

.faq {
  background: var(--section-soft);
}

.about::before {
  background: linear-gradient(to bottom, rgba(246, 237, 223, 0.86), rgba(246, 237, 223, 0.28) 48%, rgba(255, 253, 248, 0));
}

.experience::before,
.pricing::before,
.faq::before {
  background: linear-gradient(to bottom, rgba(255, 253, 248, 0.86), rgba(255, 253, 248, 0.28) 48%, rgba(246, 237, 223, 0));
}

.work::before,
.reviews::before {
  background: linear-gradient(to bottom, rgba(246, 237, 223, 0.86), rgba(246, 237, 223, 0.28) 48%, rgba(255, 253, 248, 0));
}

.faq {
  min-height: 516px;
}

.pricing {
  scroll-margin-top: 0;
}

.about__grid,
.contact__grid,
.pricing__grid,
.faq__grid {
  display: grid;
  gap: 34px;
}

.about__photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about__photo--desktop {
  display: none;
}

.about__photo--mobile {
  width: min(68vw, 260px);
  aspect-ratio: 4 / 5;
  margin: 26px auto 0;
  overflow: hidden;
}

.about__photo--mobile img {
  min-height: 0;
  object-position: center top;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 26px;
  font-weight: 700;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  content: "•";
}

.timeline {
  display: grid;
  align-items: stretch;
  grid-auto-rows: 1fr;
  gap: 10px;
}

.timeline__item,
.price-list,
.review-slider,
.accordion,
.contact-form {
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--line);
}

.review-slider {
  background: var(--white);
}

.timeline__item {
  display: grid;
  min-height: 104px;
  gap: 8px;
  padding: 20px 18px;
}

.timeline__item span {
  color: var(--gold-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.timeline__item p {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
}

.services__list {
  display: grid;
  gap: 10px;
  max-width: 720px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.services__list li {
  position: relative;
  padding-left: 24px;
  font-weight: 700;
}

.services__list li::before {
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  content: "•";
}

.work .button--ghost {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.64);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 12px;
}

.gallery__item {
  position: relative;
  min-height: 205px;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 1px solid rgba(157, 117, 51, 0.18);
  color: var(--white);
  background: var(--black);
  cursor: zoom-in;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(31, 26, 22, 0.1);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__item span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 60px 16px 16px;
  font-weight: 800;
  text-align: left;
  background: linear-gradient(transparent, rgba(13, 11, 9, 0.78));
}

.work__actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.back-to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 19;
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(212, 175, 106, 0.7);
  border-radius: 0;
  background: rgba(251, 246, 237, 0.92);
  color: var(--gold-dark);
  box-shadow: 0 12px 30px rgba(13, 11, 9, 0.14);
  backdrop-filter: blur(14px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(212, 175, 106, 0.35);
  outline-offset: 3px;
}

@media (max-width: 979px) {
  .back-to-top {
    display: grid;
  }

  .back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 759px) {
  .gallery,
  .gallery.gallery--full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gallery__item {
    min-height: 0;
  }

  .gallery:not(.gallery--full) .gallery__item:nth-child(n + 7) {
    display: none;
  }

  .gallery__item span {
    padding: 42px 10px 10px;
    font-size: 12px;
    line-height: 1.35;
  }

  .contact-form,
  .contact-form.reveal,
  .contact-form.reveal.is-visible {
    order: 3;
    position: static;
    width: 100%;
    min-width: 0;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .contact__info,
  .contact__info.reveal,
  .contact__info.reveal.is-visible {
    display: contents;
    opacity: 1;
    transform: none;
  }

  .contact__info h2 {
    order: 1;
  }

  .contact__intro {
    order: 2;
  }

  .contact__address {
    order: 4;
    margin-top: 0;
  }

  .contact-form .booking-form__panel {
    display: grid;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .contact-form .booking-form__panel > label {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    grid-column: 1 / -1;
  }

  [data-booking-date] {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .contact-form .booking-form__panel[hidden] {
    display: none;
  }
}

.portfolio-page {
  min-height: 100svh;
}

.work.portfolio-page {
  padding-top: 118px;
}

.portfolio-page__top {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.portfolio-page__top h1 {
  font-size: clamp(42px, 8vw, 82px);
}

.gallery--full {
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
}

.price-list {
  padding: 10px 22px;
}

.price-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.price-list div:last-child {
  border-bottom: 0;
}

.price-list strong {
  white-space: nowrap;
}

.review-slider {
  position: relative;
  padding: clamp(26px, 5vw, 52px);
  overflow: hidden;
}

.review-slider__viewport {
  overflow: hidden;
}

.review-slider__track {
  display: flex;
  width: 100%;
  transition: transform 0.35s ease;
}

.review {
  flex: 0 0 100%;
  max-width: 100%;
  margin: 0;
}

.review blockquote {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(26px, 5vw, 44px);
  line-height: 1.18;
}

.review figcaption {
  margin-top: 22px;
  color: var(--gold-dark);
  font-weight: 800;
}

.review-slider__controls {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.review-slider__controls button,
.lightbox__close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  color: var(--ink);
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.review-slider__controls button:hover,
.work .button--ghost:hover {
  color: var(--black);
  background: rgba(212, 175, 106, 0.18);
  transform: translateY(-1px);
}

.lightbox__close:hover {
  color: var(--white);
  background: rgba(212, 175, 106, 0.38);
  transform: scale(1.06);
}

.accordion__item + .accordion__item {
  border-top: 1px solid var(--line);
}

.accordion__item {
  padding-bottom: 0;
}

.accordion__item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.accordion__item button::after {
  content: "+";
}

.accordion__item.is-open button::after {
  content: "−";
}

.accordion__item p {
  max-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0 20px;
  color: var(--muted);
  opacity: 0;
  transform: translateY(-6px);
  transition:
    max-height 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.34s ease,
    padding-bottom 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.accordion__item.is-open p {
  max-height: 140px;
  padding-bottom: 22px;
  opacity: 1;
  transform: translateY(0);
}

.contact {
  color: var(--white);
  background: linear-gradient(180deg, #130f0c, #080605);
}

.contact::before {
  height: 72px;
  background: linear-gradient(to bottom, rgba(246, 237, 223, 0.32), rgba(19, 15, 12, 0));
}

.contact__address {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  font-style: normal;
}

.contact__info a:hover {
  color: var(--gold);
}

.contact__detail {
  width: fit-content;
  transition: color 0.2s ease, transform 0.2s ease;
}

.contact__detail:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.contact__intro {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(255, 253, 248, 0.76);
}

.contact__benefits {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.contact__benefits li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 253, 248, 0.9);
  font-weight: 700;
}

.contact__benefits li::before {
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--gold);
  content: "✓";
}

.contact-form {
  display: grid;
  min-width: 0;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
  background: var(--white);
}

.booking-form__panel {
  display: contents;
}

.contact-form [hidden] {
  display: none;
}

.booking-form__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.booking-form__top,
.booking-form__wide {
  grid-column: 1 / -1;
}

.booking-form__kicker {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.booking-form__top h3 {
  margin: 3px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.15;
}

.booking-form__demo {
  padding: 7px 10px;
  border: 1px solid rgba(157, 117, 51, 0.28);
  color: var(--gold-dark);
  background: rgba(212, 175, 106, 0.12);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.booking-form__step {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.booking-form__step span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--black);
  background: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.booking-form__step p {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-form label {
  display: grid;
  min-width: 0;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-form label:has([data-booking-date]) {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

[data-booking-date] {
  display: block;
  flex: 1 1 0;
  inline-size: 100%;
  min-inline-size: 0;
  max-inline-size: 100%;
  block-size: 48px;
  overflow: hidden;
  -webkit-appearance: none;
  appearance: none;
  line-height: normal;
  text-align: left;
  text-align-last: left;
  font-variant-numeric: tabular-nums;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

[data-booking-date]::-webkit-date-and-time-value {
  display: block;
  width: 100%;
  min-height: 1.6em;
  margin: 0;
  text-align: left;
}

[data-booking-date]::-webkit-datetime-edit {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
}

[data-booking-date]::-webkit-datetime-edit-day-field:focus,
[data-booking-date]::-webkit-datetime-edit-month-field:focus,
[data-booking-date]::-webkit-datetime-edit-year-field:focus {
  color: inherit;
  background: transparent;
  outline: none;
}

.contact-form label small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line);
  padding: 13px 14px;
  color: var(--ink);
  background: var(--cream);
  outline: none;
}

.contact-form input,
.contact-form select {
  min-height: 48px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold-dark);
}

.contact-form .is-invalid {
  border-color: #9b2c2c;
}

.booking-form__submit {
  width: 100%;
  margin-top: 2px;
}

.booking-form__note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: #9b2c2c;
  font-weight: 700;
}

.form-message.is-success {
  color: #2e6b45;
}

.site-footer {
  padding: 24px 5vw;
  color: var(--cream);
  background: #070605;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 72px 5vw 32px;
  color: var(--white);
  background: rgba(7, 6, 5, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-height: 78vh;
  object-fit: contain;
  cursor: zoom-in;
  box-shadow: var(--shadow);
}

.lightbox img.is-zoom-active {
  cursor: zoom-out;
}

.lightbox__lens {
  position: fixed;
  z-index: 1;
  width: 156px;
  height: 156px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background-color: var(--black);
  background-repeat: no-repeat;
  box-shadow: 0 12px 36px rgba(7, 6, 5, 0.38);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.92);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.lightbox__lens.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.lightbox p {
  margin: 16px 0 0;
  font-size: 22px;
  font-weight: 800;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 5vw;
  color: var(--white);
}

@media (hover: none), (pointer: coarse) {
  .lightbox img {
    cursor: default;
  }

  .lightbox__lens {
    display: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 760px) {
  .section {
    padding: 100px 5vw;
  }

  .faq.section {
    height: 490px;
    min-height: 0;
    padding: 100px 5vw 32px;
  }

  .work.portfolio-page {
    padding-top: 118px;
  }

  .about__grid,
  .contact__grid,
  .pricing__grid,
  .faq__grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .about__grid {
    align-items: stretch;
  }

  .about__photo--desktop {
    display: block;
  }

  .about__photo--mobile {
    display: none;
  }

  .contact__grid {
    grid-template-columns: 0.72fr 1.28fr;
    gap: clamp(42px, 6vw, 78px);
  }

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

  .about__photo {
    position: relative;
    min-height: 520px;
    border: 4px solid var(--gold);
    background: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow);
  }

  .about__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    box-shadow: none;
  }

  .timeline {
    grid-template-columns: repeat(5, 1fr);
  }

  .gallery__item:nth-child(1),
  .gallery__item:nth-child(4) {
    grid-column: span 2;
    aspect-ratio: 8 / 5;
  }

  .gallery--full .gallery__item:nth-child(1),
  .gallery--full .gallery__item:nth-child(4) {
    grid-column: auto;
    aspect-ratio: 4 / 5;
  }
}

@media (min-width: 980px) {
  .site-header {
    padding-block: 22px;
  }

  .nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    counter-reset: none;
  }

  .nav a {
    display: block;
    gap: 0;
    padding: 8px 10px;
    border: 0;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: transparent;
    transition: color 0.2s ease, background 0.2s ease;
  }

  .nav a::before {
    content: none;
  }

  .nav a:last-child {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    color: inherit;
    background: transparent;
  }

  .nav a::after {
    position: absolute;
    right: 10px;
    bottom: 2px;
    left: 10px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
    content: "";
  }

  .nav a:hover {
    padding-left: 10px;
    color: var(--gold);
    background: transparent;
  }

  .nav a:last-child:hover {
    padding-left: 10px;
    color: var(--gold);
    background: transparent;
  }

  .site-header.is-scrolled .nav a:hover,
  .site-header.is-open .nav a:hover {
    color: var(--gold-dark);
  }

  .nav a:hover::after {
    transform: scaleX(1);
  }

  .menu-toggle {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
