/* Tech4Cancer site styles — "Option B refined" look, brand tokens from the
   Tech4Cancer design system. Shared by every page (HE + EN). */

:root {
  --deep: #0008A0;
  --royal: #1830C0;
  --mid: #5090E8;
  --cyan: #90E8F0;
  --verdict: #FE5D32;
  --navy: #070D77;
  --ink: #0A0A12;
  --muted: #5F6E8C;
  --body2: #424250;
  --ondark: #C3D2F5;
  --tint: #EDF2FE;
  --sky: #D8E6FC;
  --grey: #F5F5F7;
  --rule: #C9CFD8;
  --rule-soft: #D2D2D7;
  --white: #FFFFFF;
  --font-display: Poppins, system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
  /* Density scale: one place to tune spacing and type for every page. */
  --section: clamp(48px, 5.5vw, 80px);
  --block: clamp(24px, 2.6vw, 32px);
  --card-pad: clamp(22px, 2.4vw, 32px);
  --fs-hero: clamp(40px, 5.6vw, 84px);
  --fs-page: clamp(34px, 4.2vw, 60px);
  --fs-h2: clamp(28px, 3.4vw, 48px);
  --fs-h3: clamp(21px, 2vw, 26px);
  --fs-fig: clamp(44px, 4.8vw, 72px);
  --fs-fig-sm: clamp(28px, 2.8vw, 40px);
  --fs-lead: 18px;
  --radius: 14px;   /* one-pager cards use small, even corners */
}

/* Hebrew: Noto Sans Hebrew for everything, 400 weight (Hebrew has no Light). */
html[lang="he"] {
  --font-display: "Noto Sans Hebrew", system-ui, sans-serif;
  --font-body: "Noto Sans Hebrew", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/25px var(--font-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ol, ul, figure, blockquote, dl, dd, dt { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { max-width: 100%; }
a { color: var(--royal); }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--mid); outline-offset: 3px; }

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--deep); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
.wrap { max-width: 1360px; margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 900px; }
.eb {
  font: 700 12px/16px var(--font-body); letter-spacing: 3px; text-transform: uppercase;
  color: var(--royal);
}
html[lang="he"] .eb { font-size: 15px; line-height: 20px; letter-spacing: 0; }
.lead { font: 400 var(--fs-lead)/1.55 var(--font-body); }
.sub { font: 400 var(--fs-lead)/1.5 var(--font-body); color: var(--body2); }
.cap { font: 400 14px/20px var(--font-body); color: var(--muted); }
.pl { font-family: var(--font-display); font-weight: 300; }
.pr { font-family: var(--font-display); font-weight: 400; }
html[lang="he"] .pl { font-weight: 400; }
.h2c { font-size: var(--fs-h2); line-height: 1.1; }
.h3 { font-size: var(--fs-h3); line-height: 1.25; }
.prose { display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 28px; }
.prose h2 { font: 400 var(--fs-h3)/1.25 var(--font-display); margin-top: 16px; }
.prose h3 { font: 600 19px/1.4 var(--font-body); margin-top: 12px; }
.prose ul { list-style: disc; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font: 700 15px/1 var(--font-body); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
}
.btn-royal { background: var(--royal); color: var(--white); }
.btn-royal:hover { background: var(--deep); color: var(--white); }
.btn-white { background: var(--white); color: var(--deep); }
.btn-white:hover { background: var(--tint); color: var(--deep); }
.btn-clear { color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-clear:hover { color: var(--white); border-color: var(--white); }
.btn-ghost { color: var(--ink); border-color: var(--rule); background: var(--white); }
.btn-ghost:hover { color: var(--royal); border-color: var(--royal); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.more { font: 500 17px/1.4 var(--font-body); text-decoration: none; color: var(--royal); }
.more:hover { text-decoration: underline; }
/* Arrows point "forward" in reading direction. */
html[dir="rtl"] .flip { display: inline-block; transform: scaleX(-1); }

/* ---------- Header / nav (sits on the blue hero of every page) ---------- */
.site-header {
  position: relative; z-index: 5; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 92px;
}
.site-logo img { height: 44px; width: auto; display: block; }
.site-nav { display: flex; gap: 36px; }
.site-nav a {
  color: var(--ink); font: 400 15px/1 var(--font-body); text-decoration: none; padding: 16px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--royal); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--royal); }
