/* ============================================================
   Industries and guides in the redesign (17 Oct 2026): the /industries/ hub
   and its seven sector pages, the /guides/ hub and its guides.
   build.py: build_industries(), build_guides() and the v2_industries_* /
   v2_guides_* helpers next to them. Loads after v2.css on every v2 page, so
   every rule here sits under this area's own classes (ind-, indh-, gd-, gdh-).
   ============================================================ */

/* ---------- sector page hero: words left, the photo right with what
   customers type hanging off its corner ---------- */
.ind-hero{padding:72px 0 120px}
.ind-hero>.fx>.radar{left:74%}
.ind-hgrid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);column-gap:76px;align-items:center}
.ind-hero .h1{font-size:70px;line-height:1.02;margin-top:24px}
.ind-hero .sub{max-width:34em}
.ind-hero .ticks{margin-top:24px}
.ind-hart{position:relative;padding-bottom:84px}
.ind-hph{border-radius:30px;overflow:hidden;box-shadow:var(--shadow);aspect-ratio:5/4;background:var(--paper-2)}
.ind-hph img{width:100%;height:100%;object-fit:cover}
.ind-q{position:absolute;left:-64px;bottom:0;width:430px;padding:18px 20px 8px}
.ind-qk{display:flex;align-items:center;gap:10px;font-weight:700;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);padding-bottom:10px;border-bottom:1px solid var(--rule)}
.ind-qk svg{width:18px;height:18px;flex:none}
.lt .ind-q a{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;column-gap:12px;min-height:50px;padding:6px 0;text-decoration:none;color:var(--ink)}
.ind-ql a+a{border-top:1px solid var(--rule)}
.ind-q a>svg{width:18px;height:18px;color:var(--muted)}
.ind-qq{font-weight:600;font-size:16px;line-height:1.3}
.ind-q small{font-weight:700;font-size:12px;color:var(--pink-deep);white-space:nowrap}
.lt .ind-q a:hover .ind-qq{text-decoration:underline;text-underline-offset:3px}

