/* ============================================================
   VELORA — App Layer
   Accounts · Inquiry · Currency · Assistant
   ------------------------------------------------------------
   Every selector is prefixed .v- so nothing here can collide
   with styles.css. Colours and type come from the existing
   :root tokens — no new palette is introduced.

   Z-INDEX MAP (fits between nav:200/progress:300 and cursor:9997)
     400  chat launcher
     420  chat panel
     500  modal backdrop
     600  toast
   ============================================================ */


/* ============================================================
   1 · CURRENCY BADGE
   Sits beside a converted price. Deliberately quiet — the
   rupee figure stays the hero, this is reassurance.
   ============================================================ */
.v-price-alt{
  display:block;
  font-family:var(--f-body);
  font-size:12px;
  font-weight:400;
  letter-spacing:.04em;
  color:rgba(245,234,211,.55);
  margin-top:6px;
}
.sec-cream .v-price-alt{color:rgba(107,30,45,.62)}

.v-price-main{white-space:nowrap}

.v-fx-note{
  display:inline-flex;align-items:center;gap:5px;
  cursor:help;
  border-bottom:1px dotted rgba(220,180,90,.45);
}
.v-fx-note svg{width:11px;height:11px;opacity:.7;flex-shrink:0}


/* ============================================================
   2 · MODAL SHELL  (used by inquiry + sign in)
   ============================================================ */
.v-modal{
  position:fixed;inset:0;z-index:500;
  display:flex;align-items:center;justify-content:center;
  padding:24px;
  background:rgba(15,4,8,.82);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  opacity:0;visibility:hidden;
  transition:opacity .4s var(--ease-out), visibility .4s;
  overflow-y:auto;
}
.v-modal.open{opacity:1;visibility:visible}

.v-modal-card{
  position:relative;
  width:100%;max-width:560px;
  margin:auto;
  background:linear-gradient(165deg, var(--burgundy-deep) 0%, var(--ink) 100%);
  border:1px solid var(--line-gold);
  border-radius:var(--r-md);
  padding:48px 44px 40px;
  box-shadow:0 40px 90px -20px rgba(0,0,0,.7);
  transform:translateY(24px) scale(.97);
  transition:transform .5s var(--ease-out);
}
.v-modal.open .v-modal-card{transform:translateY(0) scale(1)}

/* the hairline flourish borrowed from .footer::before */
.v-modal-card::before{
  content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);
  width:55%;height:1px;
  background:linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.v-modal-close{
  position:absolute;top:18px;right:18px;
  width:38px;height:38px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--line-dark);
  color:rgba(245,234,211,.6);
  transition:border-color .3s, color .3s, transform .3s;
}
.v-modal-close:hover{
  border-color:var(--gold);color:var(--gold-bright);
  transform:rotate(90deg);
}
.v-modal-close svg{width:15px;height:15px}

.v-modal-eyebrow{
  font-family:var(--f-body);font-size:10px;font-weight:600;
  letter-spacing:.34em;text-transform:uppercase;
  color:var(--gold);margin-bottom:14px;
}
.v-modal-card h2{
  font-family:var(--f-display);font-weight:300;
  font-size:clamp(30px,4.4vw,40px);line-height:1.06;
  letter-spacing:-.015em;color:var(--cream);
  margin-bottom:12px;
}
.v-modal-card h2 em{font-style:italic;color:var(--gold);font-weight:400}
.v-modal-sub{
  font-size:14px;line-height:1.65;font-weight:300;
  color:rgba(245,234,211,.66);
  margin-bottom:32px;
}


/* ============================================================
   3 · FIELDS
   Matches the underline-only treatment already on /contact.
   ============================================================ */
.v-field{margin-bottom:22px;position:relative}
.v-field-split{display:grid;grid-template-columns:1fr 1fr;gap:18px}

.v-field label{
  display:block;
  font-family:var(--f-body);font-size:10px;font-weight:500;
  letter-spacing:.3em;text-transform:uppercase;
  color:var(--gold);margin-bottom:9px;
}
.v-field input,
.v-field select,
.v-field textarea{
  width:100%;
  background:transparent;
  border:none;border-bottom:1px solid rgba(245,234,211,.25);
  padding:11px 0;
  font-family:var(--f-body);font-size:15px;font-weight:300;
  color:var(--cream);
  outline:none;
  transition:border-color .3s;
  border-radius:0;              /* stops iOS rounding inputs */
  -webkit-appearance:none;
}
.v-field textarea{resize:vertical;min-height:96px;line-height:1.6}
.v-field select{
  appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none' stroke='%23DCB45A' stroke-width='1.5'><path d='M1 1l4 4 4-4'/></svg>");
  background-repeat:no-repeat;background-position:right 4px center;
  cursor:pointer;
}
.v-field select option{background:var(--burgundy-deep);color:var(--cream)}
.v-field input::placeholder,
.v-field textarea::placeholder{color:rgba(245,234,211,.34)}
.v-field input:focus,
.v-field select:focus,
.v-field textarea:focus{border-bottom-color:var(--gold)}

/* visible keyboard focus, since the custom cursor hides hover cues */
.v-field input:focus-visible,
.v-field select:focus-visible,
.v-field textarea:focus-visible,
.v-btn:focus-visible,
.v-modal-close:focus-visible,
.v-chat-launcher:focus-visible{
  outline:2px solid var(--gold-bright);
  outline-offset:3px;
}

