/* Revision: custom-domain launch layout and responsive refinements. */
.wordmark-logo {
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(244, 241, 234, .28);
  border-radius: 50%;
  box-shadow: 0 7px 22px rgba(0, 0, 0, .28);
}

.hero {
  grid-template-columns: minmax(24rem, .82fr) minmax(34rem, 1.18fr);
  isolation: isolate;
}

.hero-copy {
  z-index: 5;
  min-width: 0;
}

.hero-visual {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 1fr;
  min-width: 0;
  min-height: 41rem;
  isolation: isolate;
}

.hero-photo {
  position: relative;
  inset: auto;
  grid-column: 3 / -1;
  grid-row: 1;
  min-height: 39rem;
}

.hero-inset {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  align-self: end;
  grid-column: 1 / 5;
  grid-row: 1;
  width: 100%;
  margin-bottom: 1.25rem;
}

.route-line {
  top: -.75rem;
  right: -1rem;
  width: 76%;
}

.section {
  padding-top: clamp(5.5rem, 8vw, 8rem);
  padding-bottom: clamp(5.5rem, 8vw, 8rem);
}

.section-route {
  position: absolute;
  z-index: 0;
  width: min(34rem, 46vw);
  overflow: visible;
  pointer-events: none;
}

.section-route path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-dasharray: 5 10;
}

.section-route circle {
  fill: var(--orange);
}

.services {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(94, 47, 20, .28), transparent 42%),
    linear-gradient(rgba(24, 25, 28, .88), rgba(17, 18, 21, .96)),
    url("/assets/patterns/diamond-stitch.svg") center / 260px auto;
}

.services::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 78% 22%, rgba(214, 106, 30, .13), transparent 32%);
}

.section-route-services {
  top: 1.5rem;
  right: -4rem;
  opacity: .55;
  transform: rotate(-5deg);
}

.services .section-heading,
.services .service-grid {
  position: relative;
  z-index: 1;
}

.service-card {
  min-height: 22rem;
  background: linear-gradient(150deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .012));
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.service-card h3 {
  margin-top: auto;
}

.work,
.place,
.booking,
.contact {
  scroll-margin-top: 5rem;
}

.work {
  padding-top: clamp(5.5rem, 8vw, 8rem);
  padding-bottom: clamp(5.5rem, 8vw, 8rem);
}

.work-lead,
.section-heading {
  margin-bottom: 3.5rem;
}

.project-main {
  min-height: 42rem;
}

.project-detail figure {
  min-height: 20.5rem;
}

.project-feature figcaption,
.gallery-grid figcaption {
  z-index: 2;
}

.gallery-grid {
  grid-auto-rows: 18rem;
}

.gallery-grid > figure:not(.gallery-tall):not(.gallery-wide) {
  grid-column: span 2;
}

.place {
  padding-top: clamp(5.5rem, 8vw, 8rem);
  padding-bottom: clamp(5.5rem, 8vw, 8rem);
  background-color: #1b201f;
  background-image:
    linear-gradient(105deg, rgba(26, 35, 31, .96), rgba(30, 27, 25, .88)),
    url("/assets/patterns/tank-contour.svg");
}

.place-notes article {
  padding-block: 1.55rem;
}

.booking {
  position: relative;
  isolation: isolate;
  max-width: none;
  overflow: hidden;
  padding: clamp(5.5rem, 8vw, 8rem) max(2rem, calc((100vw - var(--max)) / 2 + 2rem));
  color: var(--ink);
  background:
    linear-gradient(125deg, rgba(214, 106, 30, .12), transparent 38%),
    #e9e3d8;
  border-top: 0;
}

.booking-intro,
.booking-form {
  position: relative;
  z-index: 1;
}

.booking .eyebrow {
  color: var(--orange-dark);
}

.booking-intro h2 {
  max-width: 45rem;
  font-size: clamp(3.5rem, 5.8vw, 6.7rem);
}

.booking-intro > p:not(.eyebrow) {
  color: #55504a;
}

.section-route-booking {
  right: -3rem;
  bottom: 1.5rem;
  opacity: .48;
  transform: rotate(8deg);
}

