/* Services and careers: shared spacing, readable type and responsive cards. */
.content-page {
  --page-ink: #20221f;
  --page-muted: #62665e;
  --page-line: #dedfd8;
  color: var(--page-ink);
  background: #f5f5f0;
}

.content-page::before { display: none; }
.content-page .noise::after { display: none; }
.content-page main > section { contain: none; }
.content-page .outer-section { padding: 0 24px 24px; }
.content-page .page-width { width: min(1160px, calc(100% - 64px)); }
.content-page .nav-shell { background: #161815; border-color: #ffffff18; }
.content-page .site-header { color: #fff; }
.content-page .footer { color: #fff; background: #151713; margin-top: 48px; }
.content-page .footer .page-width { width: min(1200px, 100%); }
.content-page .button { border-radius: 8px; letter-spacing: 0; }
.content-page .eyebrow {
  font: 700 11px/1.5 "Instrument Sans", Arial, sans-serif;
  letter-spacing: .12em;
  color: inherit;
}
.content-page .eyebrow::before { width: 6px; height: 6px; flex-basis: 6px; box-shadow: none; transform: none; }
.content-page h1, .content-page h2, .content-page h3 {
  font-family: "Instrument Sans", Arial, sans-serif;
  letter-spacing: -.035em;
  text-transform: none;
  overflow-wrap: break-word;
  hyphens: none;
}
.content-page .inner-hero { padding-top: 112px; }
.content-page .inner-hero-card {
  height: auto;
  min-height: 420px;
  padding: 64px 0;
  border-radius: 16px;
  color: #fff;
  background: #191c18;
  box-shadow: none;
  align-items: center;
}
.content-page .inner-hero-card::after { display: none; }
.content-page .inner-hero-card > img {
  inset: 0 0 0 auto;
  width: 52%;
  height: 100%;
  transform: none;
  object-position: center;
}
.content-page .inner-hero-overlay { background: linear-gradient(90deg, #191c18 42%, #191c1890 64%, #191c181a); }
.content-page .inner-hero-copy h1 {
  max-width: 650px;
  margin-top: 16px;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.07;
  text-wrap: balance;
}
.content-page .inner-hero-copy h1 > span {
  display: block;
  margin-top: 12px;
  color: #f8a369;
  font-size: .52em;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.content-page .inner-lead { max-width: 510px; margin-top: 24px; font-size: 17px; line-height: 1.7; color: #ffffffbf; }
.content-page .hero-contact-cta { margin-top: 28px; }
.content-page .section-intro { margin-bottom: 36px; gap: 14px; }
.content-page .section-intro h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.content-page .section-intro > p:last-child { max-width: 650px; color: var(--page-muted); font-size: 16px; line-height: 1.7; }
.content-page [id] { scroll-margin-top: 110px; }

/* Service overview. */
.services-page .subpage-section { margin: 0; padding: 48px 24px 64px; border: 0; border-radius: 0; background: none; box-shadow: none; }
.services-page .services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.services-page .service-card,
.services-page .service-card:nth-child(even) {
  min-width: 0;
  min-height: 0;
  border: 1px solid var(--page-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  transition: border-color .2s, box-shadow .2s;
}
.services-page .service-card:hover { transform: none; border-color: #c9ab95; box-shadow: 0 8px 24px #20221f0a; }
.services-page .service-card-image { height: auto; aspect-ratio: 16 / 10; }
.services-page .service-card-image img { width: 100%; height: 100%; margin: 0; translate: none; }
.services-page .service-card-copy { padding: 24px; gap: 14px; align-items: stretch; }
.services-page .card-number { padding-top: 5px; color: #a74a0f; font-weight: 700; font-size: 11px; }
.services-page .service-card-body { display: flex; flex-direction: column; }
.services-page .service-card h2 { font-size: clamp(23px, 2vw, 29px); line-height: 1.15; }
.services-page .service-card p { color: var(--page-muted); font-size: 14px; line-height: 1.65; margin: 12px 0 24px; }
.services-page .service-card-link { margin-top: auto; color: #a74a0f; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.services-page .subpage-callout { min-height: 0; padding: 48px 24px; border-radius: 16px; background: #ebece5; box-shadow: none; }
.services-page .subpage-callout h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.2; }
.services-page .subpage-callout .button-black { color: #fff; background: #20221f; }
.services-page .subpage-callout .button-black:hover { color: #20221f; }

/* Vacancies are shown before the company introduction. */
.careers-page .vacancies-card { padding: 48px 0 32px; background: none; border-radius: 0; }
.careers-page .job-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; border: 0; }
.careers-page .job-row {
  padding: 30px;
  border: 1px solid var(--page-line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 22px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.careers-page .job-row:hover { border-color: #c9ab95; box-shadow: 0 8px 24px #20221f0a; }
.careers-page .job-main { flex: 1; min-width: 0; }
.careers-page .job-main > span {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 5px;
  color: #943d0d;
  background: #fff0e5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
}
.careers-page .job-main h3 { margin-top: 24px; font-size: 30px; line-height: 1.2; }
.careers-page .job-main h3 > span { display: block; margin-top: 7px; font-size: 19px; font-weight: 500; letter-spacing: -.015em; }
.careers-page .job-main p { margin-top: 16px; font-size: 15px; line-height: 1.7; color: var(--page-muted); }
.careers-page .job-row > .job-meta { flex: 0 0 auto; flex-direction: row; flex-wrap: wrap; gap: 8px 20px; padding-top: 20px; border-top: 1px solid #e8e9e3; font-size: 12px; color: var(--page-muted); }
.careers-page .job-card-cta { display: flex; align-items: center; justify-content: space-between; min-height: 32px; color: #20221f; font-size: 13px; font-weight: 700; }
.careers-page .job-card-cta .arrow { color: #ac490c; }
.careers-page .jobs-intro-card { padding: 56px 0; border-radius: 16px; background: #eaece5; color: var(--page-ink); }
.careers-page .jobs-intro-grid { gap: 48px; align-items: center; }
.careers-page .jobs-intro-grid h2 { margin-top: 18px; font-size: clamp(28px, 3vw, 38px); line-height: 1.2; }
.careers-page .jobs-intro-grid > div:last-child p { font-size: 15px; line-height: 1.8; color: var(--page-muted); }
.careers-page .benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.careers-page .benefit-grid article { min-width: 0; min-height: 0; padding: 24px 0 0; border: 0; border-top: 1px solid #ced2c7; border-radius: 0; background: none; box-shadow: none; transform: none; }
.careers-page .benefit-grid svg { width: 24px; height: 24px; color: #a74a0f; }
.careers-page .benefit-grid h3 { margin-top: 18px; font-size: 18px; line-height: 1.3; }
.careers-page .benefit-grid p { color: var(--page-muted); font-size: 13px; line-height: 1.7; }
.careers-page .spontaneous-card { min-height: 0; border-radius: 16px; background: #20251e; color: #fff; }
.careers-page .spontaneous-image { min-height: 340px; flex: .8 1 280px; }
.careers-page .spontaneous-copy { padding: 48px; color: #fff; flex: 1.2 1 320px; }
.careers-page .spontaneous-copy h2 { margin-top: 18px; font-size: clamp(28px, 3vw, 38px); line-height: 1.2; }
.careers-page .spontaneous-copy > p { color: #ffffffbf; }
.careers-page .spontaneous-copy .eyebrow { color: #fff; }

/* Vacancy detail and application form. */
.job-page .job-detail-card { padding: 40px 0 24px; border-radius: 0; overflow: visible; background: none; }
.job-page .job-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); gap: clamp(32px, 5vw, 72px); }
.job-page .job-detail-grid > .job-description,
.job-page .job-detail-grid > .application-card { min-width: 0; width: 100%; }
.job-page .back-link { display: inline-flex; align-items: center; min-height: 32px; color: #a74a0f; font-size: 11px; font-weight: 700; }
.job-page .job-pills { margin-top: 20px; gap: 8px; }
.job-page .job-pills span { padding: 7px 10px; border: 1px solid var(--page-line); border-radius: 5px; background: transparent; color: #62665e; font-size: 11px; }
.job-page .job-description > h2 { margin-top: 32px; padding-left: 0; font-size: 32px; line-height: 1.2; }
.job-page .job-description > h2::before { display: none; }
.job-page .job-description > p { margin-top: 18px; color: var(--page-muted); font-size: 16px; line-height: 1.8; }
.job-page .job-description h3 { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--page-line); font-size: 22px; line-height: 1.3; }
.job-page .job-description ul { gap: 14px; margin-top: 20px; }
.job-page .job-description li { color: #50564c; font-size: 15px; line-height: 1.75; }
.job-page .job-description li svg { width: 17px; height: 17px; margin-top: 5px; color: #a74a0f; }
.job-page .application-card { position: static; padding: 32px; border: 1px solid var(--page-line); border-radius: 12px; background: #fff; box-shadow: 0 12px 32px #20221f06; }
.job-page .application-card > .eyebrow { margin: 0; color: #62665e; font-size: 10px; }
.job-page .application-card > h2 { margin-top: 18px; font-size: 28px; line-height: 1.2; }
.job-page .application-card > p { font-size: 14px; line-height: 1.7; color: var(--page-muted); }
.job-page .professional-form { gap: 20px; }
.job-page .professional-form label { font-size: 12px; line-height: 1.5; color: #454b41; gap: 8px; }
.job-page .professional-form input,
.job-page .professional-form textarea { border: 1px solid #d4d8ce; border-radius: 6px; background: #fcfcfa; color: #20221f; font-size: 16px; box-shadow: none; }
.job-page .professional-form input { min-height: 48px; padding-inline: 12px; }
.job-page .professional-form textarea { min-height: 140px; padding: 12px; }
.job-page .professional-form input:focus,
.job-page .professional-form textarea:focus { background: #fff !important; box-shadow: 0 0 0 3px #ff6b1618; }
.job-page .professional-form textarea::placeholder { color: #777e71; opacity: 1; }
.job-page .cv-notice { padding: 14px; border: 0; border-radius: 6px; background: #f3f4ef; color: #62665e; font-size: 12px; line-height: 1.7; }
.job-page .application-card a { text-decoration: underline; text-underline-offset: 3px; }
.job-page .professional-form .form-check { gap: 10px; font-size: 11px; line-height: 1.7; }
.job-page .professional-form .form-check input { flex: 0 0 18px; width: 18px; height: 18px; min-height: 18px; margin-top: 1px; }
.job-page .form-submit { width: 100%; justify-content: center; min-height: 50px; font-size: 12px; }
.job-page .form-status { color: #8d3b0b; min-height: 0; }
.job-page .form-status:empty { display: none; }

@media (max-width: 1100px) {
  .services-page .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-page .inner-lead { max-width: 480px; }
  .job-page .job-detail-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr); gap: 32px; }
  .job-page .application-card { padding: 24px; }
  .careers-page .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 809px) {
  .content-page .outer-section { padding: 0 12px 20px; }
  .content-page .page-width { width: calc(100% - 40px); }
  .content-page .inner-hero { padding-top: 88px; }
  .content-page .inner-hero-card { min-height: 380px; padding: 40px 0; border-radius: 12px; }
  .content-page .inner-hero-card > img { width: 100%; opacity: .3; }
  .content-page .inner-hero-overlay { background: linear-gradient(90deg, #191c18e6, #191c18b3); }
  .content-page .inner-hero-copy h1 { font-size: clamp(32px, 7vw, 48px); line-height: 1.1; max-width: 100%; overflow-wrap: break-word; }
  .content-page .inner-lead { max-width: 540px; font-size: 16px; line-height: 1.7; margin-top: 20px; }
  .content-page [id] { scroll-margin-top: 90px; }
  .content-page .section-intro { margin-bottom: 28px; }
  .content-page .section-intro h2 { font-size: 28px; }
  .services-page .subpage-section { padding: 24px 12px 40px; }
  .services-page .services-grid { gap: 18px; }
  .services-page .service-card-copy { padding: 20px; gap: 10px; }
  .services-page .service-card h2 { font-size: 23px; }
  .careers-page .vacancies-card { padding: 24px 0; }
  .careers-page .job-list { gap: 18px; }
  .careers-page .job-row { padding: 24px; }
  .careers-page .job-main h3 { font-size: 27px; }
  .careers-page .jobs-intro-card { padding: 40px 0; }
  .careers-page .jobs-intro-grid { gap: 24px; }
  .careers-page .benefit-grid { gap: 24px; margin-top: 32px; }
  .careers-page .spontaneous-image { min-height: 240px; }
  .careers-page .spontaneous-copy { padding: 32px 24px; }
  .job-page .job-detail-card { padding: 16px 0 24px; }
  .job-page .job-detail-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .job-page .job-description > h2 { font-size: 28px; }
  .job-page .application-card { padding: 28px; }
}

@media (max-width: 600px) {
  .services-page .services-grid,
  .careers-page .job-list { grid-template-columns: minmax(0, 1fr); }
  .content-page .inner-hero-copy h1 { font-size: clamp(30px, 8.2vw, 44px); text-wrap: initial; }
  .content-page .inner-hero-copy h1 > span { font-size: .6em; }
  .content-page .inner-hero-card { min-height: 0; }
  .content-page .hero-contact-cta { max-width: 100%; font-size: 11px; padding-inline: 20px; }
  .content-page .section-intro h2 { font-size: 26px; }
  .content-page .section-intro > p:last-child { font-size: 15px; }
  .services-page .service-card-image { aspect-ratio: 16 / 9; }
  .services-page .service-card-copy { padding: 22px; gap: 14px; }
  .careers-page .job-row { padding: 24px; }
  .careers-page .job-main h3 { font-size: 28px; }
  .careers-page .job-main h3 > span { font-size: 18px; }
  .careers-page .spontaneous-card { display: block; }
  .careers-page .spontaneous-image { min-height: 0; height: 220px; }
  .careers-page .benefit-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .careers-page .benefit-grid article { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px 16px; padding-top: 20px; }
  .careers-page .benefit-grid h3 { margin: 0; }
  .careers-page .benefit-grid p { grid-column: 2; margin: 0; }
  .job-page .application-card { padding: 22px 18px; }
  .job-page .application-card > h2 { font-size: 27px; }
  .job-page .job-description > h2 { font-size: 26px; }
  .job-page .job-description li { gap: 10px; }
  .job-page .form-submit { padding-inline: 12px; font-size: 11px; }
}
