/* The Features page (docs: WEBSITE-PAGES-PLAN). Its parts are the homepage's: the page hero and boxes from site.css.
   Each feature goes deeper than the homepage (founder, 18 November 2026): a kicker in the agency's term, a headline,
   a short explanation, and a realistic still of the work, numbered pins on it matching numbered notes. Sections
   alternate white and dark, in four compositions: split, flip, wide, centre. Coloured dots have no rings round them. */

/* ---------- the hero: the page's question on the left, the scope of work on the right ---------- */
.fhero .phero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(40px, 6vw, 96px); align-items: center; padding-top: clamp(40px, 7vh, 84px); padding-bottom: clamp(72px, 9vh, 112px); }
.fhero h1 { max-width: 11em; text-wrap: balance; }

/* ---------- the hero: the scope of work round the bot, a beam sweeping it ---------- */
/* The eleven parts of the work sit on a dotted ring round the bot, numbered, each a jump to its section. A beam goes
   round from the bot like the lighthouse's on the homepage, lighting each part as it passes, the bot's head turning
   with it (features.js). Over the hero's words on a phone, and with reduced motion, it rests on the first part */
.fhero .phero__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 4vw, 64px); padding-top: clamp(24px, 4vh, 56px); padding-bottom: clamp(40px, 6vh, 80px); }
.orb { position: relative; width: 100%; max-width: 680px; justify-self: center; }
.orb__stage { position: relative; aspect-ratio: 1; }
.orb__rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.orb__beam { position: absolute; left: 50%; top: 50%; width: 80%; aspect-ratio: 1; translate: calc(-50% + var(--bx, 0px)) calc(-50% + var(--by, 0px)); rotate: var(--rot, 4deg); border-radius: 50%; will-change: rotate;
  background: conic-gradient(from 0deg, rgba(229,81,62,0) 0deg, rgba(229,81,62,0) 318deg, rgba(229,81,62,.16) 352deg, rgba(240,106,85,.34) 359.5deg, rgba(229,81,62,0) 360deg);
  -webkit-mask: radial-gradient(circle, transparent 18%, #000 19%, #000 64%, transparent 71%); mask: radial-gradient(circle, transparent 18%, #000 19%, #000 64%, transparent 71%); }
.orb__bot { position: absolute; left: 50%; top: 50%; width: 30%; translate: calc(-50% + var(--bx, 0px)) calc(-50% + var(--by, 0px)); }   /* --bx, --by: the bot drifting toward what it scans (features.js) */
.orb__bot svg, .orb__bot .orb__cvs { display: block; width: 100%; height: auto; }
.orb__i { position: absolute; width: 0; height: 0; text-decoration: none; }
.orb__m { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #3A3640; box-shadow: 0 0 0 4px #141216; transition: background-color .5s, box-shadow .5s; }
.orb__t { position: absolute; display: inline-flex; align-items: baseline; gap: 9px; white-space: nowrap; font-size: 14.5px; font-weight: 500; letter-spacing: -0.005em; color: #8A8490; transition: color .5s; }
.orb__t i, .orb__cap i { font-style: normal; font-size: 12px; font-variant-numeric: tabular-nums; color: #5D5963; transition: color .5s; }
.orb__i--r .orb__t { left: 18px; top: 0; translate: 0 -50%; }
.orb__i--l .orb__t { right: 18px; top: 0; translate: 0 -50%; flex-direction: row-reverse; }
.orb__i--t .orb__t { bottom: 16px; left: 0; translate: -50% 0; }
.orb__i--b .orb__t { top: 16px; left: 0; translate: -50% 0; }
/* lit: the beam has just passed. The one it's on now glows, as the hero's story labels do */
.orb__i.on .orb__m { background: #E5513E; box-shadow: 0 0 0 4px #141216, 0 0 10px rgba(229,81,62,.3); }
.orb__i.on .orb__t { color: #E6E3EA; }
.orb__i.now .orb__m { background: #F06A55; box-shadow: 0 0 0 4px #141216, 0 0 12px rgba(240,106,85,.35); }
.orb__i.now .orb__t { color: #fff; }
.orb__i.now .orb__t i { color: #F06A55; }
.orb__i:hover .orb__t, .orb__i:focus-visible .orb__t { color: #fff; }
.orb__i:focus-visible { outline: none; } .orb__i:focus-visible .orb__m { box-shadow: 0 0 0 4px #141216, 0 0 0 6px #7EA2FF; }
/* on a phone the ring carries only the numbers' dots, and the part the beam is on is named under it */
.orb__cap { display: none; }

/* laptops: the orbit smaller, so its labels, which sit outside it, stay inside the window (1 December 2026) */
@media (min-width: 961px) and (max-width: 1180px) {
  .orb { max-width: 360px; }
}
@media (max-width: 960px) {
  .fhero .phero__in { grid-template-columns: 1fr; }
  .orb { max-width: 560px; margin-top: 8px; }
}
@media (max-width: 640px) {
  .orb__t { display: none; }
  .orb__i { width: 0; height: 0; }
  .orb__i::before { content: ""; position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; }   /* a thumb-sized target round each dot */
  .orb__cap { display: flex; justify-content: center; align-items: baseline; gap: 10px; min-height: 44px; margin-top: -36px; padding-top: 6px; font-size: 16px; font-weight: 500; color: #fff; text-decoration: none; }
  .orb__cap i { color: #F06A55; }
}


/* ---------- a feature section ---------- */
.fx { padding: clamp(88px, 10vw, 136px) 0; background: #fff; scroll-margin-top: 72px; }
.fx.dark { background: var(--bg); }
.fx__head { display: grid; gap: 16px; align-content: start; }
.fx__head h2 { font-size: clamp(30px, 3vw, 42px); text-wrap: balance; }
.fx__head p { margin: 0; max-width: 34em; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.fx__txt { display: grid; gap: 32px; align-content: start; }
/* split: the words on the left, the visual on the right; flip mirrors it */
.fx--split .fx__in, .fx--flip .fx__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
.fx--flip .fx__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.fx--flip .fx__txt { order: 2; }
/* wide: the headline and the explanation side by side, the visual across the band, the notes in a row */
.fx__head--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 56px); }
.fx__head--wide .kicker { grid-column: 1 / -1; }
.fx__head--wide h2 { grid-column: 1; }
.fx__head--wide p { grid-column: 2; }
.fx--wide .notes { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; margin-top: clamp(36px, 4vw, 52px); }
/* centre: the heading centred, the visual in the middle, the notes either side */
.fx__head--c { justify-items: center; max-width: 780px; margin: 0 auto clamp(40px, 5vw, 56px); text-align: center; }
.fx__c { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px) minmax(0, 1fr); gap: clamp(28px, 3.5vw, 56px); align-items: center; }
.notes.notes--l li { text-align: right; grid-template-columns: minmax(0, 1fr) 24px; }
.notes.notes--l li .pin { order: 2; }
.fx__vis { min-width: 0; }
.fx__vis--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }

/* the numbered pins on a visual, and the notes they match */
.pin { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; background: #E5513E; color: #fff; font: 600 11.5px/1 var(--bd-font-body); font-style: normal; vertical-align: 1px; }
.notes { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.notes li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.notes .pin { margin: 1px 0 0; width: 22px; height: 22px; font-size: 12px; }
.notes b { display: block; margin-bottom: 4px; font-size: 16.5px; font-weight: 500; letter-spacing: -0.01em; color: var(--head); }
.notes span { display: block; font-size: 15px; line-height: 1.55; color: var(--text-2); }

/* ---------- the realistic stills: the app's own screens, and paper ---------- */
.mk2 { margin: 0; display: grid; border-radius: 18px; background: #141216; color: #E6E3EA; text-align: left; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(20,18,22,.65); }
.fx.dark .mk2 { background: #1C1A20; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.mk2__top { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 13px; color: #8A8490; }
.mk2__top b { font-size: 14.5px; font-weight: 500; color: #fff; }
.mk2__top .r { margin-left: auto; text-align: right; }
.mk2__top .ava { width: 24px; height: 24px; background: #0B0A0D; } .mk2__top .ava img { width: 18px; height: 18px; }
.mk2__body { display: grid; gap: 14px; padding: 8px 20px 18px; }
.mk2__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; padding: 13px 20px; border-top: 1px solid rgba(255,255,255,.07); font-size: 12.5px; color: #8A8490; }
.tb { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tb th { padding: 12px 12px 8px 0; text-align: left; font-size: 11.5px; font-weight: 500; color: #8A8490; white-space: nowrap; }
.tb td { padding: 12px 12px 12px 0; border-top: 1px solid rgba(255,255,255,.07); vertical-align: top; color: #E6E3EA; }
.tb th:last-child, .tb td:last-child { padding-right: 0; }
.tb .n { text-align: right; white-space: nowrap; }
.tb small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.4; color: #8A8490; }
.tb s { color: #8A8490; text-decoration-color: #F06A55; text-decoration-thickness: 1.5px; }
.tb b { font-weight: 500; color: #fff; }
.z { color: #F06A55; } .g { color: #5CD69A; }
.st { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 5px; font-size: 12px; font-weight: 500; white-space: nowrap; color: #CFCBD3; background: rgba(255,255,255,.07); vertical-align: middle; }
.st--no { color: #F06A55; background: rgba(240,106,85,.14); }
.st--ok { color: #5CD69A; background: rgba(92,214,154,.14); }
.st--ex { color: #7EA2FF; background: rgba(126,162,255,.14); }
.btn-s { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 7px; font-size: 13px; font-weight: 500; color: #141216; background: #fff; }
.btn-s--ex { background: #7EA2FF; } .btn-s--q { color: #E6E3EA; background: rgba(255,255,255,.08); }
/* the month's budget as a line of dots */
.pace2 { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; padding-top: 4px; }
.pace { position: relative; height: 10px; margin-bottom: 8px; background: radial-gradient(circle, rgba(255,255,255,.2) 2px, transparent 2.5px) 0 50% / 10px 10px repeat-x; }
.pace i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: radial-gradient(circle, #E5513E 2.6px, transparent 3px) 0 50% / 10px 10px repeat-x; }
.pace em { position: absolute; top: -5px; bottom: -5px; left: var(--to); width: 2px; border-radius: 1px; background: #fff; }
.pace__k { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: #8A8490; }
.pace__k b { font-weight: 500; color: #fff; }
/* the keyword plan's sum and build */
.sum { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.04); font-size: 13px; color: #A8A3AE; }
.sum b { font-family: var(--bd-font-display); font-stretch: 110%; font-weight: 500; font-size: 20px; letter-spacing: -0.02em; color: #fff; margin-right: 4px; }
.mchips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mchips > span { padding: 5px 9px; border-radius: 6px; font-size: 12.5px; color: #CFCBD3; background: rgba(255,255,255,.06); }
/* notices in a still */
.alert2 { display: grid; grid-template-columns: 28px minmax(0, 1fr); padding: 12px 14px; border-radius: 10px; background: rgba(240,106,85,.1); font-size: 13.5px; line-height: 1.5; color: #CFCBD3; }
.alert2 b { display: block; font-weight: 500; color: #fff; }
.held { display: flex; align-items: center; font-size: 13px; line-height: 1.5; color: #A8A3AE; }
.held b { font-weight: 500; color: #5CD69A; }
/* the change your expert reviews */
.mwhy { margin: 6px 0 0; font-size: 14.5px; line-height: 1.55; color: #E6E3EA; }
.ev { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ev span { display: grid; gap: 3px; padding: 11px 12px; border-radius: 10px; background: rgba(255,255,255,.05); font-size: 12px; color: #8A8490; }
.ev b { font-family: var(--bd-font-display); font-stretch: 110%; font-weight: 500; font-size: 20px; letter-spacing: -0.02em; color: #fff; }
.ba2 { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: #A8A3AE; }
.ba2 b { font-family: var(--bd-font-display); font-stretch: 110%; font-weight: 500; font-size: 22px; letter-spacing: -0.02em; color: #fff; }
.ba2 b.g { color: #5CD69A; }
.ba2 .ar { width: 14px; height: 14px; rotate: 180deg; color: #8A8490; --lead: currentColor; }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.07); }
/* the checks a stopped change failed */
.chk { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.07); font-size: 13.5px; }
.chk:first-child { border-top: 0; }
.chk > span:nth-child(2) { font-size: 13px; white-space: nowrap; }
/* paper: the audit and the review, as documents on a sand desk (on a white band) */
.desk { padding: clamp(18px, 3vw, 40px); border-radius: 22px; background: #F6F5F2; }
.paper { display: grid; gap: 14px; max-width: 760px; margin: 0 auto; padding: clamp(22px, 3vw, 40px); border-radius: 6px; background: #fff; color: #141216; box-shadow: 0 1px 2px rgba(20,18,22,.06), 0 30px 60px -36px rgba(20,18,22,.35); }
.paper__k { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-bottom: 12px; border-bottom: 1px solid #E5E2E6; font-size: 12.5px; color: #6B6671; }
.paper__k .for { display: inline-flex; align-items: center; font-weight: 500; color: #1F55CC; }
.paper__t { font-family: var(--bd-font-display); font-stretch: 110%; font-weight: 500; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -0.025em; }
.paper__figs { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; }
.paper__figs > span { flex: 1 1 120px; display: grid; gap: 2px; padding: 12px 14px; border-radius: 8px; background: #F6F5F2; font-size: 12px; color: #6B6671; }
.paper__figs b { font-family: var(--bd-font-display); font-stretch: 110%; font-weight: 500; font-size: 22px; letter-spacing: -0.02em; color: #141216; }
.paper__figs small { font-size: 11.5px; color: #6B6671; } .paper__figs small.g { color: #0F6E3E; }
.paper__h { margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #6B6671; }
.paper__r { display: grid; grid-template-columns: 28px minmax(0, 1fr); font-size: 13.5px; line-height: 1.5; color: #5D5963; }
.paper__r b { display: block; font-size: 14.5px; font-weight: 500; color: #141216; }
.paper__p { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid #E5E2E6; font-size: 14px; }
.paper__p em { flex: none; font-style: normal; font-size: 12.5px; font-weight: 500; color: #0F6E3E; background: #E2F5EA; padding: 4px 8px; border-radius: 6px; }


/* ---------- your Google tools (white): one flat row each, then what it works on ---------- */
.tool { display: grid; grid-template-columns: 210px minmax(0, 1fr) minmax(0, 1fr); gap: 8px 32px; align-items: start; padding: 18px 22px; border-radius: 14px; background: var(--surface); font-size: 15px; line-height: 1.5; color: var(--text-2); }
.tool + .tool { margin-top: 8px; }
.tool__name { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; color: var(--head); }
.tool__name img { width: 20px; height: 20px; object-fit: contain; }
.tool small { display: block; margin-bottom: 3px; font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }
.tool .tag { margin-top: 7px; }
.scope { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; }
.scope div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.scope .fine { margin-right: 4px; }

@media (max-width: 1080px) {
  .fx--split .fx__in, .fx--flip .fx__in { grid-template-columns: 1fr; }
  .fx--flip .fx__txt { order: 0; }
  .fx__c { grid-template-columns: 1fr; }
  .fx__c .fx__vis { order: -1; }
  .notes.notes--l li { text-align: left; grid-template-columns: 24px minmax(0, 1fr); } .notes.notes--l li .pin { order: 0; }
  .tool { grid-template-columns: 1fr 1fr; } .tool__name { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .fx__head--wide { grid-template-columns: 1fr; row-gap: 16px; } .fx__head--wide p { grid-column: 1; }
  .fx--wide .notes { grid-template-columns: 1fr; }
  .fx__vis--2 { grid-template-columns: 1fr; }
  .tb .hp { display: none; }
  .mk2__body { padding: 6px 16px 16px; } .mk2__top, .mk2__foot { padding-left: 16px; padding-right: 16px; }
  .ev { grid-template-columns: 1fr 1fr 1fr; } .ev b { font-size: 17px; }
  .chk { grid-template-columns: minmax(0, 1fr) auto; } .chk > span:nth-child(2) { grid-column: 1; grid-row: 2; margin-top: -8px; }
  .tool { grid-template-columns: 1fr; padding: 18px; }
}