.site-actions { display: flex; align-items: center; gap: 18px; }
.lang-link { color: var(--ink); font: 500 14px/1 var(--font-body); text-decoration: none; }
.lang-link:hover { color: var(--royal); }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--rule); background: transparent; color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-cta-mobile { display: none; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-actions .btn { display: none; }
  .site-nav {
    display: none; position: absolute; top: 84px; inset-inline: 0;
    flex-direction: column; gap: 0; padding: 12px 20px 20px;
    background: var(--navy); border-radius: 18px; box-shadow: 0 18px 40px rgba(7,13,119,.35);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { color: var(--white); padding: 14px 4px; font-size: 18px; border-bottom: 1px solid #2A3170; }
  .site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--cyan); border-bottom-color: #2A3170; }
  /* In the menu, "Get involved" is a highlighted link (bold, accent arrow), not a pill button.
     .site-header prefix outranks the .hero-blue / .page-hero button and link rules further down. */
  .site-header .site-nav a.nav-cta-mobile {
    display: flex; justify-content: space-between; align-items: center;
    min-height: 0; padding: 14px 4px; border: 0; border-radius: 0;
    background: none; color: var(--white); font: 700 18px/1.2 var(--font-body);
  }
  .site-header .site-nav a.nav-cta-mobile::after { content: "←"; color: var(--verdict); }
  html[dir="ltr"] .site-header .site-nav a.nav-cta-mobile::after { content: "→"; }
  .site-header .site-nav a.nav-cta-mobile:hover { color: var(--cyan); background: none; }
  /* The short .page-hero clips its decorative braid, which would also cut off the open menu.
     While the menu is open, clip sideways only (keeps the braid from widening the page)
     and let the menu hang below. .hero-blue is tall enough to hold the menu, so it keeps its clipping. */
  .page-hero:has(.site-nav.is-open) { overflow-x: clip; overflow-y: visible; }
}

/* ---------- Heroes ---------- */
.page-hero {
  position: relative; overflow: hidden; overflow: clip; background: var(--tint); color: var(--ink);
  display: flex; flex-direction: column;
}
/* Inner page header (editorial): eyebrow on top, title left | intro right, faint braid in the corner. */
.page-hero .eb { color: var(--royal); }
.page-hero .hero-lead { color: var(--body2); }
.page-hero .page-title::after, .op-rule {
  content: ""; display: block; width: 48px; height: 2px; background: var(--verdict); margin: 24px auto 0;
}
.page-hero .page-title::after { margin: 22px 0 0; }
.page-hero .btn-white { background: var(--royal); color: var(--white); }
.page-hero .btn-clear { color: var(--ink); border-color: var(--rule); }
.hero-body {
  position: relative; z-index: 1; width: 100%; flex: 1;
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
  padding-block: 24px 56px;
}
.page-hero .hero-body {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 14px clamp(32px, 5vw, 80px);
  align-items: end; padding-block: clamp(32px, 4vw, 56px) clamp(40px, 5vw, 64px);
}
.page-hero .hero-body > .eb { grid-column: 1 / -1; }
.page-hero .page-title { grid-column: 1; max-width: none; }
.page-hero .hero-lead { grid-column: 2; max-width: 520px; }
.page-title { font-size: var(--fs-page); line-height: 1.05; max-width: 900px; }
.hero-lead { max-width: 620px; color: var(--white); }
.braid {
  position: absolute; pointer-events: none; object-fit: contain; z-index: 0;
  inset-inline-end: -260px; top: -60px; width: 1000px; height: 1000px; opacity: .9;
  transform: rotate(-45deg);
}
html[dir="rtl"] .braid { transform: rotate(45deg) scaleX(-1); }
.page-hero .braid { opacity: .06; width: 460px; height: 460px; inset-inline-end: -170px; top: -40px; }

/* ---------- Sections & surfaces ---------- */
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(32px, 3.5vw, 48px); }
.grey { background: var(--grey); }
.tint { background: var(--tint); }
.dark { background: var(--navy); color: var(--white); }
.dark .eb { color: var(--cyan); }
.dark .sub, .dark .cap { color: var(--ondark); }
.center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.head { display: flex; flex-direction: column; gap: 12px; padding-bottom: var(--block); }

