:root {
  --rose: #c3928d;
  --rose-deep: #9d6f72;
  --wine: #6f4d50;
  --wine-dark: #38282a;
  --ivory: #f7f1ec;
  --paper: #fffaf6;
  --ink: #342626;
  --taupe: #887774;
  --line: rgba(111, 77, 80, 0.22);
  --serif: "Bodoni 72", Didot, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --page: min(90vw, 1280px);
  --header-height: 90px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body:has(.lightbox[open]) {
  overflow: hidden;
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--wine-dark);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.5vw;
  color: #fff;
  background: linear-gradient(180deg, rgba(56, 40, 42, 0.66), rgba(56, 40, 42, 0));
  backdrop-filter: blur(2px);
  transition: background 250ms ease, color 250ms ease, box-shadow 250ms ease, height 250ms ease;
}

.site-header.is-scrolled {
  height: 76px;
  background: rgba(255, 250, 246, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(74, 51, 51, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: width 250ms ease, height 250ms ease;
}

.site-header.is-scrolled .brand {
  width: 60px;
  height: 60px;
}

.brand img,
.footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2.25rem);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav a:not(.nav-cta) {
  position: relative;
  padding-block: 0.5rem;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 0.82rem 1.25rem;
  border: 1px solid currentColor;
  transition: color 180ms ease, background 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--wine);
  background: #fff;
}

.site-header.is-scrolled .nav-cta:hover,
.site-header.is-scrolled .nav-cta:focus-visible {
  color: #fff;
  background: var(--wine);
}

.menu-button {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-button__icon {
  width: 28px;
  display: grid;
  gap: 6px;
}

.menu-button__icon i {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 200ms ease;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 52% 48%;
  background: var(--wine);
  color: var(--ivory);
}

.hero__content {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 5rem) 7vw 4rem;
}

.eyebrow,
.section-index {
  margin: 0 0 1.6rem;
  color: var(--rose-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e6c6c1;
}

.hero h1 {
  max-width: 9ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.3rem, 7.5vw, 8.4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.84;
}

.hero__lead {
  max-width: 590px;
  margin: 2.2rem 0 0;
  color: rgba(255, 250, 246, 0.8);
  font-size: clamp(1.04rem, 1.25vw, 1.22rem);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 54px;
  padding: 0.9rem 1.5rem;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button--light {
  color: var(--wine-dark);
  background: var(--ivory);
}

.button--light:hover,
.button--light:focus-visible {
  background: #fff;
}

.button--large {
  min-height: 62px;
  padding-inline: 1.8rem;
}

.text-link {
  padding-block: 0.4rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
}

.text-link--light {
  color: rgba(255, 255, 255, 0.86);
}

.hero__signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(3rem, 7vh, 6rem);
}

.hero__signature strong {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 400;
  line-height: 0.85;
}

.hero__signature span {
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero__visual {
  position: relative;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  background: #b7a7a1;
}

.hero__visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(56, 40, 42, 0.12), transparent 25%), linear-gradient(0deg, rgba(30, 20, 20, 0.28), transparent 28%);
  pointer-events: none;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.hero__visual figcaption {
  position: absolute;
  z-index: 1;
  right: 2rem;
  bottom: 1.8rem;
  left: 2rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-align: right;
  text-transform: uppercase;
}

.section {
  padding: clamp(6rem, 10vw, 10rem) 5vw;
}

.section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6.2vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.93;
}

