:root {
  --bg: #f4ece0;
  --bg-deep: #ede2d2;
  --ink: #2a1f18;
  --muted: #766555;
  --clay: #b4552e;
  --clay-dark: #8c3f20;
  --clay-soft: #f2e2d3;
  --gold: #c98f3f;
  --gold-soft: #f4e7cf;
  --sage: #7f9a5f;
  --dark: #241812;
  --dark-2: #33241b;
  --card: #fffaf3;
  --line: #e6d9c6;
  --radius: 22px;
  --shadow-lg: 0 26px 64px -20px rgba(42, 26, 16, 0.30);
  --shadow-sm: 0 2px 12px rgba(42, 26, 16, 0.07);
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--clay); }
a:hover { color: var(--clay-dark); }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section-tag { scroll-margin-top: 80px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Placeholder (striped) ---------- */
.ph {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(45deg, #ece0cd, #ece0cd 11px, #e4d6bf 11px, #e4d6bf 22px);
  display: grid; place-items: center;
  color: #937f64; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
  text-align: center; padding: 14px;
}
.ph.dark {
  background: repeating-linear-gradient(45deg, #2e2117, #2e2117 11px, #362719 11px, #362719 22px);
  color: #b39c7f;
}

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 236, 224, 0.82);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 23px; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.logo-dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--clay);
  display: grid; place-items: center; color: #fffaf3; font-size: 16px; font-weight: 600;
  font-family: var(--font-display);
}
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-link { font-size: 14.5px; font-weight: 600; color: var(--muted); text-decoration: none; }
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--clay-dark); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; cursor: pointer;
  background: var(--clay); color: #fff;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 13px 24px; border-radius: 999px;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 8px 20px -8px rgba(180, 85, 46, 0.55);
}
.btn:hover { background: var(--clay-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(140, 63, 32, 0.6); }
.btn.small { padding: 10px 18px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--clay-dark); border: 1.5px solid #dcc7ad; box-shadow: none; }
.btn.ghost:hover { background: var(--clay-soft); border-color: var(--clay); transform: translateY(-2px); }
.btn.on-dark { background: #f4ece0; color: var(--clay-dark); box-shadow: none; }
.btn.on-dark:hover { background: #fffaf3; color: var(--clay-dark); }

/* ---------- Personal hero ---------- */
.p-hero { padding: 72px 0 64px; position: relative; overflow: clip; }
.p-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(680px 380px at 80% 4%, rgba(201, 143, 63, 0.16), transparent 62%),
    radial-gradient(520px 340px at 6% 60%, rgba(180, 85, 46, 0.08), transparent 60%);
}
.p-hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--clay-dark);
  background: var(--clay-soft); border: 1px solid #e6cdb4;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 24px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.p-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 62px); line-height: 1.04; letter-spacing: -0.02em;
  margin: 0 0 22px; font-weight: 500; text-wrap: balance;
}
.p-hero h1 .hl { font-style: italic; font-weight: 500; color: var(--clay); position: relative; white-space: nowrap; }
.p-hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='8' viewBox='0 0 120 8'%3E%3Cpath d='M2 5 C 30 1, 90 1, 118 4' stroke='%23c98f3f' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  opacity: .85;
}
.p-hero .lead { font-size: 19px; color: var(--muted); margin: 0 0 30px; max-width: 540px; text-wrap: pretty; }
.p-hero .lead strong { color: var(--ink); font-weight: 600; }
.p-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.p-meta { display: flex; gap: 8px 26px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.p-meta span { display: flex; align-items: center; gap: 8px; }
.p-meta .mi { color: var(--clay); font-weight: 800; }

.portrait-wrap { position: relative; }
.portrait {
  aspect-ratio: 4 / 5; width: 100%; max-width: 380px; margin: 0 auto;
  border-radius: 26px; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.portrait-badge {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%);
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-sm); padding: 10px 16px; display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
}
.portrait-badge .pb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }

