@font-face { font-family: "Archivo Black"; src: url("fonts/archivo-black-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #15171c;
  --muted: #555c68;
  --paper: #ffffff;
  --wash: #f1f3f6;
  --line: #d9dde3;
  --accent: #c23a17;
  --coral: #ff6b4a;
  --simmour: #111111;
  --threevise: #121d38;
  --threevise-accent: #f5b744;
  --chaseit: #14407e;
  --chaseit-accent: #ffb65c;
  --partoodle: #5a3fd4;
  --partoodle-accent: #ffc93c;
  --gutter: clamp(16px, 5vw, 48px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 1.0625rem/1.6 Archivo, system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { margin: 0; line-height: 1.08; text-wrap: balance; }
h1, h2 { font-family: "Archivo Black", Archivo, system-ui, sans-serif; font-weight: 400; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
p { margin: 0; }
b, strong { font-weight: 700; }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 2; }
.skip:focus { left: 8px; color: #fff; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; gap: 4px 22px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.nav a { display: inline-block; padding: 6px 0; text-decoration: none; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"] { font-weight: 700; border-bottom-color: var(--coral); }

/* Sections */
.section { padding-block: clamp(48px, 8vw, 96px); }
.section.tint { background: var(--wash); }
.section.tight { padding-top: 0; }
.page-head { padding-block: clamp(44px, 7vw, 84px) clamp(20px, 3vw, 36px); }
.lead { max-width: 40rem; margin-top: 20px; font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.5; color: #30343c; }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { max-width: 38rem; margin-top: 12px; color: var(--muted); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-block; padding: 12px 20px; border: 2px solid var(--ink); border-radius: 8px; font-weight: 700; line-height: 1.25; text-decoration: none; }
.button.solid { background: var(--ink); color: #fff; }
.button:hover { background: var(--wash); color: var(--ink); }
.button.solid:hover { background: #343842; border-color: #343842; color: #fff; }

/* Home hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; padding-block: clamp(40px, 7vw, 84px); }
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.5vw, 24px); align-items: start; max-width: 460px; justify-self: end; width: 100%; }
.phones .phone:last-child { margin-top: 48px; }

/* Phone frame drawn around a screenshot. .phone is a size container, so cqw in the image
   and the pseudo-elements is a percent of the frame's width and it keeps its shape at any size.
   The bezel is the image's own padding, which the screenshot is clipped inside. */
.phone {
  container-type: inline-size;
  position: relative;
  width: 100%;
}
.phone img {
  width: 100%;
  /* Deeper top bezel, so the camera never sits on the app's own header. */
  padding: 9cqw 3.4cqw 3.4cqw;
  background: #0d0f13;
  border-radius: 13cqw;
  box-shadow: inset 0 0 0 0.7cqw #3a3e47, 0 22px 44px -22px rgba(10, 14, 24, 0.55);
}
/* Front camera */
.phone::after {
  content: "";
  position: absolute;
  top: 3.2cqw;
  left: 50%;
  width: 3.6cqw;
  height: 3.6cqw;
  margin-left: -1.8cqw;
  border-radius: 50%;
  background: #0d0f13;
  box-shadow: 0 0 0 0.6cqw #23262e;
}
/* Side buttons */
.phone::before {
  content: "";
  position: absolute;
  top: 24%;
  right: -1.1cqw;
  width: 1.1cqw;
  height: 13%;
  border-radius: 0 1cqw 1cqw 0;
  background: #2b2e36;
  box-shadow: 0 -16cqw 0 #2b2e36;
}

/* What we do */
.columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 48px); margin: 0; padding: 0; list-style: none; }
.columns li { border-top: 3px solid var(--ink); padding-top: 16px; }
.columns p { margin-top: 8px; color: var(--muted); }
.more { margin-top: 32px; font-weight: 700; }

/* Service rows */
.rows { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 12px clamp(24px, 5vw, 64px); padding-block: clamp(24px, 3.5vw, 36px); border-top: 1px solid var(--line); }
.row h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.row p + p { margin-top: 10px; }
.row .proof { color: var(--muted); font-size: 0.97rem; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; margin-bottom: 10px; font: 400 2rem/1 "Archivo Black", Archivo, sans-serif; color: var(--accent); }
.steps p { margin-top: 6px; color: var(--muted); }

/* Portfolio */
.work { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 6vw, 72px); align-items: center; padding-block: clamp(36px, 6vw, 64px); border-top: 1px solid var(--line); }
.work-art { display: flex; justify-content: center; padding: clamp(28px, 5vw, 52px); border-radius: 14px; }
.work-art .phone { max-width: 270px; }
.work-art.simmour { background: #ffe8e1; }
.work-art.threevise { background: #dcf2fa; }
.work-art.chaseit { background: #e1eaf7; }
.work-art.partoodle { background: #ece7ff; }
.status { display: inline-block; margin-bottom: 14px; padding: 3px 10px; border-radius: 99px; background: #dcf3e8; color: #0a5c40; font-size: 0.9rem; font-weight: 700; }
.status.testing { background: #fff0c2; color: #6b4b00; }
.status.dev { background: #ece7ff; color: #4b32b8; }
.work h2 { font-size: clamp(2rem, 4vw, 3rem); }
.work .tagline { margin-top: 10px; font-size: 1.2rem; font-weight: 700; line-height: 1.35; }
.work .body { margin-top: 12px; }
.ticks { margin: 16px 0 0; padding-left: 1.2em; }
.ticks li + li { margin-top: 6px; }
.fine { margin-top: 16px; color: var(--muted); font-size: 0.95rem; }

/* Product links on home */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product { display: flex; flex-direction: column; gap: 8px; min-height: 210px; padding: clamp(22px, 3vw, 32px); border-radius: 14px; text-decoration: none; }
.product h3 { font: 400 clamp(1.5rem, 2.6vw, 2rem)/1.1 "Archivo Black", Archivo, sans-serif; }
.product .go { margin-top: auto; padding-top: 12px; font-weight: 700; }
.product.simmour, .product.simmour:hover { background: var(--simmour); color: #fff; }
.product.simmour .go { color: var(--coral); }
.product.threevise, .product.threevise:hover { background: var(--threevise); color: #fff; }
.product.threevise .go { color: var(--threevise-accent); }
.product.chaseit, .product.chaseit:hover { background: var(--chaseit); color: #fff; }
.product.chaseit .go { color: var(--chaseit-accent); }
.product.partoodle, .product.partoodle:hover { background: var(--partoodle); color: #fff; }
.product.partoodle .go { color: var(--partoodle-accent); }
.product:hover h3 { text-decoration: underline; }

/* Band and contact */
.band { background: var(--ink); color: #fff; }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: clamp(36px, 5vw, 56px); }
.band .button { background: #fff; border-color: #fff; color: var(--ink); }
.band .button:hover { background: var(--wash); border-color: var(--wash); color: var(--ink); }

.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); }
.email { display: inline-block; margin-top: 10px; font: 400 clamp(1.3rem, 3.6vw, 2.1rem)/1.15 "Archivo Black", Archivo, sans-serif; overflow-wrap: anywhere; }
.contact h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.contact .email + h2 { margin-top: 40px; }
.plain { margin: 12px 0 0; padding: 0; list-style: none; }
.plain li + li { margin-top: 10px; }
.card { align-self: start; padding: clamp(22px, 3vw, 32px); background: var(--wash); border-radius: 14px; }
address { font-style: normal; margin-top: 12px; line-height: 1.5; }
.facts { margin: 22px 0 0; }
.facts dt { color: var(--muted); font-size: 0.92rem; }
.facts dd { margin: 0 0 12px; font-weight: 700; }

/* Footer */
.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.93rem; }
.foot .wrap { padding-block: 30px; }
.foot strong { color: var(--ink); }
.foot p + p { margin-top: 6px; }

@media (max-width: 860px) {
  .hero .wrap, .work, .contact, .row { grid-template-columns: minmax(0, 1fr); }
  .phones { justify-self: start; max-width: 400px; }
  .work-art { order: -1; }
  .columns, .products { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .product { min-height: 180px; }
}

/* Privacy page */
.prose { max-width: 46rem; }
.prose h2 { margin: 36px 0 10px; font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.prose h2:first-child { margin-top: 0; }
.prose p + p, .prose ul + p { margin-top: 12px; }
.prose ul { margin: 12px 0 0; padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }

/* Cookie banner (added by consent.js) and the footer's Cookie settings button */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 10;
  max-width: 560px; margin-inline: auto; padding: 20px 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 16px 40px -12px rgba(10, 14, 24, 0.35);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner .cookie-title { font-weight: 700; font-size: 1.05rem; }
.cookie-banner p + p { margin-top: 6px; color: #30343c; font-size: 0.97rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cookie-actions .button { flex: 1 1 120px; text-align: center; cursor: pointer; font: inherit; font-weight: 700; }
.linkish { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.linkish:hover { color: var(--accent); }
