/* ========================================
   CONTACT PAGE
======================================== */

.contact-page {
  overflow-x: hidden;
  background: var(--paper);
}

/* ========================================
   HERO
======================================== */

.contact-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 560px;
  padding: 100px 9%;
  overflow: hidden;
  border-bottom: 1px solid rgba(128, 128, 128, 0.18);
  background:
    radial-gradient(
      ellipse at 78% 45%,
      rgba(166, 203, 98, 0.12),
      transparent 45%
    ),
    var(--paper);
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  animation: contactFadeUp 0.8s ease both;
}

.contact-hero h1 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -3px;
}

.contact-hero h1 span {
  display: block;
  color: #a6cb62;
}

.contact-hero-content > p {
  max-width: 500px;
  margin: 26px 0 32px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.contact-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 23px;
  border-radius: 8px;
  background: var(--deep);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.contact-hero-button:hover {
  transform: translateY(-3px);
  background: #a6cb62;
  color: #172018;
}

.contact-hero-button span {
  font-size: 17px;
}

/* ========================================
   HERO ABSTRACT VISUAL
======================================== */

.contact-hero-visual {
  position: relative;
  width: 390px;
  height: 390px;
  flex-shrink: 0;
  margin-left: 40px;
  animation: contactVisualAppear 1s ease both;
}

.signal-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(166, 203, 98, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 150px;
  height: 150px;
}

.orbit-two {
  width: 245px;
  height: 245px;
}

.orbit-three {
  width: 345px;
  height: 345px;
  border-style: dashed;
  border-color: rgba(166, 203, 98, 0.25);
  animation: signalRotate 35s linear infinite;
}

.signal-center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 85px;
  height: 85px;
  border: 1px solid rgba(166, 203, 98, 0.45);
  border-radius: 50%;
  background: rgba(166, 203, 98, 0.12);
  box-shadow: 0 0 65px rgba(166, 203, 98, 0.13);
  transform: translate(-50%, -50%);
}

.signal-center-dot {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #a6cb62;
  box-shadow: 0 0 25px rgba(166, 203, 98, 0.7);
  animation: signalPulse 2.5s ease-in-out infinite;
}

.signal-point {
  position: absolute;
  z-index: 2;
  width: 11px;
  height: 11px;
  border: 2px solid #a6cb62;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 15px rgba(166, 203, 98, 0.35);
}

.point-one {
  top: 19%;
  left: 48%;
}

.point-two {
  top: 48%;
  right: 5%;
}

.point-three {
  bottom: 12%;
  left: 34%;
}

.point-four {
  top: 32%;
  left: 12%;
}

.signal-line {
  position: absolute;
  width: 1px;
  height: 45px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(166, 203, 98, 0.5),
    transparent
  );
}

.line-one {
  top: 13%;
  right: 27%;
  transform: rotate(45deg);
}

.line-two {
  bottom: 15%;
  left: 15%;
  transform: rotate(-55deg);
}