/* ---------- Interior page hero ---------- */
.page-hero { padding: 54px 0 8px; position: relative; overflow: clip; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(620px 320px at 82% 0%, rgba(201, 143, 63, 0.14), transparent 64%);
}
.page-hero .wrap { position: relative; }
.back-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; margin-bottom: 20px;
}
.back-link:hover { color: var(--clay-dark); }
.back-link svg { width: 15px; height: 15px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 16px; font-weight: 500; text-wrap: balance; max-width: 760px;
}
.page-hero h1 .hl { font-style: italic; color: var(--clay); }
.page-hero .lead { font-size: 18.5px; color: var(--muted); margin: 0; max-width: 620px; text-wrap: pretty; }
.page-hero .lead strong { color: var(--ink); font-weight: 600; }

/* ---------- Section framing ---------- */
.band { padding: 30px 0; }
.band-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.band-head.left { margin-left: 0; text-align: left; }
.kicker {
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 12px; display: inline-flex; align-items: center; gap: 8px;
}
.kicker .kdot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.band-head h2, .lead-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -0.02em; line-height: 1.07;
  margin: 0 0 14px; font-weight: 500; text-wrap: balance;
}
.band-head p { color: var(--muted); font-size: 17.5px; margin: 0; text-wrap: pretty; }

.section-divider { border: none; border-top: 1px solid var(--line); margin: 20px 0; }

/* ---------- Landing hub cards ---------- */
.hub { padding: 26px 0 20px; }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.hub-card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; text-decoration: none; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hub-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #dcc7ad; color: var(--ink); }
.hub-ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  font-size: 25px; background: var(--clay-soft); border: 1px solid #e6cdb4;
}
.hub-card h3 { font-family: var(--font-display); margin: 2px 0 0; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.hub-card p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; text-wrap: pretty; }
.hub-tag {
  align-self: flex-start; font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em;
  text-transform: uppercase; color: var(--sage); display: inline-flex; align-items: center; gap: 7px;
}
.hub-tag .ht-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 0 rgba(127,154,95,.7); animation: pulse 2s infinite; }
.hub-go { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14.5px; color: var(--clay-dark); }
.hub-go svg { width: 16px; height: 16px; transition: transform .2s ease; }
.hub-card:hover .hub-go svg { transform: translateX(4px); }

/* ---------- Leadly feature ---------- */
.leadly-intro {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end;
  margin-bottom: 44px;
}
.leadly-intro .li-copy { max-width: 620px; }
.leadly-intro h2 {
  font-family: var(--font-display); font-size: clamp(30px, 4.2vw, 46px);
  letter-spacing: -0.02em; line-height: 1.06; margin: 0 0 14px; font-weight: 500; text-wrap: balance;
}
.leadly-intro .li-lead { color: var(--muted); font-size: 18px; margin: 0; max-width: 560px; text-wrap: pretty; }
.leadly-intro .li-lead strong { color: var(--ink); font-weight: 600; }
.li-badge {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-sm);
}
.li-badge .lb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 0 rgba(127,154,95,.7); animation: pulse 2s infinite; }

