/* Prestige Worldwide — base + homepage styles (ported from the redesign). */
/* Layout: black ground lit by two gold glows; content sits on frosted glass panes in a 1180px column. The 7512 lifecycle (Create → Arrive → Export) is the spine of the page. */
:root {
  --ink: #070605;          /* page ground */
  --ink-2: #0f0d0a;        /* deeper wells */
  --gold: #c89d52;         /* brand gold, from the current site */
  --gold-hi: #ecd29a;      /* highlight gold for type on glass */
  --bone: #f2ede4;         /* primary text */
  --smoke: #a39b8d;        /* secondary text, warm grey */
  --glass: rgba(255, 244, 222, 0.045);
  --glass-hi: rgba(255, 244, 222, 0.085);
  --edge: rgba(200, 157, 82, 0.26);
  --edge-soft: rgba(242, 237, 228, 0.09);
  --ok: #8fc79a;
  --warn: #e6b45c;
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --r: 22px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--bone);
  font: 400 1rem/1.6 var(--f-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30;
  background: var(--ink);
}
/* ambient light */
.aura { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.aura i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.aura i:nth-child(1) { width: 52vmax; height: 52vmax; left: -14vmax; top: -18vmax; background: radial-gradient(circle, rgba(200,157,82,.55), transparent 65%); animation: drift 26s ease-in-out infinite alternate; }
.aura i:nth-child(2) { width: 44vmax; height: 44vmax; right: -16vmax; top: 38vh; background: radial-gradient(circle, rgba(160,110,40,.45), transparent 65%); animation: drift 32s ease-in-out infinite alternate-reverse; }
.aura::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--edge-soft) 1px, transparent 1px), linear-gradient(90deg, var(--edge-soft) 1px, transparent 1px);
  background-size: 72px 72px; opacity: .35;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, transparent 70%);
}
@keyframes drift { to { transform: translate(6vmax, 4vmax) scale(1.08); } }

.wrap {
  position: relative; z-index: 1; max-width: 1180px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.glass {
  background: linear-gradient(155deg, var(--glass-hi), var(--glass) 55%);
  border: 1px solid var(--edge-soft);
  border-radius: var(--r);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 30px 60px -30px rgba(0,0,0,.8);
}
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.eyebrow {
  font: 500 .74rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
h1, h2, h3 { font-family: var(--f-display); font-stretch: 125%; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.08; font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
.lede { color: var(--smoke); font-size: 1.08rem; max-width: 60ch; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em; text-decoration: none; cursor: pointer;
  font: 600 .95rem/1 var(--f-body); padding: .95em 1.4em; border-radius: 999px; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #1a1206; box-shadow: 0 10px 30px -10px rgba(200,157,82,.7), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 16px 38px -12px rgba(200,157,82,.9), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-ghost { background: var(--glass); border-color: var(--edge); color: var(--bone); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-ghost:hover { background: var(--glass-hi); }
.btn svg { width: 1em; height: 1em; }

/* nav */
header.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; padding-block: 14px; }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 20px; border-radius: 999px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: auto; height: 28px; flex: none; filter: drop-shadow(0 0 10px rgba(200,157,82,.35)); }
.foot-logo { display: block; }
.foot-logo img { width: 200px; height: auto; display: block; }
.brand-name { font: 800 .9rem/1 var(--f-display); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; }
.brand-name small { display: block; font: 500 .62rem/1 var(--f-mono); letter-spacing: .3em; color: var(--gold); margin-top: 5px; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: .88rem; white-space: nowrap; color: var(--smoke); padding: .55em .75em; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--bone); background: var(--glass-hi); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-cta .login { text-decoration: none; font-size: .9rem; color: var(--bone); padding: .55em .9em; }
.nav-cta .btn { padding: .75em 1.15em; font-size: .88rem; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--edge); background: var(--glass); color: var(--gold-hi); cursor: pointer; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .bars { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }
.mobile-menu { margin-top: 10px; padding: 10px; border-radius: 20px; display: grid; gap: 2px; animation: drop .25s ease both; }
.mobile-menu a { text-decoration: none; padding: 14px 16px; border-radius: 12px; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; }
.mobile-menu a:hover { background: var(--glass-hi); }
.mobile-menu a::after { content: "\2192"; color: var(--gold); }
.mobile-menu .login-m { border-top: 1px solid var(--edge-soft); margin-top: 6px; padding-top: 16px; color: var(--gold-hi); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 1140px) { .nav-links { display: none; } .menu-btn { display: grid; } }
@media (min-width: 1141px) { .mobile-menu { display: none !important; } }
@media (max-width: 520px) { .nav-cta .login { display: none; } .brand-name small { display: none; } .nav-bar { padding-left: 14px; } }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 56px 72px; }
.hero > * { min-width: 0; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: .98; font-weight: 800; margin-top: 22px; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--gold-hi) 10%, var(--gold) 60%, #9c7433); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.steps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; list-style: none; padding: 0; }
.steps li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--smoke); }
.steps b { font: 600 .78rem/1 var(--f-mono); color: var(--gold-hi); width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--edge); border-radius: 50%; background: var(--glass); }
.steps li + li::before { content: ""; width: 18px; height: 1px; background: var(--edge); margin-right: 2px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-block: 32px 56px; gap: 36px; } }

