/* ===========================================================================
   nandameira.com — shared design system
   Palette, type and components lifted from the live /hire page so all three
   pages read as one brand:
     black + white + acid yellow #F4FF33, Roboto Slab display, Roboto body,
     Nunito for UI labels.
   Yellow is a FILL colour only — it fails contrast as text on white, so it
   always carries near-black type on top of it.
   =========================================================================== */

@font-face{font-family:"Roboto Slab";font-style:normal;font-weight:300;font-display:swap;src:url("assets/fonts/roboto-slab-300.woff2") format("woff2")}
@font-face{font-family:"Roboto Slab";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/roboto-slab-700.woff2") format("woff2")}
@font-face{font-family:"Roboto";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/roboto-400.woff2") format("woff2")}
@font-face{font-family:"Roboto";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/roboto-500.woff2") format("woff2")}
@font-face{font-family:"Nunito";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/nunito-700.woff2") format("woff2")}

:root{
  --yellow:      #F4FF33;
  --yellow-soft: rgba(244,255,51,.16);
  --ink:         #222222;      /* headings */
  --body:        #333333;      /* body text, 12.6:1 */
  --muted:       #6E6E6E;      /* 5.3:1 — safe for small text */
  --rule:        #E4E4E4;
  --rule-2:      #CFCFCF;
  --bg:          #FFFFFF;
  --bg-2:        #F5F5F5;
  --solid:       #191919;

  --slab: "Roboto Slab", Georgia, serif;
  --sans: "Roboto", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ui:   "Nunito", var(--sans);

  --ease:   cubic-bezier(.22, 1, .36, 1);
  --t-fast: .3s;
  --t-med:  .58s;
  --t-slow: .85s;

  --shell: 1240px;
  --pad:   clamp(1.25rem, 4.5vw, 4rem);
  --r:     14px;
}

@media (prefers-color-scheme: dark){
  :root{
    --ink:#F2F2F2; --body:#E2E2E2; --muted:#9C9C9C;
    --rule:#2B2B2B; --rule-2:#3D3D3D; --bg:#121212; --bg-2:#1A1A1A; --solid:#F4FF33;
    --yellow-soft:rgba(244,255,51,.12);
  }
}

/* ---------- reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--body);font-family:var(--sans);
  font-size:clamp(.9375rem,.9rem + .2vw,1.0625rem);line-height:1.65;-webkit-font-smoothing:antialiased}
img,svg,picture{display:block;max-width:100%}
img{height:auto}
h1,h2,h3{margin:0;font-family:var(--slab);font-weight:300;color:var(--ink);line-height:1.08;letter-spacing:-.015em;text-wrap:balance}
h1 b,h2 b,h3 b{font-weight:700}
p{margin:0 0 1.15em;text-wrap:pretty}
ul,ol,dl,dd{margin:0;padding:0;list-style:none}
a{color:inherit}
strong{font-weight:500;color:var(--ink)}
section{scroll-margin-top:96px}
:focus-visible{outline:3px solid var(--solid);outline-offset:3px;border-radius:3px}

.skip{position:absolute;left:-9999px;top:0;z-index:300;background:var(--solid);
  color:var(--bg);padding:.8rem 1.25rem;font-family:var(--ui);font-weight:700;text-decoration:none}
.skip:focus{left:0}
@media (prefers-color-scheme: dark){ .skip{color:#191919} }

.shell{width:100%;max-width:var(--shell);margin-inline:auto;padding-inline:var(--pad)}

/* ---------- type primitives ---------- */
.display{font-size:clamp(1.7rem,.95rem + 4.2vw,4.4rem)}
.h2{font-size:clamp(1.7rem,1.1rem + 2.3vw,3rem);margin-bottom:1.1rem}
.lede{font-size:clamp(1rem,.95rem + .4vw,1.25rem);line-height:1.6;max-width:58ch;color:var(--body)}

/* yellow highlight behind inline text — the /hire signature */
.mark{background:var(--yellow);color:#191919;padding:.06em .28em;border-radius:4px;
  box-decoration-break:clone;-webkit-box-decoration-break:clone}

.label{font-family:var(--ui);font-weight:700;font-size:.6875rem;letter-spacing:.14em;
  text-transform:uppercase;color:var(--muted);margin:0 0 1.4rem;display:flex;align-items:baseline;gap:.6rem}
.idx{color:var(--ink)}
.pill{display:inline-block;background:var(--yellow);color:#191919;font-family:var(--ui);
  font-weight:700;font-size:.6875rem;letter-spacing:.13em;text-transform:uppercase;
  padding:.4rem .95rem;border-radius:999px}
.pill-ghost{background:transparent;color:var(--muted);border:1px solid var(--rule-2)}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--ui);font-weight:700;
  font-size:.875rem;letter-spacing:.02em;padding:.8rem 1.5rem;border-radius:999px;
  text-decoration:none;border:1.5px solid transparent;cursor:pointer;
  transition:transform var(--t-fast) var(--ease),background var(--t-fast) var(--ease),
             color var(--t-fast) var(--ease),border-color var(--t-fast) var(--ease)}
.btn:hover{transform:translateY(-2px)}
/* Primary button is black with a white label. Yellow is kept for the hover,
   so the accent still appears but stops dominating the page. */
.btn-y{background:var(--solid);color:#fff}
.btn-y:hover{background:var(--yellow);color:#191919}
@media (prefers-color-scheme: dark){ .btn-y{background:#fff;color:#191919} .btn-y:hover{background:var(--yellow);color:#191919} }
.btn-dark{background:var(--solid);color:var(--bg)}
@media (prefers-color-scheme: dark){ .btn-dark{color:#191919} }
.btn-dark:hover{background:var(--yellow);color:#191919}
.btn-ghost{border-color:var(--rule-2);color:var(--ink)}
.btn-ghost:hover{border-color:var(--ink);background:var(--yellow);color:#191919}

/* underline wipe */
.wipe{text-decoration:none}
.wipe>span{position:relative;display:inline-block}
.wipe>span::after{content:"";position:absolute;left:0;right:0;bottom:-.14em;height:1.5px;
  background:currentColor;transform:scaleX(0);transform-origin:100% 50%;
  transition:transform var(--t-med) var(--ease)}
.wipe:hover>span::after,.wipe:focus-visible>span::after{transform:scaleX(1);transform-origin:0 50%}

/* ---------- masthead ---------- */
.masthead{position:sticky;top:0;z-index:100;background:color-mix(in srgb,var(--bg) 92%,transparent);
  backdrop-filter:blur(12px) saturate(1.3);-webkit-backdrop-filter:blur(12px) saturate(1.3);
  border-bottom:1px solid transparent;transition:border-color var(--t-med) var(--ease)}
.masthead.stuck{border-bottom-color:var(--rule)}
.masthead-in{display:flex;align-items:center;gap:1.25rem;min-height:70px}
.brand{display:inline-flex;align-items:center;margin-right:auto;text-decoration:none;color:var(--ink)}
.brand svg{width:52px;height:auto;transition:transform var(--t-med) var(--ease)}
.brand:hover svg{transform:translateY(-2px)}
.brand .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.nav ul{display:flex;align-items:center;gap:clamp(.9rem,2vw,2rem)}
.nav a{font-family:var(--ui);font-weight:700;font-size:.8125rem;color:var(--muted);text-decoration:none;
  transition:color var(--t-fast) var(--ease)}
.nav a:hover,.nav a[aria-current="true"]{color:var(--ink)}
.nav .btn{font-size:.8125rem;padding:.6rem 1.15rem}


.burger{display:none;align-items:center;gap:.5rem;background:none;border:1px solid var(--rule-2);
  border-radius:999px;padding:.5rem .95rem;font-family:var(--ui);font-weight:700;font-size:.75rem;
  color:var(--ink);cursor:pointer}
.burger-i{display:grid;gap:4px;width:16px}
.burger-i i{height:2px;background:currentColor;border-radius:2px;transition:transform var(--t-med) var(--ease)}
.burger[aria-expanded="true"] .burger-i i:first-child{transform:translateY(3px) rotate(45deg)}
.burger[aria-expanded="true"] .burger-i i:last-child{transform:translateY(-3px) rotate(-45deg)}

@media (max-width:880px){
  .burger{display:inline-flex}
  .nav{position:fixed;inset:70px 0 auto;background:var(--bg);border-bottom:1px solid var(--rule);
    padding:1rem var(--pad) 1.75rem;clip-path:inset(0 0 100% 0);visibility:hidden;pointer-events:none;
    transition:clip-path var(--t-med) var(--ease),visibility 0s linear var(--t-med)}
  .nav.open{clip-path:inset(0 0 0 0);visibility:visible;pointer-events:auto;
    transition:clip-path var(--t-med) var(--ease),visibility 0s linear 0s}
  .nav ul{flex-direction:column;align-items:stretch;gap:0}
  .nav a{display:block;padding:.95rem 0;font-size:1.0625rem;color:var(--ink);border-bottom:1px solid var(--rule)}
  .nav li:last-child{margin-top:1rem}
  .nav .btn{justify-content:center;border-bottom:0}
}

/* ---------- hero ---------- */
.hero{padding-block:clamp(2.5rem,7vw,6rem) clamp(2rem,5vw,4rem)}
.hero-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));
  column-gap:clamp(.75rem,1.6vw,1.75rem);row-gap:clamp(1.5rem,3.5vw,2.75rem)}
.hero-top{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
.hero h1{grid-column:1/-1;grid-row:2}
.hero-note{grid-column:1/8;grid-row:3;align-self:center}
.badge{grid-column:9/13;grid-row:3;align-self:center;justify-self:center}
.hero-foot{grid-column:1/-1;grid-row:4}
@media (max-width:1040px){ .hero-note{grid-column:1/8} .badge{grid-column:8/13} }
@media (max-width:860px){
  .badge{grid-column:1/8;grid-row:3;justify-self:start}
  .hero-note{grid-column:1/-1;grid-row:4}
  .hero-foot{grid-row:5}
}
.ln{display:block;overflow:hidden;padding-bottom:.16em;margin-bottom:-.16em}
.ln-i{display:block}

.frame{overflow:hidden;border-radius:var(--r);background:var(--bg-2)}
.frame img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:50% 20%;
  transition:transform 1s var(--ease)}
.portrait:hover .frame img{transform:scale(1.04)}

.hero-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.5rem 0 0}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));
  gap:1.1rem 2rem;border-top:1px solid var(--rule);padding-top:1.4rem}
.facts dt{font-family:var(--ui);font-weight:700;font-size:.625rem;letter-spacing:.14em;
  text-transform:uppercase;color:var(--muted);margin-bottom:.3rem}
.facts dd{font-family:var(--slab);font-weight:300;font-size:1.25rem;color:var(--ink);line-height:1.2}

/* ---------- bands & asymmetric split ---------- */
.band{position:relative;padding-block:clamp(3rem,7vw,6.5rem);border-top:1px solid var(--rule)}
.band-grey{background:var(--bg-2)}
.split{display:grid;grid-template-columns:minmax(0,170px) minmax(0,1fr);
  gap:clamp(1.25rem,4.5vw,5rem);align-items:start}
.split>.label{position:sticky;top:100px;margin:0}
.split-body{max-width:960px}
@media (max-width:860px){ .split{grid-template-columns:1fr;gap:1.25rem} .split>.label{position:static} }

.cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,265px),1fr));
  gap:clamp(1.25rem,3vw,2.5rem);margin-top:clamp(1.5rem,3vw,2.25rem)}
