/* Experience: one frosted row per role. */
.experience { padding-bottom: var(--section-gap); }
.exp-list { display: grid; gap: 12px; }
.exp-row {
  display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto auto; align-items: center; gap: 12px 32px;
  padding: clamp(18px, 2.2vw, 28px) clamp(20px, 2.6vw, 36px);
  border-radius: var(--radius);
  background: rgba(25, 25, 28, .66); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(120%); backdrop-filter: blur(16px) saturate(120%);
  text-decoration: none;
  transition: background-color .25s var(--ease);
}
a.exp-row:hover { background: rgba(33, 32, 36, .85); }
.exp-row * { pointer-events: none; }
.exp-tag { color: var(--soft); font-size: var(--step-small); }
.exp-main { display: grid; gap: 4px; }
.exp-org { font-family: var(--font-display); font-size: var(--step-title); line-height: 1.05; letter-spacing: -0.01em; }
.exp-role { font-weight: 500; }
.exp-note { color: var(--soft); font-size: var(--step-small); }
.exp-when { padding: 6px 14px; border-radius: 999px; background: var(--surface-3); font-size: var(--step-small); font-weight: 500; }
.exp-list li:first-child .exp-when { background: var(--accent); color: var(--on-accent); }
.exp-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); transition: transform .3s var(--ease), background-color .25s var(--ease); }
a.exp-row:hover .exp-go { background: var(--accent); color: var(--on-accent); transform: rotate(-45deg); }
@media (max-width: 640px) {
  .exp-row { grid-template-columns: minmax(0, 1fr) auto; }
  .exp-tag { grid-column: 1 / -1; }
}

/* Robotics on the paper band, the links, and the footer. */

/* Robotics: the headline numbers and claims, nothing else. */
.robotics {
  padding-block: var(--section-gap);
  background: var(--paper); color: var(--paper-ink);
}
.robotics :focus-visible { outline-color: var(--paper-accent); }
.ftc-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(24px, 4vw, 64px); align-items: end; }
.ftc-title { font-size: var(--step-head); }
.ftc-lede { font-size: var(--step-lead); line-height: 1.35; color: var(--paper-soft); }

.ftc-stats {
  margin-top: clamp(40px, 5vw, 72px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.ftc-stat {
  display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 14px;
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(20, 20, 22, .06);
}
.ftc-stat dd { font-family: var(--font-display); font-size: clamp(3.25rem, 2rem + 4vw, 6rem); line-height: .85; letter-spacing: -0.04em; }
.ftc-stat dt { color: var(--paper-soft); line-height: 1.4; }
.ftc-stat--lead { background: var(--paper-ink); color: var(--paper); }
.ftc-stat--lead dt { color: #c9c7cf; }
.ftc-stat--lead dd { color: #fff; }

.ftc-lower {
  margin-top: clamp(40px, 5vw, 72px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
}
.ftc-roles { display: grid; gap: 22px; align-content: start; }
.ftc-role { display: grid; gap: 2px; padding-top: 18px; border-top: 1px solid rgba(20, 20, 22, .14); }
.ftc-role h3 { font-family: var(--font-text); font-weight: 500; font-size: var(--step-body); letter-spacing: 0; line-height: 1.4; }
.ftc-role p { color: var(--paper-soft); }
.ftc-claims { display: grid; gap: 24px; align-content: start; }
.ftc-quote { display: grid; gap: 12px; }
.ftc-quote blockquote p { font-family: var(--font-display); font-size: var(--step-title); line-height: 1.15; letter-spacing: -0.01em; }
.ftc-quote figcaption { color: var(--paper-soft); font-size: var(--step-small); }
.ftc-highlights { display: grid; gap: 10px; }
.ftc-highlights li { position: relative; padding-left: 26px; }
.ftc-highlights li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; border-radius: 50%;
  background: var(--paper-accent);
}

@media (max-width: 960px) {
  .ftc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ftc-head, .ftc-lower { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 400px) {
  .ftc-stat dd { font-size: 3rem; }
}

/* Links: two big cards, each one link. */
.links { padding-block: var(--section-gap); }
.link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.link-card {
  position: relative;
  display: grid; grid-template-rows: auto 1fr auto; gap: 20px;
  min-height: 260px; padding: clamp(24px, 3vw, 40px);
  border-radius: calc(var(--radius) + 8px);
  background: var(--surface); border: 1px solid var(--line);
  text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.link-card:hover { background: var(--paper); color: var(--paper-ink); }
.link-card:hover .link-desc, .link-card:hover .link-handle { color: var(--paper-soft); }
.link-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-3); font-size: 28px; transition: background-color .25s var(--ease); }
.link-icon .ico { fill: none; }
.link-card:hover .link-icon { background: var(--paper-2); }
.link-label { font-family: var(--font-display); font-size: var(--step-head); line-height: .95; letter-spacing: -0.02em; display: block; }
.link-handle { display: block; margin-top: 8px; color: var(--soft); }
.link-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.link-desc { color: var(--soft); }
.link-go {
  width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent); font-size: 22px;
  transition: transform .3s var(--ease);
}
.link-card:hover .link-go { transform: rotate(-45deg); }

@media (max-width: 640px) {
  .link-grid { grid-template-columns: minmax(0, 1fr); }
  .link-card { min-height: 0; }
}

/* Footer: an invitation, the links and the small print. Nothing oversized, nothing cut off. */
.foot {
  padding-top: var(--section-gap);
  background: var(--paper); color: var(--paper-ink);
}
.foot :focus-visible { outline-color: var(--paper-accent); }
.foot-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.foot-invite { display: grid; justify-items: start; gap: 28px; }
.foot-title { font-size: var(--step-head); max-width: 11em; }
.foot-links { display: grid; gap: 10px; justify-self: end; min-width: 12em; }
.foot-links a { text-decoration: none; font-size: var(--step-lead); }
.foot-links a:hover { text-decoration: underline; }
.foot-legal {
  display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap;
  margin-top: clamp(64px, 8vw, 112px);
  padding-block: 24px;
  border-top: 1px solid rgba(20, 20, 22, .12);
  font-size: var(--step-small); color: var(--paper-soft);
}

@media (max-width: 760px) {
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .foot-invite .btn { width: 100%; }
  .foot-links { justify-self: start; display: flex; flex-wrap: wrap; gap: 8px 24px; }
  .foot-links a { font-size: var(--step-body); }
}
