/* Industry pages (agent A): the isometric drawing, measured against the reference's industry template */
.iso { width: 100%; height: auto; display: block; overflow: visible; }
.iso polygon, .iso path { vector-effect: non-scaling-stroke; }
.iso .f0 { fill: #ffffff; } .iso .f1 { fill: #f1f0ec; } .iso .f2 { fill: #e6e4de; }
.iso .st { stroke-width: .6; } .iso .st.f0 { stroke: #ffffff; } .iso .st.f1 { stroke: #f1f0ec; } .iso .st.f2 { stroke: #e6e4de; }
.iso .e { fill: none; stroke: #8f8c85; stroke-width: .7; stroke-linejoin: round; stroke-linecap: round; }
.iso .e.sm { stroke: #b9b6ae; }
.iso-slab polygon { stroke: #d9d6cf; stroke-width: .6; } .iso-slab .f0 { fill: #fbfaf7; }
.iso .grid { fill: none; stroke: #e7e4de; stroke-width: .6; }
.iso g[data-k] { cursor: default; }
.iso g[data-k] polygon, .iso g[data-k] path { transition: fill .2s ease, stroke .2s ease; }
.iso g.lit .f0, .iso g.lit .st.f0 { fill: #f7f9ff; stroke: #f7f9ff; } .iso g.lit .f1, .iso g.lit .st.f1 { fill: #e9eefc; stroke: #e9eefc; } .iso g.lit .f2, .iso g.lit .st.f2 { fill: #dde5fa; stroke: #dde5fa; }
.iso g.lit .e { stroke: #3e63dd; }
.dg-f.focus .iso g[data-k]:not(.lit) .e { stroke: #c4c1ba; } .dg-f.focus .iso g[data-k]:not(.lit) .e.sm { stroke: #d6d3cc; }
.iso .lbl { fill: #8f8c85; font-family: var(--font, sans-serif); letter-spacing: .04em; }

/* Hero: text left, photograph right (grid 534.5 | 641.5, gap 64; photo 641 x 552, radius 16, a fine grain over it) */
.ih-g { display: grid; grid-template-columns: 534.5fr 641.5fr; gap: 64px; align-items: center; padding: 56px 0 96px; }
.crumb { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 16.8px; color: var(--ink-2); }
.crumb a { color: var(--muted); transition: color .15s ease; }
.crumb a:hover { color: var(--ink); }
.crumb span[aria-hidden] { color: var(--faint); }
.ih-t h1 { margin-top: 26px; max-width: 520px; }
.ih-t .t-lede { margin-top: 24px; max-width: 436px; }
.ih-b { margin-top: 32px; align-items: center; gap: 12px 28px; }
.ih-ph { position: relative; height: 552px; border-radius: 16px; overflow: hidden; background: var(--back); isolation: isolate; }
.grain::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .2; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E"); }
.act svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* The drawing: hairline, head (eyebrow, h2 | text), the isometric plate 16:9, a caption that answers the hover */
.dg { padding: 0 0 112px; }
.dg-h { display: grid; grid-template-columns: 534.5fr 641.5fr; gap: 64px; padding-top: 65px; border-top: 1px solid var(--line); }
.dg-h .t-h2 { margin-top: 22px; max-width: 450px; }
.dg-p { max-width: 515px; font-size: 16px; line-height: 22.4px; letter-spacing: -0.006em; color: var(--ink-2); }
.dg-f { margin: 0; }
/* the plate keeps 960:540; on phones a narrower window onto it, 15 % cropped each side (theirs: 738.5:540) */
.dg-stage { position: relative; aspect-ratio: 960 / 540; overflow: hidden; }
.dg-stage > .iso { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 767px) { .dg-stage { aspect-ratio: 738.46 / 540; } .dg-stage > .iso { left: -15%; width: 130%; } }
.dg-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; line-height: 20.3px; color: var(--pill); }
.dg-now { color: var(--muted); text-align: right; transition: color .2s ease; }

/* The work today: stone ground with a faint grid; four cells in one frame, hairline gaps */
.pains { padding: 128px 0; background-color: #CDCAC3; background-image: linear-gradient(rgba(255, 255, 255, .28) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .28) 1px, transparent 1px); background-position: -1px -1px; background-size: 56px 56px; }
.pn-h .t-eye { color: var(--ink-2); }
.pn-h .t-h2 { margin-top: 20px; max-width: 500px; }
.pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 56px; border-radius: 14px; overflow: hidden; background: rgba(0, 0, 0, .1); }
.pn li { padding: 32px; background: #D8D5CE; }
.pn-n { font-size: 11px; line-height: 16.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.pn-t { margin-top: 32px; font-weight: 450; font-size: 22px; line-height: 33px; letter-spacing: -0.025em; }
.pn-x { margin-top: 12px; max-width: 476px; font-size: 16px; line-height: 22.4px; letter-spacing: -0.006em; color: var(--ink-2); }

/* What the colleagues do: four cards, picture and text alternating in the same 467.7 | 748.3 grid */
.wd { padding: 128px 0; }
.wd > .c > .t-eye { color: var(--ink-2); }
.wd .blocks { margin-top: 50px; }
.blk.flip { grid-template-columns: 467.7fr 748.3fr; }
.blk.flip .blk-v { order: -1; }
.wd .blk-t .t-lede { max-width: 396px; }
.wd-a { margin-top: 30px; }
.blk-v > .ph + .ui, .blk-v > .ph-draft + .ui { z-index: 1; }

/* Documents we read: the list at display size with slashes, then four short stats */
.docs { padding: 128px 0; background: var(--sand); }
.docs .t-eye { color: var(--ink-2); }
.dc-l { margin-top: 34px; font-size: 41.6px; line-height: 52px; letter-spacing: -0.035em; color: var(--ink); text-wrap: pretty; }
.dc-l span { white-space: nowrap; }
.dc-l i { font-style: normal; color: var(--faint); }
.dc-k { margin-top: 96px; }
.chg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; margin-top: 39px; }
.chg li { padding-top: 24px; border-top: 1px solid var(--line); }
.chg b { display: block; font-weight: 450; font-size: 41.6px; line-height: 52px; letter-spacing: -0.035em; }
.chg span { display: block; margin-top: 8px; max-width: 200px; font-size: 14px; line-height: 19.6px; color: var(--muted); }

/* Further reading: one large and two small cards */
.rd { padding: 128px 0; }
.rd-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.rd-h .t-h2 { margin-top: 22px; }
.rd-g { display: grid; grid-template-columns: 596fr 298fr 298fr; gap: 56px 24px; margin-top: 56px; align-items: start; }
.rd-c { display: block; }
.rd-ph { position: relative; aspect-ratio: 298 / 205; border-radius: 12px; overflow: hidden; background: var(--back); }
.rd-c.big .rd-ph { aspect-ratio: 596 / 354; }
.rd-ph img { transition: transform 1.2s var(--out); }
.rd-c:hover .rd-ph img { transform: scale(1.03); }
.rd-m { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 20px; font-size: 14px; line-height: 19.6px; color: var(--muted); }
.rd-m span:first-child { color: var(--ink-2); }
.rd-m i { font-style: normal; }
.rd-c h3 { margin-top: 9px; font-weight: 450; font-size: 22px; line-height: 26.4px; letter-spacing: -0.022em; }
.rd-x { margin-top: 9px; max-width: 486px; font-size: 14px; line-height: 19.6px; color: var(--muted); }
.rd-c:not(.big) .rd-x { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rd-c .act { margin-top: 13px; }

/* Questions we hear (home FAQ), other industries (tiles), the closing card without an eyebrow */
.faq-s .t-h2 { max-width: 240px; }
.others { padding: 128px 0; }
.ot-g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 56px; }
.ot-g .ind, .ot-g .ind:nth-child(-n + 2) { grid-column: auto; }
.ot-g .ind-t { left: 24px; right: 24px; bottom: 24px; }
.ot-g .ind-t b { font-size: 28px; line-height: 31px; }
.ctab { padding-top: 16px; }
.ctab .cta-card { height: 440px; }

/* Industries index: the head (eyebrow, h1, lede), the five tiles as on the home (2 + 3), the closing card */
.ixh .c { padding-top: 85px; padding-bottom: 24px; }
.ixh .t-eye { color: var(--ink-2); }
.ixh .t-h1 { margin-top: 24px; max-width: 644px; }
.ixh .t-lede { margin-top: 24px; max-width: 555px; }
.ixg { margin-top: 64px; padding: 128px 0; }
.ixg .inds { margin-top: 0; }

@media (max-width: 900px) {
  .ixh .c { padding-top: 61px; }
  .ixg { padding: 96px 0; }
  .ih-g { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 45px 0 64px; }
  .ih-ph { height: 308px; }
  .dg { padding-bottom: 80px; }
  .dg-h { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 53px; }
  .dg-cap { flex-direction: column; align-items: flex-start; gap: 3px; font-size: 12px; line-height: 17.4px; }
  .dg-now { text-align: left; }
  .pains, .wd, .docs, .rd, .others { padding: 96px 0; }
  .pn { grid-template-columns: minmax(0, 1fr); }
  .pn li { padding: 24px; }
  .wd .blocks { margin-top: 50px; }
  .wd .blk-v { min-height: 380px; }
  .blk.flip { grid-template-columns: minmax(0, 1fr); }
  .blk.flip .blk-v { order: 0; }
  .dc-l { font-size: 25.6px; line-height: 32px; }
  .dc-k { margin-top: 64px; }
  .chg { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .chg b { font-size: 25.6px; line-height: 32px; }
  .rd-h { flex-direction: column; align-items: flex-start; }
  .rd-g { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .rd-c h3 { font-size: 18px; line-height: 21.6px; }
  .ot-g { grid-template-columns: minmax(0, 1fr); }
  .ot-g .ind, .ot-g .ind:nth-child(-n + 2) { height: 448px; }
  .ot-g .ind-t b { font-size: 24px; line-height: 26.4px; }
  .ctab { padding: 16px 0 80px; }
  .ctab .cta-card { height: 400px; }
}