.card{background:var(--bg);border:1px solid var(--rule);border-radius:var(--r);
  padding:clamp(1.25rem,2.5vw,1.85rem);height:100%}
.band-grey .card{background:var(--bg)}
.card h3{font-size:1.3rem;font-weight:700;margin-bottom:.5rem}
.card p{font-size:.9375rem;color:var(--body);margin-bottom:0}
.card .pill{margin-bottom:.9rem}

.ticks li{position:relative;padding-left:1.5rem;margin-bottom:.5rem;font-size:.9375rem}
.ticks li::before{content:"";position:absolute;left:0;top:.5em;width:9px;height:5px;
  border-left:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:rotate(-45deg)}
.crosses li{position:relative;padding-left:1.5rem;margin-bottom:.5rem;font-size:.9375rem;color:var(--muted)}
.crosses li::before{content:"×";position:absolute;left:.2rem;top:-.1em;font-size:1.1rem;color:var(--muted)}

/* ---------- editorial index ---------- */
.index{margin-top:clamp(1rem,2vw,1.5rem)}
.index li:last-child .row{border-bottom:1px solid var(--rule)}
.row{position:relative;display:grid;align-items:baseline;
  grid-template-columns:3rem minmax(0,1.05fr) minmax(0,1.3fr) 7.5rem;
  gap:.45rem 1.5rem;padding:1.35rem .75rem 1.35rem 0;border-top:1px solid var(--rule);
  text-decoration:none;isolation:isolate}