/* ---------- Chat spotlight ---------- */
.spotlight {
  position: relative;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center;
}
.spot-notes { display: flex; flex-direction: column; gap: 16px; }
.spot-notes.left { align-items: flex-end; text-align: right; }
.spot-notes.right { align-items: flex-start; text-align: left; }
.spot-note {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 15px 17px; max-width: 232px; box-shadow: var(--shadow-sm);
}
.spot-note .sn-ico { font-size: 20px; margin-bottom: 7px; display: block; }
.spot-note .sn-title { font-weight: 700; font-size: 14.5px; margin-bottom: 3px; }
.spot-note .sn-desc { font-size: 13px; color: var(--muted); line-height: 1.45; }
.demo-col { display: flex; flex-direction: column; align-items: center; position: relative; }
.demo-glow {
  position: absolute; inset: 6% 2%; border-radius: 44px; pointer-events: none;
  background: linear-gradient(160deg, rgba(180,85,46,.20), rgba(201,143,63,.20));
  filter: blur(38px); z-index: 0;
}
#chat-widget {
  position: relative; z-index: 1;
  width: 100%; max-width: 396px; height: 604px;
  background: var(--card); border-radius: 26px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(42, 26, 16, .09);
  display: flex; flex-direction: column; overflow: hidden;
}
#chat-header {
  background: var(--dark); color: #fff; padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
}
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: #f4ece0;
  display: grid; place-items: center; font-size: 20px; flex: 0 0 auto;
}
#chat-header .title { font-weight: 600; font-size: 16px; font-family: var(--font-display); letter-spacing: -0.01em; }
#chat-header .status { font-weight: 500; font-size: 12px; color: #c4b39c; display: flex; align-items: center; gap: 6px; margin-top: 1px; }
#chat-header .demo-tag {
  margin-left: auto; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #c4b39c; border: 1px solid rgba(196,179,156,.35); padding: 4px 9px; border-radius: 999px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 0 rgba(127,154,95,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(127,154,95,.55)} 70%{box-shadow:0 0 0 8px rgba(127,154,95,0)} 100%{box-shadow:0 0 0 0 rgba(127,154,95,0)} }
#chat-messages {
  flex: 1; padding: 18px 16px 10px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--bg-deep); text-align: left;
}
.msg {
  max-width: 82%; padding: 11px 15px; border-radius: 18px;
  font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word;
  animation: msg-in .35s cubic-bezier(.21,1.02,.55,1) both;
}
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.msg.bot { background: var(--card); align-self: flex-start; border-bottom-left-radius: 6px; box-shadow: var(--shadow-sm); }
.msg.user { background: var(--clay); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.msg.system { align-self: center; background: var(--gold-soft); border: 1px solid #e7cf9f; color: #85610f; font-size: 13px; text-align: center; box-shadow: none; border-radius: 12px; max-width: 92%; }
.typing { display: flex; gap: 5px; align-items: center; padding: 14px 16px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #b6a690; animation: blink 1.2s infinite; }
.typing span:nth-child(2){ animation-delay: .2s } .typing span:nth-child(3){ animation-delay: .4s }
@keyframes blink { 0%,60%,100%{opacity:.3} 30%{opacity:1} }
.suggest { display: flex; flex-wrap: wrap; gap: 7px; padding: 8px 16px 12px; background: var(--bg-deep); }
.suggest:empty { padding: 0; }
.chip {
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  background: var(--card); border: 1px solid #e0d2bd; color: var(--clay-dark);
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.chip:hover { background: var(--clay-soft); border-color: var(--clay); transform: translateY(-1px); }
#chat-input-row { display: flex; align-items: center; padding: 12px 14px; gap: 10px; border-top: 1px solid var(--line); background: var(--card); }
#chat-input {
  flex: 1; border: 1.5px solid var(--line); background: var(--bg);
  border-radius: 999px; padding: 12px 18px; font-size: 15px; outline: none;
  font-family: var(--font-body); color: var(--ink);
  transition: border-color .15s, background .15s;
}
#chat-input:focus { border-color: var(--clay); background: #fff; }
#chat-input::placeholder { color: #a89881; }
#chat-send {
  width: 46px; height: 46px; flex: 0 0 auto;
  background: var(--clay); color: #fff; border: none; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  transition: background .15s, transform .15s;
}
#chat-send:hover { background: var(--clay-dark); transform: scale(1.06); }
#chat-send:disabled { opacity: .45; cursor: default; transform: none; }
#chat-send svg { width: 19px; height: 19px; }
.demo-note {
  position: relative; z-index: 1;
  margin: 16px 0 0; font-size: 13.5px; color: var(--muted); text-align: center; max-width: 380px; text-wrap: pretty;
}

/* ---------- Steps ---------- */
.step-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step .num {
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  color: var(--clay-dark); background: var(--clay-soft);
  width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 20px;
}
.step h3 { font-family: var(--font-display); margin: 0 0 8px; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; text-wrap: pretty; }

/* ---------- Deliverables (pedidos / stock / reservas) ---------- */
.lead-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: center; margin-top: 60px; }
.lead-grid.flip > :first-child { order: 2; }
.lead-copy p { color: var(--muted); font-size: 17.5px; margin: 0 0 26px; max-width: 460px; text-wrap: pretty; }
.lead-points { display: flex; flex-direction: column; gap: 13px; margin: 0; padding: 0; list-style: none; }
.lead-points li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; color: var(--ink); }
.check {
  width: 17px; height: 17px; border-radius: 50%; background: var(--clay-soft);
  color: var(--clay-dark); font-weight: 800; font-size: 10.5px;
  display: grid; place-items: center; flex: 0 0 auto;
}
.lead-points .check { margin-top: 3px; }

