/* ==========================================================
   CONTACT PAGE
   ========================================================== */
.ct { padding: clamp(96px, 9vw, 120px) 0 0; }
.ct-grid { width: min(100% - 2 * var(--gut), 1320px); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 960px) { .ct-grid { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); } }
.ct-side h1 { font-family: var(--sans); font-weight: 600; font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.025em; line-height: 1.05; margin: 0; }
@media (min-width: 960px) { .ct-side { position: sticky; top: 120px; align-self: start; } }
.ct-main { max-width: 860px; }
.ct-block { padding: clamp(28px, 3.5vw, 44px) 0; border-top: 1px solid var(--edge); }
.ct-block:first-child { border-top: 0; padding-top: 6px; }
/* glass circle, like frosted glass */
.glass { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; flex: none;
  font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--white);
  background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.04) 55%, rgba(255,255,255,.1)); background-color: var(--raise-2);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.45), inset 0 -6px 12px rgba(0,0,0,.18), 0 8px 24px -10px rgba(0,0,0,.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6); }
.glass::before { content: ""; position: absolute; left: 18%; right: 18%; top: 6%; height: 38%; border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0)); pointer-events: none; }
:root[data-theme="light"] .glass { background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(255,255,255,.35) 55%, rgba(255,255,255,.7)); background-color: var(--raise-2);
  border-color: rgba(0,0,0,.1); box-shadow: inset 0 1px 1px #fff, inset 0 -6px 12px rgba(0,0,0,.05), 0 10px 24px -12px rgba(0,0,0,.35); }
.glass svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; position: relative; }

.ct-label { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ct-label span:last-child { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--dim); }
.ct-copy p { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--white); margin: 0 0 1em; max-width: 50ch; }
.ct-copy p:last-child { margin-bottom: 0; }
.ct-copy a { border-bottom: 1px solid var(--iris); }
.ct-copy .ct-close { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; margin-top: 1.2em; }
.ct-h { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -.015em; margin: 0; }
.ct-sub { margin-top: 14px; font-size: 17px; color: var(--dim); max-width: 46ch; }

/* who's reaching out: segmented glass control + answer card */
.ct-seg { margin-top: 30px; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 100px; border: 1px solid var(--edge-2);
  background: var(--raise); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ct-seg button { font: 500 14.5px var(--sans); color: var(--dim); background: none; border: 0; border-radius: 100px; padding: 10px 18px; cursor: pointer; transition: color .2s, background .25s, box-shadow .25s; }
.ct-seg button:hover { color: var(--white); }
.ct-seg button[aria-selected="true"] { color: var(--white); background: linear-gradient(145deg, rgba(255,255,255,.2), rgba(255,255,255,.06));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.4), 0 4px 14px -6px rgba(0,0,0,.5); }
:root[data-theme="light"] .ct-seg button[aria-selected="true"] { background: #fff; box-shadow: 0 2px 10px -4px rgba(0,0,0,.25); }
.ct-panes { margin-top: 18px; display: grid; }
.ct-pane { grid-area: 1 / 1; padding: clamp(22px, 3vw, 32px); border-radius: 18px; border: 1px solid var(--edge-2); background: var(--raise);
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .35s, transform .4s cubic-bezier(.2,.7,.2,1); }
.ct-pane.on { opacity: 1; transform: none; pointer-events: auto; }
.ct-pane b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; color: var(--white); }
.ct-pane p { margin: 12px 0 0; font-size: 17px; line-height: 1.6; color: var(--dim); max-width: 56ch; }

/* two ways to begin: side-by-side cards */
.ct-ways { margin-top: 30px; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 720px) { .ct-ways { grid-template-columns: 1fr 1fr; } }
.ct-way { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 28px; border-radius: 18px; border: 1px solid var(--edge-2);
  background: var(--raise); transition: border-color .25s, transform .3s cubic-bezier(.2,.7,.2,1); }
.ct-way .glass { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; transition: transform .3s; }
.ct-way b { font-family: var(--sans); font-weight: 600; font-size: 21px; letter-spacing: -.01em; color: var(--white); padding-right: 50px; margin-top: 44px; }
.ct-way .d { font-size: 15.5px; line-height: 1.55; color: var(--dim); }
.ct-way:hover { border-color: var(--iris); transform: translateY(-3px); }
.ct-way:hover .glass { transform: rotate(45deg); color: var(--iris); }