/* Why-now cards */
.whyg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.wcard {
  background: var(--white); border-radius: var(--radius); padding: var(--card-pad);
  display: flex; flex-direction: column; gap: 12px;
}
.section:not(.grey) .wcard { background: var(--tint); }
.wfig { font-size: var(--fs-fig); line-height: .95; color: var(--deep); }
.wdots { display: grid; grid-template-columns: repeat(10, 12px); gap: 7px; margin-top: auto; align-self: center; }
.wd { width: 12px; height: 12px; border-radius: 50%; background: var(--sky); }
.wd.v { background: var(--verdict); }

/* Big figures */

/* Logo card: one outlined card with two scrolling strips of colour logos.
   The strips stay LTR so the loop runs the same way in Hebrew. */
.logo-card {
  border: 1px solid var(--rule-soft); border-radius: var(--radius); background: var(--white);
  padding: clamp(20px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 16px;
}
.logo-card .eb { text-align: center; }
.logo-card .row-label { font: 700 11px/16px var(--font-body); letter-spacing: 2px; text-transform: uppercase; color: var(--body2); }
html[lang="he"] .logo-card .row-label { font-size: 13px; letter-spacing: 0; }
.logo-card hr { border: 0; border-top: 1px solid var(--rule-soft); margin: 4px 0; width: 100%; }
.marq {
  width: 100%; overflow: hidden; direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.track { display: flex; width: max-content; animation: t4c-marq 48s linear infinite; }
.marq.rev .track { animation-direction: reverse; animation-duration: 40s; }
.marq:hover .track { animation-play-state: paused; }
.set { display: flex; align-items: center; flex: none; gap: 48px; padding-right: 48px; }
.ilogo { height: 36px; width: auto; max-width: 130px; object-fit: contain; }
.clogo { height: 24px; width: auto; max-width: 112px; object-fit: contain; }
@keyframes t4c-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marq { -webkit-mask-image: none; mask-image: none; }
  .track { animation: none; width: auto; }
  .set { flex-wrap: wrap; justify-content: center; gap: 16px 32px; padding-right: 0; flex: 1; }
  .set[aria-hidden="true"] { display: none; }
}

/* Step tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.b-tile {
  border-radius: var(--radius); padding: var(--card-pad);
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.b-tile .n { font-size: 48px; line-height: 1; }
.b-tile h3 { font-size: 22px; line-height: 1.25; }
.tiles.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tiles.five .b-tile { padding: 26px 22px; }
.tiles.five .b-tile h3 { font-size: 20px; }
@media (max-width: 1180px) { .tiles.five { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
/* Line up the step titles across a row: each tile shares the row's number + text tracks. */
@supports (grid-template-rows: subgrid) {
  .tiles { grid-auto-rows: auto auto; }
  .b-tile { display: grid; grid-row: span 2; grid-template-rows: subgrid; align-items: start; }
}
.t-deep { background: var(--deep); color: var(--white); }
.t-deep .n { color: var(--cyan); } .t-deep p { color: var(--ondark); }
.t-mid { background: var(--mid); color: var(--ink); }
.t-sky { background: var(--sky); color: var(--ink); }
.t-sky .n { color: var(--royal); }
.t-navy { background: var(--navy); color: var(--white); }
.t-navy .n { color: var(--cyan); } .t-navy p { color: var(--ondark); }
.t-royal { background: var(--royal); color: var(--white); }
.t-royal .n { color: var(--cyan); } .t-royal p { color: var(--ondark); }

/* Numbers: lining figures everywhere; tabular in counters so 01–05 line up. */
.wfig, .num, .n { font-variant-numeric: lining-nums; }
.b-tile .n, .vcard .n { font-variant-numeric: lining-nums tabular-nums; }
/* LTR figures (150+, 1/4) inside Hebrew keep the right edge like the other figures. */
html[dir="rtl"] .wfig[dir="ltr"], html[dir="rtl"] .num[dir="ltr"] { text-align: right; }

/* Photos */
.ph { background-color: var(--sky); background-size: cover; background-position: center; }
.ph-researcher { background-image: url(../images/site/researcher.jpg); }
.ph-dish { background-image: url(../images/site/dish.jpg); }
.ph-clean { background-image: url(../images/site/clean.jpg); }
.ph-cell { background-image: url(../images/site/cell.jpg); }
.ph-story { background-image: url(../images/story-photo.webp); }
.duo { position: relative; isolation: isolate; overflow: hidden; }
.duo::before { content: ""; position: absolute; inset: 0; background: var(--deep); mix-blend-mode: color; z-index: 0; }
.duo > * { position: relative; z-index: 1; }

/* Case study (projects page) */
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.case .ph { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.case dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; padding-top: 4px; }
.case dt { font: 700 13px/1.6 var(--font-body); color: var(--muted); }
.case dd { font-size: 16px; }
.case + .case { margin-top: var(--section); }

/* Vision cards */
.vis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.vcard { background: var(--grey); border-radius: var(--radius); padding: var(--card-pad); display: flex; flex-direction: column; gap: 12px; }
.vcard .n { font-size: 32px; line-height: 1; color: var(--royal); }
.vcard h3 { font-size: 19px; line-height: 1.25; }
.vcard p { color: var(--body2); }

/* Join columns */
.join { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.b-col {
  min-height: 320px; padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  color: var(--white); text-decoration: none;
}
.b-col:hover { color: var(--white); }
.b-col .eb { color: var(--cyan); }
.b-col .t { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; }
.b-col p:not(.eb):not(.t) { color: var(--ondark); }
.b-col:hover .b-arrow { background: var(--white); color: var(--deep); }
.b-arrow {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center; font: 400 22px/1 var(--font-body);
}
html[dir="rtl"] .b-arrow { transform: scaleX(-1); }
.c-navy { background: var(--navy); } .c-deep { background: var(--deep); } .c-royal { background: var(--royal); }

/* People */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.person { background: var(--white); border-radius: var(--radius); padding: var(--card-pad); display: flex; flex-direction: column; gap: 10px; }
.grey .person, .tint .person { background: var(--white); }
.section:not(.grey):not(.tint) .person { background: var(--grey); }
.person img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; background: var(--sky); }
.person h3 { font: 400 20px/1.25 var(--font-display); padding-top: 6px; }
.person .role { font: 600 14px/1.4 var(--font-body); color: var(--royal); }
.person p:not(.role) { font-size: 15px; line-height: 23px; color: var(--body2); }
.people.founders { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.people.founders img { width: 104px; height: 104px; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.quote { background: var(--white); border-radius: var(--radius); padding: var(--card-pad); display: flex; flex-direction: column; gap: 16px; }
.quote blockquote { font: 300 clamp(19px, 1.8vw, 23px)/1.4 var(--font-display); }
html[lang="he"] .quote blockquote { font-weight: 400; }
.quote .mark { font: 300 72px/0.6 var(--font-display); color: var(--royal); height: 30px; }

/* Statement band */
.statement { font-size: clamp(26px, 3vw, 40px); line-height: 1.1; }

/* Legal text pages */
.legal { max-width: 900px; }
.legal h2 { font: 400 22px/1.25 var(--font-display); margin: 28px 0 10px; }
.legal p, .legal li { font-size: 16px; line-height: 27px; margin-bottom: 12px; }
.legal ul { list-style: disc; padding-inline-start: 22px; }

/* ---------- One-pager components (T4C Overview PDF) ---------- */
/* Home hero: deep brand blue with a subtle big braid on the side, white header and text on top. */
/* overflow: clip (not hidden) so the oversized braid can't make the hero sideways-scrollable,
   which shifted the header and menu off-screen on phones. hidden is the fallback for old browsers. */
.hero-blue { position: relative; overflow: hidden; overflow: clip; background: var(--deep); color: var(--white); }
.hero-blue .braid { opacity: .35; }
.hero-blue .op-hero { position: relative; z-index: 1; text-align: start; }
.hero-blue .op-title { max-width: 900px; }
.hero-blue .op-rule { margin: 24px 0 0; }
.hero-blue .op-intro { color: var(--white); margin-inline: 0; max-width: 680px; }
.hero-blue .hl-o { color: var(--cyan); }
.hero-blue .hl-b { color: var(--white); font-weight: 500; }
.hero-blue .site-logo img { filter: brightness(0) invert(1); }
.hero-blue .site-nav a, .hero-blue .lang-link { color: var(--white); }
.hero-blue .site-nav a:hover, .hero-blue .lang-link:hover { color: var(--cyan); }
.hero-blue .site-actions .btn-royal { background: var(--white); color: var(--deep); }
.hero-blue .site-actions .btn-royal:hover { background: var(--tint); }
.hero-blue .nav-toggle { border-color: rgba(255,255,255,.6); color: var(--white); }
@media (max-width: 760px) { .hero-blue .braid { width: 640px; height: 640px; inset-inline-end: -300px; opacity: .3; } }
.op-hero { padding-block: clamp(48px, 7vw, 104px) clamp(56px, 8vw, 112px); text-align: center; }
.op-title { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.12; }
.op-intro { font: 400 clamp(19px, 1.9vw, 24px)/1.45 var(--font-display); color: var(--body2); max-width: 780px; margin: 24px auto 0; }
.hl-o { color: var(--verdict); } .hl-b { color: var(--royal); }
.story-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; }
.story-card {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); color: var(--white);
  background: var(--navy) url(../images/site/cell.jpg) center / cover;
  padding: clamp(24px, 3vw, 44px); min-height: 320px; display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.story-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,13,119,.94), rgba(7,13,119,.62)); }
