.page-afterwork {
  --afterwork-radius: 18px;
  --afterwork-section-space: clamp(54px, 5vw, 68px);
}

.afterwork-hero {
  padding: 0 24px 20px;
  background: var(--white);
}

.afterwork-hero-grid {
  position: relative;
  display: flex;
  width: min(calc(100% - 8px), 1380px);
  max-width: 1380px;
  min-height: min(720px, calc(100vh - 102px));
  overflow: hidden;
  border-radius: var(--afterwork-radius);
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
}

.afterwork-hero-backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 13, 18, 0.3), rgba(9, 13, 18, 0.9)),
    radial-gradient(circle at 50% 18%, rgba(var(--accent-start-rgb), 0.24), transparent 34%),
    url("../images/Privatisation-Bar-Bordeaux-Entreprise.webp") center 46% / cover no-repeat;
  transition: transform 900ms cubic-bezier(0.2, 0.72, 0.25, 1);
}

.afterwork-hero-grid:hover .afterwork-hero-backdrop {
  transform: scale(1.025);
}

.afterwork-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-width: 0;
  padding: clamp(62px, 7vw, 98px);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.afterwork-hero-copy .eyebrow {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.68);
}

.afterwork-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(54px, 6.25vw, 88px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.94;
  text-wrap: balance;
}

.max-w-hero {
  width: 100%;
  max-width: 980px;
}

.afterwork-hero .title-accent--gradient {
  background: linear-gradient(100deg, var(--accent-start-light) 4%, var(--accent-end-light) 94%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.afterwork-hero-intro {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.65;
}

.afterwork-hero-actions {
  display: flex;
  margin-top: 34px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.afterwork-button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(10, 14, 19, 0.38);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.afterwork-button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.11);
}

.afterwork-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 700;
  text-decoration-color: rgba(var(--blue-deep-rgb), 0.35);
  text-underline-offset: 5px;
}

.afterwork-inline-link span {
  transition: transform 180ms ease;
}

.afterwork-inline-link:hover span {
  transform: translate(2px, -2px);
}

.afterwork-inline-link-light {
  color: var(--lime);
  text-decoration-color: rgba(var(--lime-rgb), 0.42);
}

.afterwork-hero-copy .afterwork-inline-link {
  color: var(--white);
  text-decoration-color: rgba(255, 255, 255, 0.36);
}

.afterwork-hero-points {
  display: flex;
  margin: 44px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 25px;
}

.afterwork-hero-points li {
  position: relative;
  padding-left: 15px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.afterwork-hero-points li::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
  content: "";
  transform: translateY(-50%);
}

.afterwork-hero-media {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
}

.afterwork-hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 25, 29, 0.42), transparent 22%),
    linear-gradient(180deg, transparent 52%, rgba(16, 18, 23, 0.78));
  content: "";
}

.afterwork-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% center;
  transition: transform 1.1s cubic-bezier(0.2, 0.72, 0.25, 1);
}

.afterwork-hero-grid:hover .afterwork-hero-media img {
  transform: scale(1.035);
}