.signal-label {
  position: absolute;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.signal-label-one {
  top: 8%;
  right: 17%;
}

.signal-label-two {
  right: 5%;
  bottom: 10%;
}

/* ========================================
   CONTACT TOPICS
======================================== */

.contact-topics {
  padding: 115px 9%;
  background: var(--paper);
}

.contact-section-heading {
  max-width: 650px;
  margin-bottom: 55px;
}

.contact-section-heading .section-eyebrow {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.contact-section-heading h2 {
  margin: 20px 0 14px;
  color: var(--deep);
  font-size: clamp(34px, 4vw, 49px);
  line-height: 1.15;
  letter-spacing: -2px;
}

.contact-section-heading h2 span {
  color: #a6cb62;
}

.contact-section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.contact-topics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-topic-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 255px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(128, 128, 128, 0.18);
  border-radius: 12px;
  background: rgba(128, 128, 128, 0.025);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.contact-topic-card:hover {
  transform: translateY(-5px);
  border-color: rgba(166, 203, 98, 0.65);
  background: rgba(166, 203, 98, 0.045);
}

.topic-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.topic-number {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.topic-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 10px;
  background: rgba(166, 203, 98, 0.14);
  color: #91b94d;
  transition: transform 0.3s ease;
}

.topic-icon svg {
  width: 22px;
  height: 22px;
}

.contact-topic-card:hover .topic-icon {
  transform: rotate(-8deg) scale(1.08);
  background: rgba(166, 203, 98, 0.22);
}

.contact-topic-card h3 {
  margin: 0 0 10px;
  color: var(--deep);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.contact-topic-card > p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.topic-arrow {
  position: absolute;
  right: 30px;
  bottom: 27px;
  color: #91b94d;
  font-size: 21px;
  transition: transform 0.25s ease;
}

.contact-topic-card:hover .topic-arrow {
  transform: translate(4px, -4px);
}

/* ========================================
   OPEN CHANNEL
======================================== */

.contact-channel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 490px;
  margin: 0 9%;
  padding: 85px 30px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--deep);
  color: var(--paper);
  text-align: center;
}

.channel-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.channel-content h2 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(35px, 4vw, 53px);
  line-height: 1.15;
  letter-spacing: -2px;
}

.channel-content h2 > span {
  color: #a6cb62;
}

.channel-content > p {
  max-width: 490px;
  margin: 22px auto 30px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 1.85;
}

.channel-email-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 9px 7px 19px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
  transition: border-color 0.2s ease;
}

.channel-email-wrapper:hover {
  border-color: rgba(166, 203, 98, 0.5);
}

.channel-email {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.channel-email:hover {
  color: #a6cb62;
}

.channel-email span {
  color: #a6cb62;
}

.copy-email-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  border: none;
  border-radius: 7px;
  background: rgba(166, 203, 98, 0.15);
  color: #a6cb62;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.copy-email-button:hover {
  background: rgba(166, 203, 98, 0.25);
  transform: scale(1.05);
}

.copy-email-button svg {
  width: 19px;
  height: 19px;
}

.copy-email-button.copied {
  background: rgba(166, 203, 98, 0.25);
  color: #b9e879;
}

.copy-email-feedback {
  display: block;
  min-height: 18px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

/* CHANNEL DECORATION */

.channel-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.channel-decoration-circle {
  position: absolute;
  border: 1px solid rgba(166, 203, 98, 0.16);
  border-radius: 50%;
}

.channel-decoration-circle:nth-child(1) {
  top: -170px;
  left: -120px;
  width: 350px;
  height: 350px;
}

.channel-decoration-circle:nth-child(2) {
  top: -120px;
  left: -70px;
  width: 250px;
  height: 250px;
}

.channel-decoration-circle:nth-child(3) {
  right: -170px;
  bottom: -200px;
  width: 400px;
  height: 400px;
}

/* ========================================
   CONTACT NOTE
======================================== */

.contact-note {
  position: relative;
  margin: 115px 9%;
  padding: 45px 0 30px;
  border-top: 1px solid rgba(128, 128, 128, 0.18);
  border-bottom: 1px solid rgba(128, 128, 128, 0.18);
}

.note-number {
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.note-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.note-content h2 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(42px, 5vw, 65px);
  line-height: 1.08;
  letter-spacing: -3px;
}

.note-content h2 span {
  color: #a6cb62;
}

.note-description {
  padding-top: 7px;
}

.note-description p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.note-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 55px;
  padding-top: 20px;
  border-top: 1px solid rgba(128, 128, 128, 0.18);
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

/* ========================================
   FINAL CTA
======================================== */

.contact-final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 70px 20px 120px;
  background: var(--paper);
  text-align: center;
}

.contact-final-cta .section-eyebrow {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.contact-final-cta h2 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(37px, 5vw, 60px);
  line-height: 1.12;
  letter-spacing: -2.5px;
}

.contact-final-cta h2 span {
  color: #a6cb62;
}

