:root {
  --contact-bg: #050506;
  --contact-surface: #0a0a0c;
  --contact-text: #f4f4f1;
  --contact-muted: rgba(255, 255, 255, .66);
  --contact-line: rgba(255, 255, 255, .15);
  --contact-green: #b8ff34;
  --contact-paper: #f0f1eb;
  --contact-ink: #080908;
  --contact-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --contact-serif: ui-serif, Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--contact-bg);
  scroll-behavior: smooth;
}

body.contact-page {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--contact-bg);
  color: var(--contact-text);
  font-family: var(--contact-sans);
  -webkit-font-smoothing: antialiased;
}

body.contact-page.fade-out {
  opacity: 0;
}

body.contact-page,
body.contact-page.fade-out {
  transition: opacity .2s ease;
}

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

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

button {
  font: inherit;
}

::selection {
  background: var(--contact-green);
  color: var(--contact-ink);
}

:focus-visible {
  outline: 2px solid var(--contact-green);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 10000;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--contact-green);
  color: var(--contact-ink);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: translate(-50%, -150%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.contact-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9000;
  height: 2px;
  background: rgba(255, 255, 255, .06);
}

.contact-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--contact-green);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.contact-home,
.language-switch {
  position: fixed;
  top: clamp(18px, 3vw, 32px);
  z-index: 8000;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(4, 4, 5, .72);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .26);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.contact-home {
  left: clamp(16px, 3vw, 38px);
  gap: 10px;
  padding: 9px 13px 9px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.contact-home img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.language-switch {
  right: clamp(16px, 3vw, 38px);
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
}

.language-switch span {
  color: rgba(255, 255, 255, .27);
  font-size: 10px;
}

.language-button {
  position: relative;
  padding: 5px 2px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .48);
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
}

.language-button::after {
  position: absolute;
  right: 2px;
  bottom: 1px;
  left: 2px;
  height: 1px;
  background: var(--contact-green);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transition: opacity .2s ease, transform .25s ease;
}

.language-button.is-active {
  color: var(--contact-text);
}

.language-button.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.contact-hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 1.48fr) minmax(360px, .82fr);
  overflow: hidden;
  background: var(--contact-bg);
}

.contact-photo {
  position: relative;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  background: #151515;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.35s cubic-bezier(.16, .84, .22, 1);
}

.contact-ready .contact-photo {
  clip-path: inset(0);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(.82) contrast(1.035);
  transform: scale(1.055);
  transition: transform 2.2s cubic-bezier(.16, .84, .22, 1), filter .8s ease;
  will-change: transform;
}

.contact-ready .contact-photo img {
  transform: scale(1.015);
}

.contact-photo::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, transparent 50%, rgba(5, 5, 6, .18) 72%, var(--contact-bg) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .54), transparent 28%),
    radial-gradient(circle at 48% 45%, transparent 30%, rgba(0, 0, 0, .2) 100%);
  content: "";
  pointer-events: none;
}

.contact-photo::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  content: "";
  mix-blend-mode: soft-light;
  opacity: .095;
  pointer-events: none;
}

.photo-caption {
  position: absolute;
  right: clamp(26px, 4vw, 68px);
  bottom: clamp(24px, 4vw, 50px);
  left: clamp(22px, 3vw, 44px);
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, .88);
  font-size: 10px;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.photo-caption::before {
  position: absolute;
  bottom: calc(100% + 13px);
  left: 0;
  width: 52px;
  height: 1px;
  background: var(--contact-green);
  content: "";
}

.photo-caption small {
  color: rgba(255, 255, 255, .52);
  font-size: inherit;
  letter-spacing: inherit;
}

.contact-panel {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  padding: 128px clamp(34px, 5.2vw, 94px) 72px clamp(34px, 4.7vw, 82px);
  background:
    radial-gradient(circle at 12% 38%, rgba(184, 255, 52, .055), transparent 24%),
    var(--contact-bg);
}

.contact-panel::before {
  position: absolute;
  top: 12%;
  right: 0;
  width: 1px;
  height: 76%;
  background: linear-gradient(transparent, rgba(255, 255, 255, .13), transparent);
  content: "";
}