/* the closing line: one big link to email */
.ct-final { width: min(100% - 2 * var(--gut), 1440px); margin: clamp(10px, 2vw, 24px) auto 0; padding: clamp(28px, 3.5vw, 44px) 0 clamp(32px, 4vw, 52px); border-bottom: 1px solid var(--edge); }
.ct-eyebrow { font-family: var(--mono); font-size: clamp(14px, 1.3vw, 17px); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin: 0 0 clamp(20px, 3vw, 32px); }
.ct-big { display: flex; align-items: center; flex-wrap: wrap; gap: .3em .45em; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.2vw, 64px); line-height: 1; letter-spacing: -.02em; color: var(--white); }
.ct-big-t { background-image: linear-gradient(var(--iris), var(--iris)); background-size: 0% 3px; background-repeat: no-repeat; background-position: 0 100%; padding-bottom: .06em; transition: color .35s, background-size .6s cubic-bezier(.2,.7,.2,1); }
.ct-big em { font-style: italic; color: var(--iris); }
.ct-big:hover .ct-big-t, .ct-big:focus-visible .ct-big-t { color: var(--iris); background-size: 100% 3px; }
.ct-big:focus-visible { outline: none; }
.ct-arrow.glass { width: clamp(52px, 5vw, 76px); height: clamp(52px, 5vw, 76px); transition: transform .4s cubic-bezier(.2,.7,.2,1), color .3s; }
.ct-big:hover .ct-arrow { transform: rotate(45deg); color: var(--iris); }
.ct-mail { margin-top: 22px; font-family: var(--mono); font-size: 14px; color: var(--dim); }

.ct-me { display: block; width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin-top: 22px; box-shadow: 0 0 0 1px var(--edge-2), 0 14px 30px -14px rgba(0,0,0,.5); }
.ct-label.big h2 { margin: 0; font-family: var(--sans); font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.02em; line-height: 1.1; color: var(--white); }
.ct-copy .ct-close em { font-style: italic; color: var(--iris); }
.ct-copy p { margin-bottom: .8em; }
.ct-seg { margin-top: 4px; }
.ct-pane b { font-size: clamp(24px, 2.6vw, 32px); }
.ct-mini { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font: 500 13.5px var(--sans); color: var(--white); padding: 8px 15px; border-radius: 100px; border: 1px solid var(--edge-2); transition: border-color .2s, color .2s; }
.ct-mini svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ct-mini:hover { border-color: var(--iris); color: var(--iris); }
.ct-ways { margin-top: 20px; }
.ct-way { padding: 22px 24px 24px; }
.ct-way b { margin-top: 30px; }
.ct-h { font-size: clamp(32px, 4vw, 48px); }
@media (max-width: 959px) { .ct-side { display: flex; align-items: center; gap: 18px; } .ct-me { margin-top: 0; width: 72px; height: 72px; } }

/* round 3: shorter page, no divider lines except above the closing line */
.ct-block, .ct-block:first-child { border-top: 0; padding: clamp(18px, 2.4vw, 30px) 0; }
.ct-final { border-bottom: 0; }
.ct-pane { padding: 16px 20px 18px; border-radius: 14px; }
.ct-pane b { font-size: clamp(20px, 1.9vw, 24px); }
.ct-pane p { margin-top: 6px; font-size: 15px; line-height: 1.55; }
.ct-mini { margin-top: 12px; padding: 6px 13px; font-size: 13px; }
.ct-panes { margin-top: 12px; }
.ct-ways { margin-top: 4px; gap: 12px; }
.ct-way { padding: 16px 18px 18px; border-radius: 14px; gap: 5px; }
.ct-way b { margin-top: 0; font-size: 18px; padding-right: 44px; }
.ct-way .d { font-size: 14.5px; }
.ct-way .glass { width: 32px; height: 32px; right: 14px; top: 14px; }
.ct-copy p { font-size: clamp(17px, 1.4vw, 19px); }

/* softer light mode, trial on this page: no pure white, calmer contrast */
:root.soft[data-theme="light"] {
  --void: #E6E8EF; --ink: #DFE2EA; --raise: rgba(244,245,249,.78); --raise-2: #EDEFF4;
  --edge: rgba(20,24,38,.09); --edge-2: rgba(20,24,38,.17);
  --white: #161925; --dim: #4B5266; --dim-2: #737B90;
  --iris: #5B45C4; --iris-dim: rgba(91,69,196,.12);
  --nav-bg: rgba(230,232,239,.75); --nav-solid: rgba(230,232,239,.97);
}
:root.soft[data-theme="light"] body { background:
  radial-gradient(900px 600px at 85% -10%, rgba(120,100,220,.16), transparent 60%),
  radial-gradient(800px 600px at -10% 60%, rgba(70,120,200,.12), transparent 60%),
  var(--void); }
