:root {
  --font-head: "Plus Jakarta Sans", "DM Sans", Arial, sans-serif;
}

.menu-toggle {
  width: 48px;
  height: 48px;
}

.service-tag,
.quote-index,
.quote-specs > span,
.project-domain {
  font-size: 11px;
}

.service-photo-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin-top: 12px;
  color: #9edaff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
}

.service-photo-link:hover,
.service-photo-link:focus-visible {
  color: #fff;
}

.photo-showcase {
  padding-block: clamp(90px, 11vw, 145px);
}

.photo-showcase .section-heading {
  margin-bottom: 24px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.work-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.work-grid .project-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  grid-column: auto;
}

.work-grid .project-domain {
  position: static;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  align-self: flex-start;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 7px 11px;
  border: 1px solid rgba(166, 207, 246, .18);
  border-radius: 9px;
  background: rgba(9, 26, 45, .88);
  color: #e8f2fa;
  font-size: 11px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.work-grid .project-visual,
.work-grid .project-card:first-child .project-visual {
  height: auto;
  flex: none;
  aspect-ratio: 1.72 / 1;
}

.work-grid .project-info {
  flex: 1;
}

.project-therian .project-visual {
  background: #d7d9df;
}

.project-therian .project-shot {
  object-fit: contain;
}

.project-anime .project-visual {
  background: #1b1420;
}

.project-anime .project-shot {
  object-fit: cover;
  object-position: center top;
}

.perfume-visual {
  display: flex;
  padding: 1.4%;
  background: linear-gradient(135deg, #30242c, #49323c);
}

.perfume-preview {
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  container-type: inline-size;
  border: 1px solid rgba(255, 248, 243, .24);
  border-radius: clamp(10px, 1.7cqw, 16px);
  background: #f5eee8;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .2);
  color: #342730;
}

.perfume-navigation {
  display: flex;
  min-height: 15%;
  align-items: center;
  gap: 1.5cqw;
  padding: 1.5cqw 3cqw;
  border-bottom: 1px solid rgba(68, 45, 55, .1);
  background: #fbf8f5;
}

.perfume-mark {
  display: grid;
  width: 6.4cqw;
  aspect-ratio: 1;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #792f49;
  color: #fff8f4;
}

.perfume-mark svg { width: 61%; height: 61%; }

.perfume-brand {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .45cqw;
}

.perfume-brand strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 3cqw;
  line-height: 1;
}

.perfume-brand small {
  color: #7b6a72;
  font-size: 1.25cqw;
  letter-spacing: .12em;
}

.perfume-navigation-links {
  margin-left: auto;
  color: #66545e;
  font-size: 1.65cqw;
  white-space: nowrap;
}

.perfume-hero {
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: 1fr .92fr;
  background: #30252e;
  color: #fbf4f0;
}

.perfume-hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2.2cqw;
  padding: 5cqw;
}

.perfume-hero-copy > small {
  color: #e3cdbf;
  font-size: 1.55cqw;
  font-weight: 700;
  letter-spacing: .16em;
}

.perfume-hero-copy > strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 7.2cqw, 44px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .96;
}

.perfume-hero-copy > strong em {
  color: #e8bfd0;
  font-weight: 500;
}

.perfume-hero-copy > span {
  max-width: 88%;
  color: #e3d8d9;
  font-size: 2.05cqw;
  line-height: 1.35;
}

.perfume-hero-copy > b {
  display: inline-flex;
  align-items: center;
  gap: 1.6cqw;
  padding: 1.8cqw 2.8cqw;
  background: #f8f0ec;
  color: #593444;
  font-size: 1.7cqw;
}

.perfume-hero-copy > b i { font-size: 1.9em; font-style: normal; }

.perfume-stage {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  margin: 1.2cqw;
  overflow: hidden;
  place-items: center;
  border-radius: clamp(8px, 1.5cqw, 14px);
  background: radial-gradient(ellipse at 50% 42%, rgba(229, 199, 209, .82), transparent 50%), #f0e7df;
}

.perfume-stage::before {
  position: absolute;
  width: 63%;
  aspect-ratio: 1;
  border: 1px solid rgba(133, 79, 98, .14);
  border-radius: 50%;
  content: "";
}

.perfume-flacon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 31%;
  height: 62%;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 18% 18% 14% 14% / 12% 12% 8% 8%;
  background: linear-gradient(105deg, rgba(244, 253, 255, .88), rgba(171, 213, 222, .96) 37%, rgba(117, 178, 197, .94) 72%, rgba(221, 240, 240, .96));
  box-shadow: 9px 13px 24px rgba(55, 46, 58, .2), inset 5px 0 9px rgba(255, 255, 255, .5), inset -5px 0 9px rgba(49, 92, 109, .12);
  transform: perspective(500px) rotateY(-8deg);
}

