/* ==========================================================================
   ABOUT US — THREE DIRECTIONS · SHARED SHELL
   ==========================================================================
   Preview only. Nothing here is linked from a live page.

   Every token, the header and the footer are copied from the live site
   (index.html for the reference values, google-ads.html for the
   internal-page header/footer, site/ds.css for the scale) so all three
   directions sit inside the same brand. What differs between the three is
   composition, hierarchy and interaction — never the paint.

   Light theme only: the sole legal grounds are the ladder in section 1.
   ========================================================================== */

/* ==========================================================================
   1 · TOKENS — index.html :root, verbatim
   ========================================================================== */
:root{
  color-scheme: light;

  --paper:  #FFFFFF;
  --ink:    #0B0D12;
  --ink-2:  #3A414C;
  --ink-3:  #767E8B;
  --ink-4:  #A7AEB9;
  --line:   #E3E6EB;
  --line-2: #EFF1F4;
  --line-b: #DEE5F1;
  --gridline: rgba(11,13,18,.028);

  /* the light ground ladder — the only backgrounds a section may take */
  --pale:     #FCFDFF;
  --mist:     #F6F8FC;
  --ground:   #F4F7FC;
  --ground-2: #EDF2F9;
  --tint:     #EEF4FE;
  --tint-2:   #F5F9FF;
  --edge:     #CFE0FD;

  --g-blue:   #1A73E8;
  --g-green:  #188038;
  --g-yellow: #E37400;

  --accent:      #1A73E8;
  --accent-ink:  #1663CE;
  --accent-soft: #EAF1FE;

  --brand: #0B57F5;
  --navy:  #0F1B3D;

  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r-xl: 26px; --r-lg: 22px; --r-md: 16px; --r-sm: 12px; --r-xs: 9px;
  --shadow-s: 0 1px 2px rgba(11,13,18,.035), 0 6px 18px rgba(15,27,61,.045);
  --shadow-m: 0 2px 6px rgba(11,13,18,.045), 0 16px 36px rgba(15,27,61,.085);
  --ease: cubic-bezier(.4,0,.2,1);

  --pad:  clamp(18px, 4vw, 72px);
  --gut:  18px;
  --barh: 66px;

  /* the one content lane these three pages share — wider than the service
     pages because the brief asks for full-page compositions */
  --ab3-lane: min(1440px, 100% - (2 * var(--pad)));

  /* the type scale, prefixed so nothing here can collide with a page token */
  --ab3-h1:  clamp(33px, min(5vw, 7.4vh), 74px);
  --ab3-h2:  clamp(30px, 4.3vw, 62px);
  --ab3-h3:  clamp(21px, 2.4vw, 33px);
  --ab3-sub: clamp(15.5px, 1.2vw, 18px);
  --ab3-eye: 11px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); -webkit-font-smoothing: antialiased;
  padding-top: var(--barh);
}
a{ color: inherit; text-decoration: none; }
img, svg{ display: block; max-width: 100%; }
p{ margin: 0; }
h1, h2, h3, h4{ margin: 0; font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
h1 i, h2 i, h3 i, h4 i{ font-style: normal; color: var(--accent); }
button{ font: inherit; color: inherit; }
ul{ margin: 0; padding: 0; list-style: none; }
a:focus-visible, button:focus-visible{ outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden]{ display: none !important; }
.vh{
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
section{ scroll-margin-top: calc(var(--barh) + 8px); }

.ab3-lane{ width: var(--ab3-lane); margin-inline: auto; }

/* ==========================================================================
   2 · HEADER — verbatim structure from index.html / google-ads.html
   ========================================================================== */
.bar{
  position: fixed; inset: 0 0 auto; z-index: 60;
  display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px);
  padding: 15px var(--pad); border-bottom: 1px solid var(--line-2);
  background: var(--paper);
}
.wm{
  display: flex; align-items: center; font-size: 16px; font-weight: 800;
  letter-spacing: -.035em; white-space: nowrap; color: var(--navy);
  flex: 0 1 auto; min-width: 0; overflow: hidden;
}
.mark{ flex: none; display: block; width: 36px; height: 36px; margin-right: 11px; }
.mark svg{ display: block; width: 100%; height: 100%; }
.nav{ margin-left: auto; display: flex; gap: clamp(14px, 2vw, 30px); font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.nav a{ position: relative; padding: 3px 0; transition: color .18s var(--ease); }
.nav a::after{
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--accent); transition: right .24s var(--ease);
}
.nav a:hover{ color: var(--ink); }
.nav a:hover::after{ right: 0; }
.nav a.on{ color: var(--accent); font-weight: 650; }
.nav a.on::after{ right: 0; }
.baract{ display: flex; align-items: center; gap: 10px; flex: none; }
.barbtn{
  flex: none; padding: 9px 16px; border-radius: 7px; background: var(--g-blue);
  color: #fff; font-size: 13px; font-weight: 650; white-space: nowrap;
  transition: background .18s var(--ease);
}
.barbtn:hover{ background: var(--accent-ink); }
@media (max-width: 900px){ .nav{ display: none; } }
@media (max-width: 400px){
  .bar{ padding: 12px 12px; gap: 8px; }
  .wm{ font-size: 13.5px; }
  .mark{ width: 28px; height: 28px; margin-right: 8px; }
  .baract{ gap: 6px; margin-left: 6px; }
  .barbtn{ display: inline-flex; align-items: center; height: 33px; padding: 0 11px; font-size: 12px; }
}

/* ==========================================================================
   3 · BUTTONS — the site has exactly three
   ========================================================================== */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; padding: 0 28px; border-radius: 11px; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; font-size: 15.2px; font-weight: 700;
  letter-spacing: -.01em; white-space: nowrap;
  box-shadow: 0 10px 24px -14px var(--g-blue);
  transition: background .18s var(--ease), transform .12s var(--ease);
}
.btn:hover{ background: var(--accent-ink); }
.btn:active{ transform: translateY(1px); }
.btn svg{ width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover svg{ transform: translateX(3px); }

.btn.ghost{
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-b); box-shadow: none;
}
.btn.ghost:hover{ background: var(--mist); border-color: var(--edge); }