/* hero card: sample in-bond */
.bond { padding: 26px; position: relative; overflow: hidden; }
.bond::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(236,210,154,.7), transparent 35%, transparent 70%, rgba(200,157,82,.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.bond-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tag { font: 500 .68rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); }
.bond-id { font: 500 1.05rem/1.2 var(--f-mono); margin-top: 8px; color: var(--bone); word-break: break-all; }
.pill { font: 500 .7rem/1 var(--f-mono); letter-spacing: .08em; padding: .55em .8em; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.pill-type { color: var(--gold-hi); border-color: var(--edge); background: rgba(200,157,82,.1); }
.bond-mid { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin-top: 24px; }
.clock { position: relative; width: 132px; height: 132px; }
.clock svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.clock .track { stroke: var(--edge-soft); }
.clock .arc { stroke: url(#goldArc); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 135.7; animation: sweep 1.6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes sweep { from { stroke-dashoffset: 339.3; } }
.clock-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.clock-txt strong { font: 800 2.1rem/1 var(--f-display); font-stretch: 112%; }
.clock-txt span { font: 500 .62rem/1.3 var(--f-mono); letter-spacing: .12em; color: var(--smoke); text-transform: uppercase; margin-top: 4px; }
.route { display: grid; gap: 10px; font-size: .88rem; min-width: 0; }
.route div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--edge-soft); padding-bottom: 8px; }
.route dt, .route .k { color: var(--smoke); }
.route .v { font-family: var(--f-mono); text-align: right; }
.life { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.life li { padding: 12px; border-radius: 14px; border: 1px solid var(--edge-soft); background: rgba(0,0,0,.25); font-size: .8rem; }
.life li b { display: block; font: 600 .9rem/1.2 var(--f-body); margin-top: 6px; }
.life .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.life .done .dot { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.life .now { border-color: var(--edge); background: rgba(200,157,82,.08); }
.life .now .dot { background: var(--warn); animation: pulse 1.8s ease-in-out infinite; }
.life .next .dot { background: transparent; border: 1px solid var(--smoke); }
.life small { color: var(--smoke); font-family: var(--f-mono); font-size: .7rem; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(230,180,92,0); } 0% { box-shadow: 0 0 0 0 rgba(230,180,92,.6); } }
.sample-note { margin-top: 14px; font: 400 .7rem/1.4 var(--f-mono); color: var(--smoke); opacity: .8; }
@media (max-width: 440px) { .bond-mid { grid-template-columns: 1fr; justify-items: center; } .route { width: 100%; } .life { grid-template-columns: 1fr; } }

/* sections */
section { padding-block: 72px; }
.sec-head { display: grid; gap: 16px; margin-bottom: 40px; max-width: 760px; }

/* filing types */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.type { padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s ease, border-color .25s ease; min-width: 0; }
.type:hover { transform: translateY(-4px); border-color: var(--edge); }
.type-code { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.type-code strong { font: 800 2.6rem/1 var(--f-display); font-stretch: 125%; color: var(--gold-hi); }
.type-code span { font: 500 .72rem/1 var(--f-mono); letter-spacing: .12em; color: var(--smoke); text-transform: uppercase; }
.type h3 { font-size: 1.25rem; }
.type .tagline { color: var(--gold); font-weight: 600; font-size: .95rem; }
.type p { color: var(--smoke); font-size: .95rem; }
.type ul { margin: auto 0 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--edge-soft); display: grid; gap: 10px; font-size: .9rem; }
.type li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; }
.type li::before { content: ""; width: 8px; height: 8px; margin-top: .55em; border: 1px solid var(--gold); transform: rotate(45deg); }
.type li b { color: var(--bone); font-weight: 600; }
@media (max-width: 900px) { .types { grid-template-columns: 1fr; } }

/* lifecycle + pricing */
.cycle { padding: 36px; display: grid; gap: 32px; }
.cycle-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.stage { padding: 0 24px; position: relative; display: grid; gap: 10px; align-content: start; }
.stage + .stage { border-left: 1px solid var(--edge-soft); }
.stage .when { font: 500 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--smoke); }
.stage .price { font: 800 3.2rem/1 var(--f-display); font-stretch: 112%; color: var(--bone); }
.stage .price sup { font-size: .45em; color: var(--gold); vertical-align: .9em; margin-right: 2px; }
.stage .price small { font: 500 .8rem/1 var(--f-mono); color: var(--smoke); margin-left: 6px; letter-spacing: .04em; }
.stage h3 { font-size: 1.05rem; }
.stage p { color: var(--smoke); font-size: .92rem; }
.cycle-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 26px; border-top: 1px solid var(--edge-soft); }
.cycle-foot p { color: var(--smoke); max-width: 60ch; }
.cycle-foot strong { color: var(--bone); }
@media (max-width: 820px) {
  .cycle { padding: 26px; }
  .cycle-row { grid-template-columns: 1fr; gap: 26px; }
  .stage { padding: 0; }
  .stage + .stage { border-left: 0; border-top: 1px solid var(--edge-soft); padding-top: 26px; }
}