.contact-eyebrow,
.contact-index,
.contact-mini,
.contact-card-label {
  font-size: 10px;
  font-weight: 720;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.contact-eyebrow {
  margin: 0 0 28px;
  color: var(--contact-green);
}

.contact-title {
  max-width: 600px;
  margin: 0;
  font-family: var(--contact-serif);
  font-size: clamp(62px, 7vw, 118px);
  font-weight: 400;
  letter-spacing: -.052em;
  line-height: .83;
}

.contact-title .accent {
  display: block;
  color: var(--contact-green);
  font-style: italic;
  transform: translateX(clamp(18px, 3vw, 52px));
}

.contact-copy {
  max-width: 540px;
  margin: clamp(38px, 5vh, 68px) 0 0;
  color: var(--contact-muted);
  font-family: var(--contact-serif);
  font-size: clamp(18px, 1.55vw, 26px);
  line-height: 1.5;
}

.contact-card {
  position: relative;
  display: grid;
  max-width: 600px;
  margin-top: clamp(36px, 5vh, 64px);
  padding: 22px 0 20px;
  border-top: 1px solid var(--contact-line);
  border-bottom: 1px solid var(--contact-line);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  transition: border-color .3s ease;
}

.contact-card:hover {
  border-color: rgba(184, 255, 52, .66);
}

.contact-card-label {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, .45);
}

.contact-email {
  display: inline-block;
  overflow-wrap: anywhere;
  font-size: clamp(16px, 1.45vw, 24px);
  font-weight: 650;
  letter-spacing: -.015em;
}

.contact-email::after {
  display: inline-block;
  margin-left: 9px;
  color: var(--contact-green);
  content: "↗";
  transition: transform .25s ease;
}

.contact-email:hover::after {
  transform: translate(3px, -3px);
}

.copy-email {
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, .7);
  cursor: pointer;
  font-size: 9px;
  font-weight: 730;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}

.copy-email:hover,
.copy-email.is-copied {
  border-color: var(--contact-green);
  background: var(--contact-green);
  color: var(--contact-ink);
  transform: rotate(-5deg);
}

.contact-meta {
  display: flex;
  margin-top: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, .34);
}

.contact-index {
  color: rgba(255, 255, 255, .64);
}

.contact-index strong {
  margin-right: 8px;
  color: var(--contact-green);
  font-weight: 720;
}

.contact-mini {
  margin: 0;
  text-align: right;
}

.contact-panel > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .95s cubic-bezier(.16, .84, .22, 1);
}

.contact-ready .contact-panel > * {
  opacity: 1;
  transform: translateY(0);
}

.contact-ready .contact-panel > :nth-child(1) {
  transition-delay: .35s;
}

.contact-ready .contact-panel > :nth-child(2) {
  transition-delay: .43s;
}

.contact-ready .contact-panel > :nth-child(3) {
  transition-delay: .53s;
}

.contact-ready .contact-panel > :nth-child(4) {
  transition-delay: .62s;
}

.contact-ready .contact-panel > :nth-child(5) {
  transition-delay: .7s;
}

.contact-band {
  position: relative;
  z-index: 4;
  display: grid;
  min-height: 31vh;
  padding: clamp(64px, 9vw, 126px) clamp(24px, 7vw, 112px);
  place-items: center;
  overflow: hidden;
  background: var(--contact-paper);
  color: var(--contact-ink);
  text-align: center;
}

.contact-band::before {
  position: absolute;
  width: min(58vw, 760px);
  height: min(58vw, 760px);
  border: 1px solid rgba(8, 9, 8, .08);
  border-radius: 50%;
  content: "";
}

.contact-band p {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0;
  font-family: var(--contact-serif);
  font-size: clamp(36px, 6.2vw, 92px);
  letter-spacing: -.04em;
  line-height: .98;
}

.contact-band strong {
  color: #4d7500;
  font-weight: inherit;
  font-style: italic;
}

.contact-after {
  position: relative;
  min-height: 72vh;
  padding: clamp(90px, 12vw, 180px) clamp(24px, 8vw, 132px);
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 45%, rgba(184, 255, 52, .075), transparent 25%),
    var(--contact-bg);
}

.contact-after-year {
  position: absolute;
  top: 50%;
  right: -1vw;
  margin: 0;
  color: rgba(255, 255, 255, .035);
  font-family: var(--contact-serif);
  font-size: clamp(180px, 32vw, 540px);
  letter-spacing: -.085em;
  line-height: .7;
  transform: translateY(-50%);
  user-select: none;
}

.contact-after-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.contact-after .contact-eyebrow {
  margin-bottom: 28px;
}

.contact-after h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--contact-serif);
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .92;
}