.v-field.v-err input,
.v-field.v-err select,
.v-field.v-err textarea{border-bottom-color:#E26B6B}
.v-err-msg{
  display:block;
  font-size:11px;color:#E26B6B;
  margin-top:6px;min-height:14px;
  opacity:0;transition:opacity .25s;
}
.v-field.v-err .v-err-msg{opacity:1}


/* ============================================================
   4 · BUTTONS  (v- variants of the site's pill button)
   ============================================================ */
.v-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:15px 30px;border-radius:999px;
  font-family:var(--f-body);font-size:12px;font-weight:600;
  letter-spacing:.16em;text-transform:uppercase;
  transition:transform .35s var(--ease-out), background .3s, box-shadow .3s, color .3s, border-color .3s, opacity .3s;
  position:relative;overflow:hidden;
}
.v-btn-gold{
  background:var(--gold-bright);color:var(--burgundy-deep);
  box-shadow:0 12px 34px -10px rgba(241,206,124,.65);
}
.v-btn-gold:hover{background:#FFD68A;transform:translateY(-2px)}
.v-btn-ghost{
  background:transparent;color:var(--cream);
  border:1px solid rgba(245,234,211,.3);
}
.v-btn-ghost:hover{border-color:var(--gold-bright);color:var(--gold-bright)}
.v-btn-full{width:100%}
.v-btn[disabled]{opacity:.5;pointer-events:none}
.v-btn svg{width:14px;height:14px;flex-shrink:0}

/* inline spinner */
.v-spin{
  width:14px;height:14px;border-radius:50%;
  border:2px solid rgba(107,30,45,.25);
  border-top-color:var(--burgundy-deep);
  animation:v-spin .7s linear infinite;
}
.v-btn-ghost .v-spin{
  border-color:rgba(245,234,211,.25);
  border-top-color:var(--cream);
}
@keyframes v-spin{to{transform:rotate(360deg)}}

.v-form-foot{
  margin-top:28px;
  display:flex;align-items:center;gap:16px;flex-wrap:wrap;
}
.v-form-note{
  font-size:11.5px;line-height:1.55;
  color:rgba(245,234,211,.5);
  flex:1;min-width:180px;
}
.v-form-note a{color:var(--gold);border-bottom:1px solid rgba(220,180,90,.35)}

.v-switch{
  margin-top:26px;padding-top:22px;
  border-top:1px solid var(--line-dark);
  font-size:13px;color:rgba(245,234,211,.6);
  text-align:center;
}
.v-switch button{
  color:var(--gold-bright);font-weight:500;
  border-bottom:1px solid rgba(241,206,124,.4);
}


/* ============================================================
   5 · SUCCESS PANEL
   An answered form should feel like an answer, not a receipt.
   ============================================================ */
.v-success{display:none;text-align:center;padding:14px 0 6px}
.v-success.show{display:block}
.v-success-mark{
  width:64px;height:64px;margin:0 auto 26px;
  border-radius:50%;
  border:1px solid var(--line-gold);
  display:flex;align-items:center;justify-content:center;
  color:var(--gold-bright);
  position:relative;
}
.v-success-mark::after{
  content:'';position:absolute;inset:-9px;border-radius:50%;
  border:1px solid rgba(220,180,90,.22);
  animation:v-ring 2.6s var(--ease-out) infinite;
}
@keyframes v-ring{
  0%{transform:scale(.9);opacity:1}
  100%{transform:scale(1.2);opacity:0}
}
.v-success-mark svg{width:26px;height:26px}
.v-success h3{
  font-family:var(--f-display);font-weight:300;font-size:30px;
  color:var(--cream);margin-bottom:12px;
}
.v-success h3 em{font-style:italic;color:var(--gold)}
.v-success p{
  font-size:14px;line-height:1.7;color:rgba(245,234,211,.66);
  max-width:360px;margin:0 auto 26px;
}


/* ============================================================
   6 · TOAST
   ============================================================ */
.v-toast{
  position:fixed;left:50%;bottom:56px;z-index:600;cursor:pointer;
  transform:translate(-50%,calc(100% + 120px));
  opacity:0;visibility:hidden;
  display:flex;align-items:center;gap:12px;
  padding:15px 26px;border-radius:999px;
  background:rgba(26,10,14,.94);
  backdrop-filter:blur(14px);
  border:1px solid var(--line-gold);
  font-family:var(--f-body);font-size:13px;color:var(--cream);
  box-shadow:0 20px 50px -14px rgba(0,0,0,.6);
  transition:transform .5s var(--ease-out),opacity .32s ease,visibility 0s linear .5s;
  max-width:calc(100vw - 40px);
}
.v-toast.show{
  transform:translate(-50%,0);opacity:1;visibility:visible;
  transition:transform .5s var(--ease-out),opacity .28s ease,visibility 0s;
}
.v-toast svg{width:15px;height:15px;color:var(--gold-bright);flex-shrink:0}
.v-toast.v-toast-err{border-color:rgba(226,107,107,.5)}
.v-toast.v-toast-err svg{color:#E26B6B}
.v-toast:hover{border-color:var(--gold)}
.v-toast-x{
  display:inline-flex;margin-left:2px;opacity:.4;line-height:0;
  transition:opacity .2s;
}
.v-toast-x svg{width:13px;height:13px;color:currentColor}
.v-toast:hover .v-toast-x{opacity:.85}


/* ============================================================
   7 · AI ASSISTANT
   ============================================================ */
.v-chat-launcher{
  position:fixed;right:26px;bottom:26px;z-index:400;
  width:60px;height:60px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--gold-bright);color:var(--burgundy-deep);
  box-shadow:0 14px 38px -8px rgba(241,206,124,.7);
  transition:transform .4s var(--ease-out), box-shadow .35s, opacity .5s;
  opacity:0;transform:scale(.6) translateY(14px);
}
.v-chat-launcher.ready{opacity:1;transform:scale(1) translateY(0)}
.v-chat-launcher:hover{transform:scale(1.07) translateY(-2px)}
.v-chat-launcher svg{width:24px;height:24px}
.v-chat-launcher .v-x{display:none}
.v-chat-launcher.active .v-x{display:block}
.v-chat-launcher.active .v-bubble{display:none}

/* the "someone is awake" dot — the whole point of the assistant */
.v-chat-pip{
  position:absolute;top:2px;right:2px;
  width:13px;height:13px;border-radius:50%;
  background:#4ADE80;
  border:2px solid var(--burgundy-deep);
}
.v-chat-pip::after{
  content:'';position:absolute;inset:-3px;border-radius:50%;
  border:1px solid rgba(74,222,128,.6);
  animation:v-ring 2.4s var(--ease-out) infinite;
}
.v-chat-launcher.active .v-chat-pip{display:none}

.v-chat{
  position:fixed;right:26px;bottom:100px;z-index:420;
  width:392px;max-width:calc(100vw - 32px);
  height:min(560px, calc(100vh - 150px));
  display:flex;flex-direction:column;
  background:linear-gradient(168deg, var(--burgundy-deep) 0%, var(--ink) 100%);
  border:1px solid var(--line-gold);
  border-radius:var(--r-md);
  box-shadow:0 34px 80px -18px rgba(0,0,0,.72);
  overflow:hidden;
  opacity:0;visibility:hidden;transform:translateY(18px) scale(.97);
  transition:opacity .4s var(--ease-out), transform .45s var(--ease-out), visibility .4s;
}
.v-chat.open{opacity:1;visibility:visible;transform:translateY(0) scale(1)}

.v-chat-head{
  padding:20px 22px;
  border-bottom:1px solid var(--line-dark);
  background:rgba(26,10,14,.5);
  flex-shrink:0;
}
.v-chat-head h4{
  font-family:var(--f-display);font-weight:400;font-size:21px;
  letter-spacing:.02em;color:var(--cream);
}
.v-chat-head h4 em{font-style:italic;color:var(--gold)}
.v-chat-status{
  display:flex;align-items:center;gap:7px;
  font-size:11px;letter-spacing:.06em;
  color:rgba(245,234,211,.55);margin-top:5px;
}
.v-chat-status .d{
  width:6px;height:6px;border-radius:50%;background:#4ADE80;
  box-shadow:0 0 8px rgba(74,222,128,.8);
}

.v-chat-body{
  flex:1;overflow-y:auto;
  padding:22px;
  display:flex;flex-direction:column;gap:14px;
  scrollbar-width:thin;
  scrollbar-color:rgba(220,180,90,.3) transparent;
}
.v-chat-body::-webkit-scrollbar{width:5px}
.v-chat-body::-webkit-scrollbar-thumb{
  background:rgba(220,180,90,.3);border-radius:10px;
}

.v-msg{
  max-width:86%;
  padding:13px 17px;
  font-size:14px;line-height:1.62;font-weight:300;
  border-radius:var(--r-md);
  animation:v-msg-in .45s var(--ease-out) both;
  word-wrap:break-word;
  white-space:pre-wrap;
}
@keyframes v-msg-in{
  from{opacity:0;transform:translateY(9px)}
  to{opacity:1;transform:translateY(0)}
}
.v-msg-bot{
  align-self:flex-start;
  background:rgba(245,234,211,.06);
  border:1px solid var(--line-dark);
  color:rgba(245,234,211,.92);
  border-bottom-left-radius:4px;
}
.v-msg-user{
  align-self:flex-end;
  background:var(--gold-bright);color:var(--burgundy-deep);
  font-weight:400;
  border-bottom-right-radius:4px;
}
.v-msg strong{color:var(--gold-bright);font-weight:600}
.v-msg-user strong{color:var(--burgundy-deep)}

.v-typing{
  align-self:flex-start;
  display:flex;gap:5px;padding:15px 18px;
  background:rgba(245,234,211,.06);
  border:1px solid var(--line-dark);
  border-radius:var(--r-md);border-bottom-left-radius:4px;
}
.v-typing span{
  width:6px;height:6px;border-radius:50%;background:var(--gold);
  animation:v-bounce 1.3s infinite;
}
.v-typing span:nth-child(2){animation-delay:.16s}
.v-typing span:nth-child(3){animation-delay:.32s}
@keyframes v-bounce{
  0%,60%,100%{opacity:.3;transform:translateY(0)}
  30%{opacity:1;transform:translateY(-4px)}
}

/* starter prompts — an empty chat should invite, not wait */
.v-chat-chips{
  display:flex;flex-wrap:wrap;gap:8px;
  padding:0 22px 16px;
  flex-shrink:0;
}
.v-chip{
  padding:8px 14px;border-radius:999px;
  border:1px solid var(--line-dark);
  font-size:12px;color:rgba(245,234,211,.75);
  transition:border-color .25s, color .25s, background .25s;
}
.v-chip:hover{
  border-color:var(--gold);color:var(--gold-bright);
  background:rgba(220,180,90,.06);
}

.v-chat-foot{
  padding:14px 16px 16px;
  border-top:1px solid var(--line-dark);
  display:flex;gap:10px;align-items:flex-end;
  background:rgba(26,10,14,.45);
  flex-shrink:0;
}
.v-chat-foot textarea{
  flex:1;
  background:transparent;border:none;outline:none;resize:none;
  font-family:var(--f-body);font-size:14px;font-weight:300;
  color:var(--cream);line-height:1.5;
  max-height:96px;padding:8px 2px;
}
.v-chat-foot textarea::placeholder{color:rgba(245,234,211,.34)}
.v-chat-send{
  width:40px;height:40px;border-radius:50%;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  background:var(--gold-bright);color:var(--burgundy-deep);
  transition:transform .3s, opacity .3s;
}
.v-chat-send:hover{transform:scale(1.08)}
.v-chat-send[disabled]{opacity:.35;pointer-events:none}
.v-chat-send svg{width:16px;height:16px}

.v-chat-legal{
  font-size:10.5px;text-align:center;
  color:rgba(245,234,211,.36);
  padding:0 16px 12px;
  line-height:1.5;
  flex-shrink:0;
}


/* ============================================================
   8 · ACCOUNT DASHBOARD
   ============================================================ */
.v-acc{
  min-height:100vh;
  padding:150px 0 110px;
  background:linear-gradient(170deg, var(--ink) 0%, var(--burgundy-deep) 60%, var(--burgundy) 100%);
  position:relative;overflow:hidden;
}
.v-acc::before{
  content:'';position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(circle at 18% 22%, rgba(220,180,90,.13), transparent 48%),
    radial-gradient(circle at 84% 76%, rgba(168,69,90,.34), transparent 52%);
}
.v-acc > .container{position:relative;z-index:2}

.v-acc-head{
  display:flex;justify-content:space-between;align-items:flex-end;
  gap:28px;flex-wrap:wrap;
  padding-bottom:34px;margin-bottom:52px;
  border-bottom:1px solid var(--line-dark);
}
.v-acc-head h1{
  font-family:var(--f-display);font-weight:300;
  font-size:clamp(38px,6vw,64px);line-height:1;
  letter-spacing:-.02em;color:var(--cream);
}
.v-acc-head h1 em{font-style:italic;color:var(--gold);font-weight:400}
.v-acc-mail{
  font-size:13px;color:rgba(245,234,211,.55);
  margin-top:12px;letter-spacing:.03em;
}

.v-acc-section-label{
  font-family:var(--f-body);font-size:10px;font-weight:600;
  letter-spacing:.34em;text-transform:uppercase;
  color:var(--gold);margin-bottom:26px;
  display:flex;align-items:center;gap:14px;
}
.v-acc-section-label::after{
  content:'';flex:1;height:1px;background:var(--line-dark);
}

.v-proj-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
  gap:22px;margin-bottom:70px;
}
.v-proj{
  background:rgba(26,10,14,.46);
  border:1px solid var(--line-dark);
  border-radius:var(--r-md);
  padding:30px 28px;
  transition:border-color .4s var(--ease-out), transform .4s var(--ease-out);
  position:relative;overflow:hidden;
}
.v-proj:hover{border-color:var(--line-gold);transform:translateY(-3px)}
.v-proj::before{
  content:'';position:absolute;top:0;left:0;width:100%;height:1px;
  background:linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity:0;transition:opacity .4s;
}
.v-proj:hover::before{opacity:1}