/* compliance */
.comply { display: grid; grid-template-columns: .95fr 1.05fr; gap: 24px; align-items: start; }
.comply > * { min-width: 0; }
.comply .sec-head { margin-bottom: 0; }
.quote { font: 700 clamp(1.4rem, 2.6vw, 1.9rem)/1.2 var(--f-display); font-stretch: 112%; margin-top: 28px; padding-left: 18px; border-left: 2px solid var(--gold); text-wrap: balance; }
.quote span { display: block; font: 400 1rem/1.6 var(--f-body); color: var(--smoke); margin-top: 12px; }
.risks { padding: 30px; display: grid; gap: 4px; }
.risks .k { font: 500 .72rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--warn); margin-bottom: 12px; }
.risk { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--edge-soft); }
.risk:first-of-type { border-top: 0; }
.risk .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(230,180,92,.08); border: 1px solid rgba(230,180,92,.25); color: var(--warn); }
.risk .ic svg { width: 20px; height: 20px; }
.risk h3 { font-size: 1rem; font-stretch: 112%; }
.risk p { color: var(--smoke); font-size: .92rem; margin-top: 4px; }
.windows { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.windows span { font: 500 .78rem/1 var(--f-mono); padding: .7em 1em; border-radius: 999px; border: 1px solid var(--edge); background: var(--glass); }
.windows b { color: var(--gold-hi); font-weight: 500; }
@media (max-width: 900px) { .comply { grid-template-columns: 1fr; } }

/* command center */
.cc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { padding: 26px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.feat .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--gold-hi); background: rgba(200,157,82,.1); border: 1px solid var(--edge); }
.feat .ic svg { width: 20px; height: 20px; }
.feat p { color: var(--smoke); font-size: .94rem; }
.feat.wide { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
.feat.wide h3 { font-size: 1.3rem; }
.feat .btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .cc { grid-template-columns: 1fr; } .feat.wide { grid-template-columns: 1fr; } }