.contact-final-cta > p {
  max-width: 450px;
  margin: 22px 0 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.contact-final-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 24px;
  border: none;
  border-radius: 8px;
  background: var(--deep);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.contact-final-button:hover {
  transform: translateY(-3px);
  background: #a6cb62;
  color: #172018;
}

/* ========================================
   FOCUS STATES
======================================== */

.contact-page a:focus-visible,
.contact-page button:focus-visible {
  outline: 2px solid #a6cb62;
  outline-offset: 4px;
}

/* ========================================
   ANIMATIONS
======================================== */

@keyframes contactFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes contactVisualAppear {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes signalRotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes signalPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(166, 203, 98, 0.5);
  }

  50% {
    transform: scale(1.25);
    box-shadow: 0 0 30px rgba(166, 203, 98, 0.8);
  }
}

/* ========================================
   RESPONSIVE — TABLET
======================================== */

@media (max-width: 1000px) {

  .contact-hero {
    padding: 85px 6%;
  }

  .contact-hero-visual {
    width: 300px;
    height: 300px;
    margin-left: 15px;
  }

  .orbit-one {
    width: 120px;
    height: 120px;
  }

  .orbit-two {
    width: 200px;
    height: 200px;
  }

  .orbit-three {
    width: 275px;
    height: 275px;
  }

  .contact-topics {
    padding: 90px 6%;
  }

  .contact-channel,
  .contact-note {
    margin-right: 6%;
    margin-left: 6%;
  }

}

/* ========================================
   RESPONSIVE — MOBILE
======================================== */

@media (max-width: 700px) {

  .contact-hero {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding: 75px 6% 45px;
  }

  .contact-hero h1 {
    font-size: clamp(40px, 10vw, 56px);
    letter-spacing: -2px;
  }

  .contact-hero-content > p {
    font-size: 14px;
  }

  .contact-hero-visual {
    align-self: center;
    width: 290px;
    height: 290px;
    margin: 45px auto 0;
  }

  .orbit-one {
    width: 115px;
    height: 115px;
  }

  .orbit-two {
    width: 190px;
    height: 190px;
  }

  .orbit-three {
    width: 270px;
    height: 270px;
  }

  .contact-topics {
    padding: 75px 6%;
  }

  .contact-section-heading {
    margin-bottom: 35px;
  }

  .contact-section-heading h2 {
    font-size: 36px;
    letter-spacing: -1.5px;
  }

  .contact-topics-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-topic-card {
    min-height: 225px;
    padding: 25px;
  }

  .contact-channel {
    min-height: 450px;
    margin: 0 5%;
    padding: 65px 20px;
    border-radius: 12px;
  }

  .channel-content h2 {
    font-size: 37px;
    letter-spacing: -1.5px;
  }

  .channel-content > p {
    font-size: 13px;
  }

  .channel-email {
    font-size: 14px;
  }

  .contact-note {
    margin: 80px 6%;
    padding-top: 35px;
  }

  .note-number {
    margin-bottom: 30px;
  }

  .note-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .note-content h2 {
    font-size: 48px;
    letter-spacing: -2px;
  }

  .note-description p {
    font-size: 13px;
  }

  .note-bottom {
    margin-top: 35px;
    font-size: 8px;
    letter-spacing: 1px;
  }

  .contact-final-cta {
    padding: 45px 20px 85px;
  }

  .contact-final-cta h2 {
    font-size: 39px;
    letter-spacing: -1.5px;
  }

}

/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 380px) {

  .contact-hero h1 {
    font-size: 37px;
  }

  .contact-hero-visual {
    transform: scale(0.9);
    transform-origin: center;
    margin-top: 25px;
    margin-bottom: -15px;
  }

  .channel-content h2 {
    font-size: 32px;
  }

  .channel-email-wrapper {
    gap: 7px;
    padding-left: 12px;
  }

  .channel-email {
    font-size: 12px;
  }

  .note-bottom {
    gap: 15px;
  }

}

/* ========================================
   REDUCED MOTION
======================================== */

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

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

}