.v-proj-top{
  display:flex;justify-content:space-between;align-items:flex-start;
  gap:14px;margin-bottom:18px;
}
.v-proj h3{
  font-family:var(--f-display);font-weight:400;font-size:24px;
  line-height:1.2;color:var(--cream);letter-spacing:.01em;
}
.v-proj-desc{
  font-size:13.5px;line-height:1.7;font-weight:300;
  color:rgba(245,234,211,.62);
  margin-bottom:22px;
}
.v-proj-meta{
  display:flex;gap:26px;flex-wrap:wrap;
  padding-top:18px;border-top:1px solid var(--line-dark);
}
.v-proj-meta div{display:flex;flex-direction:column;gap:5px}
.v-proj-meta .k{
  font-size:9.5px;letter-spacing:.26em;text-transform:uppercase;
  color:rgba(245,234,211,.42);font-weight:500;
}
.v-proj-meta .v{font-size:13.5px;color:var(--cream);font-weight:400}

.v-tag{
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 13px;border-radius:999px;
  font-size:10px;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;
  white-space:nowrap;flex-shrink:0;
}
.v-tag::before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}
.v-tag-active{background:rgba(74,222,128,.12);color:#6EE7A0;border:1px solid rgba(74,222,128,.3)}
.v-tag-done  {background:rgba(220,180,90,.12);color:var(--gold-bright);border:1px solid var(--line-gold)}
.v-tag-hold  {background:rgba(245,234,211,.07);color:rgba(245,234,211,.7);border:1px solid var(--line-dark)}
.v-tag-review{background:rgba(168,69,90,.2);color:#E4879B;border:1px solid rgba(168,69,90,.45)}

/* an empty dashboard is an invitation, not a dead end */
.v-empty{
  text-align:center;padding:76px 30px;
  border:1px dashed rgba(220,180,90,.3);
  border-radius:var(--r-md);
  background:rgba(26,10,14,.3);
  margin-bottom:70px;
}
.v-empty-mark{
  width:60px;height:60px;margin:0 auto 24px;
  border-radius:50%;border:1px solid var(--line-gold);
  display:flex;align-items:center;justify-content:center;
  color:var(--gold);
}
.v-empty-mark svg{width:24px;height:24px}
.v-empty h3{
  font-family:var(--f-display);font-weight:300;font-size:30px;
  color:var(--cream);margin-bottom:12px;
}
.v-empty h3 em{font-style:italic;color:var(--gold)}
.v-empty p{
  font-size:14px;line-height:1.7;color:rgba(245,234,211,.6);
  max-width:400px;margin:0 auto 30px;
}

.v-contact-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:18px;
}
.v-contact-card{
  display:flex;align-items:center;gap:16px;
  padding:24px 26px;
  background:rgba(26,10,14,.46);
  border:1px solid var(--line-dark);
  border-radius:var(--r-md);
  transition:border-color .35s, transform .35s var(--ease-out);
}
.v-contact-card:hover{border-color:var(--line-gold);transform:translateY(-2px)}
.v-contact-card .ic{
  width:42px;height:42px;border-radius:50%;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--line-gold);color:var(--gold-bright);
}
.v-contact-card .ic svg{width:17px;height:17px}
.v-contact-card .k{
  font-size:9.5px;letter-spacing:.26em;text-transform:uppercase;
  color:var(--gold);margin-bottom:5px;font-weight:600;
}
.v-contact-card .v{font-size:14px;color:var(--cream);word-break:break-word}