/* about */
.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.about > * { min-width: 0; }
.about-q { display: grid; gap: 0; }
.about-q article { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--edge-soft); }
.about-q h3 { font: 500 .78rem/1.5 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.about-q p { color: var(--smoke); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 560px) { .about-q article { grid-template-columns: 1fr; gap: 8px; } }

/* contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; padding: 36px; }
.contact > * { min-width: 0; }
.contact .lede { margin-top: 14px; }
.quick { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 8px; }
.quick a { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--edge-soft); background: rgba(0,0,0,.2); transition: border-color .2s, background .2s; }
.quick a:hover { border-color: var(--edge); background: var(--glass); }
.quick span { font-size: .78rem; color: var(--smoke); font-family: var(--f-mono); }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
label { font: 500 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--smoke); }
input, select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--bone);
  background: rgba(0,0,0,.35); border: 1px solid var(--edge-soft); border-radius: 12px; padding: .85em 1em;
  transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200,157,82,.15); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-msg { font-size: .9rem; color: var(--ok); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; padding: 24px; } }
@media (max-width: 520px) { form { grid-template-columns: 1fr; } }

/* footer */
footer { padding-block: 40px 56px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-top: 28px; border-top: 1px solid var(--edge-soft); }
.foot-cols { display: flex; flex-wrap: wrap; gap: 48px; }
.foot h4 { font: 500 .72rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
.foot ul a { text-decoration: none; color: var(--smoke); }
.foot ul a:hover { color: var(--bone); }
.fine { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--smoke); font-size: .8rem; }

/* SEO additions: H1 kicker, FAQ, knowledge base, type page links */
.type-link { display: inline-flex; gap: .4em; align-items: center; color: var(--gold-hi); font-weight: 600; font-size: .92rem; text-decoration: none; padding-top: 4px; }
.type-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero h1 .h1-kicker { display: flex; font-stretch: 100%; margin-bottom: 22px; }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.faq-wrap > * { min-width: 0; }
.faq-wrap .sec-head { margin-bottom: 0; }
.faq { display: grid; gap: 10px; }
.faq details { padding: 0; border-radius: 16px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font: 600 1rem/1.35 var(--f-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--f-body); color: var(--gold); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { border-color: var(--edge); }
.faq details p { padding: 0 20px 18px; color: var(--smoke); max-width: 64ch; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post { padding: 24px; display: grid; gap: 12px; align-content: start; text-decoration: none; transition: transform .25s ease, border-color .25s ease; min-width: 0; }
.post:hover { transform: translateY(-3px); border-color: var(--edge); }
.post .k { font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.post h3 { font-size: 1.05rem; line-height: 1.3; }
.post span:last-child { color: var(--gold-hi); font-size: .88rem; font-weight: 600; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 24px; } .posts { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Contact form spam trap: hidden from people, visible to bots. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Skip link and footer headings (inner pages). */
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--gold); color: #1a1206; font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.foot .foot-h { font: 500 .72rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }

/* Standalone site basics (the artifact preview used to provide these). */
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; }
.btn { white-space: nowrap; }
body { margin: 0; }
@media (max-width: 430px) {
  .brand { gap: 8px; }
  .brand-mark { height: 22px; }
  .brand-name { font-size: .66rem; letter-spacing: .06em; }
  .nav-bar { padding-left: 12px; gap: 8px; }
  .nav-cta .btn { padding: .65em .85em; font-size: .8rem; }
  .menu-btn { width: 40px; height: 40px; }
}

#pwb-chat { --pc-ink: #070605; --pc-gold: #c89d52; --pc-gold-hi: #ecd29a; --pc-bone: #f2ede4; --pc-smoke: #a39b8d;
  --pc-edge: rgba(200,157,82,.26); --pc-edge-soft: rgba(242,237,228,.09); --pc-ok: #8fc79a; --pc-warn: #e6b45c; --pc-bad: #e58a7a;
  --pc-display: "Archivo", "Helvetica Neue", Arial, sans-serif; --pc-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif; --pc-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font: 400 15px/1.5 var(--pc-body); color: var(--pc-bone); }
#pwb-chat *, #pwb-chat *::before, #pwb-chat *::after { box-sizing: border-box; }
#pwb-chat [hidden] { display: none !important; }
#pwb-chat button, #pwb-chat input { font: inherit; }
#pwb-chat :focus-visible { outline: 2px solid var(--pc-gold-hi); outline-offset: 2px; }
.pwc-glass { background: linear-gradient(155deg, rgba(255,244,222,.085), rgba(255,244,222,.045) 55%); border: 1px solid var(--pc-edge-soft);
  backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 24px 50px -24px rgba(0,0,0,.85); }
.pwc-launch { position: fixed; z-index: 2147483000; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 12px; }
.pwc-teaser { padding: 12px 34px 12px 16px; border-radius: 16px 16px 4px 16px; font-size: .88rem; max-width: 230px; line-height: 1.4; position: relative; background-color: rgba(12,10,7,.75); }
.pwc-teaser b { color: var(--pc-gold-hi); font-weight: 600; }
.pwc-teaser-x { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: transparent; color: var(--pc-smoke); cursor: pointer; line-height: 1; }
.pwc-fab { position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; flex: none; display: grid; place-items: center; color: #1a1206;
  background: linear-gradient(180deg, var(--pc-gold-hi), var(--pc-gold)); box-shadow: 0 14px 34px -10px rgba(200,157,82,.8), inset 0 1px 0 rgba(255,255,255,.5); transition: transform .2s ease; }
.pwc-fab:hover { transform: translateY(-2px) scale(1.03); }
.pwc-fab svg { width: 26px; height: 26px; }
.pwc-badge { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--pc-bad); color: #1a0d0a; font: 600 11px/20px var(--pc-mono); text-align: center; }
.pwc-panel { position: fixed; z-index: 2147483001; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: min(390px, calc(100vw - 32px)); height: min(620px, calc(100dvh - 40px)); margin: 0; padding: 0; border-radius: 20px; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(160deg, rgba(40,32,20,.8), rgba(10,9,7,.9)); border-color: var(--pc-edge); animation: pwc-rise .28s cubic-bezier(.2,.7,.2,1) both; }
@keyframes pwc-rise { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.pwc-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; border-bottom: 1px solid var(--pc-edge-soft); }
.pwc-avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; background: rgba(0,0,0,.5); border: 1px solid var(--pc-edge); }
.pwc-avatar img { width: 26px; height: auto; }
.pwc-title { flex: 1; min-width: 0; }
.pwc-title strong { display: block; font: 700 .95rem/1.2 var(--pc-display); font-stretch: 112%; }
.pwc-title span { font-size: .76rem; color: var(--pc-smoke); display: flex; align-items: center; gap: 6px; }
.pwc-title span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pc-ok); box-shadow: 0 0 8px var(--pc-ok); flex: none; }
.pwc-title span.pwc-wait::before { background: var(--pc-warn); box-shadow: 0 0 8px var(--pc-warn); }
.pwc-title span.pwc-off::before { background: var(--pc-smoke); box-shadow: none; }
.pwc-x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--pc-edge-soft); background: transparent; color: var(--pc-smoke); cursor: pointer; display: grid; place-items: center; }
.pwc-x:hover { color: var(--pc-bone); background: rgba(255,244,222,.085); }
.pwc-x svg { width: 16px; height: 16px; }
.pwc-log { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.pwc-msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-wrap; }
.pwc-msg b { color: var(--pc-gold-hi); font-weight: 600; }
.pwc-msg a { color: var(--pc-gold-hi); }
.pwc-msg.pwc-bot { align-self: flex-start; background: rgba(255,244,222,.07); border: 1px solid var(--pc-edge-soft); border-bottom-left-radius: 4px; }
.pwc-msg.pwc-staff { align-self: flex-start; background: rgba(143,199,154,.08); border: 1px solid rgba(143,199,154,.3); border-bottom-left-radius: 4px; }
.pwc-msg.pwc-staff .pwc-who { display: block; font: 500 .68rem/1 var(--pc-mono); letter-spacing: .06em; color: var(--pc-ok); margin-bottom: 6px; }
.pwc-msg.pwc-visitor { align-self: flex-end; background: linear-gradient(180deg, rgba(236,210,154,.95), rgba(200,157,82,.95)); color: #1a1206; border-bottom-right-radius: 4px; }
.pwc-msg.pwc-visitor b, .pwc-msg.pwc-visitor a { color: inherit; }
.pwc-msg.pwc-pending { opacity: .6; }
.pwc-msg.pwc-system { align-self: center; max-width: 92%; background: transparent; color: var(--pc-smoke); font-size: .8rem; text-align: center; padding: 2px 8px; }
.pwc-msg.pwc-error { align-self: center; color: var(--pc-bad); font-size: .82rem; text-align: center; background: rgba(229,138,122,.06); border: 1px solid rgba(229,138,122,.3); }
.pwc-typing { display: inline-flex; gap: 4px; padding: 14px; align-self: flex-start; border-radius: 16px; background: rgba(255,244,222,.07); border: 1px solid var(--pc-edge-soft); }
.pwc-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--pc-gold); animation: pwc-blink 1.2s infinite; }
.pwc-typing i:nth-child(2) { animation-delay: .15s; } .pwc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes pwc-blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.pwc-card { align-self: stretch; padding: 14px; border-radius: 14px; border: 1px solid var(--pc-edge); background: rgba(200,157,82,.07); display: grid; gap: 8px; }
.pwc-card p { margin: 0; font-size: .85rem; }
.pwc-card input { width: 100%; min-width: 0; color: var(--pc-bone); background: rgba(0,0,0,.35); border: 1px solid var(--pc-edge-soft); border-radius: 10px; padding: .6em .8em; font-size: .88rem; }
.pwc-card input:focus { outline: none; border-color: var(--pc-gold); }
.pwc-card .pwc-row { display: flex; gap: 8px; }
.pwc-btn { border: 0; cursor: pointer; border-radius: 999px; padding: .6em 1em; font-weight: 600; font-size: .82rem; color: #1a1206; background: linear-gradient(180deg, var(--pc-gold-hi), var(--pc-gold)); }
.pwc-btn-ghost { background: transparent; color: var(--pc-smoke); border: 1px solid var(--pc-edge-soft); }
.pwc-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.pwc-chips button { font: 500 .8rem/1 var(--pc-body); color: var(--pc-gold-hi); background: rgba(200,157,82,.08); border: 1px solid var(--pc-edge); border-radius: 999px; padding: .6em .9em; cursor: pointer; }
.pwc-chips button:hover { background: rgba(200,157,82,.18); }
.pwc-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--pc-edge-soft); }
.pwc-form input { flex: 1; min-width: 0; color: var(--pc-bone); background: rgba(0,0,0,.35); border: 1px solid var(--pc-edge-soft); border-radius: 999px; padding: .8em 1.1em; font-size: .92rem; }
.pwc-form input:focus { outline: none; border-color: var(--pc-gold); box-shadow: 0 0 0 3px rgba(200,157,82,.15); }
.pwc-send { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #1a1206; background: linear-gradient(180deg, var(--pc-gold-hi), var(--pc-gold)); }
.pwc-send:disabled { opacity: .5; cursor: default; }
.pwc-send svg { width: 18px; height: 18px; }
.pwc-foot { font: 400 .66rem/1.4 var(--pc-mono); color: var(--pc-smoke); text-align: center; padding: 0 12px 10px; letter-spacing: .04em; }
@media (max-width: 520px) {
  .pwc-teaser { display: none; }
  .pwc-panel { right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: calc(100vw - 24px); height: calc(100dvh - 24px - env(safe-area-inset-top, 0px)); }
}
@media (prefers-reduced-motion: reduce) { #pwb-chat * { animation: none !important; transition: none !important; } }