html[dir="rtl"] .story-card::before { background: linear-gradient(270deg, rgba(7,13,119,.94), rgba(7,13,119,.62)); }
.story-card .eb { color: var(--white); }
.story-card .t { font: 400 clamp(24px, 2.4vw, 32px)/1.2 var(--font-display); max-width: 560px; }
.story-card p:not(.eb):not(.t) { max-width: 560px; }
.story-card .more { color: var(--cyan); }
.stat-panel { background: var(--royal); color: var(--white); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.stat-panel .eb { color: var(--white); }
.stat-panel .num { font-size: clamp(40px, 4vw, 56px); line-height: 1; display: block; }
.stat-panel .lbl { font-size: 16px; line-height: 1.35; display: block; }
html[dir="rtl"] .stat-panel .num[dir="ltr"] { text-align: right; }
.cols2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(20px, 4vw, 64px); align-items: start; }
.h-ed { font: 400 clamp(26px, 2.6vw, 36px)/1.15 var(--font-display); }
.cols2 .stack p:not(.eb) { font-size: 17px; line-height: 1.6; }
.band { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.band > .wrap { position: relative; z-index: 1; }
.band .eb { color: var(--cyan); }
.dark + .join { border-top: 1px solid rgba(255,255,255,.14); }
.band .vcard { background: var(--white); color: var(--ink); }
.band-braid { position: absolute; z-index: 0; inset-inline-end: -220px; top: -120px; width: 720px; opacity: .12; pointer-events: none; }
.icards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); background: var(--white); color: var(--ink); border-radius: var(--radius); padding: var(--card-pad); }
.icards .eb { color: var(--royal); }
.icon { width: 36px; height: 36px; border-radius: 50%; background: var(--royal); color: var(--white); display: flex; align-items: center; justify-content: center; }
.icon svg { width: 18px; height: 18px; }
.proof { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); background: var(--white); color: var(--ink); border-radius: var(--radius); overflow: hidden; }
.proof .ph { min-height: 220px; }
.proof-body { padding: var(--card-pad); display: flex; flex-direction: column; gap: 14px; }
.proof-body .eb { color: var(--royal); }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.chip { background: var(--tint); border-radius: 8px; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.chip b { font: 400 20px/1.2 var(--font-display); color: var(--deep); }
.chip span { font-size: 13px; line-height: 1.35; color: var(--muted); }
.gi { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); max-width: 1040px; margin-inline: auto; }
.gi ul { list-style: disc; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 6px; }
.contact { border-inline-start: 1px solid var(--rule-soft); padding-inline-start: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 8px; align-self: center; }
.contact .name { font-weight: 600; }
.pill { display: inline-flex; align-self: flex-start; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; background: var(--royal); color: var(--white); font: 600 14px/1 var(--font-body); text-decoration: none; }
.contact a:not(.pill) { color: var(--ink); text-decoration: none; }
.contact a:not(.pill):hover { color: var(--royal); }
.pill:hover { background: var(--deep); color: var(--white); }
.team5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.mate { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.45; }
.mate img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--sky); margin-bottom: 8px; }
.mate .name { font-weight: 600; font-size: 15px; }
.mate .role { font-weight: 600; color: var(--royal); }
.mate .line { color: var(--body2); }
.adv { background: var(--tint); border-radius: var(--radius); padding: var(--card-pad); display: flex; flex-direction: column; gap: 16px; }
.adv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
.adv-item { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.4; }
.adv-item img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.adv-item .name { font-weight: 600; display: block; font-size: 15px; }
.adv-item .role { color: var(--body2); }
@media (max-width: 900px) {
  .story-grid, .cols2, .icards, .proof, .gi { grid-template-columns: 1fr; }
  .contact { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--rule-soft); padding-top: 24px; }
  .team5 { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .adv-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .chips, .adv-grid { grid-template-columns: 1fr; }
  .story-card { min-height: 0; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--grey); padding-block: 40px 24px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 20px; }