.v-acc-gate{
  max-width:470px;margin:60px auto;text-align:center;
}
.v-acc-loading{
  display:flex;flex-direction:column;align-items:center;gap:20px;
  padding:100px 0;color:rgba(245,234,211,.5);font-size:13px;
  letter-spacing:.16em;text-transform:uppercase;
}
.v-acc-loading .v-spin{
  width:26px;height:26px;border-width:2px;
  border-color:rgba(245,234,211,.18);border-top-color:var(--gold);
}

.v-signout{
  font-size:11px;letter-spacing:.2em;text-transform:uppercase;
  color:rgba(245,234,211,.5);
  display:inline-flex;align-items:center;gap:8px;
  transition:color .3s;
}
.v-signout:hover{color:var(--gold-bright)}
.v-signout svg{width:13px;height:13px}


/* ============================================================
   9 · NAV ADDITION — "Account" link
   ============================================================ */
.v-nav-acc{
  display:inline-flex;align-items:center;gap:7px;
  padding:10px 16px;border-radius:999px;
  border:1px solid var(--line-dark);
  font-size:11px;font-weight:500;
  letter-spacing:.12em;text-transform:uppercase;
  color:rgba(245,234,211,.78);
  transition:border-color .3s, color .3s;
  white-space:nowrap;
}
.v-nav-acc:hover{border-color:var(--gold);color:var(--gold-bright)}
.v-nav-acc svg{width:13px;height:13px}
@media (max-width:1024px){.v-nav-acc{display:none}}

