﻿@import url("main.css");
@import url("apple.css");
@import url("pencil.css");
/* Experience page layout */
.detail-page .topbar {
  position: static;
}
.detail-nav {
  justify-content: space-between;
}
.back-link {
  font-weight: 750;
  text-decoration: none;
}
.experience-detail {
  max-width: 820px;
  padding: 72px 0 100px;
}
.experience-detail .company {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.experience-detail h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  margin: 14px 0 12px;
}
.experience-detail .period {
  color: var(--warm);
  font-weight: 750;
  margin-bottom: 38px;
}
.experience-copy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(26px, 5vw, 52px);
  box-shadow: var(--shadow);
}
.experience-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}
.experience-copy p:last-child {
  margin-bottom: 0;
}
.experience-copy h3 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.25;
  margin: 0 0 24px;
}
/* Challenges and career navigation */
.challenges {
  margin-top: 52px;
  padding: 0;
  border: 0;
}
.challenges > h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 24px;
}
.next-role {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}
.next-role a {
  font-weight: 750;
}
@media (max-width: 600px) {
  .experience-detail {
    padding: 52px 0 72px;
  }
  .next-role {
    flex-direction: column;
  }
}
/* Role metadata and tools */
.employer-name {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--muted);
  margin: -4px 0 6px;
}
.role-tools {
  margin-top: 30px;
  padding: 0 4px;
  border-top: 0;
}
.role-tools h2 {
  font-size: 1rem;
  letter-spacing: 0;
  margin: 0 0 12px;
}
.role-tools .skills {
  gap: 8px;
}

/* Technical tools: same look as the technology list on the home page */
.role-tools .skills {
  gap: 6px 10px;
}
.role-tools .chip {
  padding: 5px 12px;
  border: 0;
  border-radius: 10px;
  background: var(--soft);
  color: var(--ink);
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(0.98rem, 1.7vw, 1.18rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Same drawn look as the home page */
.experience-copy {
  border: 0;
  border-radius: 30px 26px 32px 28px / 28px 32px 26px 30px;
  background: var(--tint-blue);
  box-shadow: none;
}
.challenges .experience-copy {
  background: var(--tint-pink);
}
.experience-copy p {
  color: var(--muted);
}
.experience-detail h1 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.back-link,
.next-role a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 2px solid var(--ink);
  border-radius: 32px 27px 34px 26px / 26px 34px 27px 32px;
  background-color: color-mix(in srgb, var(--accent) 12%, var(--surface));
  background-image: var(--pencil-fill);
  background-size: 140px 140px;
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  box-shadow: var(--pencil-shadow);
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.back-link:hover,
.next-role a:hover {
  transform: translate(-1px, -1px) rotate(-0.6deg);
  box-shadow: 5px 5px 0 var(--pastel-lilac);
  opacity: 1;
}
.next-role a:active,
.back-link:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}
.role-tools .chip {
  border: 1.5px solid color-mix(in srgb, var(--ink) 50%, transparent);
  border-radius: 14px 11px 15px 10px / 11px 15px 10px 14px;
  background: color-mix(in srgb, var(--accent) 9%, var(--surface));
}
