/* ==================================================================
   ProBudin.cz — v3
   contemporary · light · restrained
   ================================================================== */

:root {
  /* warm cream palette — light by default */
  --bg:           #faf8f4;
  --bg-elev:      #ffffff;
  --bg-hover:     #f1ede5;

  --ink:          #18171a;
  --ink-2:        #56544f;
  --ink-3:        #908c84;
  --ink-faint:    #c2bdb3;

  --line:         rgba(24, 23, 26, 0.08);
  --line-strong:  rgba(24, 23, 26, 0.18);

  --accent:       #4a7c5a;   /* sage green — calm, modern, signals "live" without screaming */

  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --content-w:    780px;
  --content-px:   2rem;

  --r-sm: 8px;
  --r-md: 12px;
}

*, *::before, *::after { box-sizing: border-box; }

html { color-scheme: light; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "ss03", "cv11";
}

::selection { background: var(--ink); color: var(--bg); }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--content-px);
}

/* ─── navigation ────────────────────────────────────────────────── */
.nav {
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav__links {
  display: flex;
  gap: 1.75rem;
  font-size: 14px;
}
.nav__links a {
  color: var(--ink-2);
  transition: color 160ms ease;
}
.nav__links a:hover { color: var(--ink); }

/* ─── hero ──────────────────────────────────────────────────────── */
.hero {
  padding: 6rem 0 7rem;
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  background: var(--bg-elev);
  border: 0.5px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 3rem;
}
.hero__status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
}
.hero__status .dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.3;
  animation: ping 2.5s ease-out infinite;
}
@keyframes ping {
  0%   { transform: scale(1);   opacity: 0.4; }
  80%, 100% { transform: scale(2); opacity: 0; }
}

.hero__name {
  font-size: clamp(60px, 11vw, 104px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 1.75rem;
  color: var(--ink);
}

.hero__lede {
  font-size: clamp(19px, 2.2vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 560px;
  margin: 0 0 3rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.cta-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 18px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 0.5px solid transparent;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.btn--primary {
  background: var(--ink);
  color: var(--bg);
}
.btn--primary:hover {
  background: var(--ink-2);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: var(--bg-elev);
  border-color: var(--ink);
}
.btn:active { transform: translateY(1px); }
.btn .arrow {
  display: inline-block;
  transition: transform 160ms ease;
}
.btn:hover .arrow { transform: translate(2px, -2px); }

/* ─── section ───────────────────────────────────────────────────── */
.section {
  padding: 2rem 0;
}
.section__label {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 2rem;
  font-weight: 500;
}

/* ─── work list ─────────────────────────────────────────────────── */
.work {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.work-item {
  display: block;
  padding: 1.75rem;
  border-radius: var(--r-md);
  background: transparent;
  border: 0.5px solid var(--line);
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.work-item:hover {
  background: var(--bg-elev);
  border-color: var(--line-strong);
}
.work-item__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 0.65rem;
}
.work-item__title {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.work-item__title .arrow {
  font-size: 16px;
  color: var(--ink-faint);
  transition: transform 220ms ease, color 220ms ease;
}
.work-item:hover .work-item__title .arrow {
  transform: translate(3px, -3px);
  color: var(--ink);
}

.work-item__year {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
  font-feature-settings: "tnum";
}

.work-item__desc {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 1rem;
  max-width: 580px;
}

.work-item__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 12.5px;
  color: var(--ink-3);
}
.work-item__tags { font-family: var(--mono); letter-spacing: -0.01em; }
.work-item__tags span:not(:last-child)::after { content: " · "; }

.work-item__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.work-item__status .dot-sm {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-faint);
}
.work-item__status--live    .dot-sm { background: var(--accent); }
.work-item__status--shipped .dot-sm { background: #c5994a; }
.work-item__status--exp     .dot-sm { background: #8b7ab8; }

/* ─── about ─────────────────────────────────────────────────────── */
.about {
  padding: 3rem 0 1rem;
}
.about p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 1.25rem;
  max-width: 620px;
  letter-spacing: -0.005em;
}
.about p:last-of-type { color: var(--ink-2); }
.about__meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  font-size: 13px;
  color: var(--ink-3);
}
.about__meta span { display: inline-flex; align-items: center; gap: 6px; }
.about__meta a {
  color: var(--ink-2);
  border-bottom: 0.5px solid var(--line-strong);
  padding-bottom: 1px;
  transition: color 160ms ease, border-color 160ms ease;
}
.about__meta a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ─── stack ─────────────────────────────────────────────────────── */
.stack {
  padding: 3rem 0 2rem;
}
.stack__grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.75rem 2.5rem;
}
.stack dt {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  padding-top: 2px;
}
.stack dd {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.6;
}

/* ─── contact ───────────────────────────────────────────────────── */
.contact {
  padding: 6rem 0 5rem;
  text-align: center;
  border-top: 0.5px solid var(--line);
  margin-top: 4rem;
}
.contact h2 {
  font-size: clamp(28px, 4.5vw, 38px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--ink);
}
.contact p {
  font-size: 16px;
  color: var(--ink-2);
  margin: 0 0 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── footer ────────────────────────────────────────────────────── */
.footer {
  padding: 2rem 0 2.5rem;
  border-top: 0.5px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--ink-3);
}
.footer a { color: var(--ink-2); transition: color 160ms ease; }
.footer a:hover { color: var(--ink); }

/* ─── case study page ───────────────────────────────────────────── */
.cs-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-3);
  margin: 1rem 0 4rem;
  transition: color 160ms ease;
}
.cs-back:hover { color: var(--ink); }
.cs-back .arrow { transition: transform 160ms ease; }
.cs-back:hover .arrow { transform: translateX(-3px); }

