/* =========================================================
   LELE XIA — CONTACT
   cream paper · coral / pink / butter / lilac
   ========================================================= */

/* ---------- hero ---------- */
.ct-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(48px, 9vw, 110px)) 0 clamp(34px, 5vw, 60px);
  overflow: hidden;
}
.ct-hero::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  right: -160px; top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 107, 95, 0.22), transparent 68%);
  pointer-events: none;
}
.ct-hero::after {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  left: -120px; bottom: -180px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 60%, rgba(180, 156, 255, 0.18), transparent 70%);
  pointer-events: none;
}
.ct-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: end;
  margin-top: clamp(18px, 3vw, 34px);
}
.ct-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 12.5vw, 10.5rem);
  line-height: 0.84;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
}
.ct-title__a {
  color: transparent;
  -webkit-text-stroke: 2px var(--cream);
}
.ct-title__b {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 0.22em;
  color: var(--cream);
}
.ct-title__b em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 0.3em;
  color: var(--pink);
  -webkit-text-stroke: 0;
  transform: translateY(-0.2em);
}
.ct-hero__note { padding-bottom: 8px; }
.ct-hand {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.9vw, 1.6rem);
  line-height: 1.45;
  color: var(--cream-2);
  margin-bottom: 18px;
  transform: rotate(-1.6deg);
  border-bottom: 2px dotted rgba(216, 74, 63, 0.4);
  display: inline-block;
}
.ct-hero__note .lead { margin-bottom: 26px; }

/* ---------- cards ---------- */
.ct-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}
.ct-card {
  --mx: 0px; --my: 0px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.4vw, 34px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  transition: transform 0.5s var(--ease), background 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.ct-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at calc(50% + var(--mx)) calc(50% + var(--my)), rgba(255, 216, 77, 0.16), transparent 68%);
  opacity: 0;
  transition: opacity 0.5s;
}
.ct-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line-2);
  box-shadow: 0 22px 46px -28px rgba(43, 34, 51, 0.4);
}
.ct-card:hover::after { opacity: 1; }
.ct-card--wide { grid-column: span 2; }

.ct-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ct-card__badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: #FAF4EA;
}
.ct-card__badge--pink { background: var(--pink); }
.ct-card__badge--lemon { background: var(--lemon); color: var(--cream); }
.ct-card__badge--lilac { background: var(--lilac); color: var(--cream); }

.ct-card__big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 2.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--cream);
  word-break: break-word;
}
a.ct-card__big {
  display: inline-block;
  transition: color 0.3s;
}
a.ct-card__big:hover { color: var(--coral-deep); }
.ct-card__big--mail { font-size: clamp(1.3rem, 2.2vw, 2rem); }
.ct-card__big--phone { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.28; }
.ct-card__mid {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.ct-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
}
.ct-card .btn { align-self: flex-start; }

.ct-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

/* QR */
.ct-qr {
  position: relative;
  margin-top: 18px;
  padding: 14px;
  border-radius: 16px;
  background: var(--ink-3);
  border: 1px dashed rgba(43, 34, 51, 0.28);
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: zoom-in;
  transition: transform 0.45s var(--ease), border-color 0.4s;
}
.ct-qr:hover { transform: rotate(-1.2deg) scale(1.015); border-color: var(--coral); }
.ct-qr img {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
  flex-shrink: 0;
}
.ct-qr figcaption {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.9;
}
.ct-qr figcaption::before {
  content: "↗";
  display: block;
  font-size: 20px;
  color: var(--coral);
  margin-bottom: 6px;
}

.ct-card__list {
  display: grid;
  gap: 8px;
  margin-top: auto;
}
.ct-card__list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--cream-2);
}
.ct-card__list li span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* ---------- form / status split ---------- */
.ct-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.ct-form-wrap .h2 { margin: 14px 0 18px; }
.ct-form-wrap .lead { margin-bottom: 30px; }

.ct-form {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}
.ct-form label {
  display: grid;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.ct-form input[type="text"],
.ct-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--ink-3);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.ct-form input[type="text"]::placeholder,
.ct-form textarea::placeholder { color: var(--muted-2); }
.ct-form input[type="text"]:focus,
.ct-form textarea:focus {
  outline: none;
  border-color: var(--coral);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 107, 95, 0.14);
}

.ct-form__types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ct-type { position: relative; }
.ct-type input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ct-type span {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--cream-2);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.ct-type span:hover { border-color: var(--coral); transform: translateY(-2px); }
.ct-type input:checked + span {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.ct-type input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 3px; }

.ct-form__acts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
#f-hint.is-ok { color: var(--mint); }
#f-hint.is-warn { color: var(--coral-deep); }

/* status */
.ct-status {
  display: grid;
  gap: 16px;
  position: sticky;
  top: calc(var(--nav-h) + 18px);
}
.ct-status__card {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius);
  background: linear-gradient(150deg, #FFF3D2, #FFE0E9 58%, #FFE9A8);
  border: 1px solid rgba(216, 74, 63, 0.18);
  color: var(--cream);
}
.ct-status__live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 246, 228, 0.7);
  border: 1px solid rgba(43, 34, 51, 0.16);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  justify-self: start;
}
.ct-status__live i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(35, 180, 142, 0.6);
  animation: ct-pulse 2s infinite;
}
@keyframes ct-pulse {
  0% { box-shadow: 0 0 0 0 rgba(35, 180, 142, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(35, 180, 142, 0); }
  100% { box-shadow: 0 0 0 0 rgba(35, 180, 142, 0); }
}
.ct-status__card p { font-size: 0.9rem; line-height: 1.7; color: var(--cream-2); }
.ct-status__card ul { display: grid; gap: 6px; }
.ct-status__card li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(43, 34, 51, 0.18);
}
.ct-status__card li span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.ct-status__card li b { font-size: 0.86rem; font-weight: 600; color: var(--cream); }

.ct-status__tips {
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}
.ct-status__tips h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 14px;
}
.ct-status__tips ol { display: grid; gap: 10px; }
.ct-status__tips li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--cream-2);
}
.ct-status__tips li span {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  flex-shrink: 0;
}

/* ---------- CTA ---------- */
.ct-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding: clamp(28px, 4.6vw, 58px) clamp(24px, 4vw, 54px);
  border-radius: var(--radius);
  background: linear-gradient(120deg, #FFF5E2, #FFE2DA 52%, #FFEDC6);
  border: 1px solid rgba(216, 74, 63, 0.16);
}
.ct-cta .h2 { margin: 12px 0 10px; }
.ct-cta p { color: var(--cream-2); max-width: 42ch; }
.ct-cta__acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .ct-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-card--wide { grid-column: span 2; }
  .ct-split { grid-template-columns: 1fr; }
  .ct-status { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 860px) {
  .ct-hero__grid { grid-template-columns: 1fr; align-items: start; }
  .ct-title__b { display: block; }
  .ct-title__b em { display: block; margin-top: 4px; font-size: 0.26em; transform: none; }
}
@media (max-width: 620px) {
  .ct-cards { grid-template-columns: 1fr; }
  .ct-card--wide { grid-column: span 1; }
  .ct-status { grid-template-columns: 1fr; }
  .ct-qr { flex-direction: column; align-items: flex-start; }
  .ct-qr img { width: 100%; height: auto; aspect-ratio: 1; }
  .ct-cta { flex-direction: column; align-items: flex-start; }
  .ct-form__acts .btn { width: 100%; justify-content: center; }
}
