/* =========================================================
   Tokens
   ========================================================= */
:root {
  --bg: #0a0c10;
  --surface: #111319;
  --surface-2: #171a22;
  --line: rgba(226, 232, 242, 0.08);
  --line-2: rgba(226, 232, 242, 0.16);

  --text: #f5f4ef;            /* warm off-white */
  --muted: #9aa1ad;
  --dim: #5f6673;

  --accent: #e26584;          /* dusty rose */
  --accent-rgb: 226, 101, 132;
  --accent-ink: #1a0b10;
  --panel: #f0c6cf;           /* soft rose panel behind the hero illustration */

  --font: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;

  --wrap: 1200px;
  --pad: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.025em; line-height: 1.12; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* Content column framed by thin vertical rules */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.accent { color: var(--accent); }

/* =========================================================
   Buttons & tags
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 22px;
  border-radius: 4px;
  border: 1px solid transparent;
  font: 600 13px/1 var(--mono);
  letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap; cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 11px 15px; font-size: 12px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #ec7e99; }
.btn--dark { background: #2a1c23; color: var(--text); border-color: rgba(var(--accent-rgb), .25); }
.btn--dark:hover { background: #352330; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; margin-top: 48px; }

.tag {
  display: inline-block;
  font: 500 11.5px/1.4 var(--mono);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
  padding: 4px 9px;
  border: 1px solid rgba(var(--accent-rgb), .55);
  border-radius: 3px;
  background: rgba(var(--accent-rgb), .06);
}

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 12, 16, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { border: 0; }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__name { font-weight: 600; font-size: 20px; letter-spacing: -0.04em; line-height: 1; }
.brand__dot { display: inline-block; width: .3em; height: .3em; margin-left: .07em; background: var(--accent); }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-size: 15px; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__links a.btn { color: var(--accent-ink); }
.nav__mobile-cta { display: none !important; }
.nav__burger { display: none; }

/* =========================================================
   Landing: one sentence being edited live by people + agents
   ========================================================= */
.hero__frame { position: relative; }
.hero__guides { position: absolute; inset: 0; pointer-events: none; }
.hero__guides i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.hero__guides i:first-child { left: 31%; }
.hero__guides i:last-child { left: 69%; }

.hero__inner { position: relative; text-align: center; padding: 118px 0 230px; }
.hero__title {
  position: relative; z-index: 1;
  font-size: clamp(42px, 5.6vw, 80px);
  letter-spacing: -0.035em;
  line-height: 1.14;
}

/* the "selected" word */
.sel {
  position: relative; display: inline-block;
  margin-left: .06em;
  padding: 0 .14em .06em .1em;
  border: 1.5px solid rgba(var(--accent-rgb), .9);
  line-height: 1.08;
}
.sel__word { font-style: italic; color: #f5c6d2; }
.sel__h {
  position: absolute; width: 9px; height: 9px;
  border-radius: 50%; background: var(--bg); border: 1.5px solid var(--accent);
}
.sel__h--tl { top: -5.5px; left: -5.5px; }   .sel__h--tr { top: -5.5px; right: -5.5px; }
.sel__h--bl { bottom: -5.5px; left: -5.5px; } .sel__h--br { bottom: -5.5px; right: -5.5px; }

/* small toolbar next to the selection */
.toolbar {
  position: absolute; left: calc(100% + 22px); top: 50%;
  transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 3px;
  padding: 5px;
  background: #15171d; border: 1px solid var(--line-2); border-radius: 8px;
  font: 500 14px/1 var(--font); letter-spacing: 0; font-style: normal;
  white-space: nowrap;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.8);
}
.toolbar__label { color: var(--dim); padding: 0 8px 0 7px; font-size: 13px; }
.toolbar__opt { padding: 7px 11px; border-radius: 5px; color: var(--muted); transition: background .3s ease, color .3s ease; }
.toolbar__opt.is-on { background: rgba(var(--accent-rgb), .16); color: var(--accent); }

/* collaborator cursors */
.cur {
  position: absolute; z-index: 2;
  display: flex; align-items: flex-start;
  pointer-events: none;
  animation: drift var(--d, 7s) ease-in-out infinite alternate;
}
.cur svg { width: 20px; height: 20px; flex-shrink: 0; fill: var(--c); filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.cur span {
  margin: 16px 0 0 -3px;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  color: var(--c);
  padding: 3px 10px; border-radius: 6px;
  border: 1px solid var(--c);
  background: rgba(10, 12, 16, .9);
}
.cur--1 { top: 74px;  right: 6%;  --d: 6.5s; }
.cur--2 { top: 278px; left: 3%;   --d: 8s; }
.cur--3 { top: 470px; left: 9%;   --d: 7.2s; }
.cur--4 { top: 372px; right: 6%;  --d: 5.8s; }

.hero__sub { margin: 52px auto 0; max-width: 50ch; text-wrap: balance; font-size: 20px; line-height: 1.55; color: var(--muted); }
.hero__inner > .btn { margin-top: 38px; }
.btn--lg { padding: 17px 26px; font-size: 14px; }

/* floating cards */
.float {
  position: absolute; z-index: 1;
  text-align: left;
  background: #13151b;
  border: 1px solid var(--line-2); border-radius: 10px;
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.85);
}
.float--task { left: 4%; top: 540px; width: 270px; padding: 15px 16px; display: grid; gap: 5px; animation: drift 9s ease-in-out infinite alternate; }
.float--task strong { font-weight: 500; font-size: 15px; }
.float--task span { font-size: 13.5px; color: var(--muted); }
.float--run { right: 4%; top: 500px; width: 292px; padding: 16px 18px; }
.run__head { font-size: 15px; font-weight: 500; }
.run__steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.run__steps li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--dim); transition: color .4s ease; }
.run__steps li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--dim); transition: background .4s ease, border-color .4s ease;
}
.run__steps li.done { color: var(--muted); }
.run__steps li.done::before { background: #8fd1a8; border-color: #8fd1a8; }
.run__foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px;
}
.run__meta { color: var(--dim); }
.run__status { letter-spacing: .06em; text-transform: uppercase; color: #e8b27a; }
.run__status.done { color: #8fd1a8; }


/* =========================================================
   Sections
   ========================================================= */
.section { border-top: 1px solid var(--line); }
.section .wrap { padding-top: 112px; padding-bottom: 112px; }
.section--tight .wrap { padding-top: 96px; padding-bottom: 96px; }

.head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.head h2, .contact h2 { margin-top: 20px; font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.035em; line-height: 1.06; }

/* What we do */
.cards {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .25s ease, transform .25s ease;
}
.card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.card__art {
  position: relative;
  padding: 36px 4px 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 24px 24px,
    #0d0f14;
}
/* keep the drawing centred however wide the card gets */
.card__art img { width: 100%; max-width: 380px; margin: 0 auto; }
.tag--on-art { position: absolute; top: 14px; left: 14px; background: rgba(10, 12, 16, .85); }
.card__body { padding: 22px 22px 28px; }
.card h3 { font-size: 20px; letter-spacing: -0.02em; }
.card p { margin-top: 10px; font-size: 15px; color: var(--muted); }

.head__lead { margin-top: 20px; max-width: 62ch; font-size: 18px; color: var(--muted); }

/* everything else we do: a plain bordered grid */
.more { margin-top: 72px; }
.more__title { font-size: 24px; letter-spacing: -0.025em; text-align: center; }
.more__grid {
  margin-top: 28px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
.svc { background: var(--bg); padding: 28px 26px 30px; transition: background .25s ease; }
.svc:hover { background: var(--surface); }
.svc h4 { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.svc h4::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 10px 2px 0; background: var(--accent); }
.svc p { margin-top: 10px; font-size: 15px; color: var(--muted); }

/* Contact */
.contact {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  background: var(--surface);
}
.contact__copy { padding: 48px; display: flex; flex-direction: column; align-items: flex-start; }
.contact__copy > p { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 42ch; }
.contact__mail {
  margin-top: 22px;
  font-family: var(--mono); font-size: 15px; color: var(--accent);
  border-bottom: 1px solid rgba(var(--accent-rgb), .4);
  padding-bottom: 2px;
}
.contact__mail:hover { border-color: var(--accent); }
.contact__art { margin-top: auto; padding-top: 28px; width: 100%; max-width: 380px; }

.form {
  display: grid; gap: 18px; align-content: start;
  padding: 48px;
  border-left: 1px solid var(--line);
}
.form label { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.form input, .form textarea {
  width: 100%;
  font: 400 15px/1.45 var(--font); color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-2); border-radius: 4px;
  padding: 13px 14px; resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .16); }
.form ::placeholder { color: var(--dim); }
.form .invalid { border-color: #f08a7a; }
.form__status { font-size: 14px; color: var(--accent); min-height: 1.4em; }

/* =========================================================
   Footer
   ========================================================= */
.footer { border-top: 1px solid var(--line); }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 32px;
  padding-top: 28px; padding-bottom: 28px;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer__links a { font-size: 14.5px; color: var(--muted); transition: color .2s; }
.footer__links a:hover { color: var(--text); }
.footer__copy { font-size: 13.5px; color: var(--dim); }

/* =========================================================
   Motion
   ========================================================= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2) { transition-delay: .07s; }
.cards .reveal:nth-child(3) { transition-delay: .14s; }
.cards .reveal:nth-child(4) { transition-delay: .21s; }
@keyframes drift {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(6px, -5px); }
  100% { transform: translate(-4px, 4px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1240px) {
  .toolbar { display: none; }   /* no room beside the word on narrower screens */
}

@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* cards drop below the CTA instead of floating */
  .hero__inner { padding-bottom: 72px; }
  .float--task { display: none; }
  .float--run { position: relative; right: auto; top: auto; margin: 56px auto 0; }
  .cur--3 { left: 8%; }
  .cur--4 { right: 6%; }
}

@media (max-width: 860px) {
  :root { --pad: 20px; }
  .wrap { border-left: 0; border-right: 0; }
  .nav__inner { flex-wrap: wrap; height: auto; min-height: 64px; gap: 0; }
  .nav__cta { display: none; }
  .nav__burger {
    display: grid; place-content: center; gap: 5px; margin-left: auto;
    width: 40px; height: 40px; border-radius: 4px;
    background: transparent; border: 1px solid var(--line-2); cursor: pointer;
  }
  .nav__burger span { width: 16px; height: 1.5px; background: var(--text); transition: transform .25s; }
  .nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .nav__links {
    order: 3; width: 100%; flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav__links.open { max-height: 260px; }
  .nav__links a { padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--text); }
  .nav__mobile-cta { display: inline-flex !important; margin: 10px 0 14px; padding: 14px !important; border-top: 0 !important; }

  .br-lg { display: none; }
  .hero__guides { display: none; }
  .hero__inner { padding-top: 76px; }
  .toolbar { display: none; }
  .cur--2, .cur--3 { display: none; }
  .cur--1 { top: 36px; right: 4%; }
  .cur--4 { top: auto; bottom: 300px; right: 2%; }
  .hero__sub { margin-top: 40px; font-size: 18px; }
  .section .wrap { padding-top: 80px; padding-bottom: 80px; }
  .contact { grid-template-columns: 1fr; }
  .form { border-left: 0; border-top: 1px solid var(--line); }
  .contact__art { max-width: 320px; align-self: center; }
}

@media (max-width: 600px) {
  .hero__title { font-size: 40px; }
  .br-wide, .cur--4 { display: none; }
  .cur span { font-size: 12.5px; }
  .float--run { width: 100%; max-width: 330px; }
  .btn-row .btn { flex: 1 1 100%; }
  .cards { grid-template-columns: 1fr; }
  .more__grid { grid-template-columns: 1fr; }
  .head__lead { font-size: 16.5px; }
  .contact__copy, .form { padding: 28px 20px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