:root.soft[data-theme="light"] .glass { background: linear-gradient(145deg, rgba(255,255,255,.75), rgba(255,255,255,.25) 55%, rgba(255,255,255,.55)); background-color: var(--raise-2); }
:root.soft[data-theme="light"] .ct-seg button[aria-selected="true"] { background: #F4F5F9; }
:root.soft[data-theme="light"] #field { filter: brightness(.9) saturate(.8) contrast(.92); }

/* detail boxes sized to their text, no stretch to the right */
.ct-panes { display: block; max-width: 640px; }
.ct-pane { display: none; opacity: 1; transform: none; }
.ct-pane.on { display: block; animation: ctIn .35s ease; }
@keyframes ctIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ct-pane p { max-width: none; }
.ct-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-copy a.ct-datm { color: var(--iris); border-bottom-color: var(--iris); font-weight: 600; }
.ct-final.has-moon > *:not(.moon-wrap) { position: relative; z-index: 1; }
.ct-final .moon-wrap.pg { right: -2%; width: min(46%, 560px); }

/* ---------- phone card in the side column ---------- */
.ct-phone { display: block; margin-top: 26px; width: 210px; }
.cp-dev { position: relative; display: grid; gap: 9px; padding: 24px 10px 12px; border-radius: 30px; border: 6px solid #15171D; background: #fff; color: #161925; box-shadow: 0 30px 60px -28px rgba(0,0,0,.6); transition: transform .3s; }
.ct-phone:hover .cp-dev { transform: translateY(-4px) rotate(-1deg); }
.cp-notch { position: absolute; top: 7px; left: 50%; width: 50px; height: 11px; margin-left: -25px; border-radius: 10px; background: #15171D; }
.cp-h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 6px; border-bottom: 1px solid #ECEEF3; }
.cp-h b { font: 700 13px var(--sans); } .cp-h em { font: 500 9.5px var(--sans); font-style: normal; color: #8A90A0; }
.cp-r { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 6px; align-items: center; }
.cp-r > i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 700 9px var(--sans); font-style: normal; color: #12805A; background: #EEEAFE; }
.cp-r b { display: block; font: 600 10.5px var(--sans); } .cp-r small { display: block; font: 9px var(--sans); color: #7A8090; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-r u { text-decoration: none; font: 600 8px var(--sans); padding: 3px 6px; border-radius: 100px; }
.cp-r u.go { background: #DDF7EC; color: #11885A; } .cp-r u.wait { background: #FFF1D6; color: #A86A00; }
.cp-foot { margin-top: 4px; padding-top: 7px; border-top: 1px solid #ECEEF3; font: 600 9.5px var(--sans); color: #12805A; text-align: center; }
.cp-cap { display: block; margin-top: 12px; font: 500 13px var(--mono); color: var(--iris); }
@media (max-width: 959px) { .ct-phone { display: none; } }
/* side phone: a real handset now */
.ct-phone { display: block; width: auto; margin-top: 30px; }
.ph.ph-sm { width: 236px; }
.ph.ph-sm .ph-desc { font-size: 11.5px; }
/* labels without numbers; Next step bolder */
.ct-label { gap: 0; }
.ct-label.ct-next span { font: 700 clamp(22px, 2.2vw, 28px) var(--sans) !important; letter-spacing: -.02em; color: var(--white) !important; }
/* inbox phone: music in the island, a chat with the agent, a text from a friend */
.ph-island.live { width: 150px !important; margin-left: -75px !important; height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 9px 0 5px; }
.ph-island.live .art { width: 17px; height: 17px; border-radius: 5px; background: linear-gradient(135deg, #F2C14E, #E07A2F 55%, #7A3B12); flex: none; }
.ph-island.live .tr { display: grid; line-height: 1; min-width: 0; flex: 1; }
.ph-island.live .tr b { font: 700 7.5px var(--sans); color: #fff; letter-spacing: .04em; }
.ph-island.live .tr small { font: 6.5px var(--sans); color: rgba(255,255,255,.6); }
.ph-island.live .eq { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 10px; }
.ph-island.live .eq i { width: 2px; height: 4px; border-radius: 1px; background: #3BE3A0; animation: eqB .9s ease-in-out infinite alternate; }
.ph-island.live .eq i:nth-child(2) { animation-delay: -.3s; } .ph-island.live .eq i:nth-child(3) { animation-delay: -.6s; } .ph-island.live .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eqB { to { height: 10px; } }
.ph.ph-sm .ph-status b:first-child { flex: 0 0 auto; margin-right: auto; }
.ph-chat { padding: 14px 12px 6px; display: grid; gap: 8px; align-content: start; flex: 1; }
.cht-h { display: flex; align-items: center; gap: 9px; }
.ph-ic.sm { width: 30px; height: 30px; border-radius: 10px; } .ph-ic.sm svg { width: 17px; height: 17px; }
.cht-h b { display: block; font: 700 14px var(--sans); color: #14161C; } .cht-h small { font: 10px var(--sans); color: #7A8090; }
.bub { margin: 0; padding: 9px 11px; border-radius: 4px 14px 14px 14px; background: #F0EDFF; font: 11px/1.45 var(--sans); color: #1E1A33; }
.cht-acts { display: flex; gap: 6px; }
.cht-acts u { text-decoration: none; font: 600 9.5px var(--sans); padding: 5px 9px; border-radius: 100px; background: #EEF0F4; color: #555B6B; }
.cht-acts u.go { background: #12805A; color: #fff; }
.cht-sec { margin: 4px 0 0; font: 600 8.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #8A90A0; }
.msg { display: grid; gap: 4px; padding: 9px; border-radius: 14px; background: #F4F5F8; }
.msg .who { font: 600 9.5px var(--sans); color: #14161C; margin-bottom: 2px; }
.msg p { margin: 0; max-width: 85%; padding: 6px 10px; font: 10.5px/1.35 var(--sans); border-radius: 14px; width: fit-content; }
.msg .in { background: #E4E6EB; color: #14161C; border-bottom-left-radius: 4px; }
.msg .out { justify-self: end; background: #0A84FF; color: #fff; border-bottom-right-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .ph-island.live .eq i { animation: none; height: 7px; } }
.ph-island.live { width: 116px !important; margin-left: -50px !important; }
.ph.ph-sm .ph-status { padding-left: 16px; }
/* inbox phone: taller, everything fits */
.ph.ph-sm { width: 250px; aspect-ratio: 9 / 21; }
.ph-chat { gap: 6px; padding-top: 10px; overflow: hidden; }
.bub { font-size: 10.5px; padding: 8px 10px; }
.ph-list.mini { padding: 0; margin: 0; }
.ph-list.mini li { padding: 5px 2px; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 6px; }
.ph-list.mini li > i { width: 20px; height: 20px; font-size: 8.5px; }
.ph-list.mini b { font-size: 10px; } .ph-list.mini small { font-size: 8.5px; } .ph-list.mini u { font-size: 7.5px; padding: 3px 6px; }
.msg { padding: 8px; gap: 3px; } .msg p { font-size: 10px; padding: 5px 9px; }
.ct-phone .ph-list b, .ct-phone .ph-list small { text-transform: none; letter-spacing: 0; font-family: var(--sans); }
.ct-phone .ph-list b { color: #14161C; font-weight: 600; }
.ct-phone .ph-list small { color: #7A8090; font-weight: 400; }
.ct-phone .ph-list u { font-family: var(--sans); letter-spacing: 0; text-transform: none; }
/* phone back to normal height; Loni sits in the list */
.ph.ph-sm { width: 240px; aspect-ratio: 9 / 19.2; }
.ct-phone .ph-list li.bff { align-items: start; }
.ct-phone .ph-list .tx { display: block; width: fit-content; max-width: 100%; margin-top: 3px; padding: 3px 8px; border-radius: 10px 10px 10px 3px; background: #E9EBF0; font: 9.5px/1.3 var(--sans); color: #14161C; }
.ct-phone .ph-list u.hot { background: #E7F1FF; color: #0A66D9; }
.ct-phone .ph-list .tx { text-transform: none !important; letter-spacing: 0 !important; font-family: var(--sans) !important; font-size: 9.5px !important; color: #14161C !important; }
/* see other agents button under the phone */
.ct-see { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 10px 16px; border-radius: 100px; font: 600 13px var(--sans); color: #fff; background: linear-gradient(180deg, rgba(79,194,145,.35), rgba(79,194,145,.12)); background-color: var(--raise); border: 1px solid rgba(79,194,145,.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 30px -12px rgba(79,194,145,.6); backdrop-filter: blur(10px); transition: transform .2s; }
.ct-see:hover { transform: translateY(-2px); }
.ct-see svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="light"] .ct-see { color: #2A1F66; }
@media (max-width: 959px) { .ct-see { display: none; } }
.ph.ph-sm { aspect-ratio: 9 / 16.8; }
@media (max-width: 599px) {
  .ct { padding-top: 92px; }
  .ct-side { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
  .ct-side h1 { max-width: 7ch; }
  .ct-side .ct-me { width: 72px; height: 72px; }
  .ct-side .ct-phone { grid-column: 1 / -1; width: 236px; max-width: 100%; margin: 8px auto 0; }
  .ct-side .ph.ph-sm { width: 100%; }
  .ct-side .ct-see { grid-column: 1 / -1; justify-self: center; margin-top: 0; }
}
