/* Naytra — contact section ("Contact us"): light, full-bleed. Content left, form right.
   Light ground (--paper) + Fraunces/DM Sans. System colour/spacing tokens only.
   Depends on tokens.css + base.css. */

.fcta{
  --font-serif:'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans:'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  padding-block:clamp(96px,14vh,180px);
  background:var(--paper);
}

/* Full-bleed content — no frame cap, shared 6vw side padding.
   Top-aligned: the form starts level with the title (no eyebrow in this section). */
.fcta__inner{padding:0 clamp(var(--space-40),6vw,var(--space-120));
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,7vw,120px);align-items:start}

/* Left — statement. Title + body match the other section heads (title 1.08, body 17px/1.5,
   --space-20 between them). */
.fcta__title{font-family:var(--font-serif);font-weight:340;color:var(--ink);
  font-size:clamp(30px,3.8vw,44px);line-height:1.08;letter-spacing:-.02em;margin:0;
  max-width:16ch;text-wrap:balance}
.fcta__body{font-family:var(--font-sans);font-weight:400;font-size:17px;
  line-height:1.5;color:var(--ink-2);margin:var(--space-20) 0 0;max-width:42ch}

/* Right — the form; top-aligned with the title. */
.fcta__right{width:100%;max-width:460px;justify-self:start}
.fcta__form{display:flex;flex-direction:column;gap:var(--space-30)}
/* Underlined fields — no box, just a baseline rule */
.fcta__input{width:100%;box-sizing:border-box;padding:var(--space-10) 0;
  background:transparent;border:0;border-bottom:1px solid var(--ink);color:var(--ink);
  font-family:var(--font-sans);font-size:16px;transition:border-color .18s ease}
.fcta__input::placeholder{color:var(--ink-3)}
.fcta__input:focus{outline:none;border-bottom-color:var(--accent)}
/* Phone: a country-code dropdown beside the number, sharing the underline style. */
.fcta__phone{position:relative;display:flex;gap:var(--space-20)}
.fcta__num{flex:1 1 auto;min-width:0}
.fcta__cc{flex:0 0 auto}
.fcta__cc-btn{display:flex;align-items:center;gap:var(--space-10);height:100%;
  text-align:left;cursor:pointer;line-height:inherit}
/* Chevron drawn in currentColor; flips while open. */
.fcta__cc-btn::after{content:"";width:6px;height:6px;flex:none;margin:-4px 0 0 var(--space-10);
  border-right:1px solid currentColor;border-bottom:1px solid currentColor;
  transform:rotate(45deg);transition:transform .18s ease}
.fcta__cc-btn[aria-expanded="true"]::after{transform:rotate(-135deg);margin-top:4px}
.fcta__cc-btn:focus-visible{outline:none;border-bottom-color:var(--accent)}
.fcta__cc-flag{width:20px;height:20px;flex:none;display:block;border-radius:50%}

/* Panel: spans the whole phone row. Paper ground, no border - a soft lift shadow (same family
   as the chain cards), sharp corners.
   One inner rhythm: --space-10 around everything, rows --space-10 tall padding. */
.fcta__cc-pop{position:absolute;z-index:20;top:calc(100% + var(--space-10));left:0;right:0;
  padding:var(--space-10);background:var(--paper);
  box-shadow:0 2px 6px rgba(23,21,15,.04),0 14px 36px -12px rgba(23,21,15,.18)}
.fcta__cc-pop[hidden]{display:none}
/* Search: underlined like the form fields; inset --space-10 so the icon and rule line up
   with the flags and text in the rows below. */
.fcta__cc-searchbox{display:flex;align-items:center;gap:var(--space-10);
  margin:0 var(--space-10);border-bottom:1px solid var(--line-2);color:var(--ink-3);
  transition:border-color .18s ease}
.fcta__cc-searchbox:focus-within{border-bottom-color:var(--ink)}
.fcta__cc-searchbox:focus-within{color:var(--ink)}
.fcta__cc-icon{width:16px;height:16px;flex:none}
.fcta__cc-search{flex:1 1 auto;min-width:0;padding:var(--space-10) 0;border:0;background:transparent;
  font-family:var(--font-sans);font-size:15px;line-height:1.6;color:var(--ink);outline:none}
.fcta__cc-search::placeholder{color:var(--ink-3)}
.fcta__cc-list{list-style:none;margin:var(--space-10) 0 0;padding:0;
  max-height:260px;overflow-y:auto;overscroll-behavior:contain;}
