/* Portfolio styles: services, gallery, contact and booking surfaces.
   Source: portfolio.html split for cacheability and ownership. */
    /* ============ SERVICES ============ */
    .services {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--line);
      border: 1px solid var(--line);
      align-items: stretch;
    }

    .service {
      background: var(--bg);
      padding: 34px 34px 32px;
      min-height: 268px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      gap: 24px;
      position: relative;
      overflow: hidden;
      cursor: pointer;
      transition: background .35s, transform .35s;
    }

    .service:hover {
      border-color: rgba(255, 138, 61, .24);
      background: #0e0e12;
      box-shadow:
        inset 0 0 0 1px rgba(255, 138, 61, .08),
        0 18px 42px rgba(0, 0, 0, .22);
      transform: translateY(-2px);
    }

    .service .icon {
      width: 52px;
      height: 52px;
      border: 1px solid var(--line-2);
      border-radius: 999px;
      display: inline-grid;
      place-items: center;
      font-family: var(--mono);
      font-style: normal;
      font-size: 12px;
      letter-spacing: .14em;
      color: var(--amber);
      font-weight: 600;
      background: rgba(255, 255, 255, .02);
      transition: all .35s;
    }

    .service:hover .icon {
      background: rgba(255, 138, 61, .14);
      color: var(--amber-soft);
      border-color: rgba(255, 138, 61, .28)
    }

    .service__body {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .service .name {
      font-family: var(--display);
      font-weight: 500;
      font-size: clamp(20px, 1.55vw, 24px);
      line-height: 1.12;
      letter-spacing: -.018em;
      max-width: none;
    }

    .service .desc {
      font-family: var(--display);
      font-weight: 300;
      font-size: 15px;
      line-height: 1.62;
      color: var(--ink-dim);
      max-width: 34ch;
      margin-top: auto;
    }

    @media(max-width:900px) {
      .services {
        grid-template-columns: 1fr 1fr
      }

      .service {
        min-height: 244px;
        padding: 30px 28px 28px;
      }
    }

    @media(max-width:600px) {
      .services {
        grid-template-columns: 1fr
      }

      .service {
        min-height: unset;
        padding: 28px 22px 24px;
        gap: 20px;
      }

      .service .icon {
        width: 48px;
        height: 48px;
      }

      .service .name {
        font-size: clamp(19px, 5vw, 22px);
      }

      .service .desc {
        max-width: none;
      }
    }

    /* ============ GALLERY ============ */
    #gallery {
      padding-top: clamp(64px, 8vh, 96px);
      padding-bottom: clamp(76px, 9vh, 112px);
    }

    #gallery .section__head {
      width: min(1320px, calc(100% - 40px));
      grid-template-columns: minmax(140px, 180px) minmax(0, 1fr);
      gap: clamp(24px, 4vw, 72px);
      margin-bottom: clamp(26px, 4.8vh, 48px);
      align-items: end;
    }

    #gallery .section__title {
      max-width: none;
    }

    #gallery .section__lede {
      max-width: 58ch;
      margin-top: clamp(10px, 1.5vh, 14px);
      color: rgba(245, 241, 234, .72);
    }

    .gallery__head-main {
      display: grid;
      gap: clamp(14px, 2vh, 20px);
    }

    .gallery__intro-row {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 18px;
    }

    .gallery__hint {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      color: rgba(245, 241, 234, .54);
      font-family: var(--mono);
      font-size: 10.5px;
      letter-spacing: .13em;
      line-height: 1.35;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .gallery__hint::before {
      content: "";
      width: 28px;
      height: 1px;
      background: linear-gradient(90deg, var(--amber), transparent);
    }

    .gallery {
      position: relative;
      width: min(1320px, calc(100% - 40px));
      perspective: 1200px;
      overflow: hidden;
      border: 1px solid rgba(245, 241, 234, .12);
      border-radius: 18px;
      background:
        radial-gradient(70% 140% at 12% 28%, rgba(255, 138, 61, .13), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)),
        rgba(8, 8, 10, .72);
      box-shadow:
        0 34px 110px rgba(0, 0, 0, .44),
        inset 0 1px 0 rgba(255, 255, 255, .08);
      isolation: isolate;
    }

    .gallery::before,
    .gallery::after {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      z-index: 4;
      width: clamp(34px, 6vw, 92px);
      pointer-events: none;
    }

    .gallery::before {
      left: 0;
      background: linear-gradient(90deg, rgba(8, 8, 10, .96), transparent);
    }

    .gallery::after {
      right: 0;
      background: linear-gradient(270deg, rgba(8, 8, 10, .9), transparent);
    }

    .gallery__track {
      display: grid;
      grid-auto-flow: column dense;
      grid-auto-columns: clamp(250px, 21vw, 360px);
      grid-template-rows: repeat(3, clamp(150px, 18vh, 214px));
      grid-auto-rows: clamp(150px, 18vh, 214px);
      gap: clamp(14px, 1.7vw, 22px);
      padding: clamp(18px, 2.2vw, 30px) clamp(18px, 2.2vw, 30px) clamp(42px, 3.8vw, 54px);
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: none;
      scroll-behavior: smooth;
      scroll-padding-inline: clamp(18px, 2.2vw, 30px);
      scrollbar-width: none;
      cursor: grab;
      user-select: none;
      -webkit-user-select: none;
      -webkit-overflow-scrolling: touch;
    }

    .gallery__track::-webkit-scrollbar {
      display: none;
    }

    .gallery__track.is-dragging {
      cursor: grabbing;
      scroll-snap-type: none;
    }

    .gallery__track:focus-visible {
      outline: 2px solid rgba(255, 138, 61, .72);
      outline-offset: -6px;
    }

    .gallery.is-marquee-running .gallery__thumb {
      transition:
        background .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
    }

    .gallery.is-marquee-paused::before,
    .gallery.is-marquee-paused::after {
      opacity: .9;
    }

    .gallery__scrollbar {
      --gallery-progress: 0;
      --gallery-viewport-start: 0%;
      --gallery-viewport-width: 22%;
      --gallery-lens-x: 0px;
      --gallery-lens-width: 116px;
      position: absolute;
      left: clamp(16px, 2.2vw, 30px);
      right: clamp(16px, 2.2vw, 30px);
      bottom: 18px;
      z-index: 6;
      height: 22px;
      display: grid;
      align-items: center;
      padding: 0;
      pointer-events: auto;
      cursor: pointer;
      touch-action: none;
      isolation: isolate;
      box-sizing: border-box;
    }

    .gallery__scrollbar::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 50%;
      height: 1px;
      pointer-events: none;
      border-radius: 1px;
      background:
        linear-gradient(90deg, transparent, rgba(245, 241, 234, .22) 8%, rgba(245, 241, 234, .22) 92%, transparent);
      transform: translateY(-50%);
    }

    .gallery__rail {
      position: absolute;
      left: 0;
      right: 0;
      top: 50%;
      height: 4px;
      z-index: 1;
      overflow: hidden;
      border-radius: 999px;
      background:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, .065) 8%, rgba(255, 255, 255, .065) 92%, transparent),
        rgba(255, 255, 255, .025);
      transform: translateY(-50%);
      mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
      -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    }

    .gallery__rail::before {
      content: "";
      position: absolute;
      top: 50%;
      left: var(--gallery-viewport-start);
      width: var(--gallery-viewport-width);
      height: 100%;
      border-radius: inherit;
      background:
        linear-gradient(90deg, transparent, rgba(255, 198, 122, .82) 12%, rgba(255, 138, 61, .72) 50%, rgba(255, 198, 122, .62) 88%, transparent);
      box-shadow:
        0 0 14px rgba(255, 138, 61, .14);
      transform: translateY(-50%);
      transition: none;
      will-change: left, width;
    }

    .gallery__rail::after {
      content: none;
    }

    .gallery__map {
      display: none;
    }

    .gallery__thumb {
      position: relative;
      z-index: 4;
      width: var(--gallery-lens-width);
      height: 12px;
      border: 1px solid rgba(255, 198, 122, .42);
      border-radius: 999px;
      cursor: grab;
      touch-action: none;
      background:
        linear-gradient(90deg, rgba(255, 238, 210, .18), rgba(255, 138, 61, .46), rgba(255, 238, 210, .16)),
        rgba(15, 12, 10, .86);
      box-shadow:
        0 8px 18px rgba(0, 0, 0, .34),
        inset 0 1px 0 rgba(255, 245, 226, .22);
      transform: translateX(var(--gallery-lens-x));
      transform-origin: center;
      will-change: transform, width;
      transition:
        border-color .22s ease,
        background .22s ease,
        box-shadow .22s ease;
    }

    .gallery__thumb::before {
      content: none;
    }

    .gallery__thumb:hover,
    .gallery__thumb:focus-visible,
    .gallery__thumb.is-dragging {
      border-color: rgba(255, 214, 156, .72);
      background:
        linear-gradient(90deg, rgba(255, 238, 210, .24), rgba(255, 166, 72, .58), rgba(255, 238, 210, .22)),
        rgba(18, 13, 9, .9);
      box-shadow:
        0 10px 24px rgba(0, 0, 0, .38),
        0 0 18px rgba(255, 138, 61, .12),
        inset 0 1px 0 rgba(255, 245, 226, .28);
      outline: none;
    }

    .gallery__thumb:focus-visible {
      box-shadow:
        0 0 0 2px rgba(255, 138, 61, .55),
        0 10px 24px rgba(0, 0, 0, .38),
        inset 0 1px 0 rgba(255, 245, 226, .28);
    }

    .gallery .g {
      position: relative;
      width: 100%;
      height: 100%;
      grid-row: span 1;
      overflow: hidden;
      border: 1px solid rgba(245, 241, 234, .13);
      border-radius: 14px;
      background: #111;
      scroll-snap-align: start;
      cursor: inherit;
      user-select: none;
      -webkit-user-select: none;
      -webkit-user-drag: none;
      -webkit-touch-callout: none;
      box-shadow:
        0 24px 70px rgba(0, 0, 0, .34),
        inset 0 1px 0 rgba(255, 255, 255, .06);
      transform: translateZ(0);
      transition:
        border-color .28s ease,
        box-shadow .28s ease,
        transform .28s cubic-bezier(.22, 1, .36, 1);
    }

    .gallery .g:hover,
    .gallery .g:focus-visible {
      border-color: rgba(255, 138, 61, .42);
      box-shadow:
        0 30px 88px rgba(0, 0, 0, .48),
        0 0 0 1px rgba(255, 138, 61, .08),
        0 0 34px rgba(255, 138, 61, .1),
        inset 0 1px 0 rgba(255, 255, 255, .1);
      transform: translateY(-3px);
      outline: none;
    }

    .gallery .g.is-broken {
      display: none;
    }

    .gallery .g .img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
      pointer-events: none;
      user-select: none;
      -webkit-user-select: none;
      -webkit-user-drag: none;
      -webkit-touch-callout: none;
      transition: transform .8s ease, filter .5s;
      filter: grayscale(.12) contrast(1.08) brightness(.9);
    }

    .gallery .g::before {
      content: "Imagem não encontrada";
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      padding: 22px;
      color: rgba(255, 248, 238, .62);
      font-family: var(--mono);
      font-size: 10px;
      font-weight: 800;
      letter-spacing: .12em;
      line-height: 1.4;
      text-align: center;
      text-transform: uppercase;
      background:
        radial-gradient(84% 84% at 50% 22%, rgba(255, 138, 61, .16), transparent 64%),
        rgba(0, 0, 0, .28);
      opacity: 0;
      pointer-events: none;
    }

    .gallery .g.is-broken::before {
      opacity: 1;
    }

    .gallery .g .img.is-broken {
      opacity: 0;
    }

    .gallery .g:nth-child(4n + 1) .img {
      object-position: center 34%;
    }

    .gallery .g:nth-child(5n + 2) .img {
      object-position: center 28%;
    }

    .gallery .g:nth-child(6n + 3) .img {
      object-position: center 42%;
    }

    .gallery .g:hover .img {
      transform: scale(1.055);
      filter: grayscale(0) contrast(1.12) brightness(1.02);
    }

    .gallery .g .label {
      position: absolute;
      left: 16px;
      right: 16px;
      bottom: 15px;
      font-family: var(--mono);
      font-size: clamp(10px, .82vw, 12px);
      font-weight: 700;
      letter-spacing: .13em;
      line-height: 1.35;
      text-transform: uppercase;
      color: rgba(255, 248, 238, .94);
      display: flex;
      align-items: center;
      gap: 8px;
      z-index: 3;
      text-shadow: 0 8px 24px rgba(0, 0, 0, .72);
    }

    .gallery .g .label::before {
      content: "";
      width: 6px;
      height: 6px;
      background: var(--amber);
      border-radius: 50%;
      box-shadow: 0 0 12px rgba(255, 138, 61, .72);
      flex: 0 0 auto;
    }

    .gallery .g::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 2;
      background:
        linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, transparent 38%, rgba(0, 0, 0, .76) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, .32), transparent 36%);
      pointer-events: none;
    }

    .gallery .g--big {
      grid-row: span 1;
    }

    .gallery .g--w {
      grid-row: span 1;
    }

    .gallery .g:nth-child(5n + 4):not(.g--big) {
      grid-row: span 1;
    }

    .gallery .g--placeholder {
      background: repeating-linear-gradient(135deg, #0e0e12 0 8px, #13131a 8px 16px);
      display: grid;
      place-items: center;
      color: var(--ink-mute)
    }

    .gallery .g--placeholder span {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: .18em;
      text-transform: uppercase
    }

    @media(max-width:900px) {
      #gallery {
        padding-top: 72px;
      }

      #gallery .section__head {
        grid-template-columns: 1fr;
        width: min(100%, calc(100% - 32px));
        gap: 18px;
      }

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

      .gallery__hint {
        white-space: normal;
      }

      .gallery {
        width: min(100%, calc(100% - 24px));
        border-radius: 16px;
      }

      .gallery .g,
      .gallery .g--big,
      .gallery .g--w {
        width: 100%;
        height: 100%;
      }

      .gallery__track {
        grid-auto-columns: minmax(260px, min(72vw, 380px));
        grid-template-rows: repeat(3, clamp(132px, 18vh, 184px));
      }
    }

    @media(max-width:560px) {
      #gallery {
        padding-top: 64px;
        padding-bottom: 72px;
      }

      #gallery .section__head {
        width: min(100%, calc(100% - 28px));
        margin-bottom: 22px;
      }

      .gallery {
        width: min(100%, calc(100% - 18px));
      }

      .gallery::before,
      .gallery::after {
        width: 28px;
      }

      .gallery__track {
        grid-auto-columns: minmax(230px, min(76vw, 300px));
        gap: 12px;
        grid-template-rows: repeat(3, 128px);
        padding: 14px 14px 40px;
        scroll-padding-inline: 14px;
      }

      .gallery .g,
      .gallery .g--big,
      .gallery .g--w {
        width: 100%;
        height: 100%;
      }

      .gallery .g .label {
        left: 13px;
        right: 13px;
        bottom: 13px;
        font-size: 9.5px;
        line-height: 1.25;
        align-items: flex-start;
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
        text-wrap: balance;
      }
    }

    @media (prefers-reduced-motion: reduce) {

      .gallery .g,
      .gallery .g .img {
        transition: none !important;
      }

      .gallery .g:hover .img {
        transform: none;
      }

      .footer,
      .footer__scope,
      .fullscreen-toggle:not(.is-fullscreen) {
        transition: none !important;
        animation: none !important;
      }
    }

    /* ============ CONTACT ============ */
    #contact .section__head>div:last-child {
      justify-self: end;
    }

    .contact__intro {
      display: grid;
      gap: 14px;
      text-align: left;
    }

    .contact__intro-copy {
      min-width: 0;
    }

    #contact .section__head .section__title,
    #contact .section__head .section__lede {
      margin-left: auto;
    }

    .contact__hub {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: clamp(18px, 2.4vw, 30px);
      align-items: start;
    }

    .contact__hub-main {
      min-width: 0;
      display: grid;
      gap: clamp(22px, 3vw, 34px);
    }

    .contact__hub .section__title,
    .contact__hub .section__lede {
      margin-left: 0;
    }

    .contact {
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 80px;
      align-items: start;
    }

    .contact__big {
      font-family: var(--display);
      font-weight: 400;
      font-size: clamp(44px, 6.4vw, 96px);
      line-height: 1.02;
      letter-spacing: -.035em;
      text-wrap: balance;
      word-break: break-word;
    }

    .contact__big em {
      font-family: var(--display);
      font-style: normal;
      color: var(--amber);
      font-weight: 500
    }

    .contact__big a {
      display: inline-block;
      position: relative;
      color: var(--ink);
      transition: color .3s
    }

    .contact__big a:hover {
      color: var(--amber)
    }

    .contact__big a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 8px;
      height: 1px;
      width: 100%;
      background: currentColor;
      transform: scaleX(.6);
      transform-origin: left;
      transition: transform .35s;
    }

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

    .contact__body-copy {
      max-width: 46ch;
      margin-top: 30px;
      color: var(--ink-dim);
      font-family: var(--display);
      font-size: 17px;
      font-weight: 300;
      line-height: 1.55;
    }

    .contact__list {
      display: flex;
      flex-direction: column;
      gap: 18px;
      margin-top: 14px
    }

    .contact__list li {
      list-style: none;
    }

    .contact__list a,
    .contact__static {
      display: grid;
      grid-template-columns: 90px 1fr auto;
      gap: 20px;
      align-items: center;
      padding: 20px 0;
      border-top: 1px solid var(--line);
      color: inherit;
      text-decoration: none;
    }

    .contact__list li:last-child a,
    .contact__list li:last-child .contact__static {
      border-bottom: 1px solid var(--line)
    }

    .contact__list .ch {
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--ink-mute);
    }

    .contact__list .v {
      font-family: var(--display);
      font-weight: 400;
      font-size: 18px;
      letter-spacing: -.01em;
    }

    .contact__list .go {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: .16em;
      color: var(--ink-dim);
      transition: color .25s
    }

    .contact__list a:hover .go {
      color: var(--amber)
    }

    .contact__social-hub {
      margin-top: 26px;
      display: grid;
      gap: 16px;
    }

    .contact__social-lines {
      display: grid;
      gap: 8px;
    }

    .contact__social-line {
      display: grid;
      grid-template-columns: 90px 1fr auto;
      gap: 20px;
      align-items: center;
      padding: 14px 0;
      border-top: 1px solid var(--line);
      color: inherit;
      text-decoration: none;
    }

    .contact__social-line:last-child {
      border-bottom: 1px solid var(--line);
    }

    .contact__social-line .ch {
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--ink-mute);
    }

    .contact__social-line .v {
      font-family: var(--display);
      font-weight: 400;
      font-size: 18px;
      letter-spacing: -.01em;
    }

    .contact__social-line .go {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: .16em;
      color: var(--ink-dim);
      transition: color .25s;
    }

    .contact__social-line:hover .go {
      color: var(--amber);
    }

    .contact__social-circles {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
    }

    .contact__social-circle {
      min-height: 98px;
      display: grid;
      place-items: center;
      gap: 8px;
      padding: 12px 8px;
      border: 1px solid rgba(245, 241, 236, .11);
      border-radius: 18px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015)),
        rgba(8, 8, 11, .42);
      color: rgba(245, 241, 236, .86);
      text-decoration: none;
      transition: border-color .24s ease, transform .24s ease, box-shadow .24s ease;
    }

    .contact__social-circle:hover {
      transform: translateY(-1px);
      border-color: rgba(255, 181, 98, .45);
      box-shadow: 0 14px 30px rgba(0, 0, 0, .24);
    }

    .contact__social-icon {
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      border: 1px solid rgba(255, 181, 98, .38);
      background:
        radial-gradient(circle at 30% 24%, rgba(255, 236, 206, .24), transparent 54%),
        linear-gradient(160deg, rgba(255, 178, 71, .18), rgba(240, 111, 41, .14));
      color: rgba(255, 202, 132, .94);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .28),
        0 0 22px rgba(255, 138, 61, .18);
    }

    .contact__social-icon svg {
      width: 20px;
      height: 20px;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .contact__social-name {
      font-family: var(--mono);
      font-size: 9px;
      font-weight: 800;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: rgba(245, 241, 236, .72);
      text-align: center;
    }

    .contact__social-buttons {
      position: sticky;
      top: calc(var(--floating-auth-header-offset) + 24px);
      width: auto;
      max-width: none;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      flex-direction: column;
      flex-wrap: nowrap;
      gap: 10px;
      margin-top: 0;
      padding: 6px;
      overflow: visible;
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
      border: 1px solid rgba(245, 241, 236, .09);
      border-radius: 999px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)),
        rgba(5, 5, 7, .54);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        0 18px 42px rgba(0, 0, 0, .22);
    }

    .contact__social-buttons::-webkit-scrollbar {
      display: none;
    }

    .contact__social-button {
      position: relative;
      width: 44px;
      height: 44px;
      flex: 0 0 44px;
      display: grid;
      place-items: center;
      overflow: hidden;
      border: 1px solid rgba(255, 181, 98, .2);
      border-radius: 50%;
      background:
        radial-gradient(circle at 34% 22%, rgba(255, 236, 206, .18), transparent 52%),
        linear-gradient(145deg, rgba(255, 181, 98, .13), rgba(255, 138, 61, .045)),
        rgba(12, 10, 9, .82);
      color: rgba(255, 220, 174, .88);
      text-decoration: none;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .14),
        0 8px 22px rgba(0, 0, 0, .28);
      transition:
        transform .22s cubic-bezier(.22, 1, .36, 1),
        border-color .22s ease,
        color .22s ease,
        box-shadow .22s ease,
        background .22s ease;
    }

    .contact__social-button::before {
      content: "";
      position: absolute;
      inset: 5px;
      border-radius: inherit;
      background: radial-gradient(circle, rgba(255, 138, 61, .2), transparent 66%);
      opacity: 0;
      transform: scale(.72);
      transition: opacity .22s ease, transform .22s cubic-bezier(.22, 1, .36, 1);
    }

    .contact__social-button svg {
      position: relative;
      z-index: 1;
      width: 20px;
      height: 20px;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.75;
      stroke-linecap: round;
      stroke-linejoin: round;
      filter: drop-shadow(0 2px 7px rgba(0, 0, 0, .46));
    }

    .contact__social-button:hover,
    .contact__social-button:focus-visible {
      transform: translateY(-1px);
      border-color: rgba(255, 181, 98, .5);
      color: rgba(255, 238, 210, .98);
      background:
        radial-gradient(circle at 34% 22%, rgba(255, 236, 206, .22), transparent 52%),
        linear-gradient(145deg, rgba(255, 181, 98, .2), rgba(255, 138, 61, .08)),
        rgba(15, 11, 8, .88);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .18),
        0 10px 28px rgba(0, 0, 0, .32),
        0 0 18px rgba(255, 138, 61, .12);
      outline: none;
    }

    .contact__social-button:hover::before,
    .contact__social-button:focus-visible::before {
      opacity: 1;
      transform: scale(1);
    }

    .contact__hub.reveal .contact__social-button {
      opacity: 0;
      transform: translate3d(-18px, calc(var(--social-note, 0) * -10px), 0) scale(.82);
      filter: blur(7px) saturate(.72);
    }

    .contact__hub.reveal.in .contact__social-button {
      animation: socialPianoRoll .68s cubic-bezier(.16, 1, .3, 1) both;
      animation-delay: calc(.08s * var(--social-note, 0));
    }

    .contact__hub.reveal.in .contact__social-button:nth-child(1) { --social-note: 1; }
    .contact__hub.reveal.in .contact__social-button:nth-child(2) { --social-note: 2; }
    .contact__hub.reveal.in .contact__social-button:nth-child(3) { --social-note: 3; }
    .contact__hub.reveal.in .contact__social-button:nth-child(4) { --social-note: 4; }
    .contact__hub.reveal.in .contact__social-button:nth-child(5) { --social-note: 5; }
    .contact__hub.reveal.in .contact__social-button:nth-child(6) { --social-note: 6; }
    .contact__hub.reveal.in .contact__social-button:nth-child(7) { --social-note: 7; }
    .contact__hub.reveal.in .contact__social-button:nth-child(8) { --social-note: 8; }
    .contact__hub.reveal.in .contact__social-button:nth-child(9) { --social-note: 9; }
    .contact__hub.reveal.in .contact__social-button:nth-child(10) { --social-note: 10; }

    @keyframes socialPianoRoll {
      0% {
        opacity: 0;
        transform: translate3d(-18px, -18px, 0) scale(.82);
        filter: blur(7px) saturate(.72);
        box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, .1),
          0 4px 10px rgba(0, 0, 0, .18);
      }

      42% {
        opacity: 1;
        transform: translate3d(0, 5px, 0) scale(1.08);
        filter: blur(0) saturate(1.08);
        border-color: rgba(255, 181, 98, .52);
        box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, .22),
          0 10px 28px rgba(0, 0, 0, .3),
          0 0 18px rgba(255, 138, 61, .18);
      }

      100% {
        opacity: 1;
        transform: none;
        filter: none;
      }
    }

    #contact {
      position: relative;
      overflow: hidden;
    }

    #contact::after {
      content: "";
      position: absolute;
      left: -26vw;
      bottom: -86vh;
      z-index: -1;
      width: 152vw;
      height: 142vh;
      border-radius: 0;
      background:
        linear-gradient(63deg, transparent 0 38%, rgba(255, 138, 61, .13) 45%, rgba(255, 221, 170, .055) 49%, transparent 57%),
        linear-gradient(72deg, transparent 0 45%, rgba(125, 240, 255, .04) 50%, transparent 58%),
        radial-gradient(ellipse 82% 96% at 54% 116%, rgba(255, 138, 61, .14), transparent 62%);
      filter: blur(18px);
      opacity: .82;
      transform: rotate(-7deg);
      -webkit-mask-image: linear-gradient(to top, transparent 0 22%, rgba(0, 0, 0, .82) 36%, rgba(0, 0, 0, .48) 68%, transparent 100%);
      mask-image: linear-gradient(to top, transparent 0 22%, rgba(0, 0, 0, .82) 36%, rgba(0, 0, 0, .48) 68%, transparent 100%);
      pointer-events: none;
    }

    @media(max-width:900px) {
      .contact {
        grid-template-columns: 1fr;
        gap: 40px
      }

      #contact .section__head>div:last-child {
        justify-self: start;
      }

      .contact__intro {
        text-align: left;
      }

      #contact .section__head .section__title,
      #contact .section__head .section__lede {
        margin-left: 0;
      }

      .contact__social-line {
        grid-template-columns: 1fr;
        gap: 6px;
      }

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

      .contact__social-buttons {
        position: static;
        max-width: 100%;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
      }

      .contact__hub.reveal .contact__social-button {
        transform: translate3d(calc(var(--social-note, 0) * -8px), -14px, 0) scale(.82);
      }

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

      .footer__headline {
        max-width: 12ch;
      }
    }
