.contact-main {
  display: block;
}

.contact-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 5.25rem 1.5rem 4.5rem;
}

.contact-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(154, 31, 31, 0.035), transparent 22%),
    radial-gradient(circle at 82% 68%, rgba(158, 139, 105, 0.05), transparent 20%);
}

.stage-inner {
  position: relative;
  width: min(71rem, 100%);
  margin: 0 auto;
}

.stage-title {
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 3vw, 2.55rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--brand-gold);
}

.stage-title::after {
  content: "";
  display: block;
  width: 4.75rem;
  height: 1px;
  margin: 1.35rem auto 0;
  background: rgba(126, 107, 93, 0.24);
}

.contact-panel {
  margin-top: 4.3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.75fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
  justify-content: center;
}

.contact-copy {
  max-width: 36rem;
  margin: 0 auto;
  color: var(--muted);
}

.contact-copy__intro {
  margin: 0 0 1.35rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.9;
  color: #6d5a4d;
}

.contact-lines {
  display: grid;
  gap: 0.65rem;
}

.contact-line {
  display: grid;
  grid-template-columns: 6.25rem minmax(0, 1fr);
  gap: 0.35rem 1rem;
  align-items: start;
  font-size: 0.98rem;
  line-height: 2;
  letter-spacing: 0.04em;
}

.contact-line__label {
  color: #6e5a4f;
  white-space: nowrap;
}

.contact-line__value {
  color: var(--ink);
  word-break: break-word;
}

.contact-note {
  margin: 2rem 0 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.95;
  color: #8b7b70;
}

.contact-card {
  justify-self: center;
  width: min(100%, 17rem);
  padding: 1rem;
  border: 1px solid rgba(154, 31, 31, 0.08);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 36px rgba(74, 44, 25, 0.08);
  backdrop-filter: blur(8px);
}

.brand-code {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(154, 31, 31, 0.12);
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 251, 246, 0.98), rgba(249, 243, 235, 0.98));
  padding: 0.95rem;
}

.brand-code__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 10px 26px rgba(74, 44, 25, 0.08);
}

.contact-card__title {
  margin: 1rem 0 0.2rem;
  text-align: center;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brand-red);
}

.contact-card__desc {
  margin: 0;
  text-align: center;
  font-size: 0.76rem;
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: #8a7b70;
}

.join-section {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 1.5rem 5.6rem;
}

.join-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 18%, rgba(154, 31, 31, 0.045), transparent 24%),
    radial-gradient(circle at 90% 72%, rgba(158, 139, 105, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 252, 248, 0), rgba(247, 240, 230, 0.78));
}

.join-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(24rem, 0.9fr);
  align-items: stretch;
  width: min(1440px, 100%);
  min-height: clamp(33rem, 44vw, 42rem);
  margin: 0 auto;
  border-top: 1px solid rgba(154, 31, 31, 0.1);
  border-bottom: 1px solid rgba(154, 31, 31, 0.1);
  background:
    linear-gradient(90deg, rgba(255, 252, 247, 0.18), rgba(255, 252, 247, 0.94) 52%, rgba(255, 252, 247, 0.98)),
    rgba(255, 252, 248, 0.88);
  box-shadow: 0 28px 70px rgba(80, 48, 28, 0.08);
  animation: joinFadeUp 720ms ease both;
}

.join-photo {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #eadfce;
}

.join-photo__image {
  width: 100%;
  height: 100%;
  min-height: clamp(33rem, 44vw, 42rem);
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.02);
  transform: scale(1.02);
}

.join-photo__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(253, 251, 247, 0) 48%, rgba(253, 251, 247, 0.38) 72%, rgba(253, 251, 247, 0.96) 100%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(45, 28, 18, 0.08), rgba(45, 28, 18, 0.18));
}

.join-photo__badge {
  position: absolute;
  left: clamp(1.1rem, 3vw, 2.4rem);
  bottom: clamp(1.1rem, 3vw, 2.4rem);
  padding: 0.7rem 1rem;
  border-left: 2px solid rgba(255, 248, 237, 0.8);
  background: rgba(99, 39, 28, 0.58);
  color: rgba(255, 249, 241, 0.92);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.join-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: clamp(-4rem, -5vw, -2.2rem);
  padding: clamp(3rem, 5vw, 5.6rem) clamp(2rem, 5vw, 5rem) clamp(3rem, 5vw, 5.2rem) clamp(3.8rem, 7vw, 7rem);
  color: var(--ink);
}

.join-copy::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: clamp(3rem, 5vw, 5.5rem);
  bottom: clamp(3rem, 5vw, 5.5rem);
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(154, 31, 31, 0.3), transparent);
}

.join-eyebrow {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-gold);
}

.join-title {
  margin: 0.85rem 0 0;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0.14em;
  color: #6f1813;
}

.join-summary {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  font-size: 1rem;
  line-height: 2;
  letter-spacing: 0.04em;
  color: #665348;
}

.join-overview {
  max-width: 34rem;
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
  border-left: 2px solid rgba(154, 31, 31, 0.18);
  background:
    linear-gradient(90deg, rgba(154, 31, 31, 0.045), rgba(255, 255, 255, 0.42)),
    rgba(255, 255, 255, 0.42);
  padding: 1.1rem 1.25rem;
}