.mobile-drawer .v-nav-acc{
  font-family:var(--f-display);font-size:26px;
  text-transform:none;letter-spacing:.03em;
  border:none;padding:0;color:var(--cream);
}


/* ============================================================
   10 · RESPONSIVE
   ============================================================ */
@media (max-width:760px){
  .v-modal{padding:0;align-items:flex-end}
  .v-modal-card{
    max-width:none;border-radius:var(--r-lg) var(--r-lg) 0 0;
    padding:40px 26px 32px;
    border-left:none;border-right:none;border-bottom:none;
    max-height:94vh;overflow-y:auto;
  }
  .v-modal.open .v-modal-card{transform:none}
  .v-modal-card{transform:translateY(40px)}
  .v-field-split{grid-template-columns:1fr;gap:0}

  .v-chat{
    right:0;bottom:0;left:0;
    width:100%;max-width:none;
    height:88vh;
    border-radius:var(--r-lg) var(--r-lg) 0 0;
    border-left:none;border-right:none;border-bottom:none;
  }
  .v-chat-launcher{right:18px;bottom:18px;width:54px;height:54px}
  .v-chat-launcher svg{width:21px;height:21px}

  .v-acc{padding:120px 0 80px}
  .v-acc-head{margin-bottom:40px}
  .v-proj-grid{grid-template-columns:1fr;gap:16px}
  .v-toast{bottom:88px;font-size:12px;padding:13px 20px}
}


/* ============================================================
   11 · MOTION PREFERENCE
   styles.css already zeroes durations globally; this stops the
   looping ambient animations outright.
   ============================================================ */
@media (prefers-reduced-motion:reduce){
  .v-success-mark::after,
  .v-chat-pip::after,
  .v-typing span{animation:none}
  .v-chat-launcher{opacity:1;transform:none}
}


/* ============================================================
   12 · NAV — Sign Up / Login
   Real markup in every page, so they work without JavaScript.
   ============================================================ */
.v-nav-login,
.v-nav-signup{
  display:inline-flex;align-items:center;gap:7px;
  font-family:var(--f-body);font-size:11px;font-weight:500;
  letter-spacing:.12em;text-transform:uppercase;
  white-space:nowrap;
  transition:border-color .3s, color .3s, background .3s;
}
.v-nav-login{
  padding:10px 16px;border-radius:999px;
  border:1px solid var(--line-dark);
  color:rgba(245,234,211,.78);
}
.v-nav-login:hover{border-color:var(--gold);color:var(--gold-bright)}
.v-nav-login svg{width:13px;height:13px}

.v-nav-signup{color:rgba(245,234,211,.78)}
.v-nav-signup:hover{color:var(--gold-bright)}

@media (max-width:1024px){
  .nav-links .v-nav-login,
  .nav-links .v-nav-signup{display:none}
}
.mobile-drawer .v-nav-login,
.mobile-drawer .v-nav-signup{
  font-family:var(--f-display);font-size:26px;
  text-transform:none;letter-spacing:.03em;
  border:none;padding:0;color:var(--cream);
}


/* ============================================================
   13 · AUTH PAGES  (/login, /signup, /reset-password)
   ============================================================ */