/* Generic device/panel card (used by pedidos, stock, reservas mockups) */
.order-card, .panel-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden; max-width: 460px; margin: 0 auto;
}
.order-card .oc-head, .panel-card .pc-head {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--bg);
}
.oc-head .oc-dot, .pc-head .pc-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sage); }
.oc-head .oc-title, .pc-head .pc-title { font-weight: 700; font-size: 14px; }
.oc-head .oc-time { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.pc-head .pc-badge {
  margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--clay-dark);
  background: var(--clay-soft); padding: 4px 11px; border-radius: 999px;
}
.order-card dl { margin: 0; padding: 20px 22px; display: grid; grid-template-columns: auto 1fr; gap: 13px 18px; }
.order-card dt { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.order-card dd { margin: 0; font-size: 15px; font-weight: 500; }
.order-card dd small { display: block; color: var(--muted); font-weight: 400; font-size: 13.5px; }
.oc-status {
  display: inline-flex; align-items: center; gap: 6px;
  background: #eaf0df; color: #55702f;
  font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
}
.order-card .oc-foot { padding: 0 22px 20px; }

/* Stock table mockup */
.stock-table { width: 100%; border-collapse: collapse; }
.stock-table th {
  text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); padding: 15px 22px 9px;
}
.stock-table th:last-child, .stock-table td:last-child { text-align: right; }
.stock-table td { padding: 12px 22px; font-size: 14.5px; border-top: 1px solid var(--line); }
.stock-table td .prod { font-weight: 600; }
.stock-table td small { display: block; color: var(--muted); font-size: 13px; }
.stk { display: inline-flex; align-items: center; font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.stk.ok { background: #eaf0df; color: #55702f; }
.stk.low { background: var(--gold-soft); color: #85610f; }
.stk.out { background: #f6e0d8; color: var(--clay-dark); }

/* Reservas slots mockup */
.slot-list { list-style: none; margin: 0; padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.slot { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); font-size: 14.5px; }
.slot-time { font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--ink); }
.slot-state { margin-left: auto; font-size: 13.5px; font-weight: 600; }
.slot.free { background: #fbfdf7; border-color: #dfe8cf; }
.slot.free .slot-state { color: #55702f; }
.slot.booked { background: var(--bg); }
.slot.booked .slot-state { color: var(--muted); }
.slot.blocked {
  background: repeating-linear-gradient(45deg, #f1e7d7, #f1e7d7 8px, #ece0cd 8px, #ece0cd 16px);
}
.slot.blocked .slot-time { color: var(--muted); }
.slot.blocked .slot-state { color: #9a856c; }

/* ---------- Audience (Leadly) ---------- */
.audience-box {
  background: linear-gradient(150deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff; border-radius: 30px; padding: 60px 44px; text-align: center;
  position: relative; overflow: clip; margin-top: 64px;
}
.audience-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(560px 300px at 50% -10%, rgba(201,143,63,.20), transparent 70%);
}
.audience-box h2 {
  position: relative; font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 42px); margin: 0 0 14px; letter-spacing: -0.02em; line-height: 1.1;
  font-weight: 500; text-wrap: balance;
}
.audience-box > p { position: relative; margin: 0 auto 30px; max-width: 560px; font-size: 17.5px; color: #cbb99f; text-wrap: pretty; }
.tags { position: relative; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag {
  background: rgba(244,236,224,.07); border: 1px solid rgba(244,236,224,.18);
  padding: 9px 17px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #ece1d2;
}
.audience-box .btn { position: relative; margin-top: 34px; }

/* ---------- Portfolio ---------- */
.portfolio { padding: 40px 0 20px; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.work {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.work:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work .thumb { aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); }
.work .w-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.w-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.w-cat {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--clay-dark); background: var(--clay-soft); padding: 4px 10px; border-radius: 999px;
}
.w-num { font-family: var(--font-mono); font-size: 12px; color: #a8967c; }
.work h3 { font-family: var(--font-display); margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.work p { margin: 0; color: var(--muted); font-size: 14.5px; text-wrap: pretty; }
.w-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 8px; }
.w-status {
  font-family: var(--font-mono); font-size: 11.5px; color: #a8967c;
  display: inline-flex; align-items: center; gap: 7px;
}
.w-status .ws-dot { width: 7px; height: 7px; border-radius: 50%; background: #d9c7a8; }
.portfolio-note {
  margin-top: 30px; text-align: center; font-size: 14px; color: var(--muted);
  font-family: var(--font-mono); letter-spacing: .02em;
}

/* ---------- About ---------- */
.about { padding: 44px 0; }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.about-photo { aspect-ratio: 1/1; width: 100%; max-width: 340px; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.about-copy h2 {
  font-family: var(--font-display); font-size: clamp(28px, 3.8vw, 40px);
  letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 16px; font-weight: 500; text-wrap: balance;
}
.about-copy p { color: var(--muted); font-size: 16.5px; margin: 0 0 16px; max-width: 560px; text-wrap: pretty; }
.about-copy p strong { color: var(--ink); font-weight: 600; }
.skills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.skill {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; font-size: 13.5px; font-weight: 600; color: var(--ink);
}

/* ---------- Contact ---------- */
.contact { padding: 30px 0 60px; }
.contact-box {
  background: linear-gradient(150deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff; border-radius: 30px; padding: 62px 44px; text-align: center;
  position: relative; overflow: clip;
}
.contact-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(560px 300px at 50% -10%, rgba(180,85,46,.22), transparent 70%);
}
.contact-box .kicker { color: var(--gold); justify-content: center; }
.contact-box h2 {
  position: relative; font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 44px); margin: 0 0 14px; letter-spacing: -0.02em; line-height: 1.1;
  font-weight: 500; text-wrap: balance;
}
.contact-box > p { position: relative; margin: 0 auto 30px; max-width: 520px; font-size: 17.5px; color: #cbb99f; text-wrap: pretty; }
.contact-actions { position: relative; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn.line-dark { background: transparent; color: #f4ece0; border: 1.5px solid rgba(244,236,224,.3); box-shadow: none; }
.btn.line-dark:hover { background: rgba(244,236,224,.08); color: #fff; border-color: rgba(244,236,224,.5); }

/* ---------- Privacy ---------- */
.privacy { padding: 8px 0 64px; }
.privacy-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 42px 46px; max-width: 840px; margin: 0 auto; box-shadow: var(--shadow-sm);
}
.privacy-card > .kicker { margin-bottom: 6px; }
.privacy-updated { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); margin: 0 0 26px; }
.privacy-card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; margin: 28px 0 8px; }
.privacy-card p { color: var(--muted); font-size: 15.5px; margin: 0 0 12px; text-wrap: pretty; }
.privacy-card ul { margin: 0 0 12px; padding-left: 20px; color: var(--muted); font-size: 15.5px; }
.privacy-card ul li { margin-bottom: 6px; }
.privacy-card strong { color: var(--ink); font-weight: 600; }
.privacy-card a { font-weight: 600; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 30px 0 36px; margin-top: 20px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.foot .brand { font-size: 19px; }
.foot .logo-dot { width: 25px; height: 25px; font-size: 13px; }
.foot-links { display: flex; gap: 18px; }
.foot-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .p-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .portrait-wrap { order: -1; }
  .hub-grid { grid-template-columns: 1fr; }
  .spotlight { grid-template-columns: 1fr; gap: 20px; }
  .spot-notes { flex-direction: row; flex-wrap: wrap; justify-content: center; order: 3; }
  .spot-notes.left, .spot-notes.right { align-items: stretch; text-align: left; }
  .spot-note { max-width: 260px; }
  .demo-col { order: 1; }
  .leadly-intro { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-photo { max-width: 300px; }
}
@media (max-width: 880px) {
  .p-hero { padding: 48px 0 52px; }
  .step-cards { grid-template-columns: 1fr; margin-top: 44px; }
  .lead-grid { grid-template-columns: 1fr; gap: 40px; }
  .lead-grid.flip > :first-child { order: 0; }
  #chat-widget { height: 560px; }
  .audience-box, .contact-box { padding: 46px 24px; }
  .work-grid { grid-template-columns: 1fr; }
  .nav-link { display: none; }
  .privacy-card { padding: 32px 26px; }
}

/* ---------- ASCII hero decoration ---------- */
.ascii-hero {
  aspect-ratio: 4 / 5; width: 100%; max-width: 380px; margin: 0 auto;
  border-radius: 26px; border: 1px solid #3a2a1e; box-shadow: var(--shadow-lg);
  background: radial-gradient(125% 90% at 28% 8%, #2d1e14, #1e0f08 72%);
  overflow: hidden; position: relative; display: grid; place-items: center;
}
.ascii-hero pre {
  margin: 0; font-family: var(--font-mono); font-weight: 600;
  font-size: clamp(7px, 1.9vw, 11px); line-height: 1.02; letter-spacing: 1.5px;
  white-space: pre; user-select: none; pointer-events: none;
  background: linear-gradient(155deg, #edb45f, #c98f3f 44%, #b4552e 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ascii-hero .ah-tag {
  position: absolute; left: 16px; bottom: 13px; z-index: 2;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: #e8cfa6; opacity: .82;
}
.ascii-hero .ah-tag::before { content: "◆ "; color: var(--clay); }

/* ---------- Photos ---------- */
img.portrait, img.about-photo { object-fit: cover; display: block; background: var(--bg-deep); }

/* ---------- Project thumbnails ---------- */
.thumb.viz { padding: 0; background: #f6efe2; }
.thumb.viz svg { display: block; width: 100%; height: 100%; }

/* ---------- Contact email ---------- */
.contact-email {
  position: relative; z-index: 1; margin: 22px auto 0;
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
  background: rgba(244, 236, 224, .07); border: 1px solid rgba(244, 236, 224, .2);
  padding: 11px 12px 11px 20px; border-radius: 999px;
}
.contact-email .ce-label { font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: #cbb99f; font-weight: 700; }
.contact-email a { font-family: var(--font-mono); font-size: 15.5px; color: #f4ece0; text-decoration: none; }
.contact-email a:hover { color: #fff; text-decoration: underline; }
.copy-email {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  background: #f4ece0; color: var(--clay-dark); border: none; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 13.5px; padding: 8px 15px;
  transition: background .15s ease, transform .15s ease;
}
.copy-email:hover { background: #fff; transform: translateY(-1px); }
.copy-email.copied { background: #eaf0df; color: #55702f; }
.copy-email svg { width: 15px; height: 15px; }