.cs-header {
  padding-bottom: 3.5rem;
  border-bottom: 0.5px solid var(--line);
  margin-bottom: 3.5rem;
}
.cs-header__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 1.25rem;
}
.cs-header__title {
  font-size: clamp(44px, 8vw, 72px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0 0 1.5rem;
}
.cs-header__summary {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 620px;
  margin: 0 0 2.5rem;
  letter-spacing: -0.01em;
}
.cs-header__meta {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  font-size: 13px;
}
.cs-header__meta div span:first-child {
  display: block;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.cs-header__meta div span:last-child {
  color: var(--ink);
  font-weight: 500;
}

.cs-section { padding: 0 0 3rem; }
.cs-section h2 {
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 500;
  margin: 0 0 1rem;
  letter-spacing: -0.005em;
}
.cs-section p {
  margin: 0 0 1.1rem;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 620px;
}
.cs-section p:last-child { margin-bottom: 0; }
.cs-section ul { margin: 0; padding-left: 1.2rem; max-width: 620px; }
.cs-section li {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.cs-section li::marker { color: var(--ink-faint); }
.cs-section code {
  font-family: var(--mono);
  font-size: 14.5px;
  background: var(--bg-elev);
  border: 0.5px solid var(--line);
  padding: 1px 7px;
  border-radius: 5px;
}

.cs-next {
  padding: 2rem 0;
  border-top: 0.5px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--ink-2);
  flex-wrap: wrap;
  gap: 1rem;
}
.cs-next a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 160ms ease;
}
.cs-next a:hover { color: var(--ink); }
.cs-next .label { color: var(--ink-3); font-size: 12.5px; margin-right: 8px; }

/* ─── reveal ────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  animation: reveal 700ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }
.reveal--1 { animation-delay: 0ms; }
.reveal--2 { animation-delay: 80ms; }
.reveal--3 { animation-delay: 180ms; }
.reveal--4 { animation-delay: 300ms; }
.reveal--5 { animation-delay: 440ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  .hero__status .dot::after { animation: none; }
}

/* ─── responsive ────────────────────────────────────────────────── */
@media (max-width: 640px) {
  :root { --content-px: 1.25rem; }
  .nav { padding: 1.25rem 0; }
  .nav__links { gap: 1rem; font-size: 13px; }
  .hero { padding: 3rem 0 4rem; }
  .work-item { padding: 1.5rem 1.25rem; }
  .work-item__head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .stack__grid { grid-template-columns: 1fr; gap: 0.25rem 0; }
  .stack dt { margin-top: 1rem; }
  .contact { padding: 4rem 0 3rem; }
}


/* ────────────────────────────────────────────────────────────────
   ProBudin brand mark
   ──────────────────────────────────────────────────────────────── */
.nav__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.nav__brand .brand-mark { color: var(--ink); }
.nav__brand .brand-tld {
  color: var(--ink2);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
}

/* Hero with TLD treatment */
.hero__name .hero__tld {
  color: var(--ink2);
  font-weight: 400;
  font-size: 0.55em;
  letter-spacing: -0.01em;
  margin-left: 2px;
  vertical-align: baseline;
}

.hero__kicker {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink2);
  margin: -8px 0 22px 0;
  font-weight: 500;
}


/* ────────────────────────────────────────────────────────────────
   v2 — Audit improvements
   ──────────────────────────────────────────────────────────────── */

/* Hero signals strip — below CTA */
.hero__signals {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.8rem;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink3);
}
.hero__signals .dot-sep { color: var(--faint); }