.about {
  width: var(--page);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(430px, 1.05fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.about__portrait {
  position: relative;
  max-width: 540px;
}

.about__portrait::before {
  position: absolute;
  z-index: -1;
  top: -2.5rem;
  right: -2.5rem;
  width: 62%;
  height: 70%;
  content: "";
  border: 1px solid var(--rose);
  border-radius: 50% 50% 0 0;
}

.about__portrait img {
  width: 100%;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
  object-position: 52% center;
}

.about__caption {
  position: absolute;
  right: -2.2rem;
  bottom: 3rem;
  padding: 1rem 1.25rem;
  color: var(--paper);
  background: var(--rose-deep);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
}

.about__copy h2 {
  max-width: 10ch;
}

.about__copy > p:not(.section-index) {
  max-width: 660px;
  color: #665653;
}

.lead-serif {
  margin: 2.3rem 0 1.4rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.25;
}

.about__qualities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

.about__qualities span {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.services {
  color: var(--ink);
  background: var(--ivory);
}

.section-heading {
  width: var(--page);
  margin: 0 auto clamp(4rem, 7vw, 7rem);
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: end;
  gap: 5rem;
}

.section-heading h2 {
  max-width: 9ch;
}

.section-heading > p {
  margin: 0 0 0.5rem;
  color: #6f5d59;
}

.services__body {
  width: var(--page);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  align-items: start;
  gap: clamp(3rem, 6vw, 6rem);
}

.service-list {
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: start;
  gap: 1.35rem;
  padding: 2.1rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding 220ms ease, background 220ms ease;
}

.service:hover {
  padding-inline: 1.2rem;
  background: rgba(195, 146, 141, 0.08);
}

.service__number,
.service__note {
  color: var(--rose-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.service h3 {
  margin: -0.15rem 0 0.4rem;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.5vw, 2.4rem);
  font-weight: 400;
  line-height: 1.1;
}

.service p {
  max-width: 760px;
  margin: 0;
  color: #6f5d59;
}

.service__note {
  grid-column: 2;
  padding-top: 0.4rem;
  text-align: left;
}

.services__footnote {
  margin: 1.2rem 0 0;
  color: var(--taupe);
  font-size: 0.8rem;
}

.services__visual {
  position: sticky;
  top: 110px;
  height: min(72vh, 780px);
  margin: 0;
  overflow: hidden;
  background: #d8c8c2;
}

.services__visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(56, 40, 42, 0.42), transparent 38%);
  pointer-events: none;
}

.services__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}

.services__visual figcaption {
  position: absolute;
  z-index: 1;
  right: 1.5rem;
  bottom: 1.4rem;
  left: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

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

.portfolio__heading {
  width: var(--page);
  margin: 0 auto clamp(3.5rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.38fr);
  column-gap: 4rem;
}

.portfolio__heading .section-index {
  grid-column: 1 / -1;
}

.portfolio__heading h2 {
  max-width: 10ch;
}

.portfolio__heading > p:last-child {
  align-self: end;
  margin: 0 0 0.5rem;
  color: #6f5d59;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: clamp(300px, 31vw, 540px);
  gap: 3px;
  padding-inline: 3px;
}

.gallery__item {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--ivory);
  cursor: zoom-in;
}

.gallery__item::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  content: "+";
  color: #fff;
  background: rgba(67, 42, 44, 0.12);
  font-family: var(--serif);
  font-size: 2.8rem;
  opacity: 0;
  transition: opacity 220ms ease;
}

.gallery__item:hover::after,
.gallery__item:focus-visible::after {
  opacity: 1;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  transform: scale(1.025);
}

.experience {
  color: var(--ivory);
  background: var(--wine-dark);
}

.experience__top,
.experience__steps {
  width: var(--page);
  margin-inline: auto;
}

.experience__top {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.68fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.experience__intro .section-index {
  color: #d7aaa6;
}

.experience__intro h2 {
  max-width: 9ch;
}

.experience__intro > p:last-child {
  max-width: 620px;
  margin: 2rem 0 0;
  color: rgba(255, 250, 246, 0.7);
  font-size: 1.02rem;
}

.experience__visual {
  position: relative;
  width: min(100%, 520px);
  height: min(72vh, 720px);
  justify-self: end;
  margin: 0;
  overflow: hidden;
  background: #b9aaa4;
}

.experience__visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(56, 40, 42, 0.45), transparent 34%);
  pointer-events: none;
}

