/* Humans Required: site styles
   Theme: navy throughout (brand-locked dark theme), berry accent, Geist.
   Shape rule: cards and panels 14px radius, buttons fully rounded. */

@font-face { font-family: "Geist"; src: url("fonts/Geist-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --navy: #121A2E;
  --night: #0B1020;
  --panel: #18223B;
  --panel-2: #1E2A47;
  --mist: #EEF1F7;
  --soft: #B3BBCB;      /* secondary text on navy, AA */
  --hair: rgba(154, 163, 178, 0.22);
  --berry: #DB3F74;     /* accent: large text, rules, fills */
  --berry-text: #F0709B;/* accent for small text on dark surfaces (AA on navy, panel, night) */
  --berry-deep: #B4235A;/* button fill (white text passes AA) */
  --radius: 14px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Geist", -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--navy); color: var(--mist);
  font-size: 1.0625rem; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--mist); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(64px, 9vw, 112px) 0; }
.alt { background: var(--night); }

/* Type */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.015em; line-height: 1.08; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
.light { font-weight: 300; }
.accent { color: var(--berry); }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--soft); max-width: 40ch; line-height: 1.5; }
.measure { max-width: 62ch; color: var(--soft); }
.measure p + p { margin-top: 1em; }
.label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--berry-text); margin-bottom: 18px; display: block; }
.rule { width: 72px; height: 3px; background: var(--berry); border: 0; margin: 28px 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(18, 26, 46, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--hair); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.brand { display: block; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav a { text-decoration: none; font-size: 0.95rem; color: var(--soft); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--mist); }
.nav .btn { color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--hair); color: var(--mist); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 0.9rem; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 1rem; padding: 14px 26px; border-radius: 999px; border: 1px solid transparent; transition: transform .15s, background .2s, border-color .2s; cursor: pointer; font-family: inherit; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--berry-deep); color: #fff; }
.btn-primary:hover { background: #C42A63; }
.btn-ghost { border-color: rgba(238, 241, 247, 0.35); color: var(--mist); }
.btn-ghost:hover { border-color: var(--mist); }
.nav .btn { padding: 10px 20px; font-size: 0.92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Hero */
.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--panel); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 16, 32, 0.55)); }
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--hair); }
.page-hero h1 { max-width: 16ch; margin-bottom: 22px; }

/* Statement */
.statement h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); max-width: 22ch; }
.statement .measure { margin-top: 28px; font-size: 1.15rem; }

/* Steps (timeline) */
.steps { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 20px; margin-top: 52px; counter-reset: s; position: relative; list-style: none; }
.steps::before { content: ""; position: absolute; left: 30px; right: 30px; top: 30px; height: 2px; background: var(--berry); opacity: .55; }
.steps li { position: relative; padding-top: 86px; }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 60px; height: 60px; border-radius: 50%; background: var(--berry-deep); color: #fff; font-weight: 600; font-size: 1.05rem; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--navy); }
.alt .steps li::before { box-shadow: 0 0 0 6px var(--night); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--soft); font-size: 0.98rem; }

/* Workshops */
.ws-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; margin-top: 48px; }
.ws-feature { background: var(--panel); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--hair); transition: border-color .2s, transform .2s; }
.ws-feature:hover { border-color: var(--berry); transform: translateY(-2px); }
.ws-feature .ws-img { aspect-ratio: 16 / 9; overflow: hidden; }
.ws-feature .ws-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.ws-feature .ws-body { padding: 30px 32px 34px; }
.ws-feature h3 { font-size: 1.7rem; margin: 6px 0 12px; }
.ws-feature p { color: var(--soft); }
.ws-feature .more { margin-top: 20px; color: var(--berry-text); font-weight: 600; }
.ws-list { list-style: none; background: var(--night); border-radius: var(--radius); padding: 14px 30px; border: 1px solid var(--hair); }
.alt .ws-list { background: var(--panel); }
.ws-list li { display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 19px 0; }
.ws-list li + li { border-top: 1px solid var(--hair); }
.ws-list .n { color: var(--berry-text); font-weight: 600; font-size: 0.9rem; padding-top: 3px; }
.ws-list strong { font-weight: 600; display: block; }
.ws-list span.d { color: var(--soft); font-size: 0.93rem; }
.ws-list .soon { margin-left: 8px; font-size: 0.72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); border: 1px solid var(--hair); border-radius: 999px; padding: 2px 9px; vertical-align: 2px; }

/* Proof */
.proof { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.quote { font-size: clamp(1.45rem, 2.6vw, 2.05rem); line-height: 1.32; font-weight: 300; }
.quote::before { content: "\201C"; display: block; font-size: 4.5rem; line-height: .7; color: var(--berry); font-weight: 600; margin-bottom: 10px; }
.quote cite { display: block; margin-top: 18px; font-size: 0.92rem; font-style: normal; color: var(--soft); font-weight: 400; }
/* Stats: number + label rows on a shared column, so long figures never squeeze */
.stats { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: clamp(18px, 3vw, 32px); border-bottom: 1px solid var(--hair); }
.proof > *, .split > *, .hero .wrap > *, .ws-grid > *, .story > * { min-width: 0; }
.stat { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--hair); }
.stat b { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 600; color: var(--mist); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat span { color: var(--soft); font-size: 0.98rem; }
.clients { margin-top: 26px; color: var(--soft); font-size: 0.98rem; }
.clients b { color: var(--mist); font-weight: 500; }

/* Name story: why "Humans Required" */
.story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.story-mark { border-left: 3px solid var(--berry); padding: 8px 0 8px clamp(22px, 3vw, 36px); }
.story-mark img { width: min(320px, 100%); height: auto; }
.story-mark p { margin-top: 22px; font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 300; color: var(--soft); }
.story-mark p b { font-weight: 600; color: var(--mist); }
.story h2 { max-width: 16ch; }
.room { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); margin-top: clamp(52px, 7vw, 80px); list-style: none; }
.room li { border-top: 2px solid var(--berry); padding-top: 22px; }
.room h3 { margin-bottom: 10px; }
.room p { color: var(--soft); font-size: 0.98rem; }

