/* The company pages built on 2026-11-18 (our work, contact, referral, talent, security, legal).
   They reuse the home's and the industry template's blocks (hero, close, assure, panels); this file holds
   only what those pages add: the section head pair, the forms, the case grid, the tables and the legal text. */

/* a section's title and its claim line, as on the home (css/textos.css) */
.sh-name { font-family: var(--f-display); font-weight: 500; font-size: clamp(28px, 2.7vw, 44px); line-height: 1.1; letter-spacing: -.025em; max-width: 24ch; text-wrap: balance; }
.sh-line { margin-top: clamp(10px, 1.1vw, 16px); max-width: 54ch; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.45; color: color-mix(in srgb, currentColor 62%, transparent); text-wrap: pretty; }
.pg { padding-block: clamp(72px, 9vw, 136px); }
.pg-in { max-width: var(--max); margin: 0 auto; padding-inline: var(--side); }
.pg .sh-pair { margin-bottom: clamp(32px, 4vw, 56px); }
.pg-hero .hero-video, .pg-hero .hero-still { object-position: var(--fx, 70%) 40%; }
.pg-hero .hero-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- forms ---------- */
.fm-page { background: var(--black); color: var(--white); padding: calc(var(--nav-h) + clamp(40px, 7vw, 96px)) 0 clamp(64px, 8vw, 120px); min-height: 100svh; }
.fm-in { max-width: var(--max); margin: 0 auto; padding-inline: var(--side); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.fm-title { font-family: var(--f-display); font-weight: 500; font-size: clamp(38px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.fm-lead { margin-top: clamp(16px, 2vw, 24px); max-width: 44ch; font-size: var(--t-lead); color: rgba(255, 255, 255, .76); text-wrap: pretty; }
.fm-who { display: flex; align-items: center; gap: 16px; margin-top: clamp(28px, 3.4vw, 44px); }
.fm-who img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.fm-who b { display: block; font-weight: 600; }
.fm-who span { color: var(--mute-d); font-size: 15px; }
.fm-facts { margin-top: clamp(28px, 3.4vw, 44px); border-top: 1px solid var(--line-d); }
.fm-facts li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-d); font-size: 15.5px; }
.fm-facts span { color: var(--mute-d); }
.fm-facts a:hover { color: var(--orange); }

.fm-card { background: var(--graphite); border-radius: 20px; padding: clamp(22px, 2.6vw, 36px); box-shadow: inset 0 0 0 1px var(--line-d); }
.fm-card h2 { font-family: var(--f-display); font-weight: 500; font-size: 22px; letter-spacing: -.02em; }
.fm-card > p { margin-top: 6px; color: var(--mute-d); font-size: 15px; }
.fm { display: grid; gap: 16px; margin-top: 22px; }
.fm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fm label { display: grid; gap: 7px; font-size: 14px; font-weight: 500; }
.fm label small { font-weight: 400; color: var(--mute-d); }
.fm input, .fm textarea, .fm select {
  width: 100%; font: inherit; font-size: 16px; color: var(--white); background: rgba(255, 255, 255, .05);
  border: 0; border-radius: 10px; padding: 13px 14px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  transition: box-shadow .2s, background-color .2s;
}
.fm textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
/* a choice among fixed answers: an input with an arrow; grey until something is chosen */
.fm select {
  appearance: none; padding-right: 42px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-opacity='.7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.fm select:invalid { color: rgba(255, 255, 255, .36); }
.fm select option { color: var(--white); background: var(--graphite); }
.fm select:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.fm select:focus-visible { outline: none; background-color: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 2px var(--orange); }
/* a box to tick: the box, its sentence beside it, the error under both */
.fm label.fm-check { grid-template-columns: 20px minmax(0, 1fr); gap: 7px 12px; align-items: start; font-weight: 400; color: rgba(255, 255, 255, .86); cursor: pointer; }
.fm .fm-check input { width: 20px; height: 20px; margin-top: 1px; padding: 0; border-radius: 5px; box-shadow: none; background: none; accent-color: var(--orange); cursor: pointer; }
.fm .fm-check input:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; box-shadow: none; }
.fm .fm-check input[aria-invalid="true"] { outline: 2px solid #ff6b5e; outline-offset: 2px; box-shadow: none; }
.fm .fm-check .fm-err { grid-column: 1 / -1; }
.fm input::placeholder, .fm textarea::placeholder { color: rgba(255, 255, 255, .36); }
.fm input:hover, .fm textarea:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.fm input:focus-visible, .fm textarea:focus-visible { outline: none; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 2px var(--orange); }
.fm [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #ff6b5e; }
.fm-err { min-height: 0; font-size: 13.5px; font-weight: 400; color: #ff8d83; }
.fm-err:empty { display: none; }
.fm-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fm-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.fm-send .btn[disabled] { opacity: .6; cursor: progress; }
.fm-note { font-size: 13.5px; color: var(--mute-d); }
.fm-status { font-size: 14.5px; color: #ff8d83; }
.fm-status:empty { display: none; }
.fm-done { display: none; padding: 8px 0 4px; }
.fm-done h2 { font-size: 26px; }
.fm-done p { margin-top: 10px; color: rgba(255, 255, 255, .76); font-size: 16px; max-width: 40ch; }
.fm-done .fm-tick { width: 44px; height: 44px; border-radius: 50%; background: rgba(43, 182, 115, .16); display: grid; place-items: center; margin-bottom: 18px; }
.fm-done .fm-tick svg { width: 22px; height: 22px; fill: none; stroke: #5fd6a0; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fm-card.is-sent .fm-ask { display: none; }
.fm-card.is-sent .fm-done { display: block; }
@media (max-width: 900px) {
  .fm-in { grid-template-columns: 1fr; }
  .fm-page { min-height: 0; }
}
@media (max-width: 520px) { .fm-row { grid-template-columns: 1fr; } .fm-facts li { grid-template-columns: 80px 1fr; } }

/* ---------- our work: the cases ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 28px); }
.case-card { position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #0c0c0d; box-shadow: inset 0 0 0 1px var(--line-d); transition: box-shadow .3s; }
.case-card:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.case-card:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.case-art { aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.case-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.case-card:hover .case-art img { transform: scale(1.03); }
.case-body { padding: clamp(18px, 2vw, 28px); display: grid; gap: 10px; }
.case-client { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.case-client b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.case-client span { font-size: 14px; color: var(--mute-d); }
.case-title { font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.15; letter-spacing: -.02em; max-width: 30ch; text-wrap: balance; }
.case-go { margin-top: 6px; font-size: 15px; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 5px; justify-self: start; }
.case-card:hover .case-go { color: var(--orange); text-decoration-color: var(--orange); }
@media (max-width: 760px) { .cases-grid { grid-template-columns: 1fr; } }

/* ---------- talent: how we hire ---------- */
.steps { counter-reset: step; border-top: 1px solid var(--line-l); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px minmax(0, 22ch) minmax(0, 1fr); gap: 12px clamp(16px, 3vw, 48px); padding: clamp(20px, 2.2vw, 30px) 0; border-bottom: 1px solid var(--line-l); align-items: baseline; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--f-code); font-size: 14px; color: var(--orange); }
.steps h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(19px, 1.6vw, 24px); letter-spacing: -.02em; line-height: 1.2; }
.steps p { color: var(--mute-l); font-size: 16.5px; line-height: 1.55; max-width: 58ch; }
@media (max-width: 760px) { .steps li { grid-template-columns: 40px 1fr; } .steps p { grid-column: 2; } }
.pg .assure { padding-inline: 0; }
.pg.light .assure li, .pg.paper .assure li { border-top-color: var(--line-l); }
.pg.light .assure p, .pg.paper .assure p { color: var(--mute-l); }
@media (max-width: 900px) { .pg .assure { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pg .assure { grid-template-columns: 1fr; } }
.pg-panels { padding-block: clamp(72px, 9vw, 136px); }

/* ---------- security: who controls what, the workstation ---------- */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line-l); line-height: 1.5; }
.tbl thead th { font-size: 14px; font-weight: 500; color: var(--mute-l); padding-bottom: 12px; }
.tbl tbody th { font-weight: 600; width: 22%; }
.tbl td { color: var(--mute-l); width: 39%; }
.tbl td b { color: var(--ink); font-weight: 500; }
.ctl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 72px); border-top: 1px solid var(--line-d); }
.ctl li { padding: 20px 0; border-bottom: 1px solid var(--line-d); }
.ctl h3 { font-family: var(--f-text); font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.ctl p { margin-top: 6px; color: var(--mute-d); font-size: 15px; line-height: 1.5; max-width: 46ch; }
@media (max-width: 760px) { .ctl { grid-template-columns: 1fr; } }
.steps-d { border-top-color: var(--line-d); }
.steps-d li { border-bottom-color: var(--line-d); }
.steps-d p { color: var(--mute-d); }

/* ---------- legal ---------- */
.legal-head { background: var(--black); color: var(--white); padding: calc(var(--nav-h) + clamp(48px, 7vw, 96px)) 0 clamp(40px, 5vw, 64px); }
.legal-head .fm-title { max-width: 18ch; }
.legal-head p { margin-top: 16px; color: var(--mute-d); font-size: 15px; }
.legal { padding-block: clamp(48px, 6vw, 88px) clamp(72px, 9vw, 128px); }
.legal-in { max-width: 760px; margin: 0 auto; padding-inline: var(--side); }
.legal h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; line-height: 1.2; margin-top: 44px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { margin-top: 14px; font-size: 16.5px; line-height: 1.65; color: #3b4048; max-width: 68ch; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal li { margin-top: 8px; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-draft { display: inline-block; margin-top: 18px; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; color: #ffb38a; background: var(--orange-soft); }
