
/* mobile-2026-11: phone decisions of 14 Nov 2026 */
.m-only{display:none}
@media (max-width:600px), (min-width:601px) and (max-width:1099px) and (orientation:portrait){
  .m-only{display:block}
  .m-hide-phone{display:none!important}

  /* 2. quotes as a swipe row under the figures */
  .counsel.m-only{padding-top:36px;padding-bottom:28px}
  .counsel.m-only .bigh{margin-bottom:16px}
  .counsel.m-only .quotes{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;margin-right:calc(-1 * max(20px, env(safe-area-inset-right,0px)));padding-right:20px;scrollbar-width:none}
  .counsel.m-only .quotes::-webkit-scrollbar{display:none}
  .counsel.m-only .qcard{flex:0 0 84%;scroll-snap-align:start;padding:26px 24px 22px}
  .counsel.m-only .qcard blockquote{font-size:18px}
  .m-dots{display:flex;gap:7px;justify-content:center;margin-top:14px}
  .m-dots i{width:7px;height:7px;border-radius:50%;background:var(--ink);opacity:.22;transition:opacity .2s}
  .m-dots i.on{opacity:.9}

  /* 3. services as a list; a tap anywhere on a row opens the full card */
  #services .svc{background:none;border-radius:0;border:0;border-top:1px solid var(--rule);margin:0!important;display:block!important;position:relative;padding:16px 40px 16px 0!important;cursor:pointer;-webkit-tap-highlight-color:transparent}
  #services .svc-cards{display:block!important;margin-bottom:28px}
  #services .svc-cards .svc:last-child{border-bottom:1px solid var(--rule)}
  #services .svc .body,#services .svc-band > div{padding:0!important;display:block}
  #services .svc::after{content:"+";position:absolute;right:4px;top:22px;font:400 28px/1 "DM Sans",sans-serif;color:var(--ink);transition:transform .2s}
  #services .svc.open::after{transform:rotate(45deg)}
  #services .svc .q{margin:0 0 2px!important;font-size:14px!important;opacity:.72}
  #services .svc h3{margin:0!important;font:800 25px/1.05 "Barlow Condensed",sans-serif!important;text-transform:uppercase}
  #services .svc:not(.open) figure,
  #services .svc:not(.open) .body > :not(.q):not(h3),
  #services .svc-band:not(.open) > p{display:none!important}
  #services .svc.open .body > :not(.q):not(h3),#services .svc-band.open > p{margin-top:10px}
  #services .svc figure{display:none!important}   /* Marcel 14 Nov: an opened row shows text only; the illustrations were too much at this size */
  #services .svc:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
  #services .rv{opacity:1!important;transform:none!important}

  /* 4. founders: both photos side by side, tap a photo to read that bio */
  .m-team-photos{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:8px 0 22px}
  .m-team-photos button{all:unset;cursor:pointer;display:block;-webkit-tap-highlight-color:transparent}
  .m-team-photos img{display:block;width:100%;height:250px;object-fit:cover;object-position:50% 0;border-radius:4px;transition:opacity .25s}
  .m-team-photos button:not(.on) img{opacity:.55}
  .m-team-photos span{display:inline-block;font:800 18px/1.1 "Barlow Condensed",sans-serif;text-transform:uppercase;margin-top:8px;padding-bottom:3px;border-bottom:2px solid transparent}
  .m-team-photos button.on span{border-bottom-color:var(--ink)}
  .m-team-photos button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
  #team .people article > img{display:none!important}
  #team .people.m-tabs article:not(.m-on){display:none!important}

  /* 1. whitepapers */
  details.m-toc{border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);margin:0 0 28px}
  details.m-toc summary{list-style:none;cursor:pointer;padding:14px 0;font:500 13px/1 "DM Mono",ui-monospace,monospace;letter-spacing:.12em;text-transform:uppercase;display:flex;justify-content:space-between;align-items:center}
  details.m-toc summary::-webkit-details-marker{display:none}
  details.m-toc summary::after{content:"+";font:400 24px/1 "DM Sans",sans-serif}
  details.m-toc[open] summary::after{content:"\2212"}
  details.m-toc ol{margin:0 0 16px;padding-left:22px;font-size:15px;line-height:1.5}
  details.m-toc li{padding:7px 0}
  .m-discuss{background:var(--ink);color:var(--ivory);border-radius:6px;padding:24px 20px;margin:32px 0}
  .m-discuss h2{color:var(--ivory);margin:0 0 10px;font:800 28px/1.02 "Barlow Condensed",sans-serif;text-transform:uppercase}
  .m-discuss p{color:var(--ivory);font-size:16px;line-height:1.5;margin:0 0 18px}
  .m-discuss .ctas{display:flex;flex-wrap:wrap;gap:14px 20px;align-items:center}
  .m-discuss .tlink{color:var(--ivory)}
}
@media (min-width:1100px), (min-width:601px) and (orientation:landscape){ .m-only{display:none!important} }

