/* ==========================================================================
   FGX — Contact page (contact/index.html)
   Builds on /assets/fgx/fgx-type.css (fonts + fluid type scale) and
   ui-ux.css (tokens, grid, buttons, theme switching, shared modules).
     FGX-CT-01 hero + live studio desk   FGX-CT-03 enquiry form
     FGX-CT-02 portrait cards            FGX-CT-04 visit / map
   ========================================================================== */

/* ---------- 01 Hero + desk ------------------------------------------------ */
.ct-hero { position: relative; padding-top: clamp(120px, 17vh, 200px); padding-bottom: clamp(88px, 10vw, 160px); overflow: hidden; }
.ct-hero::before { content: ""; position: absolute; right: -15vw; top: 20vh; width: 70vw; height: 70vw; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(229, 36, 33, .16), transparent 70%); }
.ct-hero__grid { position: relative; display: grid; gap: 48px; margin-top: clamp(28px, 4vw, 56px); }
@media (min-width: 1200px) { .ct-hero__grid { grid-template-columns: 7fr 5fr; gap: var(--ux-gap); align-items: end; } }
.ct-hero__title { margin-top: 0 !important; }
.ct-hero__lead { margin-top: clamp(28px, 3vw, 48px); }

.ct-desk {
  position: relative; display: grid; gap: 18px; padding: clamp(22px, 2.4vw, 36px);
  border: 1px solid rgba(244, 240, 238, .12); border-radius: calc(var(--ux-radius) + 8px);
  background: radial-gradient(90% 70% at 100% 0%, rgba(229, 36, 33, .22), transparent 60%), rgba(22, 22, 22, .85);
}
.ct-desk__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(244, 240, 238, .1); }
.ct-status { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; font-weight: 700; color: rgba(244, 240, 238, .8); }
.ct-status i { width: 9px; height: 9px; border-radius: 50%; background: rgba(244, 240, 238, .4); }
.ct-status.is-open i { background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: ct-live 2s infinite; }
.ct-status.is-closed i { background: #f2a900; }
@keyframes ct-live { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.ct-clock { display: flex; flex-direction: column; align-items: flex-end; margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 240, 238, .5); }
.ct-clock b { font-family: var(--ux-display); font-size: 22px; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.ct-desk__label { margin: 6px 0 -6px !important; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 240, 238, .5); }
.ct-mail { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ct-mail__link { font-family: var(--ux-display); font-weight: 600; font-size: clamp(28px, 2.8vw, 50px); letter-spacing: -.045em; line-height: 1; color: #fff; text-decoration: none; background: linear-gradient(var(--ux-red), var(--ux-red)) 0 100% / 0 3px no-repeat; transition: background-size .6s var(--ux-ease); overflow-wrap: anywhere; }
.ct-mail__link:hover { background-size: 100% 3px; }
.ct-mail__copy { all: unset; box-sizing: border-box; cursor: pointer; flex: 0 0 auto; padding: 9px 14px; border: 1px solid rgba(244, 240, 238, .25); border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; transition: background .3s, border-color .3s; }
.ct-mail__copy:hover { border-color: #fff; }
.ct-mail__copy.is-done { background: #3ddc84; border-color: #3ddc84; color: #0f0f0f; }
.ct-mail__copy:focus-visible { outline: 3px solid #f2d200; outline-offset: 3px; }
.ct-desk__calls { display: grid; gap: 8px; }
.ct-call { display: grid; grid-template-columns: 1fr auto 20px; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(244, 240, 238, .08); color: #fff; text-decoration: none; transition: background .35s, border-color .35s; }
.ct-call span { font-size: 14px; font-weight: 700; }
.ct-call b { font-size: 14px; font-weight: 500; color: rgba(244, 240, 238, .7); font-variant-numeric: tabular-nums; }
.ct-call i { font-style: normal; transition: transform .45s var(--ux-ease); }
.ct-call:hover { background: rgba(229, 36, 33, .16); border-color: rgba(229, 36, 33, .5); }
.ct-call:hover i { transform: translate(3px, -3px); color: var(--ux-red); }
.ct-desk__cta { justify-self: start; margin-top: 4px; }

/* ---------- 02 People ----------------------------------------------------- */
.ct-people__grid { display: grid; gap: 72px var(--ux-gap); }
@media (min-width: 768px) { .ct-people__grid { grid-template-columns: 1fr 1fr; } .ct-person--offset { margin-top: 14vh; } }
.ct-person__stage { position: relative; perspective: 1200px; max-width: 420px; }
.ct-person__photo {
  position: relative; margin: 0; aspect-ratio: 370 / 474; overflow: hidden; border-radius: calc(var(--ux-radius) + 6px);
  background: linear-gradient(160deg, #e52421, #8f1310); transform-style: preserve-3d; will-change: transform;
  box-shadow: 0 30px 60px rgba(15, 15, 15, .18);
}
.ct-person__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transform: scale(1.02); transition: transform 1.2s var(--ux-ease), filter .8s; filter: saturate(.9); }
.ct-person:hover .ct-person__photo img { transform: scale(1.07); filter: saturate(1.1); }
.ct-person__photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, .22), transparent 60%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.ct-person:hover .ct-person__photo::after { opacity: 1; }
.ct-person__initials { position: absolute; right: -4%; bottom: -6%; z-index: 2; font-family: var(--ux-display); font-weight: 700; font-size: clamp(90px, 10vw, 190px); line-height: .8; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1.5px var(--ux-red); pointer-events: none; }
.ct-person__body { margin-top: 34px; max-width: 420px; }
.ct-person__role { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ux-red); }
.ct-person__name { margin: 10px 0 12px !important; font-family: var(--ux-display); font-weight: 600; font-size: var(--fgx-size-h3, clamp(34px, 3.6vw, 68px)); line-height: 1; letter-spacing: -.045em; }
.ct-person__tel { display: inline-block; font-size: clamp(18px, 1.4vw, 24px); font-weight: 500; color: var(--ux-fg); text-decoration: none; font-variant-numeric: tabular-nums; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ux-ease); }
.ct-person__tel:hover { background-size: 100% 1px; }
.ct-person__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ct-person__actions button.ux-btn { cursor: pointer; font: inherit; font-size: 15px; font-weight: 700; }

/* ---------- 03 Form ------------------------------------------------------- */
.ct-form__intro { margin-top: 28px !important; }
.ct-form__layout { display: grid; gap: 56px; }
@media (min-width: 1200px) { .ct-form__layout { grid-template-columns: 8fr 4fr; gap: calc(var(--ux-gap) * 2); } }
.ct-fields { position: relative; display: grid; gap: 14px var(--ux-gap); }
@media (min-width: 768px) { .ct-fields { grid-template-columns: 1fr 1fr; } }
.ct-topics, .ct-field--wide, .ct-submit, .ct-done { grid-column: 1 / -1; }
.ct-topics { margin: 0 0 18px; padding: 0; border: 0; }
.ct-topics legend { margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ux-muted); }
.ct-topics__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-topics label { position: relative; cursor: pointer; }
.ct-topics input { position: absolute; opacity: 0; pointer-events: none; }
.ct-topics span { display: inline-flex; padding: 12px 18px; border: 1px solid var(--ux-line); border-radius: 999px; font-size: 14px; font-weight: 700; transition: background .3s var(--ux-ease), border-color .3s, color .3s; }
.ct-topics label:hover span { border-color: var(--ux-fg); }
.ct-topics input:checked + span { background: var(--ux-red); border-color: var(--ux-red); color: #fff; }
.ct-topics input:checked + span::before { content: "✓ "; }
.ct-topics input:focus-visible + span { outline: 3px solid #f2d200; outline-offset: 3px; }

.ct-field { position: relative; }
.ct-field input, .ct-field textarea {
  display: block; width: 100%; padding: 30px 0 14px; border: 0; border-bottom: 1px solid var(--ux-line); border-radius: 0;
  background: transparent; color: var(--ux-fg); font: 500 clamp(18px, 1.4vw, 24px) / 1.3 var(--ux-text); letter-spacing: -.01em; outline: 0; resize: vertical;
  transition: border-color .4s var(--ux-ease);
}
.ct-field textarea { min-height: 150px; }
.ct-field label { position: absolute; left: 0; top: 30px; font-size: clamp(18px, 1.4vw, 24px); color: var(--ux-muted); pointer-events: none; transform-origin: 0 0; transition: transform .45s var(--ux-ease), color .3s; }
.ct-field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ux-red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ux-ease); }
.ct-field:focus-within::after { transform: scaleX(1); }
.ct-field input:focus + label, .ct-field input:not(:placeholder-shown) + label,
.ct-field textarea:focus + label, .ct-field textarea:not(:placeholder-shown) + label { transform: translateY(-26px) scale(.62); color: var(--ux-fg); }
.ct-field__err { display: block; min-height: 18px; padding-top: 6px; font-size: 13px; font-weight: 700; color: #ff6a55; }
.ct-field.is-bad input, .ct-field.is-bad textarea { border-bottom-color: #ff6a55; }

.ct-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 18px; }
.ct-submit button.ux-btn { cursor: pointer; font: inherit; font-size: 18px; font-weight: 700; }
.ct-submit__note { font-size: 14px; color: var(--ux-muted); }
.ct-submit__note a { color: var(--ux-fg); }
.ct-fields.is-sending .ct-submit button { opacity: .6; pointer-events: none; }

.ct-done { display: grid; justify-items: start; gap: 12px; padding: 40px; border-radius: calc(var(--ux-radius) + 6px); background: rgba(61, 220, 132, .08); border: 1px solid rgba(61, 220, 132, .35); }
.ct-done[hidden] { display: none; }
.ct-done__tick { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #3ddc84; color: #0f0f0f; font-size: 26px; font-weight: 700; }
.ct-done__t { font-family: var(--ux-display); font-weight: 600; font-size: clamp(30px, 3vw, 56px); line-height: 1; letter-spacing: -.045em; }
.ct-fields.is-done > :not(.ct-done):not(input[type="hidden"]) { display: none; }

.ct-aside__block { padding-top: 22px; border-top: 1px solid var(--ux-line); }
@media (min-width: 1200px) { .ct-aside { position: sticky; top: 120px; align-self: start; } }
.ct-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 20px; }
.ct-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; font-size: 17px; line-height: 1.4; color: var(--ux-muted); }
.ct-steps b { font-family: var(--ux-display); font-size: 22px; letter-spacing: -.03em; color: var(--ux-red); }

/* ---------- 04 Visit ------------------------------------------------------ */
.ct-visit__grid { display: grid; gap: 48px; }
@media (min-width: 992px) { .ct-visit__grid { grid-template-columns: 7fr 5fr; gap: var(--ux-gap); align-items: stretch; } }
.ct-map { position: relative; min-height: 420px; overflow: hidden; border-radius: calc(var(--ux-radius) + 6px); background: #d9d4d1; }
.ct-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) brightness(.97); transition: filter .8s var(--ux-ease); }
.ct-map:hover iframe { filter: none; }
.ct-info { display: grid; gap: 26px; align-content: start; margin: 0; }
.ct-info > div { padding-top: 18px; border-top: 1px solid var(--ux-line); }
.ct-info dt { margin-bottom: 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ux-muted); }
.ct-info dd { margin: 0; font-size: clamp(18px, 1.3vw, 22px); line-height: 1.4; }
.ct-info a { color: inherit; }
.ct-social { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ct-social a { text-decoration: none; font-weight: 700; }
.ct-social a:hover { color: var(--ux-red); }
.ct-info__cta { border-top: 0 !important; }

/* ---------- 05 Email band -------------------------------------------------- */
.ct-band { background: var(--ux-red); }
.ct-band__link { display: block; color: inherit; text-decoration: none; }
.ct-band .ux-kinetic__line { text-transform: none; letter-spacing: -.055em; }
.ct-band__link:hover .ux-kinetic__line:first-child { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .ct-status.is-open i { animation: none; }
}
