:root {
  --ink: #071a3c;
  --ink-soft: #17345e;
  --muted: #526580;
  --paper: #fffdf8;
  --cream: #f3f0e8;
  --line: #d8e0e8;
  --blue: #0c52bb;
  --blue-bright: #0754df;
  --lime: #b8e66f;
  --white: #fff;
  --radius: 22px;
  --max: 1180px;
  --shadow: 0 18px 55px rgba(7, 26, 60, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 15ch; font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { max-width: 21ch; font-size: clamp(2rem, 4vw, 3.55rem); }
h3 { font-size: 1.18rem; }
button, input, textarea { font: inherit; }

.shell { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(216, 224, 232, .8);
  background: rgba(255, 253, 248, .94);
  backdrop-filter: blur(18px);
}
.site-notice { margin: 0; padding: 14px max(24px, calc((100% - var(--max)) / 2)); color: #05331c; background: #c5f4d7; border-bottom: 1px solid #91d9ad; font-size: .95rem; font-weight: 750; }
.nav { display: flex; min-height: 84px; align-items: center; gap: 22px; }
.brand { flex: 0 0 auto; text-decoration: none; }
.brand img { width: 225px; height: auto; }
.nav nav { display: flex; flex: 1; justify-content: center; gap: clamp(12px, 1.8vw, 25px); }
.nav nav a, .language-menu summary {
  color: var(--ink-soft);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.nav nav a:hover, .language-menu summary:hover { color: var(--blue); }
.nav nav a[aria-current="page"] { color: var(--blue); }
.language-menu { position: relative; flex: 0 0 auto; }
.language-menu summary { cursor: pointer; list-style: none; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after { content: "⌄"; margin-left: .35rem; color: var(--blue); }
.language-menu > div {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  display: grid;
  min-width: 130px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}
.language-menu a { padding: 7px 9px; border-radius: 7px; text-decoration: none; font-size: .86rem; }
.language-menu a:hover, .language-menu a[aria-current="true"] { background: var(--cream); color: var(--blue); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-size: .9rem;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 9px 24px rgba(7, 26, 60, .16); }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: var(--blue); }
.button-light { border-color: rgba(7, 26, 60, .22); color: var(--ink); background: #fff; }
.button-lime { color: var(--ink); background: var(--lime); }
.nav-cta { min-height: 40px; padding: 9px 14px; font-size: .82rem; }

.hero {
  overflow: hidden;
  position: relative;
  padding: clamp(78px, 11vw, 146px) 0 clamp(68px, 9vw, 116px);
  color: #fff;
  background:
    radial-gradient(circle at 90% 4%, rgba(184, 230, 111, .34), transparent 27%),
    radial-gradient(circle at 8% 100%, rgba(12, 82, 187, .58), transparent 42%),
    linear-gradient(128deg, #06172f 8%, #0b315c 56%, #0b5bb0 136%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -310px;
  bottom: -400px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 76px rgba(255, 255, 255, .05), 0 0 0 152px rgba(255, 255, 255, .035);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(280px, .72fr); align-items: center; gap: clamp(38px, 8vw, 120px); }
.eyebrow {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 1.3;
  text-transform: uppercase;
}
.hero .eyebrow, .dark .eyebrow { color: var(--lime); }
.lead { max-width: 62ch; margin-top: 25px; color: inherit; font-size: clamp(1.08rem, 1.7vw, 1.27rem); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.principles { display: flex; flex-wrap: wrap; gap: 10px; margin: 31px 0 0; padding: 0; list-style: none; }
.principles li { padding: 6px 11px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px; color: rgba(255, 255, 255, .94); font-size: .82rem; font-weight: 700; }
.hero-card { padding: clamp(26px, 3.2vw, 38px); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius); background: rgba(255, 255, 255, .1); box-shadow: 0 24px 70px rgba(0, 0, 0, .16); backdrop-filter: blur(12px); }
.hero-card h2 { font-size: clamp(1.7rem, 2.4vw, 2.35rem); }
.hero-card p:not(.eyebrow) { margin-top: 18px; color: rgba(255, 255, 255, .84); }
.hero-card .button { margin-top: 9px; }

.section { padding: clamp(64px, 9vw, 116px) 0; }
.section.cream { background: var(--cream); }
.section.dark { color: #fff; background: var(--ink); }
.section-lead { max-width: 70ch; margin-top: 21px; color: var(--muted); font-size: 1.1rem; }
.dark .section-lead { color: rgba(255, 255, 255, .76); }

.theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 38px; }
.theme-card {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(7, 26, 60, .1);
  border-radius: 17px;
  color: var(--ink);
  background: rgba(255, 255, 255, .74);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.theme-card:hover { transform: translateY(-4px); border-color: rgba(12, 82, 187, .35); box-shadow: 0 15px 35px rgba(7, 26, 60, .09); }
.theme-card > span { color: var(--blue); font-size: .77rem; font-weight: 900; letter-spacing: .09em; }
.theme-card h3 { margin-top: auto; font-size: 1.14rem; }
.theme-card small { margin-top: 10px; color: var(--blue); font-weight: 800; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.steps article { min-height: 235px; padding: 27px 24px; border-right: 1px solid var(--line); }
.steps article:last-child { border-right: 0; }
.steps article > span, .diagnosis-grid article > span { display: block; margin-bottom: 27px; color: var(--blue); font-size: .82rem; font-weight: 900; letter-spacing: .1em; }
.steps p { margin-top: 13px; color: var(--muted); font-size: .93rem; }

.diagnosis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 38px; }
.diagnosis-grid article { min-height: 230px; padding: 28px; border: 1px solid rgba(255, 255, 255, .17); border-radius: 18px; background: rgba(255, 255, 255, .07); }
.diagnosis-grid article > span { color: var(--lime); }
.diagnosis-grid p { margin-top: 15px; color: rgba(255, 255, 255, .74); }

.request { padding: clamp(64px, 9vw, 112px) 0; color: #fff; background: linear-gradient(135deg, #0b55b8, #073677); }
.request .eyebrow { color: var(--lime); }
.request-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(38px, 8vw, 110px); align-items: start; }
.request .small { max-width: 52ch; color: rgba(255, 255, 255, .71); font-size: .85rem; }
form[data-request-form] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 24px; border-radius: 18px; color: var(--ink); background: #fff; box-shadow: 0 20px 45px rgba(3, 19, 46, .18); }
form label { display: grid; gap: 6px; color: var(--ink-soft); font-size: .8rem; font-weight: 800; }
form input, form textarea { width: 100%; padding: 11px 12px; border: 1px solid #c9d3df; border-radius: 9px; color: var(--ink); background: #fff; outline: none; }
form input:focus, form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(12, 82, 187, .12); }
form textarea { min-height: 104px; resize: vertical; }
.wide { grid-column: 1 / -1; }
.consent { grid-template-columns: auto 1fr; align-items: start; gap: 9px; font-weight: 600; }
.consent input { width: 16px; margin-top: 3px; }
.form-status { min-height: 1.2em; margin: 0; color: var(--blue); font-size: .86rem; font-weight: 700; }
.form-status[data-kind="success"] { color: #08733a; }
.honeypot { position: absolute; left: -9999px; }

.inner-page { min-height: 58vh; }
.page-hero { padding: clamp(72px, 10vw, 122px) 0 clamp(48px, 6vw, 76px); color: #fff; background: linear-gradient(118deg, #071a3c, #0d52b9); }
.page-hero .eyebrow { color: var(--lime); }
.page-hero .lead { margin-bottom: 0; color: rgba(255, 255, 255, .8); }
.reading { max-width: 920px; }
.article-card, .privacy-card { padding: clamp(25px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 28px rgba(7, 26, 60, .045); }
.article-card h2 { margin-bottom: 20px; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.article-card .button { margin-top: 8px; }
.privacy-card { display: grid; gap: 25px; }
.privacy-card section { padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.privacy-card section:last-child { padding-bottom: 0; border-bottom: 0; }
.privacy-card h2 { margin-bottom: 10px; font-size: 1.35rem; }

.press-grid { display: grid; gap: 16px; }
.press-grid .article-card h2 { font-size: 1.45rem; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.team-card { padding: 28px; border: 1px solid #dce8e1; border-radius: 18px; background: #fff; box-shadow: 0 8px 25px rgba(7, 26, 60, .04); }
.team-card h2 { margin: 14px 0 5px; font-size: 1.65rem; }
.team-card h3 { margin-bottom: 20px; color: #35606a; font-size: 1rem; letter-spacing: -.015em; }
.team-card p { color: var(--muted); }
.team-card p:last-child { margin-bottom: 0; }
.portrait { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #0f4b4d, #a6dba2); font-weight: 900; letter-spacing: .06em; }
.portrait-photo { overflow: hidden; background: var(--cream); }
.portrait-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.profile-expertise { padding-top: 14px; border-top: 1px solid #dce8e1; color: #35606a !important; font-size: .86rem; font-weight: 800; }

.site-footer { padding: 62px 0 22px; color: rgba(255, 255, 255, .74); background: #05142e; }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 48px; }
.footer-logo { width: 225px; margin-bottom: 16px; filter: brightness(0) invert(1) grayscale(1) contrast(1.4); }
.footer-grid strong { display: block; margin-bottom: 15px; color: #fff; font-size: .9rem; }
.footer-grid a { display: block; margin: 8px 0; color: rgba(255, 255, 255, .67); font-size: .9rem; text-decoration: none; }
.footer-grid a:hover { color: var(--lime); }
.legal { margin-top: 44px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .13); font-size: .78rem; }

@media (max-width: 1020px) {
  .nav { gap: 14px; }
  .brand img { width: 195px; }
  .nav nav { gap: 12px; }
  .nav nav a { font-size: .8rem; }
  .nav-cta { display: none; }
  .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps article:nth-child(2) { border-right: 0; }
  .steps article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 34px), var(--max)); }
  .site-header { position: relative; }
  .nav { min-height: 70px; flex-wrap: wrap; gap: 10px 14px; padding: 11px 0; }
  .brand { margin-right: auto; }
  .brand img { width: 188px; }
  .nav nav { order: 3; flex-basis: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }
  .nav nav a { font-size: .78rem; }
  .hero-grid, .request-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 510px; }
  .theme-grid, .diagnosis-grid, .team-grid, .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps article, .steps article:nth-child(2) { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps article:last-child { border-bottom: 0; }
  form[data-request-form] { grid-template-columns: 1fr; padding: 19px; }
  .wide { grid-column: auto; }
  .footer-grid { gap: 25px; }
}

/* Collective pages: richer editorial structure shared with the AI4-Retail family. */
.collective-page h1 { max-width: 18ch; }
.collective-page h2 { max-width: 23ch; }
.narrow { width: min(100%, 860px); }
.collective-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 12vw, 150px) 0 clamp(64px, 8vw, 100px);
  color: #fff;
  background:
    radial-gradient(circle at 87% 4%, rgba(182, 235, 104, .28), transparent 26%),
    radial-gradient(circle at 6% 94%, rgba(28, 99, 210, .52), transparent 38%),
    linear-gradient(122deg, #05142e 0%, #0a315f 62%, #0c5bb3 145%);
}
.collective-hero::after {
  position: absolute;
  right: -11rem;
  bottom: -18rem;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 4.5rem rgba(255, 255, 255, .04), 0 0 0 9rem rgba(255, 255, 255, .025);
  content: '';
}
.collective-hero .shell { position: relative; z-index: 1; }
.collective-hero .eyebrow, .collective-band .eyebrow { color: var(--lime); }
.collective-hero .lead { max-width: 58ch; color: rgba(255, 255, 255, .84); }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 880px; margin-top: clamp(38px, 6vw, 68px); }
.stat-grid div { min-height: 132px; padding: 18px 18px 16px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; background: rgba(255, 255, 255, .07); }
.stat-grid strong { display: block; color: var(--lime); font-size: clamp(1.7rem, 3vw, 2.45rem); letter-spacing: -.06em; }
.stat-grid span { display: block; margin-top: 11px; color: rgba(255, 255, 255, .75); font-size: .88rem; line-height: 1.45; }
.collective-reading .section-lead { margin-top: 16px; }
.identity-grid, .company-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 38px; }
.identity-grid article, .company-card { min-height: 275px; padding: 28px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 12px 32px rgba(7, 26, 60, .05); }
.identity-grid span, .company-card > span, .experience-grid span { display: block; margin-bottom: 28px; color: var(--blue); font-size: .79rem; font-weight: 900; letter-spacing: .1em; }
.identity-grid h3, .company-card h3 { font-size: 1.25rem; }
.identity-grid p, .company-card p { margin-top: 14px; color: var(--muted); font-size: .94rem; }
.company-card { display: flex; flex-direction: column; }
.company-card .company-territory { margin: -15px 0 15px; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.company-card a, .profile-link { margin-top: auto; color: var(--blue); font-size: .88rem; font-weight: 900; text-decoration: none; }
.company-card a:hover, .profile-link:hover { color: #06316f; text-decoration: underline; }
.collective-band { padding: clamp(52px, 8vw, 86px) 0; color: #fff; background: #061a39; }
.band-grid { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.collective-band h2 { margin: 0; max-width: 24ch; }
.collective-band p:not(.eyebrow) { max-width: 62ch; margin-top: 14px; color: rgba(255, 255, 255, .74); }
.experience-filter { max-width: 700px; margin-top: 40px; padding: 21px 23px; border-left: 3px solid var(--lime); background: rgba(255, 255, 255, .08); }
.experience-filter strong { color: var(--lime); }
.experience-filter p { margin: 9px 0 0; color: rgba(255, 255, 255, .76); }
.profile-list { display: grid; gap: 0; }
.profile-feature { display: grid; grid-template-columns: minmax(220px, 315px) minmax(0, 1fr); gap: clamp(28px, 5vw, 68px); padding: clamp(34px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.profile-feature:first-child { padding-top: 0; }
.profile-feature:last-child { padding-bottom: 0; border-bottom: 0; }
.profile-portrait { position: sticky; top: 104px; overflow: hidden; width: 100%; aspect-ratio: 1 / 1.14; border-radius: 18px; background: var(--cream); box-shadow: 0 18px 44px rgba(7, 26, 60, .12); }
.profile-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.profile-initials { display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #0b315c, #0c6cbf); font-size: 2rem; font-weight: 900; }
.profile-copy .eyebrow { margin-bottom: 13px; }
.profile-copy h2 { margin: 0; font-size: clamp(2rem, 3vw, 3rem); }
.profile-copy h3 { margin: 10px 0 23px; color: #35606a; font-size: 1.03rem; }
.profile-copy > p:not(.eyebrow):not(.profile-expertise) { max-width: 68ch; margin-top: 15px; color: var(--muted); }
.profile-copy .profile-expertise { display: block; margin: 26px 0 0; padding-top: 17px; }
.profile-link { display: inline-block; margin-top: 20px; }
.experience-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 38px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.experience-grid article { min-height: 215px; padding: 27px 24px; border-right: 1px solid var(--line); }
.experience-grid article:last-child { border-right: 0; }
.experience-grid h3 { font-size: 1.22rem; }
.experience-grid p { margin-top: 12px; color: var(--muted); font-size: .93rem; }

@media (max-width: 1020px) {
  .identity-grid, .company-grid { grid-template-columns: 1fr; }
  .identity-grid article, .company-card { min-height: auto; }
  .experience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .experience-grid article:nth-child(2) { border-right: 0; }
  .experience-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .collective-hero { padding-top: 72px; }
  .stat-grid, .experience-grid { grid-template-columns: 1fr; }
  .stat-grid div, .experience-grid article { min-height: auto; }
  .experience-grid article, .experience-grid article:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .experience-grid article:last-child { border-bottom: 0; }
  .band-grid { display: grid; justify-content: stretch; }
  .band-grid .button { width: fit-content; }
  .profile-feature { grid-template-columns: 1fr; gap: 26px; }
  .profile-portrait { position: relative; top: auto; width: min(100%, 360px); }
}