.v-auth{
  min-height:100vh;
  display:flex;align-items:center;justify-content:center;
  padding:130px 24px 70px;
  background:linear-gradient(165deg, var(--ink) 0%, var(--burgundy-deep) 55%, var(--burgundy) 100%);
  position:relative;overflow:hidden;
}
.v-auth::before{
  content:'';position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(circle at 20% 24%, rgba(220,180,90,.14), transparent 48%),
    radial-gradient(circle at 82% 78%, rgba(168,69,90,.36), transparent 52%);
}
.v-auth-card{
  position:relative;z-index:2;
  width:100%;max-width:470px;
  background:rgba(26,10,14,.62);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border:1px solid var(--line-gold);
  border-radius:var(--r-md);
  padding:48px 44px 40px;
  box-shadow:0 40px 90px -20px rgba(0,0,0,.65);
}
.v-auth-card::before{
  content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);
  width:55%;height:1px;
  background:linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}
.v-auth-card h1{
  font-family:var(--f-display);font-weight:300;
  font-size:clamp(30px,4.4vw,40px);line-height:1.06;
  letter-spacing:-.015em;color:var(--cream);
  margin-bottom:12px;
}
.v-auth-card h1 em{font-style:italic;color:var(--gold);font-weight:400}

.v-auth-brand{
  display:flex;align-items:center;justify-content:center;
  gap:10px;margin-bottom:34px;
}
.v-auth-brand .m{
  width:38px;height:38px;border-radius:50%;
  border:1px solid var(--line-gold);
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
}
.v-auth-brand .m img{width:100%;height:100%;object-fit:cover}
.v-auth-brand .t{
  font-family:var(--f-display);font-size:19px;
  letter-spacing:.18em;color:var(--cream);
}

.v-auth-step{display:none}
.v-auth-step.on{display:block;animation:v-step-in .45s var(--ease-out) both}
@keyframes v-step-in{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}

.v-oauth{
  width:100%;
  display:flex;align-items:center;justify-content:center;gap:11px;
  padding:14px 22px;border-radius:999px;
  border:1px solid rgba(245,234,211,.26);
  background:rgba(245,234,211,.04);
  color:var(--cream);
  font-family:var(--f-body);font-size:13px;font-weight:500;
  letter-spacing:.03em;
  transition:border-color .3s, background .3s, transform .3s var(--ease-out);
  margin-bottom:24px;
}
.v-oauth:hover{
  border-color:var(--gold);background:rgba(220,180,90,.07);
  transform:translateY(-1px);
}
.v-oauth svg{width:17px;height:17px;flex-shrink:0}

.v-or{
  display:flex;align-items:center;gap:16px;
  margin-bottom:26px;
  font-size:10px;letter-spacing:.26em;text-transform:uppercase;
  color:rgba(245,234,211,.38);
}
.v-or::before,.v-or::after{
  content:'';flex:1;height:1px;background:var(--line-dark);
}

.v-auth-foot{
  margin-top:26px;padding-top:22px;
  border-top:1px solid var(--line-dark);
  font-size:13px;color:rgba(245,234,211,.6);
  text-align:center;
}
.v-auth-foot a{
  color:var(--gold-bright);font-weight:500;
  border-bottom:1px solid rgba(241,206,124,.4);
}
.v-auth-mini{
  display:block;text-align:right;margin-top:-12px;margin-bottom:22px;
  font-size:12px;color:rgba(245,234,211,.55);
}
.v-auth-mini:hover{color:var(--gold-bright)}

/* the 6-digit code box */
.v-code-input{
  text-align:center;
  font-family:var(--f-display) !important;
  font-size:34px !important;
  letter-spacing:.42em !important;
  padding:14px 0 !important;
  text-indent:.42em;   /* re-centres text that letter-spacing pushes left */
}
.v-code-sent{
  font-size:13.5px;line-height:1.7;
  color:rgba(245,234,211,.66);
  margin-bottom:30px;
}
.v-code-sent strong{color:var(--cream);font-weight:500}
.v-resend{
  display:block;text-align:center;margin-top:18px;
  font-size:12.5px;color:rgba(245,234,211,.55);
}
.v-resend:hover{color:var(--gold-bright)}

.v-back{
  display:inline-flex;align-items:center;gap:7px;
  font-size:11px;letter-spacing:.16em;text-transform:uppercase;
  color:rgba(245,234,211,.5);margin-bottom:22px;
  transition:color .3s;
}
.v-back:hover{color:var(--gold-bright)}
.v-back svg{width:12px;height:12px}

@media (max-width:560px){
  .v-auth{padding:110px 16px 50px;align-items:flex-start}
  .v-auth-card{padding:38px 26px 32px;border-radius:var(--r-md)}
  .v-code-input{font-size:28px !important;letter-spacing:.3em !important;text-indent:.3em}
}


/* ============================================================
   14 · MOBILE NAV — auth sits in the top bar

   Sign Up and Login used to be buried in the hamburger drawer
   alongside the page links, which made the drawer feel like a
   junk drawer. On mobile they now sit in the bar itself, next
   to the logo. Desktop is untouched — the nav-links versions
   still handle it there.
   ============================================================ */
.nav-auth{ display:none; }

