:root {
  --bg: #fbf8f3;
  --bg-2: #f3eee6;
  --card: #ffffff;
  --text: #1c1b19;
  --muted: #6b665e;
  --line: #e6dfd4;
  --accent: #d2561f;
  --accent-dark: #a84216;
  --star: #e8a21b;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --radius: 14px;
  --wrap: 1080px;
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 64px 0; }

/* buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--accent); color: #fff;
  font-weight: 600; border: 2px solid var(--accent); border-radius: 999px;
  padding: 12px 22px; cursor: pointer; font-size: 1rem; font-family: inherit;
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--big { padding: 16px 30px; font-size: 1.1rem; }
.btn--small { padding: 9px 16px; font-size: 0.95rem; }
.btn--outline { background: transparent; color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: #fff; }
.link { color: var(--accent); font-weight: 600; }
.link:hover { color: var(--accent-dark); }
.eyebrow { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34ch; }
.hint { color: var(--muted); font-size: .95rem; margin-top: 18px; display: flex; align-items: center; gap: 10px; }
.hint__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #2e9e5b; box-shadow: 0 0 0 4px rgba(46,158,91,.16); }

/* icons: small line drawings, drawn in by script.js from <i data-icon="…"> */
.icon { flex: none; width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
i[data-icon] { display: inline-block; flex: none; width: 1.15em; height: 1.15em; }
.btn .icon { width: 1.05em; height: 1.05em; margin-right: 2px; }
.card__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: #fdebdf; color: var(--accent); display: grid; place-items: center; }
.card__icon .icon { width: 22px; height: 22px; }
.checks { list-style: none; margin: 2px 0 6px; padding: 0; display: grid; gap: 9px; color: var(--text); font-size: .98rem; }
.checks li { display: flex; align-items: flex-start; gap: 10px; }
.checks .icon { color: var(--accent); margin-top: .22em; width: 1em; height: 1em; stroke-width: 2.6; }
.section-lead { color: var(--muted); max-width: 56ch; margin-bottom: 36px; }
.stars { color: var(--star); letter-spacing: .08em; font-size: 1.05rem; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(251,248,243,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav__row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand img { border-radius: 8px; }
/* the lockup from the original site: ATLAS in orange capitals over a small caption */
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--font-head); font-weight: 700; font-size: 1.32rem; letter-spacing: -.01em; color: var(--accent); }
.brand__text span { margin-top: 3px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .56rem; letter-spacing: .09em; color: var(--muted); }
.btn--pill { gap: 8px; background: var(--text); border-color: var(--text); }
.btn--pill:hover { background: var(--accent); border-color: var(--accent); }
.nav__links { display: flex; gap: 22px; margin-left: auto; font-weight: 500; color: var(--muted); }
.nav__links a:hover { color: var(--text); }

/* hero */
.hero { position: sticky; top: 64px; z-index: 0; padding: 0; }
.hero__grid {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  min-height: min(calc(100vh - 64px), 920px);
  max-width: 1240px;
}
.hero__text { align-self: center; padding: 24px 0 48px; }
.page {
  position: relative; z-index: 1; background: var(--bg);
  border-radius: 28px 28px 0 0; overflow: hidden;
  box-shadow: 0 -20px 50px -30px rgba(28,27,25,.35);
}
.hero__cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero__cta .btn { gap: 10px; }
.hero__photo { position: relative; align-self: end; display: flex; justify-content: flex-end; }
.hero__figure { position: relative; display: inline-block; will-change: transform; }
.hero__figure::before {
  /* soft shape behind the cutout */
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 118%; aspect-ratio: 1 / 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle at 50% 40%, #f6e3d6 0%, var(--bg-2) 60%, transparent 72%);
}
.hero__cutout {
  /* sized by the screen height so the figure fills the hero on tall screens too */
  width: auto; height: auto; display: block; pointer-events: none;
  max-height: min(calc(100vh - 110px), 830px);
  max-width: min(44vw, 600px);
  filter: drop-shadow(0 18px 24px rgba(28,27,25,.18));
}
.signature {
  position: absolute; left: -36px; bottom: 28px; width: 250px;
  display: grid; gap: 2px; padding: 12px 16px 10px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 12px;
  transform: rotate(-3deg);
}
.signature__name { font-family: "Caveat", cursive; font-size: 1.7rem; line-height: 1; color: var(--text); }
.signature__title { font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.signature__quote { margin: 8px 0 8px; font-size: .9rem; line-height: 1.4; color: var(--text); font-style: italic; }
.signature__link { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: #0a66c2; }
.signature__link:hover { text-decoration: underline; }

/* proof strip */
.proof { padding: 0; border-bottom: 1px solid var(--line); background: var(--card); }
.proof__row { display: flex; flex-wrap: wrap; gap: 12px 36px; justify-content: center; padding: 16px var(--gutter); font-size: .95rem; color: var(--muted); }
.proof__item { display: inline-flex; align-items: center; gap: 8px; }
.proof__item strong { color: var(--text); }
a.proof__item:hover { color: var(--text); }

/* services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.card .card__icon { margin-bottom: 18px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }
.price { margin-top: auto; padding-top: 12px; color: var(--muted) !important; }
.price strong { color: var(--text); font-size: 1.2rem; }
.services__proof { margin: 24px 0 0; color: var(--muted); display: flex; align-items: flex-start; gap: 10px; max-width: 70ch; }
.services__proof .icon { color: var(--accent); margin-top: .2em; }
/* the monthly retainer: a quiet strip under the cards */
.retainer {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 36px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px;
}
.retainer h3 { margin-bottom: 6px; }
.retainer p { margin: 0; color: var(--muted); max-width: 60ch; }

/* case studies */
.work { background: var(--bg-2); }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.case img { aspect-ratio: 4 / 3; object-fit: cover; object-position: top; width: 100%; border-bottom: 1px solid var(--line); }
.case__body { padding: 22px 24px 26px; }
.case__meta { color: var(--muted); font-size: .9rem; margin-top: -6px; }
.case dl { margin: 0; }
.case dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 600; margin-top: 12px; }
.case dd { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }

/* review */
.review__box { max-width: 760px; margin: 0 auto; text-align: center; }
.review blockquote { margin: 12px 0 18px; }
.review blockquote p { font-size: 1.25rem; font-weight: 500; line-height: 1.5; }
.review blockquote footer { color: var(--muted); font-size: .95rem; }

/* about */
.about { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; }
.about__photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; }
.about p { color: var(--muted); max-width: 58ch; }

/* contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact p { color: var(--muted); }
.contact__big { font-family: var(--font-head); font-size: 1.7rem; font-weight: 600; color: var(--text); line-height: 1.15; }
.contact__ways { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.contact__ways li { display: flex; align-items: center; gap: 14px; }
.contact__ways li > span:last-child { display: grid; gap: 1px; min-width: 0; }
.contact__ways small { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact__ways a { overflow-wrap: anywhere; }
.contact__big:hover { color: var(--accent); }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.form input, .form textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form button { width: 100%; }
.form__status { margin: 0; color: var(--muted); font-size: .95rem; min-height: 1.4em; }
.form__status.is-error { color: #b42318; }
.form__status.is-ok { color: #157347; }

/* case study page */
.study { padding: 56px 0 40px; }
.study__head { max-width: 760px; }
.study__head h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.study__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.study__facts strong { color: var(--text); }
.study__cover { margin: 36px 0 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.study__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.study__body { padding: 0 0 24px; }
.study__body > :not(.shots):not(.study__cta) { max-width: 720px; }
.study__body h3 { font-size: 1.15rem; margin: 36px 0 8px; }
.study__body h3 + p { margin-top: 0; }
.note { font-size: .9rem; }

/* Screenshots: a light browser frame, a caption underneath */
.shots { display: grid; gap: 20px; margin: 22px 0 10px; }
.shots--2 { grid-template-columns: repeat(2, 1fr); }
.shots--3 { grid-template-columns: repeat(3, 1fr); }
.shots--side { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
.shot { margin: 0; min-width: 0; }
.shot__frame { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 18px 36px -22px rgba(28,27,25,.4); }
.shot__bar { height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9d2c6; }
.shot__frame img { display: block; width: 100%; height: auto; }
.shot--crop .shot__frame img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.shot--phone .shot__frame { max-width: 280px; margin: 0 auto; border: 6px solid #1c1b19; border-radius: 28px; box-shadow: 0 24px 40px -24px rgba(28,27,25,.6); }
.shot--phone .shot__bar { display: none; }
.shot figcaption { margin-top: 10px; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.shot figcaption strong { color: var(--text); }
.study__body h2 { font-size: 1.5rem; margin-top: 44px; }
.study__body p, .study__body li { color: var(--muted); }
.study__body ul { padding-left: 20px; }
.study__body li { margin-bottom: 8px; }
.study__steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 14px; }
.study__steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.study__steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: .9rem; }
.study__steps strong { color: var(--text); display: block; margin-bottom: 2px; }
.study__results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 0; }
.study__results div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.study__results strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--text); margin-bottom: 4px; }
.study__results span { color: var(--muted); font-size: .95rem; }
.study__cta { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.study__cta p { margin: 0; color: var(--muted); }
.case__link { display: inline-block; margin-top: 14px; }
@media (max-width: 860px) {
  .shots--2, .shots--3, .shots--side { grid-template-columns: 1fr; }
  .shot--phone .shot__frame { max-width: 240px; }
  .study__results { grid-template-columns: 1fr; }
}

/* footer */
.footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: .9rem; }
.footer__row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer a:hover { color: var(--text); }
.footer__ways { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__ways a { display: inline-flex; align-items: center; gap: 7px; }

/* phones */
@media (max-width: 860px) {
  section { padding: 48px 0; }
  .nav__links { display: none; }
  .brand__text strong { font-size: 1.2rem; }
  .btn--small { margin-left: auto; }
  .proof__row { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px var(--gutter); }
  .proof__clients { display: block; }
  /* phones: a sticky hero taller than the screen would hide its own button, so it scrolls normally */
  .hero { position: static; padding-top: 24px; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; min-height: 0; max-height: none; }
  .page { border-radius: 0; box-shadow: none; }
  .proof { border-top: 1px solid var(--line); }
  /* phones: headline and call button first, then a smaller photo with the signature card tucked beside it */
  .hero__text { padding: 0 0 28px; text-align: left; }
  .hero__photo { order: 0; justify-content: flex-end; margin: 0 0 8px; }
  .hero__figure { width: min(60%, 240px); }
  .hero__cutout { width: 100%; max-width: none; max-height: none; }
  .signature { left: auto; right: calc(100% - 50px); bottom: 12px; width: 180px; padding: 10px 12px 8px; }
  .signature__name { font-size: 1.4rem; }
  .signature__title { font-size: .68rem; letter-spacing: .04em; }
  .signature__quote { font-size: .82rem; margin: 6px 0; }
  .lead { max-width: none; }
  .cards, .cases { grid-template-columns: 1fr; }
  .retainer { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 22px; }
  .about__grid { grid-template-columns: 1fr; gap: 24px; }
  .about__photo { max-width: 180px; }
  .contact__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__row { flex-direction: column; }
}
@media (max-width: 420px) {
  .hero__cta { flex-direction: column; align-items: flex-start; gap: 14px; }
  .btn--big { width: 100%; }
}
.study__cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.retainer .retainer__price { margin-top: 10px; }
.retainer__price strong { color: var(--text); font-size: 1.2rem; }
.retainer { gap: 22px; }
.retainer .card__icon { background: #fff; }
.retainer__text { flex: 1; min-width: 0; }
.retainer .btn { gap: 8px; }
.proof__item .icon { color: var(--accent); }
.study__cta-actions .btn { gap: 8px; }
/* room for the chat button, so it never sits on the footer links */
.footer { padding-bottom: 84px; }
