/* Criterionyx - inner pages (About, Team, Contact, Services overview).
   Reuses tokens from illustration.css and chrome from page.css. */

/* ---------- expertise grid ---------- */
.exp { max-width: 1180px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px) 0; }
.exp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.exp-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px 26px; box-shadow: var(--shadow); display: flex; gap: 18px; }
.exp-card .xn { font-family: "IBM Plex Mono", monospace; font-size: 13px; font-weight: 600; color: var(--accent); flex: none; padding-top: 3px; }
.exp-card h3 { margin: 0 0 7px; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.exp-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ---------- founder feature ---------- */
.feature { max-width: 1180px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px) 0; }
.feature-card { display: grid; grid-template-columns: 360px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(28px, 4vw, 44px); }
.feature-photo { width: 100%; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #0a1d3d, #14336b); }
.feature-photo image-slot { width: 100%; height: 100%; display: block; }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.feature .k { display: inline-flex; align-items: center; gap: 9px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.feature .k::before { content: ""; width: 20px; height: 1.5px; background: var(--accent); }
.feature h2 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; }
.feature .role { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 16px; }
.feature p { margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.feature .skills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.feature .skill { font-size: 12.5px; font-weight: 600; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; }

/* ---------- prose block ---------- */
.prose { max-width: 800px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px) 0; }
.prose .kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); }
.prose .kicker::before { content: ""; width: 24px; height: 1.5px; background: var(--accent); }
.prose h2 { margin: 0 0 16px; font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; }
.prose p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.65; color: var(--muted); }
.prose p b { color: var(--ink); font-weight: 600; }

/* ---------- contact layout ---------- */
.contact { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px) 0; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: clamp(26px, 3vw, 38px); }
.form-card h2 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -.02em; }
.form-card .sub { margin: 0 0 24px; font-size: 14.5px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.field label .req { color: var(--signal); }
.field input, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: var(--surface-2);
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; width: 100%; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px var(--accent-soft); }
.field-select {
  font: inherit; font-size: 15px; color: var(--ink); background: var(--surface-2); cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 38px 12px 14px; width: 100%; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%235b6473' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field-select:focus { outline: none; border-color: var(--accent); background-color: var(--surface); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-card .submit { width: 100%; justify-content: center; margin-top: 6px; border: 0; cursor: pointer; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 14px; font-size: 12px; color: var(--faint); text-align: center; }

.info-card { background: linear-gradient(155deg, #0a1d3d, #0e2a57); color: #eaf0fb; border-radius: 18px; padding: clamp(26px, 3vw, 38px); }
.info-card h3 { margin: 0 0 20px; font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.info-row:last-of-type { border-bottom: 0; }
.info-row .ii { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; flex: none; color: #8fb4f0; }
.info-row .il { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #6f82a6; font-weight: 700; margin-bottom: 3px; }
.info-row .iv { font-size: 15px; color: #eaf0fb; font-weight: 500; }
.info-row .iv a { color: #eaf0fb; text-decoration: none; }
.info-row .iv a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 880px) {
  .exp-grid { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-photo { max-width: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
}