/* Use cases */
.cases-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: end; }
.cases-head p { color: var(--soft); max-width: 46ch; }
.cases { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 18px; margin-top: 48px; list-style: none; }
.case { background: var(--panel); border-radius: var(--radius); padding: 30px 30px 34px; display: flex; flex-direction: column; }
.case .label { margin-bottom: 14px; }
.case h3 { font-size: 1.4rem; margin-bottom: 12px; }
.case p { color: var(--soft); font-size: 0.98rem; }
.case .where { margin-top: auto; padding-top: 22px; color: var(--mist); font-size: 0.9rem; font-weight: 500; }
.case .where::before { content: ""; display: block; width: 40px; height: 2px; background: var(--berry); margin-bottom: 14px; }

/* Split media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* Detail blocks (workshop page) */
.cover-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 44px; }
.cover { background: var(--panel); border-radius: var(--radius); padding: 30px; }
.cover .n { color: var(--berry-text); font-weight: 600; font-size: 0.9rem; }
.cover h3 { margin: 8px 0 10px; }
.cover p { color: var(--soft); font-size: 0.98rem; }
.facts { display: grid; grid-template-columns: 160px 1fr; border-top: 1px solid var(--hair); margin-top: 8px; }
.facts dt, .facts dd { padding: 16px 0; border-bottom: 1px solid var(--hair); }
.facts dt { font-weight: 600; }
.facts dd { color: var(--soft); }
.takeaways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.takeaways div { background: var(--night); border-radius: var(--radius); padding: 26px 24px; }
.alt .takeaways div { background: var(--panel); }
.takeaways b { display: block; font-weight: 600; margin-bottom: 8px; }
.takeaways p { color: var(--soft); font-size: 0.95rem; }

/* CTA band */
.cta { background: var(--berry-deep); }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; max-width: 20ch; }
.cta p { color: #FCE9F0; margin-top: 12px; max-width: 46ch; }
.cta .btn { background: var(--navy); color: #fff; }
.cta .btn:hover { background: var(--night); }

/* Form */
.form { display: grid; gap: 20px; max-width: 640px; }
.field { display: grid; gap: 8px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { font-weight: 500; font-size: 0.95rem; }
label .opt { color: var(--soft); font-weight: 400; }
input, select, textarea { font: inherit; color: var(--mist); background: var(--panel); border: 1px solid rgba(179, 187, 203, 0.35); border-radius: 10px; padding: 13px 14px; width: 100%; }
input::placeholder, textarea::placeholder { color: #8F99AD; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--berry); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 150px; resize: vertical; }
.help { color: var(--soft); font-size: 0.88rem; }
.form-status { padding: 14px 16px; border-radius: 10px; font-size: 0.95rem; display: none; }
.form-status.ok { display: block; background: rgba(46, 160, 120, 0.15); border: 1px solid rgba(46, 160, 120, 0.5); }
.form-status.err { display: block; background: rgba(219, 63, 116, 0.12); border: 1px solid var(--berry); }
.contact-side { color: var(--soft); }
.contact-side a { color: var(--mist); }

/* Footer */
.site-footer { border-top: 1px solid var(--hair); padding: 56px 0 40px; background: var(--night); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 52px; width: auto; }
.site-footer .tag { margin-top: 18px; font-weight: 300; font-size: 1.05rem; }
.site-footer .tag b { font-weight: 600; color: var(--berry-text); }
.site-footer h2 { font-size: 0.8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); margin-bottom: 14px; font-weight: 600; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--mist); }
.site-footer a:hover { color: var(--berry-text); }
.legal { grid-column: 1 / -1; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--hair); color: var(--soft); font-size: 0.85rem; }

/* Motion: one quiet entrance, off for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .8s cubic-bezier(.16, 1, .3, 1) both; }
  .rise.d2 { animation-delay: .12s; } .rise.d3 { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap, .proof, .split, .ws-grid, .story, .cases-head { grid-template-columns: 1fr; }
  .room { grid-template-columns: 1fr 1fr; }
  .cases { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 16 / 11; }
  .takeaways { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-block; }
  .site-header .wrap { height: 68px; }
  .brand img { height: 36px; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--navy); border-bottom: 1px solid var(--hair); padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav li { width: 100%; }
  .nav a { display: block; padding: 14px 0; font-size: 1.05rem; }
  .nav .btn { display: inline-flex; margin-top: 10px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps::before { left: 29px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; }
  .steps li { padding: 4px 0 0 86px; min-height: 60px; }
  .stat { padding: 14px 0; }
  .stat b { font-size: 1.75rem; }
  .stat span { font-size: 0.92rem; }
  .story-mark img { width: min(260px, 70%); }
  .quote { font-size: 1.3rem; }
  .cover-grid, .takeaways, .row2, .room { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 2px; }
  .facts dd { padding-top: 0; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