@media (max-width:1024px){
  .nav-auth{
    display:flex;
    align-items:center;
    gap:8px;
    margin-left:auto;
    margin-right:12px;
  }

  /* Login — quiet, outlined */
  .nav-auth-in{
    display:inline-flex;align-items:center;gap:6px;
    height:36px;padding:0 14px;
    border:1px solid var(--line-dark);
    border-radius:999px;
    font-family:var(--f-body);
    font-size:10.5px;font-weight:500;
    letter-spacing:.13em;text-transform:uppercase;
    color:rgba(245,234,211,.8);
    white-space:nowrap;
    transition:border-color .3s,color .3s;
  }
  .nav-auth-in:hover,.nav-auth-in:active{
    border-color:var(--gold);color:var(--gold-bright);
  }
  .nav-auth-in svg{width:13px;height:13px;flex-shrink:0}

  /* Sign Up — the one that leads */
  .nav-auth-up{
    display:inline-flex;align-items:center;
    height:36px;padding:0 16px;
    border-radius:999px;
    border:1px solid transparent;
    background:linear-gradient(135deg,var(--gold) 0%,var(--gold-bright) 100%);
    color:var(--burgundy-deep);
    font-family:var(--f-body);
    font-size:10.5px;font-weight:700;
    letter-spacing:.13em;text-transform:uppercase;
    white-space:nowrap;
    box-shadow:0 4px 16px -6px rgba(220,180,90,.55);
    transition:transform .25s var(--ease-out),box-shadow .3s,filter .3s;
  }
  .nav-auth-up:hover,.nav-auth-up:active{
    filter:brightness(1.08);
    box-shadow:0 6px 22px -6px rgba(220,180,90,.7);
  }
  .nav-auth-up:active{ transform:scale(.96); }

  /* signed in: one pill instead of two */
  .nav-auth.is-in .nav-auth-in{ display:none; }
  .nav-auth.is-in .nav-auth-up{
    background:transparent;
    border-color:var(--line-gold);
    color:var(--gold-bright);
    box-shadow:none;
    font-weight:500;
    gap:6px;
  }

  /* the "Start a Project" pill is already in the drawer */
  .nav-in .nav-cta{ display:none; }
}

/* Narrow phones — trim to essentials rather than let it wrap */
@media (max-width:400px){
  .nav-auth{ gap:6px;margin-right:9px; }
  .nav-auth-in{ padding:0 11px;height:34px; }
  .nav-auth-in span{ display:none; }        /* icon only */
  .nav-auth-in svg{ width:15px;height:15px; }
  .nav-auth-up{ padding:0 13px;height:34px;font-size:10px;letter-spacing:.1em; }
  .brand-tag{ display:none; }
}

@media (max-width:340px){
  .nav-auth-up{ padding:0 11px;letter-spacing:.06em; }
}


/* ============================================================
   15 · JOIN THE LIST — Updates page
   ============================================================ */
.v-sub{
  position:relative;
  max-width:820px;margin:0 auto;
  padding:56px 54px 50px;
  border:1px solid var(--line-gold);
  border-radius:var(--r-lg);
  background:
    linear-gradient(160deg,rgba(138,42,62,.16) 0%,rgba(20,10,14,.5) 60%),
    rgba(28,16,21,.6);
  backdrop-filter:blur(10px);
  overflow:hidden;
}
.v-sub-glow{
  position:absolute;top:-160px;left:50%;
  width:460px;height:340px;margin-left:-230px;
  background:radial-gradient(ellipse at center,rgba(220,180,90,.16),transparent 68%);
  pointer-events:none;
}
.v-sub-head{position:relative;text-align:center;margin-bottom:40px}
.v-sub-head h2{
  font-family:var(--f-display);
  font-size:clamp(34px,4.6vw,54px);
  font-weight:300;line-height:1.08;letter-spacing:-.02em;
  color:var(--cream);margin:14px 0 16px;
}
.v-sub-head h2 em{font-style:italic;color:var(--gold-bright);font-weight:400}
.v-sub-head p{
  font-size:15px;line-height:1.75;font-weight:300;
  color:rgba(245,234,211,.68);
  max-width:520px;margin:0 auto;
}