.btn.link{
  height: auto; padding: 0; background: none; box-shadow: none;
  color: var(--accent); font-weight: 700;
}
.btn.link:hover{ background: none; }

/* ==========================================================================
   4 · FOOTER — verbatim from index.html
   ========================================================================== */
#sfoot{
  background: var(--ground); border-top: 1px solid var(--line-b);
  padding: clamp(48px,5vw,72px) var(--pad) 26px;
}
#sfoot .f-wrap{ width: min(1200px, 100%); margin-inline: auto; }
#sfoot .f-cols{ display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(24px,3vw,48px); }
#sfoot .f-id{ display: flex; align-items: center; gap: 10px; }
#sfoot .f-mk{ width: 30px; height: 30px; flex: none; }
#sfoot .f-id b{ font-size: 15.5px; font-weight: 800; color: var(--navy); }
#sfoot .f-lede{ margin: 14px 0 0; font-size: 13px; line-height: 1.55; color: var(--ink-3); max-width: 32ch; }
#sfoot .f-badge{ margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 650; color: var(--ink-2); }
#sfoot .f-badge svg{ width: 15px; height: 15px; fill: none; stroke: var(--accent); stroke-width: 1.8; }
#sfoot h3{ margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-4); }
#sfoot ul{ display: flex; flex-direction: column; gap: 10px; }
#sfoot ul a{ font-size: 13.5px; color: var(--ink-2); }
#sfoot ul a:hover{ color: var(--accent); }
#sfoot .f-ct{ display: flex; flex-direction: column; gap: 12px; }
#sfoot .f-ci{ display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--ink-2); }
#sfoot .f-ci svg{ flex: none; width: 15px; height: 15px; margin-top: 1px; fill: none; stroke: var(--ink-3); stroke-width: 1.8; }
#sfoot .f-ci a:hover{ color: var(--accent); }
#sfoot .f-base{ margin-top: clamp(36px,4vw,52px); padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); }
#sfoot .f-lg{ display: flex; gap: 18px; }
#sfoot .f-lg a:hover{ color: var(--accent); }
#sfoot .f-soc{ margin-left: auto; display: flex; gap: 12px; }
#sfoot .f-soc svg{ width: 17px; height: 17px; fill: var(--ink-3); }
#sfoot .f-soc a:hover svg{ fill: var(--accent); }
@media (max-width: 900px){ #sfoot .f-cols{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ #sfoot .f-cols{ grid-template-columns: 1fr; gap: 30px; } #sfoot .f-soc{ margin-left: 0; } }

/* ==========================================================================
   5 · SHARED SMALL PARTS
   ========================================================================== */
/* the eyebrow: mono · 11px · .24em · accent */
.ab3-eye{
  margin: 0; font-family: var(--mono); font-size: var(--ab3-eye);
  letter-spacing: .24em; text-transform: uppercase; font-weight: 500;
  /* neutral: an 11px tracked mono label is quiet by size, not by hue.
     .ab3-eye.brand below keeps the one deliberate blue on the page. */
  color: var(--ink-2);
}
.ab3-eye.brand{ color: var(--brand); }
.ab3-mono{ font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }

/* the grid texture the two live heroes carry */
.ab3-tex{
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, var(--gridline) 1px, transparent 1px),
    linear-gradient(to bottom, var(--gridline) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 74% at 50% 22%, #000 22%, transparent 80%);
          mask-image: radial-gradient(120% 74% at 50% 22%, #000 22%, transparent 80%);
}

/* the preview ribbon — this file is never linked from a live page.
   It sits under the header on the right, where no version puts content, so it
   cannot cover a hero's foot. */
.labtag{
  position: fixed; right: 12px; top: calc(var(--barh) + 12px); z-index: 80;
  display: flex; align-items: center; gap: 9px;
  padding: 7px 13px; border-radius: 999px;
  background: #101828; color: #fff; font-family: var(--mono);
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
}
.labtag b{ color: #7FB0FF; font-weight: 600; }
.labtag a{ color: #fff; opacity: .62; }
.labtag a:hover{ opacity: 1; }

/* ==========================================================================
   6 · THE PHONE JOURNEY LAYER — shared by all three
   --------------------------------------------------------------------------
   Below 760px every section carries a slim sticky strip that names it and
   numbers it, and closes by naming the next one. The strip changing IS the
   section boundary, so no heavy rule is needed, and a reader always knows in
   one second which section they are in.
   ========================================================================== */
.ab3-mj{ display: none; }
.ab3-onward{ display: none; }

@media (max-width: 760px){
  :root{ --pad: var(--gut); }
  section{ scroll-margin-top: calc(var(--barh) + 40px); }

  .ab3-mj{
    display: flex; align-items: center; gap: 9px;
    position: sticky; top: var(--barh); z-index: 40;
    margin: 0 calc(-1 * var(--gut)) 18px; padding: 10px var(--gut);
    /* opaque white, no backdrop blur: what scrolls under this sticky bar is
       hidden by it cleanly instead of being smeared through it (2026-09-09) */
    background: #FFFFFF;
    border-bottom: 1px solid var(--line-b);
    font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em;
    /* this bar IS the small blue contextual heading on a phone: the section's
       .ab3-eye is hidden at this width and the bar carries its words, so it
       takes the eyebrow's ink rather than body grey. */
    text-transform: uppercase; color: var(--accent);
  }
  .ab3-mj b{ color: var(--accent); font-weight: 600; }
  .ab3-mj s{ text-decoration: none; color: var(--ink-4); }

  .ab3-onward{
    display: flex; align-items: center; gap: 8px;
    margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line-b);
    font-size: 12.5px; color: var(--ink-3);
  }
  .ab3-onward b{ color: var(--ink); font-weight: 700; }
  .ab3-onward svg{ width: 14px; height: 14px; flex: none; fill: none; stroke: var(--ink-4); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

  .btn{ height: 50px; width: 100%; }
  /* on a phone the ribbon shrinks to a chip: at full length it lay straight
     across the section strip and the first headline */
  .labtag{ font-size: 9px; padding: 5px 10px; gap: 7px; right: 8px; top: calc(var(--barh) + 7px); }
  .labtag-v{ display: none; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