.join-overview p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 2;
  letter-spacing: 0.04em;
  color: #665348;
}

.join-jobs {
  margin-top: clamp(2rem, 4vw, 3.2rem);
}

.join-jobs__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #49382f;
}

.join-job-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.join-job {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.05rem 1.1rem;
  border: 1px solid rgba(154, 31, 31, 0.08);
  background:
    linear-gradient(90deg, rgba(154, 31, 31, 0.035), transparent 32%),
    rgba(255, 255, 255, 0.54);
  box-shadow: 0 12px 30px rgba(80, 48, 28, 0.05);
}

.join-job__index {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.15rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(154, 31, 31, 0.72);
}

.join-job__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #4b382f;
}

.join-job__desc {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  line-height: 1.9;
  letter-spacing: 0.035em;
  color: #76665b;
}

.join-more {
  margin-top: 1rem;
}

.join-more__summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.72rem 2.6rem 0.72rem 1.2rem;
  border: 1px solid rgba(154, 31, 31, 0.12);
  background:
    linear-gradient(90deg, rgba(154, 31, 31, 0.05), rgba(255, 255, 255, 0.5)),
    rgba(255, 252, 248, 0.62);
  color: var(--brand-red);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  user-select: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.join-more__summary::-webkit-details-marker {
  display: none;
}

.join-more__summary::after {
  content: "";
  position: absolute;
  right: 1.2rem;
  width: 0.48rem;
  height: 0.48rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-0.12rem) rotate(45deg);
  transition: transform 180ms ease;
}

.join-more__summary:hover {
  border-color: rgba(154, 31, 31, 0.24);
  background: rgba(154, 31, 31, 0.08);
}

.join-more[open] .join-more__summary::after {
  transform: translateY(0.12rem) rotate(225deg);
}

.join-more__label--open {
  display: none;
}

.join-more[open] .join-more__label--closed {
  display: none;
}

.join-more[open] .join-more__label--open {
  display: inline;
}

.join-more__panel {
  padding-top: 0.95rem;
  animation: joinMoreReveal 220ms ease both;
}

.join-more:not([open]) .join-more__panel {
  display: none;
}

.join-job-list--more {
  margin-top: 0;
  gap: 0.75rem;
}

.join-job--more {
  background:
    linear-gradient(90deg, rgba(158, 139, 105, 0.06), transparent 34%),
    rgba(255, 255, 255, 0.38);
  box-shadow: none;
}

.join-contact {
  margin-top: clamp(1.7rem, 3vw, 2.4rem);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(142, 117, 92, 0.16);
  color: #6f5d53;
}

.join-contact p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.join-phone {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  padding: 0.78rem 1.05rem;
  border: 1px solid rgba(154, 31, 31, 0.18);
  background: rgba(154, 31, 31, 0.08);
  color: var(--brand-red);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.join-phone:hover {
  background: var(--brand-red);
  color: #fff8ef;
  transform: translateY(-1px);
}

@keyframes joinFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes joinMoreReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

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

@media (max-width: 960px) {
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .contact-copy {
    max-width: 36rem;
  }

  .join-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .join-photo__image {
    min-height: 20rem;
    max-height: 28rem;
  }

  .join-photo__veil {
    background:
      linear-gradient(180deg, rgba(253, 251, 247, 0) 48%, rgba(253, 251, 247, 0.95) 100%),
      linear-gradient(180deg, rgba(45, 28, 18, 0.04), rgba(45, 28, 18, 0.14));
  }

  .join-copy {
    margin-left: 0;
    padding: 2.5rem 1.5rem 2.8rem;
  }

  .join-copy::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .contact-stage {
    padding: 3.6rem 1rem 3rem;
  }

  .stage-title {
    font-size: 1.8rem;
    letter-spacing: 0.12em;
  }

  .contact-panel {
    margin-top: 3rem;
  }

  .contact-copy__intro {
    font-size: 0.96rem;
    white-space: normal;
  }

  .contact-line {
    grid-template-columns: 5.15rem minmax(0, 1fr);
    gap: 0.25rem 0.8rem;
    font-size: 0.92rem;
    line-height: 1.9;
  }

  .contact-note {
    margin-top: 1.6rem;
    padding-top: 1.25rem;
    font-size: 0.84rem;
  }

  .join-section {
    padding: 0 1rem 3.6rem;
  }

  .join-title {
    font-size: 1.9rem;
    letter-spacing: 0.1em;
  }

  .join-summary {
    font-size: 0.94rem;
    line-height: 1.9;
  }

  .join-overview {
    margin-top: 1.45rem;
    padding: 1rem;
  }

  .join-overview p {
    font-size: 0.9rem;
    line-height: 1.9;
  }

  .join-job {
    grid-template-columns: 2.4rem minmax(0, 1fr);
    gap: 0.75rem;
    padding: 1rem 0.9rem;
  }

  .join-job__desc {
    font-size: 0.88rem;
  }

  .join-phone {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
  }
}