.process-steps {
  list-style: none;
  max-width: 38rem;
  margin: 2.2rem 0 0;
  padding: 0;
  border-top: 1px solid rgba(10, 11, 12, .18);
}

.process-steps li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: .8rem;
  align-items: baseline;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(10, 11, 12, .18);
}

.process-steps span {
  color: var(--orange-dark);
  font-family: var(--pavos-font-display);
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .12em;
}

.process-steps p {
  margin: 0;
  color: #55504a;
}

.process-steps strong {
  color: var(--ink);
  font-family: var(--pavos-font-display);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.booking-form select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 3.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23d66a1e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.15rem center;
  background-size: 1.1rem;
}

.contact {
  min-height: 35rem;
  margin-bottom: clamp(4rem, 6vw, 6rem);
}

.contact-copy {
  padding: clamp(2.25rem, 5vw, 5rem);
}

.contact-strip a {
  min-height: 7.5rem;
}

.connect-dock span,
.connect-dock a:first-child span {
  background: #fff;
}

.connect-dock span img {
  width: 1.45rem;
  height: 1.45rem;
}

.connect-dock .social-whatsapp span {
  box-shadow: 0 0 0 1px rgba(37, 211, 102, .22);
}

.connect-dock .social-instagram span {
  box-shadow: 0 0 0 1px rgba(193, 53, 132, .22);
}

.connect-dock .social-facebook span {
  box-shadow: 0 0 0 1px rgba(24, 119, 242, .22);
}

@media (max-width: 1120px) and (min-width: 981px) {
  .hero {
    grid-template-columns: minmax(22rem, .78fr) minmax(31rem, 1.22fr);
    gap: 2rem;
  }

  .hero-visual {
    min-height: 37rem;
  }

  .hero-photo {
    min-height: 35rem;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-copy {
    max-width: 50rem;
  }

  .hero-visual {
    min-height: 38rem;
  }

  .hero-photo {
    min-height: 36rem;
  }
}

@media (max-width: 760px) {
  .wordmark-logo {
    width: 2.65rem;
    height: 2.65rem;
  }

  .hero {
    gap: 2rem;
  }

  .hero-actions .button {
    flex: 1 1 13rem;
  }

  .hero-visual {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: .75rem;
    min-height: 0;
  }

  .hero-photo {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .hero-inset {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    align-items: stretch;
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    margin: 0;
    transform: none;
  }

  .hero-inset img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
  }

  .hero-inset figcaption {
    align-content: center;
    padding: 1rem;
  }

  .hero-inset figcaption strong {
    font-size: .92rem;
  }

  .route-line {
    top: -.5rem;
    right: -3rem;
    width: 82%;
  }

  .section-route {
    width: 20rem;
    opacity: .38;
  }

  .section-route-services {
    top: .5rem;
    right: -8rem;
  }

  .section-route-booking {
    right: -9rem;
    bottom: 1rem;
  }

  .project-main,
  .project-detail figure,
  .gallery-grid figure {
    min-height: 0;
  }

  .project-feature figure,
  .gallery-grid figure {
    display: flex;
    flex-direction: column;
  }

  .project-feature img,
  .gallery-grid img {
    flex: none;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .project-main img {
    aspect-ratio: 4 / 5;
    object-position: center 68%;
  }

  .project-feature figcaption,
  .gallery-grid figcaption {
    position: static;
    min-height: 4.9rem;
    padding: .9rem 1rem 1rem;
    color: var(--paper);
    background: #17191b;
  }

  .project-feature figcaption span,
  .gallery-grid figcaption span {
    color: #e1a77e;
  }

  .project-detail {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

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

  .gallery-grid > figure,
  .gallery-grid > figure:not(.gallery-tall):not(.gallery-wide),
  .gallery-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .booking {
    padding-inline: 1rem;
  }

  .contact {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(3.8rem, 19vw, 5.6rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-photo {
    aspect-ratio: 4 / 3;
  }

  .project-detail,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .project-feature img,
  .gallery-grid img {
    aspect-ratio: 4 / 3;
  }

  .project-main img {
    aspect-ratio: 4 / 5;
  }

  .contact-strip a {
    min-height: 6.5rem;
  }
}