.foot-about { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.foot-about p { max-width: 640px; color: var(--body2); font-size: 14px; line-height: 22px; }
.foot-glazer { display: flex; align-items: center; gap: 12px; }
.foot-glazer img { height: 40px; width: auto; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 24px 64px; padding-top: 20px; border-top: 1px solid var(--rule-soft); }
.flink { display: flex; flex-direction: column; }
.flink a { color: var(--body2); text-decoration: none; font-size: 14px; line-height: 2; }
.flink a:hover { color: var(--royal); }
.fhead { font: 600 13px/1.4 var(--font-body); color: var(--ink); padding-bottom: 4px; }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 20px; border-top: 1px solid var(--rule-soft);
}
.foot-bottom img { height: 30px; width: auto; }
.foot-bottom p { font-size: 13px; color: var(--muted); }
.foot-bottom a { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .page-hero .hero-body { grid-template-columns: 1fr; }
  .page-hero .hero-lead { grid-column: 1; }
  .page-hero .braid { display: none; }
  .whyg, .quotes, .case { grid-template-columns: 1fr; }
  .vis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .set { gap: 32px; padding-right: 32px; }
  .ilogo { height: 30px; }
  .clogo { height: 20px; }
  .b-col { min-height: 260px; }
  .vis { grid-template-columns: 1fr; }
  .site-logo img { height: 36px; }
  .lead, .sub { font-size: 17px; line-height: 1.5; }
}