.row::before{content:"";position:absolute;inset:0 -.75rem;z-index:-1;background:var(--yellow-soft);
  transform:scaleY(0);transform-origin:50% 100%;transition:transform var(--t-med) var(--ease)}
a.row:hover::before,a.row:focus-visible::before{transform:scaleY(1);transform-origin:50% 0}
.row-n{font-family:var(--ui);font-weight:700;font-size:.6875rem;letter-spacing:.1em;color:var(--muted);
  font-variant-numeric:tabular-nums;transition:color var(--t-fast) var(--ease)}
a.row:hover .row-n{color:var(--ink)}
.row-t{font-family:var(--slab);font-weight:300;font-size:clamp(1.25rem,1.05rem + .75vw,1.7rem);
  color:var(--ink);line-height:1.15;transition:transform var(--t-med) var(--ease)}
a.row:hover .row-t{transform:translateX(8px)}
.row-t .sub{display:block;margin-top:.35rem;font-family:var(--ui);font-weight:700;font-size:.625rem;
  letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.row-t .sub-d{margin-top:.22rem;font-weight:700;letter-spacing:.1em;color:var(--rule-2);
  font-variant-numeric:tabular-nums}
@media (prefers-color-scheme: dark){.row-t .sub-d{color:#8A8A8A}}
.wipe-t{position:relative;display:inline-block}
.wipe-t::after{content:"";position:absolute;left:0;right:0;bottom:.02em;height:1.5px;background:currentColor;
  transform:scaleX(0);transform-origin:100% 50%;transition:transform var(--t-med) var(--ease)}
a.row:hover .wipe-t::after{transform:scaleX(1);transform-origin:0 50%}
.row-m{font-size:.875rem;color:var(--muted);line-height:1.55}
.row-x{font-family:var(--ui);font-weight:700;font-size:.6875rem;letter-spacing:.12em;
  text-transform:uppercase;color:var(--muted);text-align:right}
.row-x i{font-style:normal;display:inline-block;transition:transform var(--t-med) var(--ease)}
a.row:hover .row-x i{transform:translate(3px,-3px)}
@media (max-width:760px){
  .row{grid-template-columns:2.25rem minmax(0,1fr)}
  .row-m,.row-x{grid-column:2;text-align:left}
}

/* ---------- process ---------- */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));
  gap:clamp(1.1rem,2.5vw,2rem);margin-top:clamp(1.5rem,3vw,2.25rem)}