.perfume-flacon-neck {
  position: absolute;
  top: -7%;
  left: 38%;
  width: 24%;
  height: 12%;
  border: 1px solid rgba(255, 255, 255, .7);
  background: linear-gradient(90deg, #b9dce0, #edf5ef 50%, #9ec8d0);
}

.perfume-flacon-cap {
  position: absolute;
  top: -19%;
  left: 34%;
  width: 32%;
  height: 15%;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 18% 18% 6% 6%;
  background: linear-gradient(90deg, #b9d5d9, #fbf8f0 46%, #a6c8ce);
  box-shadow: 0 3px 7px rgba(53, 71, 82, .16);
}

.perfume-flacon-label {
  display: flex;
  width: 86%;
  min-height: 39%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6cqw;
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(242, 250, 247, .62);
  color: #465f68;
  text-align: center;
}

.perfume-flacon-label small { font-size: 1.2cqw; letter-spacing: .14em; }
.perfume-flacon-label strong { font-size: 2.15cqw; letter-spacing: .08em; }

.perfume-feature-label {
  position: absolute;
  z-index: 2;
  right: 3cqw;
  bottom: 3cqw;
  display: flex;
  flex-direction: column;
  gap: .6cqw;
  padding: 1.5cqw 2.2cqw;
  background: rgba(255, 253, 250, .94);
  box-shadow: 0 5px 18px rgba(46, 34, 42, .12);
  color: #54444b;
}

.perfume-feature-label small { font-size: 1.45cqw; }
.perfume-feature-label strong { font-family: Georgia, 'Times New Roman', serif; font-size: 2.4cqw; }

.work-grid > .project-card:nth-child(odd):last-child {
  grid-column: 1;
}

.clima-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  container-type: inline-size;
  background: radial-gradient(ellipse at 85% 8%, rgba(35, 157, 255, .25), transparent 36%), radial-gradient(ellipse at 12% 100%, rgba(16, 108, 204, .22), transparent 44%), linear-gradient(130deg, #071322, #0b1a30 58%, #0d2440);
}

.clima-preview {
  position: relative;
  display: flex;
  width: 91%;
  height: 88%;
  flex-direction: column;
  gap: 2.2cqw;
  padding: 3.2cqw;
  overflow: hidden;
  border: 1px solid rgba(174, 211, 255, .14);
  border-radius: clamp(12px, 2.4cqw, 22px);
  background: linear-gradient(145deg, rgba(18, 34, 57, .96), rgba(10, 22, 40, .98));
  box-shadow: 0 20px 45px rgba(0, 0, 0, .3), inset 0 1px rgba(255, 255, 255, .04);
}

.clima-header {
  display: flex;
  align-items: center;
  gap: 1.3cqw;
  min-height: 7cqw;
}

.clima-logo-icon,
.clima-weather-icon {
  display: grid;
  flex: none;
  place-items: center;
  border: 1px solid rgba(114, 197, 255, .2);
  background: linear-gradient(145deg, rgba(48, 160, 255, .32), rgba(31, 86, 145, .22));
  box-shadow: 0 6px 20px rgba(14, 133, 255, .14);
}

.clima-logo-icon {
  width: 7cqw;
  aspect-ratio: 1;
  border-radius: 1.8cqw;
}

.clima-logo-icon svg,
.clima-weather-icon svg { width: 66%; }
.clima-header > strong {
  color: #f3f8ff;
  font-size: clamp(14px, 3.6cqw, 23px);
  letter-spacing: -.05em;
}

.clima-units,
.clima-location {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 6.5cqw;
  border: 1px solid rgba(184, 207, 239, .12);
  border-radius: 1.5cqw;
  background: rgba(8, 18, 34, .55);
  color: #d9e7f8;
  font-size: clamp(8px, 1.7cqw, 11px);
}

.clima-units {
  gap: 1.1cqw;
  margin-left: auto;
  padding-inline: 2.1cqw;
}

.clima-units b { color: #a6bdd6; font-size: 1.4em; font-weight: 500; }
.clima-location {
  width: 6.5cqw;
  color: #9edcff;
  font-size: clamp(12px, 2.5cqw, 17px);
}

.clima-search-row {
  display: flex;
  align-items: stretch;
  gap: 1.3cqw;
  min-height: 8cqw;
}

.clima-search-field,
.clima-search-button {
  display: flex;
  align-items: center;
  border: 1px solid rgba(174, 211, 255, .12);
  border-radius: 1.6cqw;
  background: rgba(20, 34, 55, .78);
  color: #aebfd4;
  font-size: clamp(8px, 1.8cqw, 12px);
}

.clima-search-field {
  flex: 1;
  gap: 1.2cqw;
  min-width: 0;
  padding-inline: 2cqw;
}

.clima-search-field b { color: #b7d6f7; font-size: 1.5em; font-weight: 500; }
.clima-search-button {
  gap: .8cqw;
  padding-inline: 2.2cqw;
  border-color: rgba(117, 195, 255, .5);
  background: linear-gradient(120deg, #29b5ff, #3475f4);
  box-shadow: 0 6px 20px rgba(25, 132, 255, .2);
  color: #fff;
  font-weight: 700;
}

.clima-welcome {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1cqw;
  padding: 1.5cqw 3cqw;
  overflow: hidden;
  border: 1px solid rgba(174, 211, 255, .12);
  border-radius: clamp(12px, 2cqw, 19px);
  background: radial-gradient(ellipse at 50% 0%, rgba(34, 98, 159, .16), transparent 62%), rgba(8, 19, 35, .34);
  color: #aebfd4;
  text-align: center;
}

.clima-weather-icon {
  width: 8cqw;
  aspect-ratio: 1;
  margin-bottom: .5cqw;
  border-radius: 2cqw;
}

.clima-welcome > strong {
  color: #edf5ff;
  font-size: clamp(14px, 3.9cqw, 26px);
  line-height: 1.15;
  letter-spacing: -.04em;
}

.clima-welcome > span:not(.clima-weather-icon) {
  font-size: clamp(8px, 1.7cqw, 11px);
}

.clima-cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8cqw;
  margin-top: .7cqw;
}

.clima-cities i {
  padding: .9cqw 1.5cqw;
  border: 1px solid rgba(176, 204, 239, .13);
  border-radius: 999px;
  background: rgba(189, 211, 244, .055);
  color: #dbe8f8;
  font-size: clamp(7px, 1.4cqw, 9px);
  font-style: normal;
  white-space: nowrap;
}

.photo-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(166, 207, 246, .2);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(21, 45, 70, .88), rgba(9, 24, 41, .96));
  box-shadow: 0 20px 55px rgba(1, 8, 17, .18);
}

.photo-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #102238;
}

.photo-media:focus-visible {
  outline: 3px solid #8cdaff;
  outline-offset: 3px;
}

.photo-media::after {
  position: absolute;
  inset: 38% 0 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(4, 14, 25, .56));
  content: "";
  pointer-events: none;
}