/* Work item accent — small colored stripe on left edge */
.work-item {
  position: relative;
  padding-left: 1.85rem;
}
.work-item__accent {
  position: absolute;
  left: 0.65rem;
  top: 1.4rem;
  bottom: 1.4rem;
  width: 2px;
  border-radius: 1px;
  background: var(--ink-faint, #c2bdb3);
  transition: background 200ms ease;
}
.work-item__accent[data-kind="live"]     { background: linear-gradient(to bottom, #4a7c5a, #4a7c5a99); }
.work-item__accent[data-kind="shipped"]  { background: linear-gradient(to bottom, #c5994a, #c5994a99); }
.work-item__accent[data-kind="exp"]      { background: linear-gradient(to bottom, #8b7ab8, #8b7ab899); }
.work-item:hover .work-item__accent      { filter: brightness(1.1); }

/* Process section */
.process {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}
.process__step {
  display: flex;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-top: 0.5px solid var(--line);
  align-items: flex-start;
}
.process__step:last-child { border-bottom: 0.5px solid var(--line); }
.process__num {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-faint, #c2bdb3);
  width: 2.2rem;
  flex-shrink: 0;
  padding-top: 4px;
}
.process__title {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.process__desc {
  font-size: 14.5px;
  color: var(--ink-2, #56544f);
  margin: 0;
  line-height: 1.55;
  max-width: 520px;
}

/* Stack — use code styling for inline tech names */
.stack code {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 13.5px;
  background: rgba(24, 23, 26, 0.04);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--ink);
}
.stack dt {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3, #908c84);
  padding-top: 6px;
}

/* Footer — two column */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem 0 2.5rem;
  border-top: 0.5px solid var(--line);
  margin-top: 2rem;
}
.footer__left,
.footer__right {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink3);
}
.footer__brand {
  color: var(--ink2);
}
.footer__updated {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.footer__right a {
  color: var(--ink2);
  border-bottom: 0.5px solid transparent;
  padding-bottom: 1px;
  transition: color 160ms, border-color 160ms;
}
.footer__right a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* Reveal class extras */
.reveal--5 { animation: reveal 700ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards; animation-delay: 580ms; opacity: 0; transform: translateY(8px); }

/* Mobile responsive process */
@media (max-width: 640px) {
  .process__step { gap: 1rem; }
  .process__num { width: 1.8rem; font-size: 10.5px; }
  .work-item { padding-left: 1.5rem; }
  .work-item__accent { left: 0.5rem; }
  .footer { flex-direction: column; align-items: flex-start; }
  .hero__signals { font-size: 11px; }
}


/* ────────────────────────────────────────────────────────────────
   Case study media frames
   ──────────────────────────────────────────────────────────────── */

.cs-media {
  margin: 2.5rem 0;
}

.cs-media__frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 0.5px solid var(--line);
  background: var(--surface, #f3f0e9);
  box-shadow:
    0 1px 2px rgba(24, 23, 26, 0.04),
    0 8px 24px -8px rgba(24, 23, 26, 0.08);
}

.cs-media__frame img,
.cs-media__frame video,
.cs-media__frame iframe {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

/* Browser-like chrome on top for screenshot framing */
.cs-media__frame--browser::before {
  content: "";
  display: block;
  height: 28px;
  background: linear-gradient(to bottom, rgba(24, 23, 26, 0.05), rgba(24, 23, 26, 0.03));
  border-bottom: 0.5px solid var(--line);
  background-image:
    radial-gradient(circle at 14px center, #d96d6d 4px, transparent 4.5px),
    radial-gradient(circle at 30px center, #d9b66d 4px, transparent 4.5px),
    radial-gradient(circle at 46px center, #6dd989 4px, transparent 4.5px);
  background-repeat: no-repeat;
  opacity: 0.55;
}

/* Video wrapper for 16:9 aspect ratio */
.cs-media__video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.cs-media__video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

.cs-media__caption {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink3);
  margin-top: 0.85rem;
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}
.cs-media__caption .label {
  color: var(--live, #c47a3a);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10.5px;
}

@media (max-width: 640px) {
  .cs-media { margin: 2rem -1rem; }
  .cs-media__frame { border-radius: 0; border-left: 0; border-right: 0; }
  .cs-media__caption { padding: 0 1rem; }
}


/* ────────────────────────────────────────────────────────────────
   Command Palette
   ──────────────────────────────────────────────────────────────── */

/* Bottom-pinned hint bar — always visible */
.cmdk-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 16px;
}

.cmdk-trigger {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink, #18171a);
  color: var(--bg, #faf8f4);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 4px 16px -2px rgba(24, 23, 26, 0.18), 0 0 0 0.5px rgba(24, 23, 26, 0.6);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.cmdk-trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -4px rgba(24, 23, 26, 0.24), 0 0 0 0.5px rgba(24, 23, 26, 0.6);
}
.cmdk-trigger .prompt {
  color: var(--live, #c47a3a);
  font-weight: 500;
}
.cmdk-trigger .label {
  opacity: 0.7;
}
.cmdk-trigger .kbd {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(232, 218, 192, 0.1);
  color: rgba(232, 218, 192, 0.7);
  font-size: 10px;
  letter-spacing: 0.06em;
}

/* Overlay */
.cmdk-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(12, 11, 9, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 16px 16px;
}
.cmdk-overlay[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.cmdk-modal {
  width: 100%;
  max-width: 560px;
  background: var(--bg, #faf8f4);
  border-radius: 12px;
  border: 0.5px solid rgba(24, 23, 26, 0.12);
  box-shadow: 0 24px 64px -16px rgba(24, 23, 26, 0.25), 0 0 0 0.5px rgba(24, 23, 26, 0.08);
  overflow: hidden;
  transform: translateY(8px) scale(0.98);
  transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cmdk-overlay[data-open="true"] .cmdk-modal {
  transform: translateY(0) scale(1);
}

/* Input area — terminal prompt style */
.cmdk-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 0.5px solid var(--line);
  font-family: 'Geist Mono', ui-monospace, monospace;
}
.cmdk-input-wrap .prompt {
  color: var(--live, #c47a3a);
  font-size: 14px;
  font-weight: 500;
  user-select: none;
}
.cmdk-input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink, #18171a);
  letter-spacing: -0.01em;
  caret-color: var(--live, #c47a3a);
}
.cmdk-input::placeholder {
  color: rgba(24, 23, 26, 0.32);
}
.cmdk-input-wrap .esc-hint {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink3, #908c84);
  padding: 3px 7px;
  border: 0.5px solid var(--line);
  border-radius: 4px;
  user-select: none;
}

/* Results list */
.cmdk-list {
  max-height: 50vh;
  overflow-y: auto;
  padding: 6px;
}
.cmdk-section {
  padding: 8px 12px 4px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink3, #908c84);
}
.cmdk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink, #18171a);
  transition: background 120ms ease;
}
.cmdk-item:hover,
.cmdk-item[data-active="true"] {
  background: rgba(196, 122, 58, 0.08);
}
.cmdk-item .cmd {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12.5px;
  color: var(--live, #c47a3a);
  min-width: 90px;
}
.cmdk-item .desc {
  color: var(--ink2, #56544f);
  font-size: 13px;
  flex: 1;
}
.cmdk-item .arrow {
  color: var(--ink3, #908c84);
  font-size: 14px;
  opacity: 0;
  transition: opacity 120ms ease, transform 120ms ease;
}
.cmdk-item[data-active="true"] .arrow,
.cmdk-item:hover .arrow {
  opacity: 1;
  transform: translateX(2px);
}

.cmdk-empty {
  padding: 24px 16px;
  text-align: center;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--ink3, #908c84);
}

/* Footer with shortcuts */
.cmdk-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-top: 0.5px solid var(--line);
  background: rgba(24, 23, 26, 0.02);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px;
  color: var(--ink3, #908c84);
  letter-spacing: 0.04em;
}
.cmdk-footer .keys {
  display: flex;
  gap: 14px;
}
.cmdk-footer .key {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cmdk-footer .kbd {
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(24, 23, 26, 0.08);
  font-size: 10px;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .cmdk-bar { padding: 12px; }
  .cmdk-trigger { font-size: 11px; padding: 7px 11px 7px 10px; }
  .cmdk-trigger .kbd { display: none; }
  .cmdk-overlay { padding-top: 8vh; }
  .cmdk-input-wrap .esc-hint { display: none; }
}

/* Hide on print */
@media print {
  .cmdk-bar, .cmdk-overlay { display: none !important; }
}


/* ────────────────────────────────────────────────────────────────
   Cal.com integration tweaks
   ──────────────────────────────────────────────────────────────── */

/* Phone button — keep readable but smaller now that we have 3 CTAs */
.btn--tel {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: -0.005em;
}

/* Hero CTA row — wrap gracefully on mobile when 3 buttons */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Contact section — multiple CTAs grouped */
.contact__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 1.5rem;
}

@media (max-width: 540px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { justify-content: center; }
  .contact__ctas { flex-direction: column; align-items: stretch; }
  .contact__ctas .btn { justify-content: center; }
  .btn--tel { display: none; }  /* mobile users can tap phone via OS menu */
}