.experience__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.experience__visual figcaption {
  position: absolute;
  z-index: 1;
  right: 1.4rem;
  bottom: 1.3rem;
  left: 1.4rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.experience__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(4rem, 8vw, 8rem);
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.experience__steps li {
  min-height: 290px;
  padding: 2rem 2rem 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.experience__steps li:not(:first-child) {
  padding-left: 2rem;
}

.experience__steps li:last-child {
  border-right: 0;
}

.experience__steps span {
  color: #d7aaa6;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.experience__steps h3 {
  margin: 3.5rem 0 0.8rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.15;
}

.experience__steps p {
  margin: 0;
  color: rgba(255, 250, 246, 0.68);
  font-size: 0.92rem;
  line-height: 1.7;
}

.studio {
  width: var(--page);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(330px, 0.7fr) minmax(520px, 1.3fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.studio__copy h2 {
  max-width: 9ch;
}

.studio__copy > p:not(.section-index) {
  max-width: 560px;
  margin-top: 2rem;
  color: #6f5d59;
}

.studio__details {
  margin: 2.5rem 0 0;
  border-top: 1px solid var(--line);
}

.studio__details > div {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.studio__details dt {
  color: var(--rose-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.studio__details dd {
  margin: 0;
}

.studio__details dd span {
  color: var(--taupe);
}

.studio__images {
  position: relative;
  min-height: 720px;
}

.studio__image {
  position: absolute;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(56, 40, 42, 0.14);
}

.studio__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio__image--wide {
  top: 0;
  right: 0;
  width: 88%;
  height: 58%;
}

.studio__image--detail {
  bottom: 0;
  left: 0;
  width: 46%;
  height: 58%;
  border: 0.65rem solid var(--paper);
}

.contact {
  position: relative;
  min-height: 640px;
  display: grid;
  grid-template-columns: 1.1fr 0.65fr;
  align-items: end;
  gap: 5rem;
  overflow: hidden;
  color: var(--ivory);
  background: var(--wine);
}

.contact__ornament {
  position: absolute;
  top: -0.22em;
  right: -0.02em;
  color: rgba(255, 255, 255, 0.045);
  font-family: var(--serif);
  font-size: min(42vw, 620px);
  letter-spacing: -0.16em;
  line-height: 1;
  pointer-events: none;
}

.contact__content,
.contact__details {
  position: relative;
  z-index: 1;
}

.contact__visual {
  position: absolute;
  inset: 0 0 0 auto;
  width: 48%;
  margin: 0;
  overflow: hidden;
}

.contact__visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, var(--wine), rgba(56, 40, 42, 0.68) 42%, rgba(56, 40, 42, 0.78));
}

.contact__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-index--light {
  color: #e6c6c1;
}

.contact h2 {
  max-width: 9ch;
}

.contact__content > p:not(.section-index) {
  max-width: 520px;
  margin: 1.6rem 0 2.2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.contact__details {
  display: grid;
  gap: 2rem;
  margin: 0;
  padding-left: 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  font-style: normal;
}

.contact__details > div {
  display: grid;
}

.contact__details span {
  margin-bottom: 0.5rem;
  color: #e6c6c1;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact__details p,
.contact__details a {
  margin: 0;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.4;
}

.contact__details a:hover,
.contact__details a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact__details small {
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--sans);
  font-size: 0.8rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 120px minmax(220px, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: 3rem 5vw 2rem;
  background: var(--ivory);
}

.footer-brand {
  width: 92px;
  height: 92px;
  overflow: hidden;
  border-radius: 50%;
}

.site-footer > p {
  max-width: 370px;
  color: #6f5d59;
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-links a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: #fff;
  background: var(--wine);
  border-color: var(--wine);
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.social-links span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.copyright {
  grid-column: 1 / -1;
  max-width: none !important;
  margin: 1rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  z-index: 90;
  right: 1.2rem;
  bottom: 1.2rem;
  min-width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: #1f8f5f;
  box-shadow: 0 14px 32px rgba(29, 96, 68, 0.28);
  transition: gap 220ms ease, transform 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  gap: 0.7rem;
  transform: translateY(-3px);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.whatsapp-float span {
  max-width: 0;
  overflow: hidden;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0;
  text-transform: uppercase;
  transition: max-width 220ms ease, opacity 180ms ease;
  white-space: nowrap;
}

.whatsapp-float:hover span,
.whatsapp-float:focus-visible span {
  max-width: 100px;
  opacity: 1;
}

.lightbox {
  width: min(92vw, 980px);
  height: min(92svh, 900px);
  padding: 0;
  border: 0;
  overflow: visible;
  color: #fff;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(34, 24, 25, 0.94);
  backdrop-filter: blur(7px);
}

.lightbox figure {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox figcaption {
  padding-top: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.lightbox__close,
.lightbox__arrow {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.lightbox__close {
  top: -2.6rem;
  right: 0;
  width: 42px;
  height: 42px;
  font-size: 2rem;
  font-weight: 200;
}

.lightbox__arrow {
  top: 50%;
  width: 48px;
  height: 58px;
  font-family: var(--serif);
  font-size: 3rem;
  transform: translateY(-50%);
}

.lightbox__arrow--prev {
  left: -3.5rem;
}

.lightbox__arrow--next {
  right: -3.5rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms ease, transform 720ms ease;
}

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

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

@media (max-width: 1050px) {
  :root {
    --page: min(90vw, 900px);
  }

  .hero {
    grid-template-columns: 56% 44%;
  }

  .hero__content {
    padding-inline: 6vw;
  }

  .about,
  .studio {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
  }

  .section-heading {
    grid-template-columns: 1fr 0.58fr;
    gap: 3rem;
  }

  .services__body {
    grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.55fr);
    gap: 3rem;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 470px;
  }

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

  .experience__top {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
    gap: 4rem;
  }

  .experience__steps li {
    min-height: 260px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .experience__steps li:nth-child(2) {
    border-right: 0;
  }

  .studio {
    grid-template-columns: 0.7fr 1.3fr;
  }

  .studio__images {
    min-height: 620px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 76px;
  }

  .site-header,
  .site-header.is-scrolled {
    height: var(--header-height);
    padding-inline: 5vw;
  }

  .brand,
  .site-header.is-scrolled .brand {
    position: relative;
    z-index: 2;
    width: 58px;
    height: 58px;
  }

  .menu-button {
    position: relative;
    z-index: 2;
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.15rem;
    padding: 7rem 8vw 4rem;
    color: var(--ivory);
    background: var(--wine-dark);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .site-nav a {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 9vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.05;
    text-transform: none;
  }

  .site-nav .nav-cta {
    margin-top: 1.4rem;
    padding: 0.8rem 1.25rem;
    border-color: rgba(255, 255, 255, 0.5);
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

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

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

  .menu-open .menu-button__icon i:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-open .menu-button__icon i:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

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

  .hero__content {
    min-height: min(820px, 86svh);
    padding: calc(var(--header-height) + 5rem) 7vw 4rem;
  }

  .hero h1 {
    font-size: clamp(4.1rem, 16vw, 7rem);
  }

  .hero__visual {
    min-height: 82svh;
  }

  .about,
  .studio,
  .section-heading,
  .portfolio__heading,
  .services__body,
  .experience__top,
  .contact {
    grid-template-columns: 1fr;
  }

  .about__portrait {
    width: min(86%, 560px);
    margin-inline: auto;
  }

  .about__caption {
    right: -1.2rem;
  }

  .about__copy h2,
  .section-heading h2,
  .portfolio__heading h2,
  .studio__copy h2,
  .contact h2 {
    max-width: 11ch;
  }

  .section-heading,
  .portfolio__heading {
    gap: 2rem;
  }

  .portfolio__heading > p:last-child {
    max-width: 520px;
  }

  .service {
    grid-template-columns: 42px 1fr;
    gap: 1rem;
  }

  .service__note {
    grid-column: 2;
    padding-top: 0;
    text-align: left;
  }

  .services__visual {
    position: relative;
    top: auto;
    width: min(100%, 560px);
    height: min(82svh, 720px);
    margin: 1rem auto 0;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 64vw;
  }

  .experience__top {
    gap: 3rem;
  }

  .experience__visual {
    width: min(92%, 560px);
    height: min(78svh, 700px);
    justify-self: center;
  }

  .studio {
    gap: 4rem;
  }

  .studio__images {
    min-height: 690px;
  }

  .contact {
    align-items: start;
    gap: 4rem;
  }

  .contact__visual {
    width: 100%;
    opacity: 0.34;
  }

  .contact__visual::after {
    background: rgba(56, 40, 42, 0.68);
  }

  .contact__details {
    padding-top: 2.5rem;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .site-footer {
    grid-template-columns: 90px 1fr;
  }

  .social-links {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .hero__content {
    min-height: 780px;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .hero__visual {
    min-height: 78svh;
  }

  .section {
    padding-block: 5.5rem;
  }

  .section h2 {
    font-size: clamp(3.15rem, 14.8vw, 5.2rem);
  }

  .about__portrait::before {
    top: -1.4rem;
    right: -1rem;
  }

  .about__caption {
    right: -0.7rem;
    bottom: 1.8rem;
    max-width: 78%;
    font-size: 1rem;
  }

  .about__qualities {
    align-items: flex-start;
    flex-direction: column;
  }

  .service {
    padding-block: 1.7rem;
  }

  .service:hover {
    padding-inline: 0;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 76vw;
  }

  .experience__steps {
    grid-template-columns: 1fr;
  }

  .experience__steps li,
  .experience__steps li:not(:first-child) {
    min-height: auto;
    padding: 1.8rem 0 2.2rem;
    border-right: 0;
  }

  .experience__steps h3 {
    margin-top: 2rem;
  }

  .studio__images {
    min-height: 500px;
  }

  .studio__image--wide {
    width: 94%;
    height: 58%;
  }

  .studio__image--detail {
    width: 54%;
    height: 56%;
  }

  .studio__details > div {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .contact {
    min-height: 720px;
  }

  .contact__ornament {
    top: 0.2em;
    right: -0.2em;
    font-size: 75vw;
  }

  .contact__details a {
    overflow-wrap: anywhere;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-brand {
    width: 86px;
    height: 86px;
  }

  .social-links {
    grid-column: auto;
  }

  .whatsapp-float {
    right: 0.9rem;
    bottom: 0.9rem;
    width: 54px;
    min-width: 54px;
    height: 54px;
    padding: 0;
  }

  .whatsapp-float:hover,
  .whatsapp-float:focus-visible {
    gap: 0;
  }

  .whatsapp-float span {
    display: none;
  }

  .lightbox {
    width: 88vw;
    height: 82svh;
  }

  .lightbox__arrow {
    top: auto;
    bottom: -3.8rem;
    transform: none;
  }

  .lightbox__arrow--prev {
    left: 25%;
  }

  .lightbox__arrow--next {
    right: 25%;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