/* ---------- the playbook: the heading stays put while the steps scroll ---------- */
.ind-pb{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);column-gap:84px;align-items:start}
.ind-pbt{position:sticky;top:130px}
.ind-pbt .ctas{margin-top:30px}
.ind-steps{position:relative;display:grid;gap:18px}
/* a dotted pink line joins the numbers through the gaps between the cards */
.ind-steps::before{content:"";position:absolute;left:47px;top:40px;bottom:40px;border-left:2px dotted var(--pink)}
.ind-steps li{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:22px;padding:28px 30px;background:#fff;border-radius:var(--r);box-shadow:var(--shadow);border:1px solid rgba(20,22,31,.06)}
.ind-steps li:first-child{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.ind-steps .num{width:38px;height:38px}
.ind-steps h3{font-weight:800;font-size:23px;line-height:1.22;letter-spacing:-.018em;margin-top:5px}
.ind-steps p{margin-top:10px;font-size:17px;line-height:1.6;color:var(--muted)}
.ind-steps li:first-child p{color:rgba(247,244,238,.8)}

/* ---------- drawn plates beside their own explanation (also the guides hub) ---------- */
.ind-drow{display:grid;grid-template-columns:minmax(300px,1fr) minmax(0,820px);column-gap:70px;align-items:center}
.ind-drow.swap{grid-template-columns:minmax(0,820px) minmax(300px,1fr)}
.ind-drow.swap .ind-drt{order:2}
.ind-drow+.ind-drow{margin-top:120px}
.ind-drt .h2{font-size:46px}
.ind-drt p:not(.eyebrow){margin-top:20px;font-size:19px;line-height:1.6;color:var(--muted)}
/* The plate itself is unchanged (plates.py draws its own grid paper and
   frame). It is mounted on a white card, square inside the padding, so no
   second radius ever sits inside the rounded one. */
.lt :is(.ind-drow,.gd-prow) .plate{margin:0;max-width:820px;width:100%;padding:16px;background:#fff;border-radius:var(--r);box-shadow:var(--shadow);border:1px solid rgba(20,22,31,.06)}
.lt :is(.ind-drow,.gd-prow) .plate img{width:100%;height:auto;display:block}
.lt :is(.ind-drow,.gd-prow) .plate-hint{display:none}

/* ---------- the trades inside the sector ---------- */
.ind-tl{max-width:1120px;margin:0 auto;padding:12px 36px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:56px}
.lt .ind-tl a{display:grid;grid-template-columns:minmax(0,1fr) 40px;column-gap:18px;align-items:center;padding:19px 0;border-top:1px solid var(--rule);text-decoration:none;color:var(--ink)}
.lt .ind-tl a:nth-child(-n+2){border-top:0}
.ind-tl b{grid-column:1;font-weight:800;font-size:19px;line-height:1.3}
.ind-tl span{grid-column:1;font-size:15.5px;line-height:1.45;color:var(--muted);margin-top:2px}
.ind-tl svg{grid-column:2;grid-row:1/3;width:40px;height:40px;padding:11px;border-radius:50%;background:var(--paper-2);color:var(--ink);transition:background .2s,color .2s}
.ind-tl a:hover svg{background:var(--pink);color:#fff}
/* the quiz row that fills an odd last row */
.ind-tl .ind-tfill b{color:var(--pink-deep)}
.ind-tl .ind-tfill svg{background:var(--ink);color:#fff}

/* ---------- services: Local SEO takes the big ink tile, three beside it ---------- */
.ind-svg{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:repeat(3,auto);gap:20px;max-width:1220px;margin:0 auto}
.lt .ind-svg a{text-decoration:none}
.ind-svbig{grid-row:1/4;display:flex;flex-direction:column;padding:42px 42px 38px;background:var(--ink);color:var(--paper);border:0}
.ind-svbig .ic{background:rgba(225,16,123,.2);color:var(--pink)}
.ind-svbig .h3{display:block;font-size:50px;letter-spacing:-.035em;margin:28px 0 14px}
.ind-svbig .ind-svd{font-size:19px;color:rgba(247,244,238,.8);max-width:26em}
.ind-svbig .tlist{margin-top:26px;font-size:16px}
.ind-maps{display:block;margin:26px 0 34px;padding:15px 18px;border-radius:14px;border:1px solid var(--rule-inv);font-size:15px;line-height:1.5;color:rgba(247,244,238,.85)}
.ind-maps b{color:#fff}
.ind-svbig .ind-svp{margin-top:auto;padding-top:28px;border-top:1px solid var(--rule-inv);display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.ind-svbig .ind-svp b{display:block;font-weight:900;font-size:60px;line-height:1;letter-spacing:-.045em;color:#fff}
.ind-svbig .ind-svp small{display:block;font-weight:600;font-size:14px;color:rgba(247,244,238,.72);margin-top:8px}
.ind-svbig .ind-svp svg{width:48px;height:48px;padding:13px;border-radius:50%;background:var(--pink);color:#fff;flex:none}
.ind-sv{display:grid;grid-template-columns:52px minmax(0,1fr);column-gap:22px;padding:28px 30px;align-items:start;color:var(--ink)}
.ind-svt{display:block}
.ind-sv .h3{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:24px;margin-top:2px}
.ind-svd{display:block;margin-top:8px;font-size:16px;line-height:1.55;color:var(--muted)}
.ind-sv .ind-svp{display:flex;align-items:center;justify-content:space-between;margin-top:16px;padding-top:14px;border-top:1px solid var(--rule);font-weight:700;font-size:15px}
.ind-sv .ind-svp svg{width:20px;height:20px;color:var(--pink);transition:transform .2s}
.ind-sv:hover .ind-svp svg{transform:translateX(4px)}
.ind-new{display:inline-flex;padding:5px 10px;border-radius:999px;background:var(--pink);color:#fff;font-weight:700;font-size:11px;line-height:1;letter-spacing:.12em;text-transform:uppercase}

/* ---------- the industries hub ---------- */
.indh-hero{padding:80px 0 0}
.indh-land{margin-top:40px}
.indh-panel .head{margin-bottom:46px}
.indh-list{max-width:1180px;margin:0 auto}
.indh-li{position:relative;padding:34px 0 32px;border-top:1px solid var(--rule-inv)}
.indh-li:last-child{border-bottom:1px solid var(--rule-inv)}
.lt .indh-row{display:grid;grid-template-columns:minmax(0,1fr) auto 56px;align-items:center;column-gap:28px;text-decoration:none;color:var(--paper)}
.indh-t{min-width:0}
.indh-n{font-weight:800;font-size:54px;line-height:1.02;letter-spacing:-.035em;transition:color .2s}
.indh-h{display:block;margin-top:10px;font-size:17px;color:rgba(247,244,238,.72)}
.indh-c{font-weight:700;font-size:15px;color:var(--paper);padding:9px 16px;border-radius:999px;border:1px solid var(--rule-inv);white-space:nowrap}
.indh-go svg{display:block;width:56px;height:56px;padding:16px;border-radius:50%;background:var(--pink);color:#fff;transition:transform .2s}
.indh-row:hover .indh-n{color:var(--pink)}
.indh-row:hover .indh-go svg{transform:translateX(5px)}
.indh-tr{margin-top:18px;display:flex;flex-wrap:wrap;gap:8px 20px;max-width:1000px}
.lt .indh-tr a{font-weight:600;font-size:15px;color:rgba(247,244,238,.78);text-decoration:none}
.lt .indh-tr a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
/* the sector's photo turns up beside its name while the pointer is on it */
.indh-ph{position:absolute;right:300px;top:6px;width:250px;aspect-ratio:4/3;border-radius:18px;overflow:hidden;opacity:0;transform:rotate(-4deg) scale(.9);transition:opacity .25s,transform .25s;pointer-events:none;z-index:3;box-shadow:0 30px 60px -20px rgba(0,0,0,.6)}
.indh-ph img{width:100%;height:100%;object-fit:cover}
.indh-other .indh-n{color:var(--pink)}
.indh-other .indh-c{background:var(--pink);border-color:var(--pink);color:#fff}
.indh-row:hover .indh-ph,.indh-row:focus-visible .indh-ph{opacity:1;transform:rotate(-4deg) scale(1)}
@media (prefers-reduced-motion:reduce){.indh-ph{transition:none}}

/* ---------- the guides hub ---------- */
.gdh-hero{padding:80px 0 30px}
.gdh-lib{padding-top:50px}
.gdh-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px;align-items:start}
.gdh-feat{display:flex;flex-direction:column;overflow:hidden;color:var(--ink)}
.lt .gdh-feat,.lt .gdh-list li a{text-decoration:none}
.gdh-ph{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--paper-2)}
.gdh-ph img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.gdh-feat:hover .gdh-ph img{transform:scale(1.03)}
.gdh-in{display:flex;flex-direction:column;align-items:flex-start;padding:34px 38px 38px}
.gdh-meta,.gdh-list small{font-weight:700;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--pink-deep)}
.gdh-ft{font-weight:800;font-size:40px;line-height:1.08;letter-spacing:-.03em;margin:12px 0 14px}
.gdh-d{display:block;font-size:17px;line-height:1.55;color:var(--muted)}
.gdh-feat .btn{margin-top:30px}
.gdh-list{padding:6px 32px}
.lt .gdh-list li a{display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:center;column-gap:20px;padding:24px 0;color:var(--ink)}
.gdh-list li+li a{border-top:1px solid var(--rule)}
.gdh-lt{display:block}
.gdh-list h3{font-weight:800;font-size:21px;line-height:1.25;letter-spacing:-.015em}
.gdh-list .gdh-d{margin-top:6px;font-size:15.5px}
.gdh-list small{display:block;margin-top:10px}
.gdh-list i{width:42px;height:42px;border-radius:50%;background:var(--paper-2);display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s}
.gdh-list i svg{width:18px;height:18px}
.gdh-list a:hover i{background:var(--pink);color:#fff}

/* ---------- a guide: a reading column in the new type, contents beside it ---------- */
.gd-hero{padding:72px 0 0}
.gd-hw,.gd-phw,.gd-cols{max-width:1236px}
.gd-hero .h1{font-size:64px;line-height:1.03;letter-spacing:-.04em;margin-top:24px;max-width:15em}
.gd-hero .sub{max-width:36em;font-size:21px}
.gd-meta{display:flex;align-items:center;gap:16px;margin-top:24px;font-weight:700;font-size:14px;color:var(--ink)}
.gd-meta span+span::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--pink);margin-right:16px;vertical-align:2px}
.gd-phw{position:relative;z-index:1}
.gd-ph{margin:48px 0 0;border-radius:30px;overflow:hidden;aspect-ratio:16/7;box-shadow:var(--shadow);background:var(--paper-2)}
.gd-ph img{width:100%;height:100%;object-fit:cover}
.gd-cols{display:grid;grid-template-columns:270px minmax(0,1fr);column-gap:84px;padding-top:80px;padding-bottom:120px}
.gd-body{max-width:740px}
.gd-rail{position:sticky;top:124px;align-self:start}
.gd-toc ol{display:grid;border-left:2px solid var(--rule)}
.lt .gd-toc li a{display:block;padding:8px 0 8px 18px;margin-left:-2px;border-left:2px solid transparent;font-weight:600;font-size:15px;line-height:1.35;color:var(--muted);text-decoration:none}
.lt .gd-toc li a:hover{color:var(--ink);border-left-color:var(--pink)}
.gd-help{margin-top:32px;padding:22px 20px 20px;border-radius:20px;background:#fff;border:1px solid rgba(20,22,31,.06);box-shadow:var(--shadow)}
.gd-help p{font-size:15px;line-height:1.5;color:var(--muted)}
.gd-help .btn{width:100%;margin-top:16px;min-height:50px;font-size:15px;padding:0 6px 0 18px;gap:10px;justify-content:space-between}
.gd-help .btn svg{width:36px;height:36px;padding:10px}

.gd-body{font-size:19px;line-height:1.72;color:#2b2d37}
.gd-body p,.gd-body ul,.gd-body ol{margin-top:1.15em}
.gd-body>p:first-child{margin-top:0}
.gd-body h2{font-weight:800;font-size:36px;line-height:1.12;letter-spacing:-.03em;color:var(--ink);margin-top:2.1em;scroll-margin-top:120px}
.gd-body h3{font-weight:800;font-size:24px;line-height:1.2;letter-spacing:-.02em;color:var(--ink);margin-top:1.8em}
.gd-body ul{display:grid;gap:.6em}
.gd-body ul>li{position:relative;padding-left:30px}
.gd-body ul>li::before{content:"";position:absolute;left:5px;top:.66em;width:9px;height:9px;border-radius:50%;background:var(--pink)}
.gd-body ol{display:grid;gap:.6em;counter-reset:gd}
.gd-body ol>li{position:relative;padding-left:40px;counter-increment:gd}
.gd-body ol>li::before{content:counter(gd);position:absolute;left:0;top:.2em;width:28px;height:28px;border-radius:50%;background:var(--ink);color:#fff;font-weight:800;font-size:14px;line-height:28px;text-align:center}
.gd-body b,.gd-body strong{font-weight:700;color:var(--ink)}
.lt .gd-body a{color:var(--ink);font-weight:600;text-decoration-color:var(--pink);text-decoration-thickness:2px}
.gd-take{position:relative;margin-bottom:46px;padding:28px 32px 30px 36px;border-radius:var(--r);background:#fff;box-shadow:var(--shadow);border:1px solid rgba(20,22,31,.06)}
.gd-take::before{content:"";position:absolute;left:0;top:26px;bottom:26px;width:5px;border-radius:0 4px 4px 0;background:var(--pink)}
.gd-take .eyebrow{margin-bottom:10px}
.gd-body .gd-take p{margin-top:0}
.gd-take p:last-child{font-size:20px;line-height:1.6;font-weight:500;color:var(--ink)}

/* the guide's plates, each beside its own explanation */
.gd-prow{display:grid;grid-template-columns:minmax(260px,1fr) minmax(0,860px);column-gap:64px;align-items:center}
.gd-prow.swap{grid-template-columns:minmax(0,860px) minmax(260px,1fr)}
.gd-prow.swap .gd-pcap{order:2}
.gd-prow+.gd-prow{margin-top:80px}
.gd-pcap{font-weight:500;font-size:21px;line-height:1.5;color:var(--ink);padding-left:22px;border-left:4px solid var(--pink)}
.gd-more .gdh-list{max-width:1000px;margin:0 auto}

/* ---------- narrower screens ---------- */
@media (max-width:1180px){
  .ind-hero .h1{font-size:56px}
  .ind-q{left:-30px;width:390px}
  .ind-drow,.ind-drow.swap,.gd-prow,.gd-prow.swap{display:block}
  .ind-drt{max-width:720px}
  .lt :is(.ind-drow,.gd-prow) .plate{margin-top:34px}
  .gd-pcap{max-width:720px}
  .indh-ph{right:240px}
}
@media (max-width:1080px){
  .gd-cols{display:block;max-width:820px;margin:0 auto}
  .gd-rail{position:static}
  .gd-toc{padding:20px 22px 14px;border-radius:20px;background:#fff;border:1px solid rgba(20,22,31,.06);box-shadow:var(--shadow);margin-bottom:44px}
  .gd-help{display:none}
}

/* ============ phone ============ */
@media (max-width:760px){
  .ind-hero{padding:40px 0 76px}
  .ind-hgrid{display:block}
  .ind-hero .h1{font-size:42px;margin-top:20px}
  .ind-hart{margin-top:44px;padding-bottom:0}
  .ind-hph{border-radius:24px;aspect-ratio:4/3}
  .ind-q{position:relative;left:auto;bottom:auto;width:auto;margin:-56px 12px 0;padding:14px 16px 6px}
  .ind-qq{font-size:15px}
  .lt .ind-q a{column-gap:10px;grid-template-columns:18px minmax(0,1fr);row-gap:1px;padding:9px 0}
  /* phones: the trade sits under its search, so a search never wraps beside it (QA, 17 Oct) */
  .ind-q a>svg{grid-row:1/span 2}
  .ind-q small{grid-column:2;white-space:normal}

  .ind-pb{display:block}
  .ind-pbt{position:static;margin-bottom:34px}
  .ind-steps{gap:14px}
  .ind-steps::before{left:37px}
  .ind-steps li{grid-template-columns:36px minmax(0,1fr);column-gap:14px;padding:22px 18px}
  .ind-steps .num{width:36px;height:36px;font-size:15px}
  .ind-steps h3{font-size:20px;margin-top:4px}
  .ind-steps p{font-size:16px}

  .ind-drow+.ind-drow{margin-top:80px}
  .ind-drt .h2{font-size:34px}
  .ind-drt p:not(.eyebrow){font-size:17px}
  /* phones: the plate keeps a readable width and swipes sideways
     (plates.figure() writes the strip and the hint) */
  .lt :is(.ind-drow,.gd-prow) .plate{margin-top:26px;padding:10px}
  .lt :is(.ind-drow,.gd-prow) .plate-hint{display:flex;align-items:center;gap:8px;margin:2px 4px 10px;font-weight:700;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--pink-deep)}
  .lt :is(.ind-drow,.gd-prow) .plate-scroll{overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  .lt :is(.ind-drow,.gd-prow) .plate-scroll img{width:760px;max-width:none}

  .ind-tl{grid-template-columns:minmax(0,1fr);padding:4px 18px}
  .lt .ind-tl a:nth-child(2){border-top:1px solid var(--rule)}
  .lt .ind-tl a.ind-tfill{display:none}
  .lt .ind-tl a{padding:16px 0;column-gap:14px}
  .ind-tl b{font-size:17px}
  .ind-tl span{font-size:14.5px}
  .ind-tl svg{width:36px;height:36px;padding:10px}

  .ind-svg{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
  .ind-svbig{grid-row:auto;padding:30px 22px 26px}
  .ind-svbig .h3{font-size:36px;margin:22px 0 10px}
  .ind-svbig .ind-svd{font-size:17px}
  .ind-svbig .ind-svp b{font-size:48px}
  .ind-sv{grid-template-columns:44px minmax(0,1fr);column-gap:16px;padding:22px 18px}
  .ind-sv .ic{width:44px;height:44px;border-radius:14px}
  .ind-sv .h3{font-size:21px}

  .indh-hero{padding:44px 0 0}
  .indh-land{margin-top:26px}
  .indh-li{padding:24px 0 22px}
  .lt .indh-row{grid-template-columns:minmax(0,1fr) 44px;column-gap:16px}
  .indh-n{font-size:30px;line-height:1.08}
  .indh-h{font-size:15px;margin-top:6px}
  .indh-c{grid-row:2;grid-column:1;justify-self:start;margin-top:12px;font-size:13px;padding:6px 12px}
  .indh-go{grid-row:1;grid-column:2;align-self:start}
  .indh-go svg{width:44px;height:44px;padding:12px}
  .indh-ph{display:none}
  .indh-tr{margin-top:14px;gap:6px 14px}
  .lt .indh-tr a{font-size:14px}

  .gdh-hero{padding:44px 0 10px}
  .gdh-lib{padding-top:30px}
  .gdh-grid{grid-template-columns:minmax(0,1fr);gap:16px}
  .gdh-in{padding:24px 20px 24px}
  .gdh-ft{font-size:29px}
  .gdh-d{font-size:16px}
  .gdh-feat .btn{margin-top:22px}
  .gdh-list{padding:4px 18px}
  .lt .gdh-list li a{grid-template-columns:minmax(0,1fr) 38px;column-gap:14px;padding:20px 0}
  .gdh-list h3{font-size:18px}
  .gdh-list .gdh-d{font-size:15px}
  .gdh-list i{width:38px;height:38px}

  .gd-hero{padding:40px 0 0}
  .gd-hero .h1{font-size:38px;line-height:1.06;margin-top:20px}
  .gd-hero .sub{font-size:18px}
  .gd-meta{font-size:13px;margin-top:20px}
  .gd-ph{margin-top:30px;border-radius:22px;aspect-ratio:3/2}
  .gd-cols{padding-top:40px;padding-bottom:80px}
  .gd-toc{padding:18px 18px 10px;margin-bottom:34px}
  .lt .gd-toc li a{font-size:15px;padding:7px 0 7px 14px}
  .gd-body{font-size:17.5px;line-height:1.7}
  .gd-body h2{font-size:28px}
  .gd-body h3{font-size:21px}
  .gd-take{padding:22px 20px 24px 24px;margin-bottom:34px}
  .gd-take p:last-child{font-size:18px}
  .gd-prow+.gd-prow{margin-top:56px}
  .gd-pcap{font-size:18px;padding-left:16px}
}