.steps li{border-top:3px solid var(--yellow);padding-top:1rem}
.steps .n{display:block;font-family:var(--ui);font-weight:700;font-size:.625rem;letter-spacing:.14em;
  text-transform:uppercase;color:var(--muted);margin-bottom:.55rem}
.steps h3{font-size:1.15rem;font-weight:700;margin-bottom:.4rem}
.steps p{font-size:.875rem;color:var(--muted);margin:0}

/* ---------- faq ---------- */
.faq details{border-top:1px solid var(--rule)}
.faq details:last-of-type{border-bottom:1px solid var(--rule)}
.faq summary{display:flex;align-items:baseline;justify-content:space-between;gap:2rem;
  padding:1.2rem 0;cursor:pointer;list-style:none;font-family:var(--slab);font-weight:300;
  font-size:clamp(1.05rem,1rem + .4vw,1.3rem);color:var(--ink);transition:color var(--t-fast) var(--ease)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";flex:none;width:11px;height:11px;margin-top:.45em;
  background:linear-gradient(currentColor,currentColor) center/100% 2px no-repeat,
             linear-gradient(currentColor,currentColor) center/2px 100% no-repeat;
  transition:transform var(--t-med) var(--ease)}
.faq details[open] summary::after{transform:rotate(135deg)}
.faq details p{max-width:66ch;color:var(--muted);font-size:.9375rem;margin:0 0 1.4rem;padding-right:2.5rem}