.photo-media img[data-carousel-image],
.photo-media img.photo-transition-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1.15s cubic-bezier(.22, .61, .36, 1), transform 1.15s cubic-bezier(.22, .61, .36, 1);
}

.photo-media img[data-carousel-image] {
  opacity: 1;
  transform: scale(1);
}

.photo-media img[data-carousel-image].is-fading-out {
  opacity: 0;
  transform: scale(.99);
}

.photo-media img.photo-transition-layer {
  z-index: 0;
  opacity: 0;
  transform: scale(1.025);
  pointer-events: none;
}

.photo-media img.photo-transition-layer.is-visible {
  opacity: 1;
  transform: scale(1);
}

@media (min-width: 761px) and (max-width: 1050px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .work-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-grid > .project-card:nth-child(odd):last-child {
    grid-column: auto;
    width: auto;
  }
}

.section-anchor {
  position: absolute;
  top: 0;
  left: 0;
  scroll-margin-top: 110px;
}

.quote-gallery-link {
  display: inline-block;
  min-height: 44px;
  margin-top: 7px;
  color: #9edaff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(158, 218, 255, .55);
  text-underline-offset: 4px;
}

.quote-gallery-link:hover,
.quote-gallery-link:focus-visible {
  color: #fff;
  text-decoration-color: currentColor;
}

.photo-card figcaption {
  padding: 19px 20px 22px;
}

.photo-card figcaption > span {
  color: #7fcaff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.photo-card h3 {
  margin: 8px 0 5px;
  font-family: var(--font-head);
  font-size: clamp(21px, 2.1vw, 27px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.photo-card figcaption p {
  margin: 0;
  color: #b6c9dc;
  font-size: 14px;
  line-height: 1.55;
}

.photo-showcase-cta {
  display: flex;
  width: fit-content;
  min-height: 48px;
  margin: 30px auto 0;
}

@media (max-width: 760px) {
  .photo-showcase {
    padding-block: 88px;
  }

  .photo-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    margin-inline: auto;
  }

  .photo-showcase-cta {
    width: 100%;
    max-width: 520px;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
  }
}

@media (min-width: 761px) and (max-width: 1080px) {
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-photo-link,
  .photo-media img[data-carousel-image],
  .photo-media img.photo-transition-layer {
    transition: none;
  }

}
