/* Concept 2A — Modern Creative Agency (preview only) */
.xa main h2, .xa main h3 { font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.03em; }
.xa main h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.05; }
.xa em.it { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; }
/* hero */
.xa-hero { background: var(--ink); color: var(--on-dark); overflow: hidden; overflow: clip; }
.xa-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: clamp(28px, 3.5vw, 56px); align-items: center; padding-block: clamp(44px, 5.5vw, 84px) clamp(48px, 5.5vw, 84px); }
.xa-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); margin-bottom: 22px; }
.xa-kicker span { width: 28px; height: 2px; background: var(--sage); }
.xa-hero h1 { font-family: var(--font-sans); font-weight: 700; color: var(--paper); font-size: clamp(2.5rem, 5.5vw, 5.3rem); line-height: .95; letter-spacing: -0.048em; }
.xa-hero h1 em.it { display: block; color: var(--sage); font-size: 1.06em; letter-spacing: -0.025em; margin-top: .06em; }
.xa-hero .lead { color: var(--on-dark); margin-top: 26px; max-width: 31em; }
.xa-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }
.xa-cta { background: var(--paper); color: var(--ink); border-radius: 999px; padding: 1.05rem 1.6rem; font-size: 1rem; box-shadow: 0 0 0 5px rgba(243,238,227,.12); }
.xa-cta:hover { background: #fff; }
.xa-cta.dark { background: var(--ink); color: var(--paper); box-shadow: none; }
.xa-cta.dark:hover { background: var(--accent-hover); }
.xa-link { color: var(--paper); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--sage); padding-bottom: 3px; }
.xa .arr { display: inline-block; margin-left: 6px; transition: transform .2s ease; }
.xa a:hover .arr { transform: translateX(3px); }
.xa-facts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 34px; }
.xa-facts li { border: 1px solid var(--line-on-dark); border-radius: 999px; padding: 6px 14px; font-size: .86rem; color: var(--sage); }
.xa-facts b { color: var(--paper); font-weight: 600; }
.xa-hero a:focus-visible { outline-color: var(--sage); }
/* illustration */
.xa-stage { position: relative; height: clamp(440px, 40vw, 560px); }
.xa-path { position: absolute; inset: 0; width: 100%; height: 100%; }
.xa-path path { fill: none; stroke: var(--sage); stroke-width: 2; stroke-dasharray: 6 7; opacity: .7; }
.step { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.xa-card { position: absolute; background: var(--paper); color: var(--ink); border-radius: 18px; padding: 18px 20px; box-shadow: 0 24px 50px rgba(0,0,0,.28); }
.xa-ad { left: 0; top: 4%; width: 62%; transform: rotate(-3deg); z-index: 2; }
.xa-ad .spons { font-size: .82rem; color: var(--muted); }
.xa-ad .spons b { color: var(--ink); }
.xa-ad .adt { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); text-decoration: underline; text-decoration-color: rgba(31,58,46,.25); text-underline-offset: 3px; margin-top: 4px; line-height: 1.2; }
.xa-ad .add { font-size: .9rem; color: var(--ink-soft); margin-top: 4px; }
.xa-ad .adbtn { display: inline-block; margin-top: 12px; font-size: .78rem; font-weight: 600; border: 1px solid var(--rule); border-radius: 999px; padding: 4px 12px; }
.xa-phone { position: absolute; right: 3%; top: 20%; width: 42%; aspect-ratio: 9 / 17; background: #0f1d16; border-radius: 34px; padding: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: rotate(3deg); z-index: 1; }
.xa-phone .step { position: absolute; bottom: -28px; right: 8px; color: var(--sage); }
.xa-phone .scr { height: 100%; background: var(--paper); border-radius: 24px; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.xa-phone .bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.xa-phone .bar i { width: 40%; height: 8px; border-radius: 4px; background: var(--ink); }
.xa-phone .bar b { width: 18px; height: 8px; border-radius: 3px; background: var(--rule); }
.xa-phone .h { height: 14px; border-radius: 4px; background: var(--ink); width: 92%; }
.xa-phone .h.s { width: 64%; }
.xa-phone .p { height: 7px; border-radius: 4px; background: var(--rule); width: 96%; }
.xa-phone .f { height: 26px; border-radius: 8px; border: 1px solid #c9cbbf; background: #fff; margin-top: 4px; }
.xa-phone .btn-m { margin-top: 6px; background: var(--ink); color: var(--paper); border-radius: 999px; text-align: center; font-size: .72rem; font-weight: 600; padding: 9px 6px; }
.xa-lead { left: 8%; bottom: 3%; width: 58%; transform: rotate(-1.5deg); z-index: 3; }
.xa-lead .lt { font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; gap: 10px; }
.xa-lead .ok { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); display: inline-grid; place-items: center; font-size: .85rem; }
.xa-lead .ls { font-size: .86rem; color: var(--muted); margin-top: 4px; padding-left: 36px; }
.xa-band { border-top: 1px solid var(--line-on-dark); padding-block: 18px; }
.xa-band .container { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; font-weight: 600; font-size: clamp(.95rem, 1.3vw, 1.15rem); color: var(--paper); letter-spacing: -.01em; }
.xa-band i { font-style: normal; color: var(--sage); }
/* services: editorial rows */
.xa-services { background: var(--paper); }
.xa-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.xa-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.xa-head .audience { margin-top: 0; }
.xa-rows { border-top: 2px solid var(--ink); }
.xa-rows a { display: grid; grid-template-columns: 64px minmax(0, 1.05fr) minmax(0, 1.3fr) 48px; gap: 12px 28px; align-items: center; padding: 26px 8px; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink-soft); transition: background-color .2s ease, padding .2s ease; border-radius: 4px; }
.xa-rows a:hover { background: var(--field); padding-inline: 18px; }
.xa-rows .n { font-family: var(--font-serif); font-size: 1.1rem; color: var(--muted); }
.xa-rows .t { font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 700; letter-spacing: -.035em; color: var(--ink); line-height: 1.05; }
.xa-rows .d { font-size: .97rem; }
.xa-rows .go { justify-self: end; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; color: var(--ink); }
.xa-rows .go .arr { margin: 0; }
.xa-rows a:hover .go { background: var(--ink); color: var(--paper); }
.xa .also { margin-top: 22px; color: var(--muted); }
.xa .also a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
/* problems: keep dark band, stays as built */
/* process: big numbers, split layout */
.xa-process { background: var(--sage); }
.xa-proc-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.xa-process .eyebrow { color: var(--ink); }
.xa-proc-cta { margin-top: 28px; }
.xa-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.xa-steps li { background: var(--paper); border-radius: 20px; padding: 24px; }
.xa-steps .big { display: block; font-size: 2.6rem; font-weight: 700; letter-spacing: -.04em; color: var(--ink); line-height: 1; margin-bottom: 14px; }
.xa-steps h3 { font-size: 1.3rem; margin-bottom: 6px; }
.xa-steps p { font-size: .96rem; }
@media (max-width: 1000px) {
  .xa-grid { grid-template-columns: minmax(0, 1fr); }
  .xa-stage { height: 480px; max-width: 560px; }
  .xa-rows a { grid-template-columns: 48px minmax(0, 1fr) 48px; }
  .xa-rows .d { grid-column: 2 / 3; }
  .xa-rows .go { grid-row: 1 / 3; grid-column: 3; }
  .xa-proc-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .xa-stage { height: 420px; }
  .xa-ad { width: 78%; } .xa-lead { width: 76%; left: 2%; } .xa-phone { width: 48%; right: 0; top: 24%; }
  .xa-ad .adt { font-size: 1.1rem; }
  .xa-actions .btn { width: 100%; text-align: center; }
  .xa-head { grid-template-columns: minmax(0, 1fr); }
  .xa-rows a { grid-template-columns: minmax(0, 1fr) 44px; padding: 22px 0; }
  .xa-rows .n { grid-column: 1 / -1; }
  .xa-rows .d { grid-column: 1 / 2; }
  .xa-rows .go { grid-row: 2 / 4; grid-column: 2; }
  .xa-steps { grid-template-columns: minmax(0, 1fr); }
  .xa-facts li { font-size: .82rem; }
}

/* ---- service cards from Concept B ---- */
.xb-header { background: rgba(243,238,227,.97); border-bottom: 1px solid var(--rule); }
.xb-header .wordmark img.logo-header { height: 62px; }
.xb-header .header-inner { min-height: 96px; }
.xb-header .header-cta { border-radius: 8px; }
.xb-services { background: var(--field); padding-top: clamp(40px, 5vw, 72px); }
.xb-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(28px, 4vw, 44px); }
.xb-head .audience { margin: 0; }
.xb-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.xb-card { background: #fff; border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
.xb-card:hover { box-shadow: 0 16px 36px rgba(31,58,46,.12); transform: translateY(-2px); }
.xb-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.xb-card .n { font-size: .75rem; font-weight: 700; color: var(--muted); letter-spacing: .1em; }
.xb-card h3 { font-size: 1.28rem; color: var(--ink); }
.xb-card p { font-size: .94rem; }
.xb-card .inc { font-size: .86rem; color: var(--muted); } .xb-card .inc b { color: var(--ink); }
.xb-card .link-arrow { margin-top: auto; align-self: flex-start; padding-top: 6px; }
.ill { height: 164px; background: var(--paper); border-bottom: 1px solid var(--rule); display: grid; place-items: center; padding: 18px; }
.ill-search { display: flex; flex-direction: column; gap: 6px; padding: 12px 16px; align-items: stretch; justify-content: center; }
.ill-search .q { background: #fff; border: 1px solid var(--rule); border-radius: 999px; padding: 6px 12px; font-size: .78rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.ill-search .q span { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--muted); }
.ill-search .r { background: #fff; border-radius: 8px; padding: 8px 10px; display: grid; gap: 5px; font-size: .66rem; border: 1px solid var(--ink); }
.ill-search .r.o { border-color: var(--rule); opacity: .7; }
.ill-search .r i { height: 7px; border-radius: 3px; background: var(--ink); width: 80%; } .ill-search .r i.s { background: var(--rule); width: 60%; }
.ill-social .post { width: 120px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 8px; display: grid; gap: 6px; }
.ill-social .who { display: flex; gap: 6px; align-items: center; } .ill-social .who span { width: 14px; height: 14px; border-radius: 50%; background: var(--sage); } .ill-social .who i { height: 6px; width: 50px; background: var(--rule); border-radius: 3px; }
.ill-social .img { height: 54px; border-radius: 6px; background: linear-gradient(135deg, var(--ink), #3c5a4b); }
.ill-social .cta { font-size: .62rem; font-weight: 600; text-align: center; background: var(--paper); border-radius: 4px; padding: 3px; color: var(--ink); }
.ill-web .win { width: 150px; background: #fff; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.ill-web .tb { display: flex; gap: 3px; padding: 5px; background: #ECE9E1; } .ill-web .tb i { width: 5px; height: 5px; border-radius: 50%; background: #c9c5bb; }
.ill-web .hb { height: 10px; margin: 8px; background: var(--ink); border-radius: 3px; width: 60%; }
.ill-web .row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 8px 8px; } .ill-web .row div { height: 34px; border-radius: 4px; background: var(--rule); } .ill-web .row .frm { background: var(--paper); border: 1px solid var(--ink); }
.ill-track { display: flex; align-items: center; gap: 0; }
.ill-track .node { font-size: .68rem; font-weight: 700; color: var(--ink); background: #fff; border: 1.5px solid var(--ink); border-radius: 999px; padding: 5px 9px; white-space: nowrap; }
.ill-track .node.on { background: var(--ink); color: var(--paper); }
.ill-track .ln { width: 14px; height: 2px; background: var(--ink); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1100px) { .xb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .xb-head { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .xb-cards { grid-template-columns: minmax(0, 1fr); } }

/* ---- How we work: horizontal numbered timeline (replaces step cards) ---- */
.tl-process { background: var(--paper-alt); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); padding-top: 10px; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 17px; height: 2px; background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 75%, var(--sage) 100%); opacity: .85; }
.timeline li { position: relative; padding-top: 34px; }
.tl-node { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--paper-alt); border: 2px solid var(--ink); }
.timeline li:last-child .tl-node { background: var(--ink); }
.tl-num { display: block; font-family: var(--font-sans); font-weight: 700; font-size: clamp(2.6rem, 4.2vw, 3.6rem); line-height: 1; letter-spacing: -0.05em; color: var(--ink); margin-bottom: 14px; }
.timeline h3 { font-size: 1.35rem; margin-bottom: 8px; }
.timeline p { font-size: 0.98rem; max-width: 22em; }
.tl-cta { margin-top: clamp(32px, 4vw, 52px); }
@media (max-width: 900px) {
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
  .timeline::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; background: linear-gradient(180deg, var(--ink) 0%, var(--ink) 80%, var(--sage) 100%); }
  .timeline li { padding: 0 0 30px 40px; }
  .timeline li:last-child { padding-bottom: 0; }
  .tl-node { top: 4px; }
  .tl-num { font-size: 2.2rem; margin-bottom: 8px; }
}

/* Homepage colour balance: The Problem on deeper cream, How We Measure on forest */
#problems .problem { border-top-color: rgba(31, 58, 46, 0.28); }
#problems .problem .n { color: var(--ink); }
#problems .problem p { color: var(--muted); }
#problems .problem .fix { color: var(--ink-soft); border-top-color: rgba(31, 58, 46, 0.28); }
#problems .problem .fix span { color: var(--ink); }

#measure .trail li { border-color: var(--line-on-dark); }
#measure .trail li::before { background: var(--sage); }
#measure .trail .n, #measure .trail .rec { color: var(--sage); }
#measure .trail p, #measure .trail-note { color: var(--on-dark); }

/* Homepage colour balance: Services on forest, cards stay cream */
#services.xb-services { background: var(--ink); color: var(--paper); }
#services .xb-head h2, #services .xb-head .eyebrow, #services .xb-head .audience { color: var(--paper); }
#services .xb-head em.it { color: var(--sage); }
#services .xb-head .audience { border-left-color: var(--sage); }
#services .also { color: var(--paper); }
#services .also a { color: var(--paper); }
#services a:focus-visible { outline-color: var(--sage); }
#services .xb-card { background: var(--paper); color: var(--ink-soft); border-color: rgba(243, 238, 227, 0.18); }
#services .xb-card:hover { box-shadow: 0 16px 36px rgba(0, 0, 0, .28); }
#services .xb-card .ill { background: var(--paper-alt); border-bottom-color: var(--rule); }
#services .xb-card a:focus-visible { outline-color: var(--ink); }

/* Homepage colour balance: Our Work on forest, cream text, screenshot in a cream frame */
#work .eyebrow, #work .section-head h2, #work .work-copy, #work .work-copy h3, #work .work-shot figcaption { color: var(--paper); }
#work .section-head em.it { color: var(--sage); }
#work .tag { color: var(--paper); border-color: var(--paper); }
#work .link-arrow, #work .link-arrow::after { color: var(--paper); }
#work .link-arrow { border-bottom-color: var(--paper); }
#work .link-arrow:hover, #work .link-arrow:hover::after { color: var(--sage); }
#work .work-shot img { background: var(--paper); padding: 6px; border-color: var(--paper); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28); }

/* Homepage hero: visible label under the illustrative graphic (QA fix, October 18, 2026) */
.xa-visual { min-width: 0; }
.xa-note { margin-top: 18px; text-align: right; font-size: .8rem; color: var(--sage); }
@media (max-width: 1000px) { .xa-visual { width: 100%; max-width: 560px; } }
/* 561–1000px: the phone graphic extends below its box, so the label sits clear of it */
@media (min-width: 561px) and (max-width: 1000px) { .xa-note { margin-top: 100px; } }
/* up to 560px the phone graphic's overhang grows with its width (percentage margins follow the width) */
@media (max-width: 560px) { .xa-note { text-align: left; margin-top: max(18px, calc(91% - 270px)); } }