/* ---------- cta band ---------- */
.cta{background:var(--solid);color:#fff}
@media (prefers-color-scheme: dark){ .cta{background:var(--bg-2);color:var(--body)} }
.cta h2{color:#fff}
@media (prefers-color-scheme: dark){ .cta h2{color:var(--ink)} }
.cta .lede{color:#BDBDBD;margin-top:1.1rem}
.cta .label{color:#8A8A8A}
.cta-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:2rem}
.cta-foot{margin:1.5rem 0 0;font-size:.8125rem;color:#8A8A8A}
.cta-foot a{color:#fff}
@media (prefers-color-scheme: dark){ .cta-foot a{color:var(--ink)} }

/* ---------- cross-link to the other pages ---------- */
.crossing{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));
  gap:1rem;margin-top:clamp(1.5rem,3vw,2.25rem)}
.cross{display:block;border:1px solid var(--rule);border-radius:var(--r);padding:1.5rem;
  text-decoration:none;transition:background var(--t-fast) var(--ease),border-color var(--t-fast) var(--ease),
  transform var(--t-fast) var(--ease)}
.cross:hover{background:var(--yellow-soft);border-color:var(--rule-2);transform:translateY(-3px)}
.cross .k{display:block;font-family:var(--ui);font-weight:700;font-size:.625rem;letter-spacing:.14em;
  text-transform:uppercase;color:var(--muted);margin-bottom:.6rem}
.cross .t{font-family:var(--slab);font-weight:300;font-size:1.3rem;color:var(--ink);display:block;margin-bottom:.4rem}
.cross .d{font-size:.875rem;color:var(--muted)}

/* ---------- footer ---------- */
.foot{border-top:1px solid var(--rule);padding-block:clamp(2.25rem,4.5vw,3.5rem) 1.5rem}
.foot-in{display:flex;flex-wrap:wrap;gap:1.5rem 2rem;justify-content:space-between;align-items:flex-end;
  padding-bottom:1.5rem;border-bottom:1px solid var(--rule)}
.foot-brand svg{width:56px;color:var(--ink)}
.foot-brand p{margin:.6rem 0 0;font-size:.8125rem;color:var(--muted)}
.foot-nav{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;font-family:var(--ui);font-weight:700;font-size:.75rem}
.foot-nav a{text-decoration:none;color:var(--muted)}
.foot-nav a:hover{color:var(--ink)}
.foot-legal{display:flex;flex-wrap:wrap;gap:.35rem 2rem;justify-content:space-between;padding-top:1.4rem;
  font-size:.6875rem;color:var(--muted)}
.foot-legal p{margin:0}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference){
  .ln-i{transform:translateY(105%)}
  html.ready .ln-i{transform:none;transition:transform var(--t-slow) var(--ease) var(--ln-d,0s)}
  .ln:nth-child(1) .ln-i{--ln-d:.05s}
  .ln:nth-child(2) .ln-i{--ln-d:.14s}
  .ln:nth-child(3) .ln-i{--ln-d:.23s}
  .hero-top,.badge,.hero-note,.hero-foot{opacity:0;transform:translateY(14px)}
  html.ready .hero-top,html.ready .badge,html.ready .hero-note,html.ready .hero-foot{
    opacity:1;transform:none;
    transition:opacity var(--t-med) var(--ease) var(--d,0s),transform var(--t-med) var(--ease) var(--d,0s)}
  html.ready .hero-top{--d:.02s}
  html.ready .badge{--d:.28s}
  html.ready .hero-note{--d:.36s}
  html.ready .hero-foot{--d:.44s}
  .rv{opacity:0;transform:translateY(22px)}
  /* cards and rows travel further and land slower, so the section reads as
     it assembles rather than blinking into place */
  .tiles > li.rv,.index > li.rv,.cols > .rv,.steps > li.rv{transform:translateY(38px) scale(.985)}
  .tiles > li.rv.in,.index > li.rv.in,.cols > .rv.in,.steps > li.rv.in{transform:none;
    transition:opacity .74s var(--ease) var(--rd,0s),transform .86s var(--ease) var(--rd,0s)}
  .rv.in{opacity:1;transform:none;
    transition:opacity var(--t-med) var(--ease) var(--rd,0s),transform var(--t-med) var(--ease) var(--rd,0s)}
}
@supports (view-transition-name: none){
  @view-transition{ navigation: auto }
  .masthead{view-transition-name:masthead}
  .foot{view-transition-name:foot}
  @media (prefers-reduced-motion: reduce){
    ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none !important}
  }
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms !important;transition-duration:.001ms !important}
  .ln-i,.hero-top,.badge,.hero-note,.hero-foot,.rv{opacity:1 !important;transform:none !important}
}
@media print{
  .masthead,.burger,.nav,.hero-actions,.cta-actions,.crossing{display:none !important}
  body{background:#fff;color:#191919;font-size:10.5pt}
  .band{padding-block:1rem;break-inside:avoid}
  .ln-i,.hero-top,.badge,.hero-note,.hero-foot,.rv{opacity:1 !important;transform:none !important}
  a[href^="http"]::after{content:" (" attr(href) ")";font-size:8pt;color:#555}
}

/* nav + inline links: a strike that wipes through, Jetton-ish */
.strike{position:relative;text-decoration:none;display:inline-block}
.strike::after{content:"";position:absolute;left:0;right:0;top:52%;height:1.5px;background:currentColor;
  transform:scaleX(0);transform-origin:0 50%;transition:transform var(--t-med) var(--ease)}
.strike:hover::after,.strike:focus-visible::after{transform:scaleX(1)}

/* coarse pointers never get any of it */
@media (pointer: coarse){
  .cursor,.cursor-ring{display:none !important}
  html.cursor-on body{cursor:auto}
}
@media (prefers-reduced-motion: reduce){
  .cursor,.cursor-ring{display:none !important}
  html.cursor-on body{cursor:auto}
}


/* ===========================================================================
   ROTATING PHOTO BADGE
   Circular portrait with the name set on a circular <textPath> that turns
   slowly around it. The ring is decorative; the photo carries the alt text.
   =========================================================================== */
.badge{
  position:relative;margin:0;
  width:min(100%, 360px);aspect-ratio:1;
  display:grid;place-items:center;
  /* reserve the box up front so the ring can never shift layout */
}
.badge-ring{
  position:absolute;inset:0;width:100%;height:100%;
  overflow:visible;pointer-events:none;
}
.badge-ring text{
  font-family:var(--ui);font-weight:700;
  font-size:5.6px;                 /* viewBox units */
  letter-spacing:.3px;
  text-transform:uppercase;
  fill:var(--ink);
}
/* soft yellow disc peeking out behind the photo */
.badge-disc{
  position:absolute;width:63%;aspect-ratio:1;border-radius:50%;
  background:var(--yellow);
  transform:translate(7px,9px);
}
.badge-photo{
  position:relative;width:61%;aspect-ratio:1;border-radius:50%;
  overflow:hidden;background:var(--bg-2);
  box-shadow:0 0 0 1px var(--rule);
}
.badge-photo img{
  width:100%;height:100%;object-fit:cover;object-position:50% 18%;
  transition:transform 1.1s var(--ease);
}
.badge:hover .badge-photo img{transform:scale(1.045)}

@media (prefers-reduced-motion: no-preference){
  .badge-ring{animation:badge-spin 24s linear infinite}
  .badge:hover .badge-ring{animation-duration:9s}
  @keyframes badge-spin{to{transform:rotate(360deg)}}
}
@media (max-width:860px){ .badge{width:min(100%, 250px)} }

/* ===========================================================================
   YELLOW SQUARE CURSOR  (replaces the ring)
   mix-blend-mode:multiply is the fix for the bug where the old yellow disc
   painted over menu labels — multiply keeps whatever is darker, so black type
   stays fully readable straight through the square. On the dark CTA band
   multiply would erase it, so script.js flips that one section to normal.
   =========================================================================== */
.cursor,.cursor-ring{
  position:fixed;top:0;left:0;z-index:9999;pointer-events:none;opacity:0;
  will-change:transform;
  transform:translate3d(var(--cx,0px),var(--cy,0px),0) translate(-50%,-50%) scale(var(--cs,1));
}
.cursor{width:8px;height:8px;border-radius:2px;background:var(--solid);
  transition:opacity .18s var(--ease)}
.cursor-ring{
  min-width:26px;height:26px;padding:0;border-radius:3px;
  background:var(--yellow);mix-blend-mode:multiply;
  display:grid;place-items:center;
  transition:min-width .3s var(--ease),height .3s var(--ease),padding .3s var(--ease),
             border-radius .3s var(--ease),background-color .16s var(--ease),
             opacity .18s var(--ease);
}
.cursor-ring span{
  font-family:var(--ui);font-weight:700;font-size:.625rem;letter-spacing:.12em;
  text-transform:uppercase;color:#191919;white-space:nowrap;
  max-width:0;opacity:0;overflow:hidden;
  transition:max-width .3s var(--ease),opacity .16s var(--ease);
}
/* Nothing shows, and the native cursor is NOT hidden, until the pointer has
   actually moved — otherwise a page loaded under a still mouse gets a yellow
   square parked at 0,0 and no cursor at all. */
html.cursor-on.c-live .cursor,html.cursor-on.c-live .cursor-ring{opacity:1}
html.cursor-on.c-live body{cursor:none}
html.cursor-on input,html.cursor-on textarea,html.cursor-on select,
html.cursor-on [contenteditable]{cursor:auto}

/* A plain link names no action, so it keeps the highlighter swipe: multiply
   leaves the label underneath fully readable. */
html.cursor-on.c-link:not(.c-label) .cursor{opacity:0}
html.cursor-on.c-link:not(.c-label) .cursor-ring{min-width:54px;height:30px}

/* Anything that CAN name its action — a button, a summary, a case tile — gets a
   plate with the word on it, sized to the word. Normal blending, because a
   yellow square multiplied over a yellow button hover is invisible exactly
   when you are aiming at it. */
html.cursor-on.c-label .cursor{opacity:0}
html.cursor-on.c-label .cursor-ring{
  min-width:0;height:32px;padding:0 .85rem;background:#191919;mix-blend-mode:normal}
html.cursor-on.c-label .cursor-ring span{max-width:16rem;opacity:1;color:#fff}

html.cursor-on.c-down .cursor-ring,html.cursor-on.c-down .cursor{--cs:.92}
html.cursor-on.c-out .cursor,html.cursor-on.c-out .cursor-ring{opacity:0}

/* The dark CTA band: multiply would black the square out, and a near-black
   plate would disappear into it, so both invert. */
html.cursor-on.c-dark .cursor-ring{mix-blend-mode:normal}
html.cursor-on.c-dark .cursor{background:var(--yellow)}
html.cursor-on.c-dark.c-label .cursor-ring{background:#FFFFFF}
html.cursor-on.c-dark.c-label .cursor-ring span{color:#191919}

@media (prefers-color-scheme: dark){
  html.cursor-on.c-label .cursor-ring{background:#F2F2F2}
  html.cursor-on.c-label .cursor-ring span{color:#191919}
  html.cursor-on.c-dark.c-label .cursor-ring{background:#191919}
  html.cursor-on.c-dark.c-label .cursor-ring span{color:#FFFFFF}
}

@media (pointer: coarse){
  .cursor,.cursor-ring{display:none !important}
  html.cursor-on body{cursor:auto}
}
@media (prefers-reduced-motion: reduce){
  .cursor,.cursor-ring{display:none !important}
  html.cursor-on body{cursor:auto}
}

/* ---------- yellow highlight behind a headline phrase ---------- */
.hl{position:relative;display:inline-block}
.hl::before{content:"";position:absolute;left:-.08em;right:-.08em;top:.2em;bottom:.18em;
  background:var(--yellow);z-index:-1;border-radius:3px;
  transform:scaleX(0);transform-origin:0 50%;transition:transform .7s var(--ease) .15s}
html.ready .hl::before{transform:scaleX(1)}
@media (prefers-reduced-motion: reduce){ .hl::before{transform:scaleX(1) !important;transition:none} }

/* ===========================================================================
   WORK TILES
   Visual first, then the business problem in one line, then role. Recruiters
   give a portfolio about three minutes, so nothing here needs reading twice.
   =========================================================================== */
.tiles{display:grid;gap:clamp(1rem,2.2vw,1.75rem);
  grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));
  margin-top:clamp(1.5rem,3vw,2.25rem)}
.tile{display:flex;flex-direction:column;height:100%;text-decoration:none;
  border:1px solid var(--rule);border-radius:var(--r);overflow:hidden;background:var(--bg);
  transition:transform var(--t-med) var(--ease),box-shadow var(--t-med) var(--ease),
             border-color var(--t-med) var(--ease)}
.tile:hover,.tile:focus-visible{transform:translateY(-5px);border-color:var(--ink);
  box-shadow:0 14px 34px rgba(17,17,17,.1)}

.tile-plate,.tile-img{display:block;width:100%;aspect-ratio:1;overflow:hidden}
.tile-plate{display:grid;place-items:center;position:relative}
.tile-plate > span{font-family:var(--slab);font-weight:700;font-size:clamp(1.5rem,3.4vw,2.1rem);
  line-height:1.03;text-align:center;letter-spacing:-.02em;color:#191919;opacity:.9}
.tile-1{background:var(--yellow)}
.tile-2{background:var(--solid)} .tile-2 > span{color:var(--yellow)}
.tile-3{background:var(--bg-2)} .tile-3 > span{color:var(--ink)}
.tile-img{object-fit:cover}
.tile:hover .tile-plate > span{transform:scale(1.03)}
.tile-plate > span{transition:transform var(--t-med) var(--ease)}

.tile-body{display:flex;flex-direction:column;gap:.45rem;padding:clamp(1.1rem,2.2vw,1.5rem);flex:1}
.tile-meta{font-family:var(--ui);font-weight:700;font-size:.625rem;letter-spacing:.14em;
  text-transform:uppercase;color:var(--muted)}
.tile-h{font-family:var(--slab);font-weight:300;font-size:1.4rem;color:var(--ink);line-height:1.15}
.tile-p{font-size:.875rem;color:var(--body);line-height:1.5}
.tile-role{font-size:.75rem;color:var(--muted);margin-top:.15rem}
.tile-cta{margin-top:auto;padding-top:.9rem;font-family:var(--ui);font-weight:700;font-size:.75rem;
  letter-spacing:.06em;color:var(--ink);display:flex;align-items:center;gap:.4rem}
.tile-cta i{font-style:normal;transition:transform var(--t-med) var(--ease)}
.tile:hover .tile-cta i{transform:translateX(5px)}

/* ---------- employer wordmark ----------
   Used nominatively to show where she works. The <img> carries alt="Fullstory"
   so the name still reads to search engines and screen readers; the JSON-LD
   worksFor entry is the authoritative signal either way. */
.dd-logo{display:flex;align-items:center;min-height:1.6em}
.fs-logo{width:auto;height:25px;display:block;margin-top:-2px}
@media (prefers-color-scheme: dark){
  .fs-logo{filter:invert(1) brightness(1.6)}   /* black wordmark on a dark ground */
}

/* ---------- emoji accents ----------
   Decorative only, and aria-hidden in the markup. Sized down and nudged so a
   colour emoji doesn't shout next to the slab serif. */
.emo{
  font-size:.62em;line-height:1;display:inline-block;
  vertical-align:.1em;margin-left:.12em;
  font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;
}
h1 .emo{font-size:.78em;vertical-align:-.02em;margin-left:.2em}

/* On the dark contact band the primary button inverts so it stays visible. */
.cta .btn-y{background:#fff;color:#191919}
.cta .btn-y:hover{background:var(--yellow);color:#191919}
@media (prefers-color-scheme: dark){ .cta .btn-y{background:var(--yellow);color:#191919} }

/* tile artwork */
.tile-img{display:block;width:100%;aspect-ratio:1;object-fit:cover;background:var(--bg-2);
  transition:transform var(--t-med) var(--ease)}
.tile{overflow:hidden}
.tile:hover .tile-img{transform:scale(1.03)}

/* `.nav a { color: var(--muted) }` out-specifies `.btn-y`, which left the nav
   button black-on-grey. Pin the label. */
.nav a.btn-y{color:#fff}
.nav a.btn-y:hover{color:#191919}
@media (prefers-color-scheme: dark){ .nav a.btn-y{color:#191919} }

/* ---------- "Before you ask" — numbered, so it reads as a list of real
   questions rather than a support FAQ ---------- */
.faq-numbered summary > span{display:flex;align-items:baseline;gap:1rem}
.qn{flex:none;font-family:var(--ui);font-weight:700;font-size:.6875rem;letter-spacing:.1em;
  color:var(--muted);font-variant-numeric:tabular-nums;padding-top:.3em}
.faq-numbered summary:hover .qn{color:var(--ink)}
.faq-numbered details p{padding-left:2.1rem}
@media (max-width:560px){
  .faq-numbered details p{padding-left:0}
}

/* ---------- waving hand ----------
   Pivots at the wrist, so it reads as a wave rather than a wobble. Runs on
   hover and on keyboard focus of the heading, and not at all under reduced
   motion. */
h1 .emo{display:inline-block;transform-origin:70% 80%;will-change:transform}
@media (prefers-reduced-motion: no-preference){
  /* Decorative, so it stays out of the tab order: a focusable element that
     announces nothing is worse than no interaction at all. Hover only. */
  h1:hover .emo{animation:wave 1.6s var(--ease)}
  @keyframes wave{
      0%{transform:rotate(0)}
     12%{transform:rotate(16deg)}
     24%{transform:rotate(-10deg)}
     36%{transform:rotate(16deg)}
     48%{transform:rotate(-8deg)}
     60%{transform:rotate(12deg)}
     72%{transform:rotate(-4deg)}
     84%{transform:rotate(6deg)}
    100%{transform:rotate(0)}
  }
}

/* Canada mark in the footer, as an SVG so it renders everywhere.
   The emoji flag falls back to the letters "CA" on Windows. */
.flag{display:inline-block;width:1.05em;height:.72em;vertical-align:-.06em;
  margin-left:.18em;border-radius:2px}

/* ===================== Ambient hero field + paper grain =====================
   Hero: four greyscale blobs on closed circuits. Sinusoidal easing, because an
   ease-out curve spends its travel in the first second and then looks frozen.
   Transform only, so it stays on the compositor. Paused when the hero is off
   screen, and off entirely for coarse pointers and reduced motion. */
.hero{position:relative;isolation:isolate}
.hero > *{position:relative;z-index:2}
/* Bleeds upward under the masthead only. A bottom bleed painted the field
   over the top of the next section. */
.heromorph{position:absolute;inset:-12% 0 0 0;z-index:0;pointer-events:none;overflow:hidden;
  /* Inverted: the field is light grey and the WHITE moves through it, so the
     motion reads as travelling light rather than drifting smudges. */
  background:#E9ECF1;
  -webkit-mask-image:linear-gradient(to bottom,#000 0,#000 72%,transparent 100%);
          mask-image:linear-gradient(to bottom,#000 0,#000 72%,transparent 100%)}
.heromorph span{position:absolute;display:block;border-radius:50%;filter:blur(80px);
  will-change:transform}
.heromorph .b1{width:52vw;height:52vw;left:-12vw;top:-18vw;background:#FFFFFF;
  animation:hm1 21s cubic-bezier(.45,.05,.55,.95) infinite}
.heromorph .b2{width:44vw;height:44vw;right:-10vw;top:0;background:#FBFCFD;
  animation:hm2 26s cubic-bezier(.45,.05,.55,.95) infinite}
.heromorph .b3{width:40vw;height:40vw;left:24vw;bottom:-20vw;background:#FFFFFF;
  animation:hm3 18s cubic-bezier(.45,.05,.55,.95) infinite}
.heromorph .b4{width:30vw;height:30vw;right:14vw;bottom:-12vw;background:#F7F9FB;
  animation:hm4 15s cubic-bezier(.45,.05,.55,.95) infinite}
@keyframes hm1{0%{transform:translate3d(0,0,0) scale(1)}25%{transform:translate3d(18vw,6vw,0) scale(1.18)}
  50%{transform:translate3d(24vw,16vw,0) scale(1)}75%{transform:translate3d(8vw,12vw,0) scale(.88)}
  100%{transform:translate3d(0,0,0) scale(1)}}
@keyframes hm2{0%{transform:translate3d(0,0,0) scale(1)}25%{transform:translate3d(-14vw,10vw,0) scale(.86)}
  50%{transform:translate3d(-22vw,2vw,0) scale(1.1)}75%{transform:translate3d(-9vw,-7vw,0) scale(1.2)}
  100%{transform:translate3d(0,0,0) scale(1)}}
@keyframes hm3{0%{transform:translate3d(0,0,0) scale(1)}25%{transform:translate3d(12vw,-12vw,0) scale(1.22)}
  50%{transform:translate3d(-6vw,-18vw,0) scale(1)}75%{transform:translate3d(-14vw,-6vw,0) scale(.9)}
  100%{transform:translate3d(0,0,0) scale(1)}}
@keyframes hm4{0%{transform:translate3d(0,0,0) scale(1)}25%{transform:translate3d(-10vw,-9vw,0) scale(1.3)}
  50%{transform:translate3d(-18vw,4vw,0) scale(1.05)}75%{transform:translate3d(-6vw,10vw,0) scale(.92)}
  100%{transform:translate3d(0,0,0) scale(1)}}
/* scrolled past: stop compositing rather than animate behind the viewport */
.heromorph.paused span{animation-play-state:paused}
@media (prefers-color-scheme: dark){
  .heromorph{background:#141414}
  .heromorph .b1{background:#24282F}.heromorph .b2{background:#1F232A}
  .heromorph .b3{background:#262B33}.heromorph .b4{background:#20242B}
}
@media (pointer: coarse){ .heromorph span{animation:none} }
@media (prefers-reduced-motion: reduce){ .heromorph span{animation:none !important} }

/* Paper grain on the light grey separator bands. Drawn as a background layer
   over the existing colour, so nothing inside the band is affected. */
.band-grey{
  background-color:var(--bg-2);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.20'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark){
  .band-grey{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E")}
}

/* Click-to-copy email: the confirmation holds the hover colours for its two
   seconds so the state change is visible even after the pointer moves off. */
.js-copy{cursor:pointer}
.js-copy.is-copied,.btn-y.js-copy.is-copied{background:var(--yellow);color:#191919}
.js-copy [data-copy-label]{display:inline-block}