.afterwork-hero-media figcaption {
  position: absolute;
  z-index: 1;
  right: 34px;
  bottom: 32px;
  left: 34px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.afterwork-hero-media figcaption span {
  color: var(--lime);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.afterwork-hero-media figcaption strong {
  max-width: 390px;
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 500;
  line-height: 1.08;
}

.afterwork-client-proof {
  padding: 28px 0 0;
  background: var(--white);
}

.afterwork-client-proof .audience-proof {
  margin-bottom: 0;
  padding: 22px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(var(--accent-end-rgb), 0.09), transparent 34%),
    radial-gradient(circle at 0 100%, rgba(var(--accent-start-rgb), 0.1), transparent 38%),
    var(--surface);
}

.afterwork-proof-track span {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.afterwork-proof-track span::after {
  width: 7px;
  height: 7px;
  margin: 0 30px;
  border-radius: 50%;
  background: var(--gradient);
  content: "";
}

@keyframes afterwork-proof-scroll {
  to { transform: translateX(-50%); }
}

.afterwork-section {
  padding: var(--afterwork-section-space) 0;
}

.afterwork-why {
  padding-top: 60px;
  padding-bottom: 60px;
}

.afterwork-heading-split {
  display: grid;
  margin-bottom: 32px;
  align-items: end;
  grid-template-columns: minmax(0, 7fr) minmax(310px, 5fr);
  gap: clamp(44px, 8vw, 112px);
}

.afterwork-heading-split h2,
.afterwork-scenario-copy h2,
.afterwork-related h2,
.afterwork-close h2 {
  margin: 0;
  font-size: clamp(42px, 4.45vw, 61px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.afterwork-heading-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.afterwork-heading-copy p + p,
.afterwork-heading-copy p + .afterwork-inline-link {
  margin-top: 18px;
}

.afterwork-objective-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
}

.afterwork-objective-grid article {
  min-height: 228px;
  padding: clamp(28px, 3.3vw, 44px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.afterwork-objective-grid article:nth-child(2),
.afterwork-objective-grid article:nth-child(3) {
  background: var(--surface);
}

.afterwork-objective-grid span,
.afterwork-process-grid > article > span,
.afterwork-places-grid article > div > span {
  color: var(--blue-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.afterwork-objective-grid h3 {
  max-width: 470px;
  margin: 42px 0 10px;
  font-size: clamp(25px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.afterwork-objective-grid p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.afterwork-value-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--afterwork-radius);
  background: var(--white);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(190px, auto));
  grid-auto-flow: dense;
}

.afterwork-value-grid > article {
  position: relative;
  min-width: 0;
  padding: clamp(26px, 3vw, 40px);
  overflow: hidden;
}

.afterwork-value-main {
  display: flex;
  color: var(--white);
  background:
    radial-gradient(circle at 14% 12%, rgba(var(--accent-start-rgb), 0.28), transparent 34%),
    radial-gradient(circle at 88% 90%, rgba(var(--accent-end-rgb), 0.2), transparent 32%),
    var(--ink);
  grid-column: span 6;
  grid-row: span 2;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}

.afterwork-value-main h3 {
  max-width: 560px;
  margin: 14px 0 18px;
  font-size: clamp(34px, 3.5vw, 51px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.afterwork-value-main > p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.afterwork-value-main > a {
  display: inline-flex;
  margin-top: 25px;
  align-items: center;
  gap: 10px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 750;
  text-underline-offset: 5px;
}

.afterwork-value-card {
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
  grid-column: span 3;
}

.afterwork-value-card-blue {
  background: linear-gradient(145deg, rgba(var(--accent-start-rgb), 0.12), rgba(244, 249, 255, 0.95));
}

.afterwork-value-icon {
  display: inline-grid;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  place-items: center;
}

.afterwork-value-card h3 {
  margin: 24px 0 9px;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.afterwork-value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.afterwork-value-wide {
  display: grid;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 100%, rgba(var(--accent-end-rgb), 0.1), transparent 35%),
    var(--surface);
  grid-column: span 6;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.afterwork-value-wide div {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.afterwork-value-wide div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.afterwork-value-wide strong {
  color: var(--blue-deep);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.afterwork-value-wide span {
  margin-top: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.afterwork-formats {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(var(--accent-start-rgb), 0.21), transparent 27%),
    radial-gradient(circle at 90% 82%, rgba(var(--accent-end-rgb), 0.13), transparent 25%),
    var(--ink);
  color: var(--white);
}

.afterwork-heading-split-light .afterwork-heading-copy p {
  color: rgba(255, 255, 255, 0.64);
}

.afterwork-format-accordion {
  min-height: 450px;
  border-color: rgba(255, 255, 255, 0.14);
}

.afterwork-format-accordion article {
  min-height: 450px;
}

.afterwork-format-accordion article::after {
  background: linear-gradient(180deg, rgba(16, 18, 23, 0.06) 24%, rgba(16, 18, 23, 0.94));
}

.afterwork-format-accordion img {
  object-position: center;
}

.afterwork-format-accordion .detail-panel-copy {
  right: clamp(24px, 3vw, 42px);
  bottom: 82px;
  left: clamp(24px, 3vw, 42px);
  pointer-events: none;
}

.afterwork-format-accordion button {
  z-index: 3;
}

.afterwork-format-accordion .detail-panel-copy h3 {
  max-width: 560px;
}

.afterwork-scenario {
  background:
    radial-gradient(circle at 90% 14%, rgba(var(--accent-end-rgb), 0.08), transparent 22%),
    var(--surface);
}

.afterwork-scenario-layout {
  display: grid;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--afterwork-radius);
  background: var(--white);
  grid-template-columns: minmax(0, 7fr) minmax(390px, 5fr);
}

.afterwork-scenario-media {
  position: relative;
  min-height: 540px;
  margin: 0;
  overflow: hidden;
}

.afterwork-scenario-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(16, 18, 23, 0.76));
  content: "";
}

.afterwork-scenario-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.afterwork-scenario-media figcaption {
  position: absolute;
  z-index: 1;
  right: 30px;
  bottom: 28px;
  left: 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.afterwork-scenario-copy {
  display: flex;
  padding: clamp(36px, 4vw, 52px);
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}

.afterwork-scenario-copy h2 {
  font-size: clamp(37px, 3.45vw, 49px);
}

.afterwork-inline-portrait {
  display: inline-block;
  width: 58px;
  height: 34px;
  margin: 0 5px;
  overflow: hidden;
  border: 2px solid var(--white);
  border-radius: 999px;
  vertical-align: 0.02em;
  box-shadow: 0 8px 24px rgba(24, 33, 44, 0.16);
}

.afterwork-inline-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  transition: transform 650ms ease;
}

.afterwork-scenario-copy:hover .afterwork-inline-portrait img {
  transform: scale(1.08);
}

.afterwork-scenario-copy > p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
}

.afterwork-schedule {
  width: 100%;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.afterwork-schedule article {
  display: grid;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 64px 1fr;
  gap: 18px;
}

.afterwork-schedule time {
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 700;
}

.afterwork-schedule article div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.afterwork-schedule strong {
  font-size: 14px;
}

.afterwork-schedule span {
  color: var(--muted);
  font-size: 12px;
}

.afterwork-process-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.afterwork-process-grid article {
  min-height: 300px;
  padding: clamp(30px, 3.3vw, 46px);
  border-left: 1px solid var(--line);
}

.afterwork-process-grid article:last-child {
  border-right: 1px solid var(--line);
}

.afterwork-process-grid h3 {
  margin: 65px 0 14px;
  font-size: clamp(27px, 2.55vw, 36px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.afterwork-process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.afterwork-process {
  padding-top: 50px;
  padding-bottom: 50px;
  background:
    radial-gradient(circle at 12% 88%, rgba(var(--accent-start-rgb), 0.08), transparent 28%),
    var(--white);
}

.afterwork-process .afterwork-heading-split,
.afterwork-places .afterwork-heading-split {
  margin-bottom: 32px;
}

.afterwork-process-board {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--afterwork-radius);
  background:
    radial-gradient(circle at 0 0, rgba(var(--accent-start-rgb), 0.18), transparent 33%),
    radial-gradient(circle at 68% 100%, rgba(var(--accent-end-rgb), 0.11), transparent 30%),
    var(--ink);
  color: var(--white);
  grid-template-columns: minmax(0, 7.25fr) minmax(340px, 4.75fr);
}

.afterwork-process-route {
  position: relative;
  display: grid;
  padding: clamp(28px, 3vw, 36px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.afterwork-process-route::before {
  position: absolute;
  top: 56px;
  right: 12%;
  left: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  content: "";
  opacity: 0.7;
}

.afterwork-process-route article {
  position: relative;
  z-index: 1;
  padding: 0 clamp(18px, 2vw, 30px);
}

.afterwork-process-route article:first-child {
  padding-left: 0;
}

.afterwork-process-route article:last-child {
  padding-right: 0;
}

.afterwork-process-route article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.afterwork-process-route article > span {
  display: inline-flex;
  min-width: 74px;
  min-height: 28px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  background: #131a20;
  color: var(--lime);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.afterwork-process-route h3 {
  margin: 45px 0 11px;
  font-size: clamp(25px, 2.15vw, 32px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.afterwork-process-route p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.55;
}

.afterwork-process-included {
  display: flex;
  padding: clamp(28px, 3vw, 36px);
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.055);
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}

.afterwork-process-included h3 {
  margin: 12px 0 14px;
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.afterwork-process-included ul {
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.afterwork-process-included li {
  position: relative;
  padding: 7px 0 7px 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.afterwork-process-included li::before {
  position: absolute;
  top: 14px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  content: "";
}

.afterwork-places {
  padding-top: 50px;
  padding-bottom: 50px;
  background: var(--ink);
  color: var(--white);
}

.afterwork-places-grid {
  display: grid;
  height: 400px;
  min-height: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 8px;
}

.afterwork-places-grid article {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.afterwork-places-grid article::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 18, 23, 0.08) 34%, rgba(16, 18, 23, 0.94));
  content: "";
}

.afterwork-places-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 850ms cubic-bezier(0.2, 0.72, 0.25, 1);
}

.afterwork-places-grid article:hover img {
  transform: scale(1.045);
}

.afterwork-places-grid article > div {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 28px;
  left: 28px;
}

.afterwork-places-grid article > div > span {
  color: var(--lime);
}

.afterwork-places-grid h3 {
  margin: 12px 0 10px;
  font-size: clamp(27px, 2.6vw, 36px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.afterwork-places-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 13px;
}

.afterwork-voices {
  background: var(--surface);
}

.afterwork-testimonial {
  min-height: 520px;
}

.afterwork-testimonial .testimonial-visual {
  min-height: 520px;
}

.page-afterwork .contact-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.afterwork-testimonial .testimonial-content h2 {
  font-family: inherit;
}

.afterwork-faq .detail-faq details {
  border-color: var(--line);
}

.afterwork-related {
  padding: clamp(70px, 7vw, 94px) 0;
  border-top: 1px solid var(--line);
}

.afterwork-related h2 {
  max-width: 720px;
}

.afterwork-related-links {
  display: grid;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.afterwork-related-links a {
  position: relative;
  min-height: 185px;
  padding: 30px 48px 30px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.afterwork-related-links a + a {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.afterwork-related-links span {
  color: var(--blue-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.afterwork-related-links strong {
  display: block;
  max-width: 310px;
  margin-top: 25px;
  font-size: clamp(23px, 2.1vw, 29px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.afterwork-related-links i {
  position: absolute;
  top: 30px;
  right: 18px;
  color: var(--blue-deep);
  font-style: normal;
  transition: transform 180ms ease;
}

.afterwork-related-links a:hover i {
  transform: translate(3px, -3px);
}

.afterwork-close {
  padding: 0 24px 24px;
  background: var(--white);
}

.afterwork-close-panel {
  display: grid;
  width: min(calc(100% - 8px), 1380px);
  max-width: 1380px;
  min-height: 610px;
  overflow: hidden;
  border-radius: var(--afterwork-radius);
  background:
    radial-gradient(circle at 12% 15%, rgba(var(--accent-start-rgb), 0.2), transparent 28%),
    radial-gradient(circle at 46% 88%, rgba(var(--accent-end-rgb), 0.13), transparent 24%),
    var(--ink);
  color: var(--white);
  grid-template-columns: minmax(0, 7fr) minmax(380px, 5fr);
}

.afterwork-close-panel > div {
  display: flex;
  padding: clamp(50px, 6.5vw, 92px);
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}

.afterwork-close h2 {
  max-width: 750px;
}

.afterwork-close-panel > div > p:not(.eyebrow) {
  max-width: 640px;
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, 0.66);
}

.afterwork-close-panel figure {
  min-height: 610px;
  margin: 0;
  overflow: hidden;
}

.afterwork-close-panel figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1050px) {
  .afterwork-hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .afterwork-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.88fr);
  }

  .afterwork-hero-copy {
    padding: 64px 44px;
  }

  .afterwork-hero h1 {
    font-size: clamp(50px, 7vw, 70px);
  }

  .afterwork-heading-split {
    gap: 46px;
  }

  .afterwork-format-accordion {
    min-height: 560px;
  }

  .afterwork-format-accordion article {
    min-height: 560px;
  }

  .afterwork-scenario-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  }
}

@media (max-width: 900px) {
  .afterwork-hero-grid,
  .afterwork-heading-split,
  .afterwork-scenario-layout,
  .afterwork-close-panel {
    grid-template-columns: 1fr;
  }

  .afterwork-hero-grid {
    min-height: 690px;
  }

  .afterwork-hero-copy {
    min-height: 0;
    padding: 72px 46px;
  }

  .afterwork-hero-media {
    min-height: 430px;
  }

  .afterwork-heading-split {
    align-items: start;
    gap: 26px;
  }

  .afterwork-objective-grid,
  .afterwork-process-grid,
  .afterwork-places-grid,
  .afterwork-related-links {
    grid-template-columns: 1fr 1fr;
  }

  .afterwork-places-grid {
    height: auto;
  }

  .afterwork-value-main {
    grid-column: span 12;
    grid-row: span 1;
  }

  .afterwork-value-card {
    grid-column: span 6;
  }

  .afterwork-value-wide {
    border-top: 1px solid var(--line);
    border-left: 0;
    grid-column: span 12;
  }

  .afterwork-format-accordion,
  .afterwork-format-accordion article,
  .afterwork-format-accordion article.is-active {
    min-height: 0;
  }

  .afterwork-format-accordion article.is-active {
    min-height: 430px;
  }

  .afterwork-scenario-layout,
  .afterwork-scenario-media {
    min-height: 0;
  }

  .afterwork-scenario-media {
    min-height: 470px;
  }

  .afterwork-process-grid article:nth-child(3),
  .afterwork-places-grid article:nth-child(3),
  .afterwork-related-links a:nth-child(3) {
    grid-column: 1 / -1;
  }

  .afterwork-process-grid article:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .afterwork-process-board {
    grid-template-columns: 1fr;
  }

  .afterwork-process-included {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 0;
  }

  .afterwork-places-grid article {
    height: auto;
    min-height: 470px;
  }

  .afterwork-testimonial {
    grid-template-columns: 1fr;
  }

  .afterwork-testimonial .testimonial-visual {
    min-height: 430px;
  }

  .afterwork-close-panel > div {
    padding: 68px 52px;
  }

  .afterwork-close-panel figure {
    min-height: 470px;
    grid-row: 1;
  }
}

@media (max-width: 680px) {
  .page-afterwork {
    --afterwork-section-space: 52px;
  }

  .afterwork-hero {
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
  }

  .afterwork-hero-grid {
    width: 100%;
    border-radius: 14px;
  }

  .afterwork-hero-copy {
    min-height: 0;
    padding: 58px 22px 50px;
  }

  .afterwork-hero h1 {
    font-size: clamp(34px, 9.7vw, 38px);
    line-height: 0.98;
  }

  .afterwork-hero-intro {
    margin-top: 22px;
    font-size: 15px;
  }

  .afterwork-hero-actions {
    margin-top: 28px;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .afterwork-hero-actions .button {
    width: 100%;
  }

  .afterwork-hero-points {
    margin-top: 30px;
    padding-top: 18px;
    justify-content: center;
    gap: 8px 16px;
  }

  .afterwork-hero-points li {
    font-size: 9px;
  }

  .afterwork-hero-media {
    min-height: 300px;
  }

  .afterwork-hero-media::after {
    background: linear-gradient(180deg, transparent 38%, rgba(16, 18, 23, 0.82));
  }

  .afterwork-hero-media figcaption {
    right: 22px;
    bottom: 22px;
    left: 22px;
  }

  .afterwork-heading-split {
    margin-bottom: 24px;
  }

  .afterwork-why,
  .afterwork-process,
  .afterwork-places {
    padding-top: var(--afterwork-section-space);
    padding-bottom: var(--afterwork-section-space);
  }

  .afterwork-process .afterwork-heading-split,
  .afterwork-places .afterwork-heading-split {
    margin-bottom: 24px;
  }

  .page-afterwork .faq-split,
  .page-afterwork .contact-grid {
    gap: 24px;
  }

  .afterwork-heading-split h2,
  .afterwork-scenario-copy h2,
  .afterwork-related h2,
  .afterwork-close h2 {
    font-size: clamp(38px, 11vw, 49px);
  }

  .afterwork-heading-copy p {
    font-size: 15px;
  }

  .afterwork-client-proof {
    padding: 14px 10px 0;
  }

  .afterwork-client-proof .audience-proof {
    padding: 18px;
  }

  .afterwork-value-grid {
    grid-template-rows: auto;
  }

  .afterwork-value-grid > article {
    padding: 24px 20px;
  }

  .afterwork-value-main {
    min-height: 390px;
  }

  .afterwork-value-main h3 {
    font-size: 34px;
  }

  .afterwork-value-card {
    min-height: 245px;
    grid-column: span 6;
  }

  .afterwork-value-card h3 {
    font-size: 21px;
  }

  .afterwork-value-wide {
    display: grid;
    overflow-x: auto;
    padding: 0;
    grid-template-columns: none;
    grid-auto-columns: minmax(210px, 72vw);
    grid-auto-flow: column;
    scroll-snap-type: x mandatory;
  }

  .afterwork-value-wide div,
  .afterwork-value-wide div + div {
    min-height: 150px;
    padding: 22px;
    border-left: 0;
    scroll-snap-align: start;
  }

  .afterwork-value-wide div + div {
    border-left: 1px solid var(--line);
  }

  .afterwork-process-grid,
  .afterwork-related-links {
    grid-template-columns: 1fr;
  }

  .afterwork-objective-grid article {
    min-height: 255px;
    padding: 25px 20px;
  }

  .afterwork-objective-grid h3 {
    margin-top: 27px;
    font-size: 24px;
  }

  .afterwork-objective-grid p {
    font-size: 13px;
    line-height: 1.5;
  }

  .afterwork-format-accordion article.is-active {
    min-height: 420px;
  }

  .afterwork-format-accordion .detail-panel-copy {
    right: 24px;
    bottom: 72px;
    left: 24px;
  }

  .afterwork-format-accordion .detail-panel-copy h3 {
    font-size: 30px;
  }

  .afterwork-scenario-layout {
    border-radius: 14px;
  }

  .afterwork-scenario-media {
    min-height: 300px;
  }

  .afterwork-scenario-copy {
    padding: 32px 24px;
  }

  .afterwork-inline-portrait {
    width: 52px;
    height: 31px;
  }

  .afterwork-process-grid article,
  .afterwork-process-grid article:nth-child(3) {
    min-height: 220px;
    padding: 30px 24px;
    border-top: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .afterwork-process-grid h3 {
    margin-top: 30px;
    font-size: 28px;
  }

  .afterwork-process-route {
    display: grid;
    overflow-x: auto;
    padding: 28px 0 30px;
    grid-template-columns: none;
    grid-auto-columns: minmax(260px, 82vw);
    grid-auto-flow: column;
    scroll-snap-type: x mandatory;
  }

  .afterwork-process-route::before {
    display: none;
  }

  .afterwork-process-route article,
  .afterwork-process-route article:first-child,
  .afterwork-process-route article:last-child {
    min-height: 330px;
    padding: 0 24px;
    scroll-snap-align: start;
  }

  .afterwork-process-route article + article {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .afterwork-process-route h3 {
    margin-top: 72px;
    font-size: 28px;
  }

  .afterwork-process-included {
    padding: 32px 24px;
  }

  .afterwork-places-grid {
    display: grid;
    height: auto;
    overflow-x: auto;
    padding-bottom: 10px;
    grid-template-columns: none;
    grid-auto-columns: minmax(280px, 84vw);
    grid-auto-flow: column;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .afterwork-places-grid article,
  .afterwork-places-grid article:nth-child(3) {
    min-height: 420px;
    grid-column: auto;
    scroll-snap-align: start;
  }

  .afterwork-places-grid article > div {
    right: 22px;
    bottom: 22px;
    left: 22px;
  }

  .afterwork-testimonial .testimonial-visual {
    min-height: 320px;
  }

  .afterwork-testimonial .testimonial-content {
    padding: 36px 24px;
  }

  .afterwork-testimonial .testimonial-content h2 {
    margin-bottom: 38px;
    font-size: 39px;
  }

  .afterwork-testimonial .testimonial-slides {
    min-height: 275px;
  }

  .afterwork-testimonial .testimonial-slides blockquote {
    font-size: 21px;
  }

  .afterwork-related-links a,
  .afterwork-related-links a + a,
  .afterwork-related-links a:nth-child(3) {
    min-height: 155px;
    padding: 26px 46px 26px 0;
    border-left: 0;
    grid-column: auto;
  }

  .afterwork-related-links strong {
    font-size: 25px;
  }

  .afterwork-close {
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
  }

  .afterwork-close-panel {
    width: 100%;
    min-height: 0;
    border-radius: 14px;
  }

  .afterwork-close-panel figure {
    min-height: 350px;
  }

  .afterwork-close-panel > div {
    padding: 46px 24px;
  }

  .afterwork-close-panel .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .afterwork-proof-track {
    animation: none;
  }

  .afterwork-hero-media img,
  .afterwork-places-grid img {
    transition: none;
  }
}