.v-sub-form{position:relative}
.v-sub-row{
  display:grid;grid-template-columns:1fr 1fr;
  gap:20px;margin-bottom:20px;
}
.v-sub-field{position:relative}
.v-sub-field label{
  display:block;
  font-size:10.5px;letter-spacing:.15em;text-transform:uppercase;
  color:var(--gold);margin-bottom:9px;
}
.v-sub-field label .opt{
  color:rgba(245,234,211,.32);letter-spacing:.08em;
  text-transform:none;font-size:10px;margin-left:5px;
}
.v-sub-field input,
.v-sub-field select{
  width:100%;height:50px;
  padding:0 16px;
  background:rgba(245,234,211,.04);
  border:1px solid var(--line-dark);
  border-radius:12px;
  color:var(--cream);
  font-family:var(--f-body);font-size:14px;
  transition:border-color .3s,background .3s;
}
.v-sub-field input:focus,
.v-sub-field select:focus{
  outline:none;border-color:var(--gold);
  background:rgba(245,234,211,.06);
}
.v-sub-field input::placeholder{color:rgba(245,234,211,.3)}
.v-sub-field select{cursor:pointer;appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23DCB45A' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat:no-repeat;background-position:right 14px center;
  padding-right:42px;
}
.v-sub-field select option{background:#1a0f14;color:var(--cream)}

/* error state */
.v-sub-err{
  display:none;
  font-size:11.5px;color:#E26B6B;
  margin-top:7px;
}
.v-sub-field.bad input,
.v-sub-field.bad .v-sub-phone{border-color:rgba(226,107,107,.6)}
.v-sub-field.bad .v-sub-err{display:block}

/* ---- international phone ---- */
.v-sub-phone{
  display:flex;align-items:stretch;
  height:50px;
  border:1px solid var(--line-dark);
  border-radius:12px;
  background:rgba(245,234,211,.04);
  overflow:hidden;
  transition:border-color .3s;
}
.v-sub-phone:focus-within{border-color:var(--gold)}
.v-sub-dial{
  position:relative;
  display:flex;align-items:center;gap:6px;
  padding:0 11px 0 14px;
  border-right:1px solid var(--line-dark);
  background:rgba(245,234,211,.03);
  cursor:pointer;flex-shrink:0;
}
.v-sub-dial .flag{font-size:16px;line-height:1}
.v-sub-dial .code{
  font-size:13px;color:var(--cream);
  letter-spacing:.02em;white-space:nowrap;
}
.v-sub-dial svg{width:13px;height:13px;color:var(--gold);flex-shrink:0}
.v-sub-dial select{
  position:absolute;inset:0;
  width:100%;height:100%;
  opacity:0;cursor:pointer;
  border:none;background:none;
  font-size:16px;   /* stops iOS zooming on tap */
}
.v-sub-phone input{
  flex:1;min-width:0;height:100%;
  border:none;background:none;border-radius:0;
  padding:0 16px;
}
.v-sub-phone input:focus{background:none}

.v-sub-error{
  margin:0 0 18px;padding:12px 16px;
  border:1px solid rgba(226,107,107,.4);
  border-radius:10px;
  background:rgba(226,107,107,.07);
  color:#F09B9B;font-size:13px;line-height:1.6;
}

.v-sub-foot{
  display:flex;align-items:center;gap:22px;
  flex-wrap:wrap;margin-top:6px;
}
.v-sub-note{
  font-size:12px;color:rgba(245,234,211,.4);
  line-height:1.6;flex:1;min-width:180px;
}

/* ---- after they sign up ---- */
.v-sub-done{text-align:center;padding:22px 0 8px;animation:v-sub-in .5s var(--ease-out) both}
@keyframes v-sub-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.v-sub-tick{
  display:inline-grid;place-items:center;
  width:62px;height:62px;border-radius:50%;
  border:1px solid var(--line-gold);
  background:rgba(220,180,90,.1);
  color:var(--gold-bright);
  margin-bottom:22px;
}
.v-sub-tick svg{width:26px;height:26px}
.v-sub-done h3{
  font-family:var(--f-display);
  font-size:clamp(26px,3.4vw,38px);
  font-weight:300;color:var(--cream);
  margin:0 0 14px;letter-spacing:-.01em;
}
.v-sub-done h3 em{font-style:italic;color:var(--gold-bright);font-weight:400}
.v-sub-done p{
  font-size:14.5px;line-height:1.75;font-weight:300;
  color:rgba(245,234,211,.66);
  max-width:430px;margin:0 auto 28px;
}

@media (max-width:760px){
  .v-sub{padding:40px 24px 36px;border-radius:var(--r-md)}
  .v-sub-row{grid-template-columns:1fr;gap:18px;margin-bottom:18px}
  .v-sub-head{margin-bottom:30px}
  .v-sub-foot{gap:16px}
  .v-sub-foot .btn{width:100%;justify-content:center}
  .v-sub-note{text-align:center;min-width:0}
  /* 16px stops iOS zooming the page on focus */
  .v-sub-field input,.v-sub-field select,.v-sub-phone input{font-size:16px}
}


/* ---- the discount code, shown on screen after signing up ---- */
.v-sub-code{
  display:inline-flex;flex-direction:column;align-items:center;gap:8px;
  padding:20px 34px;margin:0 auto 24px;
  border:1px dashed var(--line-gold);
  border-radius:14px;
  background:rgba(220,180,90,.07);
}
.v-sub-code .k{
  font-family:'Courier New',Courier,monospace;
  font-size:26px;font-weight:700;letter-spacing:.14em;
  color:var(--gold-bright);
  user-select:all;                 /* one tap selects the whole code */
}
.v-sub-code .l{
  font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;
  color:rgba(245,234,211,.5);
}
@media (max-width:760px){
  .v-sub-code{padding:18px 24px;width:100%}
  .v-sub-code .k{font-size:22px;letter-spacing:.1em}
}


/* ============================================================
   16 · CLIENT PORTAL — homepage
   ============================================================ */
.portal-grid{
  display:grid;grid-template-columns:1.15fr .85fr;
  gap:70px;align-items:center;
}
.portal-text h2{
  font-family:var(--f-display);
  font-size:clamp(32px,4.2vw,52px);
  font-weight:300;line-height:1.12;letter-spacing:-.02em;
  color:var(--cream);margin:18px 0 24px;
}
.portal-text h2 em{font-style:italic;color:var(--gold-bright);font-weight:400}
.portal-text p{
  font-size:15.5px;line-height:1.85;font-weight:300;
  color:rgba(245,234,211,.72);margin:0 0 18px;
}
.portal-note{
  font-size:13.5px !important;
  color:rgba(245,234,211,.5) !important;
  padding-left:16px;
  border-left:1px solid var(--line-gold);
}
.portal-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:32px}

.portal-list{display:flex;flex-direction:column;gap:14px}
.portal-item{
  display:flex;align-items:flex-start;gap:16px;
  padding:22px 24px;
  border:1px solid var(--line-dark);
  border-radius:var(--r-md);
  background:rgba(245,234,211,.03);
  transition:border-color .35s var(--ease-out),transform .35s var(--ease-out);
}
.portal-item:hover{border-color:var(--line-gold);transform:translateX(5px)}
.portal-item svg{width:22px;height:22px;color:var(--gold);flex-shrink:0;margin-top:2px}
.portal-item b{
  display:block;font-size:14.5px;font-weight:500;
  color:var(--cream);margin-bottom:5px;letter-spacing:.01em;
}
.portal-item span{
  display:block;font-size:13px;line-height:1.6;
  color:rgba(245,234,211,.52);font-weight:300;
}

@media (max-width:980px){
  .portal-grid{grid-template-columns:1fr;gap:44px}
}
@media (max-width:620px){
  .portal-actions .btn{width:100%;justify-content:center}
  .portal-item{padding:18px 18px;gap:13px}
}