.contact-after-copy > p:not(.contact-eyebrow) {
  max-width: 590px;
  margin: 42px 0 0;
  color: var(--contact-muted);
  font-family: var(--contact-serif);
  font-size: clamp(18px, 1.8vw, 27px);
  line-height: 1.55;
}

.contact-after-link {
  display: inline-flex;
  margin-top: 42px;
  padding-bottom: 8px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(184, 255, 52, .5);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.contact-after-link span {
  color: var(--contact-green);
  font-size: 18px;
  transition: transform .25s ease;
}

.contact-after-link:hover span {
  transform: translate(4px, -4px);
}

.contact-footer {
  position: relative;
  z-index: 2;
  display: grid;
  padding: 48px clamp(22px, 5vw, 76px);
  border-top: 1px solid var(--contact-line);
  background: #030304;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.contact-footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 10px;
  font-weight: 720;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.contact-footer-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.contact-footer-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
}

.contact-footer-nav a {
  position: relative;
  color: rgba(255, 255, 255, .58);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.contact-footer-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--contact-green);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.contact-footer-nav a:hover {
  color: var(--contact-text);
}

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

.contact-footer p {
  margin: 0;
  color: rgba(255, 255, 255, .38);
  font-size: 9px;
  letter-spacing: .13em;
  text-align: right;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .85s ease, transform 1s cubic-bezier(.16, .84, .22, 1);
}

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

@media (max-width: 1050px) {
  .contact-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(350px, .8fr);
  }

  .contact-panel {
    padding-right: 34px;
    padding-left: 34px;
  }

  .contact-title {
    font-size: clamp(56px, 7.8vw, 82px);
  }

  .contact-email {
    font-size: 16px;
  }

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

  .contact-footer p {
    display: none;
  }
}

@media (max-width: 760px) {
  .contact-home {
    max-width: calc(100vw - 152px);
  }

  .contact-home span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .contact-hero {
    display: block;
  }

  .contact-photo {
    min-height: 0;
    padding-bottom: 86px;
    clip-path: inset(0 0 100% 0);
  }

  .contact-photo::before {
    background:
      linear-gradient(0deg, var(--contact-bg) 0%, rgba(5, 5, 6, .7) 7%, transparent 37%),
      linear-gradient(90deg, rgba(0, 0, 0, .14), transparent 35%, rgba(0, 0, 0, .12));
  }

  .contact-photo img {
    height: auto;
    object-position: 50% 50%;
    transform: scale(1.02);
  }

  .contact-ready .contact-photo img {
    transform: scale(1);
  }

  .photo-caption {
    right: 20px;
    bottom: 29px;
    left: 20px;
    font-size: 8px;
  }

  .contact-panel {
    min-height: auto;
    margin-top: -2px;
    padding: 68px 22px 78px;
  }

  .contact-panel::before {
    display: none;
  }

  .contact-eyebrow {
    margin-bottom: 23px;
  }

  .contact-title {
    font-size: clamp(58px, 22vw, 92px);
  }

  .contact-title .accent {
    transform: translateX(11vw);
  }

  .contact-copy {
    margin-top: 40px;
    font-size: 19px;
  }

  .contact-card {
    margin-top: 40px;
  }

  .contact-email {
    font-size: clamp(15px, 4.6vw, 20px);
  }

  .copy-email {
    width: 54px;
    height: 54px;
  }

  .contact-meta {
    align-items: flex-end;
  }

  .contact-mini {
    max-width: 48%;
    font-size: 8px;
    line-height: 1.5;
  }

  .contact-band {
    min-height: 38vh;
    padding: 80px 22px;
  }

  .contact-band p {
    font-size: clamp(38px, 13vw, 64px);
  }

  .contact-after {
    min-height: 72svh;
    padding: 104px 22px 112px;
  }

  .contact-after-year {
    top: 33%;
    right: -11vw;
    font-size: 57vw;
  }

  .contact-after h2 {
    font-size: clamp(48px, 15vw, 74px);
  }

  .contact-after-copy > p:not(.contact-eyebrow) {
    margin-top: 34px;
    font-size: 19px;
  }

  .contact-footer {
    padding: 42px 22px 48px;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .contact-footer-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 18px 28px;
  }
}

@media (max-width: 390px) {
  .contact-home {
    padding-right: 10px;
  }

  .contact-home span {
    display: none;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .copy-email {
    width: auto;
    height: auto;
    justify-self: start;
    padding: 10px 14px;
    border-radius: 999px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .contact-photo,
  .contact-panel > *,
  .reveal {
    clip-path: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