/* header: the call button and the name hand over in one calm crossfade; the button settles like a plucked string coming to rest */
@media (max-width:1023px){
  header.site .wrap{position:relative}
  header.site .m-cta{display:inline-flex!important;position:absolute;top:50%;right:var(--mcta-right,66px);margin:0!important;height:38px;padding:0 14px;font-size:14px;gap:8px;
    opacity:0;visibility:hidden;transform:translateY(-50%) scale(.94);transition:opacity .22s ease,transform .22s ease,visibility 0s linear .22s}
  header.site.cta-on .m-cta,body.no-page-cta header.site .m-cta{opacity:1;visibility:visible;transform:translateY(-50%) scale(1);
    transition:opacity .26s ease .12s,transform .42s cubic-bezier(.34,1.56,.64,1) .12s,visibility 0s}
  header.site.open .m-cta{opacity:0!important;visibility:hidden!important}
  header.site .m-cta i{display:none}
  header.site .lock{position:relative}
  header.site .lock .w{transition:opacity .26s ease .12s}
  header.site nav .m-mail{display:block}
  header.site:not(.open) nav .m-mail{display:none}
}
@media (max-width:499px){
  /* the name stays in place and fades; the call button floats over the free space, so nothing jumps */
  header.site.cta-on .lock .w,body.no-page-cta header.site .lock .w{display:block!important;opacity:0;pointer-events:none;transition:opacity .2s ease}
}
/* iPad portrait (761-1023 px): the phone menu instead of a cramped bar; services in two columns */
@media (min-width:761px) and (max-width:1023px){
  header.site nav{display:none}
  .burger{display:block}
  :root{--mark-h:38px}   /* the tile as tall as the 38 px call button here too, as on the phone */
  button.burger:before{content:"";position:absolute;left:-9px;right:-9px;top:-15px;bottom:-15px}
  header.site.open nav{display:flex;position:absolute;top:80px;left:0;right:0;flex-direction:column;align-items:flex-start;gap:16px;padding:22px 72px 26px;background:var(--ivory);border-bottom:1px solid rgba(27,44,60,.12);font-size:18px}
  header.site.open nav .nsep{display:none}
  .svc-hero{grid-template-columns:1fr}
  .svc-hero figure{min-height:0}
  .svc-cards{grid-template-columns:1fr 1fr}
}
@media (min-width:1024px){header.site nav .m-mail{display:none}}

/* whitepaper hub: Nicholas's face, not his whole figure, in the small round photo */
.hub-card .by .m-av{width:32px;height:32px;border-radius:50%;flex:none;background-size:300%;background-position:50% 9%;background-repeat:no-repeat}


/* 7. mail links get a thumb-sized tap area */
.plinks a[href^="mailto:"],.plinks a[href*="linkedin"]{display:inline-flex;align-items:center;min-height:44px}
.m-meth{margin:18px 0 0}

/* iPad portrait (601-1023): the phone's structure with a short hero, not the desktop opening stretched; landscape and desktop are untouched */
@media (min-width:601px) and (max-width:1099px) and (orientation:portrait){
  .h-hero{min-height:0}
  .h-hero .wrap{grid-template-columns:1fr;gap:22px;padding-top:40px;padding-bottom:36px}
  .h-hero .eyebrow{margin:0 0 14px;font-size:16px}
  .h-hero h1{font-size:clamp(52px,8.4vw,76px)}
  .h-hero .promise{margin-top:18px;font-size:20px;line-height:1.5;max-width:30em}
  .h-hero .ctas{margin-top:26px}
  .h-hero .art{margin:0 auto;max-width:420px}
  .proof .wrap{padding-top:40px;padding-bottom:40px}
  .counsel.m-only .qcard{flex-basis:46%}
  .hero.split .wrap{grid-template-columns:1fr;gap:18px}
  .hero.split .art{max-width:280px;margin:0 auto}   /* law firms, brands, insurers: the picture is an accent, not the first screen */
  .m-team-photos{max-width:560px}
  .m-team-photos img{height:auto;aspect-ratio:4/5}
}