/* 4px thumb that sits in the panel's right padding, so rows keep the same width as the search. */
.fcta__cc-list{margin-right:-4px}
.fcta__cc-list::-webkit-scrollbar,.fcta__msg::-webkit-scrollbar{width:4px}
.fcta__cc-list::-webkit-scrollbar-thumb,.fcta__msg::-webkit-scrollbar-thumb{background:var(--line-2)}
.fcta__cc-list::-webkit-scrollbar-track,.fcta__msg::-webkit-scrollbar-track{background:transparent}
.fcta__cc-list::-webkit-scrollbar-button,.fcta__msg::-webkit-scrollbar-button{display:none;height:0}
/* Firefox (no ::-webkit-scrollbar): thin hairline thumb. */
@supports not selector(::-webkit-scrollbar){
  .fcta__cc-list,.fcta__msg{scrollbar-width:thin;scrollbar-color:var(--line-2) transparent}
}
.fcta__cc-opt{display:flex;align-items:center;gap:var(--space-10);padding:var(--space-10);
  font-family:var(--font-sans);font-size:15px;line-height:1.3;color:var(--ink);cursor:pointer}
.fcta__cc-name{flex:1 1 auto;min-width:0}
.fcta__cc-dial{flex:none;color:var(--ink-3);font-variant-numeric:tabular-nums}
/* Hover/keyboard row: faint ink wash (as .topbar__cta:hover, lighter). */
.fcta__cc-opt.is-active{background:rgba(16,16,16,.04)}
.fcta__cc-opt[aria-selected="true"] .fcta__cc-name,
.fcta__cc-opt[aria-selected="true"] .fcta__cc-dial{color:var(--accent)}
.fcta__cc-empty{margin:var(--space-10) 0 0;padding:var(--space-10);font-family:var(--font-sans);
  font-size:15px;color:var(--ink-3)}
.fcta__cc-empty[hidden]{display:none}
/* Message: same underlined field, grows vertically. */
.fcta__msg{display:block;resize:vertical;min-height:calc(16px * 1.5 * 3 + var(--space-10) * 2);
  line-height:1.5}
.fcta__submit{width:100%;height:52px;margin-top:var(--space-20)}
.fcta__submit:disabled{opacity:.6;cursor:progress}
/* Sent state: replaces the fields for a few seconds (finalcta.js), then the form returns.
   Title uses the section's serif voice; body matches .fcta__body. */
.fcta__done{display:none;padding:var(--space-10) 0 0}
.fcta__done-title{font-family:var(--font-serif);font-weight:340;color:var(--ink);
  font-size:clamp(26px,3vw,34px);line-height:1.15;letter-spacing:-.02em;margin:0;
  text-wrap:balance}
.fcta__done-body{font-family:var(--font-sans);font-size:17px;line-height:1.5;
  color:var(--ink-2);margin:var(--space-20) 0 0;max-width:42ch}
.fcta__form.is-done .fcta__field,.fcta__form.is-done .fcta__submit,
.fcta__form.is-done .fcta__err--form{display:none}
.fcta__form.is-done .fcta__done{display:block;animation:fcta-in .4s ease both}
@keyframes fcta-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .fcta__form.is-done .fcta__done{animation:none}
}

/* Validation. Errors use --neg (the system's red; flips to --neg-dark on dark grounds) -
   the one sanctioned use of red outside P&L figures. Message sits under its field. */
.fcta__field{display:flex;flex-direction:column}
/* Lift the phone row above the fields after it, so Message and the button never paint over
   the open country-code panel. */
.fcta__field--phone{position:relative;z-index:5}
.fcta__input[aria-invalid="true"],
.fcta__input[aria-invalid="true"]:focus{border-bottom-color:var(--neg)}
.fcta__err{margin:var(--space-10) 0 0;font-family:var(--font-sans);font-size:13px;
  line-height:1.4;color:var(--neg)}
.fcta__err[hidden]{display:none}
/* Message: error (left) and character count (right) share one line under the field. */
.fcta__msg-meta{display:flex;justify-content:space-between;align-items:flex-start;gap:var(--space-20)}
.fcta__count{margin:var(--space-10) 0 0 auto;font-family:var(--font-sans);font-size:13px;
  line-height:1.4;color:var(--ink-3);font-variant-numeric:tabular-nums}
.fcta__count.is-over{color:var(--neg)}
.fcta__form.is-done .fcta__msg-meta{display:none}

@media (max-width:820px){
  .fcta__inner{grid-template-columns:1fr;gap:clamp(32px,6vw,56px)}
  .fcta__title{max-width:none}
  .fcta__right{max-width:none}
}
