:root {
  --bg: #f3eadf;
  --bg-soft: #fbf4ec;
  --surface: rgba(255, 251, 246, 0.8);
  --surface-strong: #fff8f0;
  --panel: #2f2620;
  --panel-soft: #3b312a;
  --text: #2f261f;
  --text-soft: #64574d;
  --text-inverse: #f8efe5;
  --accent: #956341;
  --accent-deep: #6f4329;
  --accent-soft: #c49d70;
  --border: rgba(87, 62, 41, 0.14);
  --shadow: 0 28px 80px rgba(52, 34, 20, 0.12);
  --shadow-strong: 0 34px 100px rgba(21, 14, 10, 0.22);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1220px, calc(100vw - 40px));
  --font-heading: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "URW Palladio L", Georgia, serif;
  --font-body: "Aptos", "Segoe UI Variable", "Segoe UI", "Trebuchet MS", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top right, rgba(196, 157, 112, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(124, 82, 51, 0.1), transparent 24%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: -60px;
  z-index: 20;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--panel);
  color: var(--text-inverse);
  transition: top 0.25s ease;
}

.skip-link:focus {
  top: 20px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 6.8vw, 6rem);
  line-height: 0.94;
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.98;
  max-width: 12ch;
}

h3 {
  font-size: clamp(1.45rem, 1.8vw, 1.9rem);
  line-height: 1.05;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--delay, 0) * 0.08s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.section {
  position: relative;
  padding: clamp(72px, 10vw, 136px) 0;
}

.section-kicker,
.section-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-index::before,
.section-kicker::before {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section-index--light,
.section-text--light,
.section-heading--light h2 {
  color: var(--text-inverse);
}

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 42px;
}

.section-text {
  max-width: 44rem;
  font-size: 1.08rem;
  color: var(--text-soft);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  color: var(--text-inverse);
}

.hero-media,
.hero-layer,
.hero-glow {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(180deg, rgba(8, 7, 6, 0.12), rgba(8, 7, 6, 0.12)),
    url("assets/images/hero-editorial.jpg") center center / cover no-repeat;
  transform: scale(1.03);
}

.hero-layer {
  background:
    linear-gradient(100deg, rgba(19, 14, 11, 0.88) 14%, rgba(19, 14, 11, 0.55) 45%, rgba(19, 14, 11, 0.28) 72%),
    linear-gradient(180deg, rgba(23, 16, 11, 0.15) 0%, rgba(23, 16, 11, 0.4) 100%);
}

.hero-glow--left {
  background: radial-gradient(circle at 18% 18%, rgba(196, 157, 112, 0.34), transparent 28%);
}

.hero-glow--right {
  background: radial-gradient(circle at 82% 62%, rgba(235, 207, 173, 0.14), transparent 26%);
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: space-between;
  min-height: 100svh;
  padding: 28px 0 32px;
}

.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.brand-mark {
  display: inline-grid;
  gap: 4px;
}

.brand-mark__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}

.brand-mark__sub,
.hero-topline__link {
  font-size: 0.88rem;
  color: rgba(248, 239, 229, 0.76);
}

.hero-topline__link {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 248, 238, 0.14);
  background: rgba(255, 248, 238, 0.08);
  backdrop-filter: blur(10px);
  transition: color 0.25s ease, opacity 0.25s ease;
}

.hero-topline__link:hover,
.hero-topline__link:focus-visible {
  color: var(--text-inverse);
}

.back-link,
.footer-link {
  transition: color 0.25s ease, opacity 0.25s ease;
}

.hero-panel {
  max-width: min(668px, 100%);
  margin: auto 0 auto;
  padding: clamp(26px, 2.8vw, 38px) clamp(22px, 2.8vw, 34px);
  border: 1px solid rgba(255, 244, 230, 0.14);
  border-radius: clamp(26px, 3vw, 36px);
  background:
    linear-gradient(155deg, rgba(35, 27, 21, 0.74), rgba(35, 27, 21, 0.42)),
    rgba(20, 15, 12, 0.32);
  backdrop-filter: blur(10px);
  box-shadow: 0 26px 72px rgba(18, 12, 8, 0.2);
}

.hero h1 {
  font-size: clamp(2.9rem, 5.7vw, 5rem);
  max-width: 8.8ch;
}

.hero-lead {
  max-width: 31rem;
  margin-top: 18px;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  color: rgba(248, 239, 229, 0.86);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  margin-top: 28px;
}

.hero-points li {
  position: relative;
  min-height: 0;
  padding-left: 18px;
  color: rgba(248, 239, 229, 0.95);
  line-height: 1.42;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d6a770, #b37c4d);
  box-shadow: 0 0 0 6px rgba(196, 157, 112, 0.08);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 26px;
}

.hero-note,
.quiz-summary__note,
.form-note {
  display: grid;
  gap: 4px;
  font-size: 0.95rem;
  color: rgba(248, 239, 229, 0.72);
}

.hero-note {
  margin-top: 16px;
}

.hero-ribbon {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #bb8b57, #8a5739);
  color: #fff8ef;
  box-shadow: 0 18px 42px rgba(111, 67, 41, 0.34);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(111, 67, 41, 0.42);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-block {
  width: 100%;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.95fr);
  gap: clamp(26px, 4vw, 70px);
  align-items: center;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.check-list li {
  position: relative;
  padding: 18px 20px 18px 56px;
  border-radius: 20px;
  background: rgba(255, 250, 243, 0.72);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 22px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff8ef 0 32%, transparent 36%),
    linear-gradient(135deg, var(--accent), var(--accent-soft));
  box-shadow: inset 0 0 0 1px rgba(255, 248, 239, 0.35);
}

.photo-stack {
  position: relative;
  min-height: clamp(420px, 52vw, 680px);
}

.photo-frame {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-strong);
}

.photo-frame img,
.company-visual img,
.job-card__media img,
.final-visual img,
.page-visual img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.photo-frame:hover img,
.company-visual:hover img,
.job-card:hover .job-card__media img,
.final-visual:hover img,
.page-visual:hover img {
  transform: scale(1.04);
}

.photo-frame--large {
  inset: 0 18% 12% 0;
}

.photo-frame--small {
  right: 0;
  bottom: 0;
  width: 44%;
  height: 40%;
  border: 10px solid rgba(251, 244, 236, 0.88);
}

.photo-stack--process {
  min-height: clamp(430px, 46vw, 560px);
}

.photo-stack--process .photo-frame--large {
  inset: 0 auto auto 0;
  width: min(90%, 620px);
  aspect-ratio: 1.14;
}

.photo-stack--process .photo-frame--small {
  width: clamp(180px, 40%, 260px);
  height: auto;
  aspect-ratio: 0.92;
}

.photo-stack--process .photo-frame--large img {
  object-position: center 36%;
}

.photo-stack--process .photo-frame--small img {
  object-position: center 32%;
}

.section-company {
  overflow: clip;
}

.company-shell {
  display: block;
  padding-top: clamp(16px, 2vw, 24px);
  background:
    radial-gradient(circle at top left, rgba(196, 157, 112, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.4), rgba(255, 251, 245, 0));
  border-top: 1px solid rgba(87, 62, 41, 0.12);
}

.company-card {
  display: grid;
  gap: 20px;
  max-width: none;
}

.company-side {
  display: grid;
  align-items: stretch;
}

.company-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
  border-top: 0;
}

.company-fact {
  display: grid;
  gap: 12px;
  align-items: start;
  align-content: start;
  min-height: 176px;
  padding: 22px 22px 24px;
  border: 1px solid rgba(87, 62, 41, 0.1);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 251, 245, 0.9), rgba(246, 236, 223, 0.66));
  box-shadow: 0 18px 42px rgba(52, 34, 20, 0.08);
}

.company-fact strong {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.7vw, 2.45rem);
  line-height: 0.9;
  color: var(--accent-deep);
}

.company-fact span {
  max-width: none;
  color: var(--text-soft);
}

.company-visual {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-radius: 32px;
  border: 1px solid rgba(87, 62, 41, 0.1);
  background: linear-gradient(145deg, rgba(255, 248, 239, 0.74), rgba(238, 228, 214, 0.58));
  box-shadow: var(--shadow);
  aspect-ratio: 0.82;
}

.company-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 12, 9, 0.02), rgba(16, 12, 9, 0.28));
}

.company-visual img,
.job-card__media img {
  filter: saturate(0.92) contrast(0.96);
}

.company-visual__caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(33, 24, 18, 0.48);
  border: 1px solid rgba(255, 248, 239, 0.12);
  color: rgba(248, 239, 229, 0.92);
  backdrop-filter: blur(8px);
}

.section-vacancies {
  padding-top: clamp(78px, 10vw, 150px);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.job-card {
  position: relative;
  grid-column: span 4;
  display: grid;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 249, 243, 0.84);
  border: 1px solid rgba(87, 62, 41, 0.1);
  box-shadow: var(--shadow);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.job-card--wide {
  grid-column: span 6;
}

.job-card--feature {
  grid-column: span 7;
}

.job-card--compact {
  grid-column: span 5;
}

.job-card--editorial {
  grid-column: span 6;
}

.job-card--shift {
  grid-column: span 12;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
  background: linear-gradient(135deg, rgba(255, 249, 243, 0.94), rgba(247, 236, 223, 0.9));
}

.job-card--accent {
  background: linear-gradient(180deg, rgba(255, 246, 236, 0.96), rgba(246, 235, 221, 0.92));
}

.job-card:hover,
.job-card:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 30px 86px rgba(52, 34, 20, 0.18);
  border-color: rgba(111, 67, 41, 0.22);
}

.job-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.job-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(149, 99, 65, 0.1), rgba(15, 11, 8, 0.08));
}

.job-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(15, 11, 8, 0.28));
}

.job-card--feature .job-card__media {
  aspect-ratio: 16 / 10;
}

.job-card--compact .job-card__media {
  aspect-ratio: 4 / 3.1;
}

.job-card--editorial .job-card__media {
  aspect-ratio: 4 / 4.6;
}

.job-card--shift .job-card__media {
  aspect-ratio: auto;
  min-height: 100%;
}

.job-card__body {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.job-card--shift .job-card__body {
  align-content: center;
  padding: 30px;
}

.job-card--shift h3 {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  max-width: 9ch;
}

.job-card__income {
  display: inline-flex;
  justify-self: start;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(149, 99, 65, 0.12);
  color: var(--accent-deep);
  font-weight: 700;
}

.job-card__text,
.vacancies-note {
  color: var(--text-soft);
}

.vacancies-note {
  margin-top: 28px;
  max-width: 48rem;
}

.section-quiz {
  background:
    radial-gradient(circle at top right, rgba(196, 157, 112, 0.2), transparent 26%),
    linear-gradient(150deg, #2d241f, #3a2e28);
  color: var(--text-inverse);
}

.quiz-shell {
  display: grid;
  gap: 34px;
}

.quiz-flow {
  display: grid;
  gap: 22px;
}

.quiz-form {
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 30px;
}

.quiz-form::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: linear-gradient(180deg, rgba(238, 201, 155, 0.42), rgba(255, 248, 239, 0.08));
}

.quiz-step {
  position: relative;
  padding: clamp(22px, 3vw, 28px);
  border: 1px solid rgba(255, 248, 239, 0.1);
  border-radius: 26px;
  background: rgba(255, 248, 239, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 248, 239, 0.03);
  transition: border-color 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease;
}

.quiz-step::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 30px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(238, 201, 155, 0.24);
  background: rgba(255, 248, 239, 0.16);
  box-shadow: 0 0 0 6px rgba(255, 248, 239, 0.03);
  transition: transform 0.28s ease, border-color 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease;
}

.quiz-step:nth-child(even) {
  background: rgba(255, 248, 239, 0.045);
}

.quiz-step.is-complete {
  border-color: rgba(238, 201, 155, 0.24);
  background: linear-gradient(135deg, rgba(196, 157, 112, 0.12), rgba(255, 248, 239, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 248, 239, 0.08);
}

.quiz-step.is-complete::before {
  transform: scale(1.04);
  border-color: rgba(238, 201, 155, 0.7);
  background: linear-gradient(135deg, rgba(187, 139, 87, 0.92), rgba(111, 67, 41, 0.92));
  box-shadow: 0 0 0 8px rgba(196, 157, 112, 0.12);
}

.quiz-step legend {
  display: grid;
  gap: 12px;
  width: 100%;
  margin-bottom: 18px;
  padding: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.05;
}

.quiz-step legend span {
  display: inline-flex;
  justify-self: start;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(196, 157, 112, 0.14);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #eec99b;
}

.quiz-step.is-complete legend span {
  background: rgba(196, 157, 112, 0.22);
  color: #f5d7b3;
}

.quiz-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quiz-option {
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 248, 239, 0.16);
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.04);
  color: rgba(248, 239, 229, 0.86);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease;
}

.quiz-option:hover,
.quiz-option:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(238, 201, 155, 0.42);
  background: rgba(255, 248, 239, 0.09);
}

.quiz-option.is-selected {
  background: linear-gradient(135deg, rgba(187, 139, 87, 0.28), rgba(111, 67, 41, 0.28));
  border-color: rgba(238, 201, 155, 0.7);
  color: #fff7ef;
  box-shadow: 0 12px 30px rgba(111, 67, 41, 0.22);
}

.quiz-summary {
  display: grid;
  gap: 18px;
  max-width: 740px;
  margin-top: 4px;
  padding: clamp(24px, 3vw, 30px);
  border-radius: 28px;
  background: rgba(255, 248, 239, 0.09);
  border: 1px solid rgba(255, 248, 239, 0.12);
}

.quiz-summary__title,
.form-summary__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
}

.quiz-summary__list,
.form-summary__list {
  display: grid;
  gap: 10px;
}

.summary-line {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 248, 239, 0.06);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.summary-line span {
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(248, 239, 229, 0.6);
}

.summary-line strong {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(248, 239, 229, 0.88);
}

.summary-line.is-filled {
  background: rgba(196, 157, 112, 0.14);
}

.summary-line.is-updated {
  transform: translateY(-2px);
}

.quiz-summary__actions {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.section-steps {
  background: linear-gradient(180deg, rgba(255, 248, 239, 0.28), rgba(255, 248, 239, 0));
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.timeline-card {
  position: relative;
  min-height: 180px;
  padding: 28px 24px 24px;
  border-radius: 28px;
  background: rgba(255, 249, 243, 0.78);
  border: 1px solid rgba(87, 62, 41, 0.1);
  box-shadow: var(--shadow);
}

.timeline-card__num {
  display: inline-block;
  margin-bottom: 18px;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 0.9;
  color: rgba(149, 99, 65, 0.66);
}

.timeline-card p {
  max-width: 20ch;
  font-size: 1.06rem;
}

.section-final {
  padding-bottom: clamp(78px, 10vw, 140px);
}

.final-shell {
  display: block;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 40px;
  background:
    radial-gradient(circle at top left, rgba(196, 157, 112, 0.18), transparent 24%),
    linear-gradient(145deg, #2f2620, #3a2f29);
  box-shadow: var(--shadow-strong);
}

.final-copy {
  display: grid;
  align-content: start;
  gap: 20px;
}

.final-visual {
  overflow: hidden;
  max-width: 420px;
  margin-top: 8px;
  border-radius: 28px;
  box-shadow: 0 20px 52px rgba(12, 8, 5, 0.22);
}

.form-card {
  padding: clamp(22px, 3vw, 30px);
  border-radius: 30px;
  background: rgba(255, 251, 245, 0.96);
  box-shadow: var(--shadow);
}

.form-card--final {
  width: 100%;
  margin: 0 auto;
}

.form-intro {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.form-intro h2 {
  max-width: 10ch;
  color: var(--text);
}

.form-intro .section-text {
  max-width: 34rem;
}

.lead-form {
  display: grid;
  gap: 18px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text);
}

.field-group input {
  min-height: 58px;
  padding: 16px 18px;
  border: 1px solid rgba(87, 62, 41, 0.14);
  border-radius: 18px;
  background: #fffdf9;
  color: var(--text);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.field-group input:focus-visible,
.quiz-option:focus-visible,
.btn:focus-visible,
.hero-topline__link:focus-visible,
.footer-link:focus-visible,
.back-link:focus-visible {
  outline: none;
  border-color: rgba(149, 99, 65, 0.52);
  box-shadow: 0 0 0 4px rgba(149, 99, 65, 0.14);
}

.field-group input:focus-visible {
  transform: translateY(-1px);
}

.form-summary {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(243, 234, 223, 0.72);
}

.form-summary .summary-line {
  background: rgba(255, 255, 255, 0.72);
}

.form-summary .summary-line span {
  color: rgba(47, 38, 31, 0.54);
}

.form-summary .summary-line strong {
  color: var(--text);
}

.form-note {
  color: var(--text-soft);
}

.site-footer {
  padding: 0 0 28px;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(87, 62, 41, 0.12);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--text-soft);
}

.footer-link {
  color: var(--accent-deep);
  font-weight: 700;
}

.simple-page {
  min-height: 100svh;
}

.simple-page .brand-mark__name {
  color: var(--text);
}

.simple-page .brand-mark__sub {
  color: var(--text-soft);
}

.page-shell {
  padding: 34px 0 80px;
}

.page-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-deep);
  font-weight: 700;
}

.page-card {
  padding: clamp(28px, 4vw, 40px);
  border-radius: 34px;
  background: rgba(255, 251, 245, 0.86);
  border: 1px solid rgba(87, 62, 41, 0.08);
  box-shadow: var(--shadow);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.7fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  margin-bottom: 24px;
}

.page-hero h1 {
  max-width: 12ch;
  color: var(--text);
}

.page-hero p {
  margin-top: 18px;
  max-width: 34rem;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.page-visual {
  overflow: hidden;
  min-height: 320px;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(196, 157, 112, 0.18), rgba(47, 38, 31, 0.08));
}

.thanks-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.thanks-list li,
.policy-list li {
  position: relative;
  padding-left: 20px;
}

.thanks-list li::before,
.policy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn-secondary {
  background: rgba(47, 38, 31, 0.08);
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-2px);
  background: rgba(47, 38, 31, 0.12);
}

.policy-layout {
  display: grid;
  gap: 16px;
}

.policy-block {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 248, 239, 0.72);
}

.policy-block h2 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  max-width: none;
}

.policy-block p,
.policy-block li {
  color: var(--text-soft);
}

.policy-list {
  display: grid;
  gap: 12px;
}

@media (max-width: 1120px) {
  .editorial-grid,
  .page-hero {
    grid-template-columns: 1fr;
  }

  .company-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jobs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .job-card,
  .job-card--wide {
    grid-column: span 1;
  }

  .job-card--shift {
    grid-template-columns: 1fr;
  }

  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-stack {
    min-height: 560px;
  }
}

@media (max-width: 820px) {
  .hero-shell {
    padding: 22px 0 24px;
  }

  .hero-topline {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .footer-shell,
  .page-topline {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-grid,
  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .company-facts {
    grid-template-columns: 1fr;
  }

  .company-fact {
    min-height: 0;
    gap: 8px;
  }

  .job-card,
  .job-card--wide {
    grid-column: auto;
  }

  .photo-stack {
    min-height: 420px;
  }

  .photo-frame--large {
    inset: 0 12% 14% 0;
  }

  .photo-frame--small {
    width: 48%;
    height: 38%;
  }

  .photo-stack--process {
    min-height: 420px;
  }

  .photo-stack--process .photo-frame--large {
    width: calc(100% - 56px);
    aspect-ratio: 1.08;
  }

  .photo-stack--process .photo-frame--small {
    width: min(46%, 220px);
    height: auto;
  }
}

@media (max-width: 620px) {
  :root {
    --container: min(100vw - 24px, 100vw - 24px);
  }

  .section {
    padding: 70px 0;
  }

  .hero-shell {
    min-height: 100svh;
    padding: 18px 0 20px;
  }

  .hero-panel {
    max-width: 100%;
    padding: 20px 18px 18px;
    border-radius: 24px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10.6vw, 3.65rem);
    max-width: 8.4ch;
    line-height: 0.93;
  }

  .hero-lead {
    margin-top: 16px;
    font-size: 0.98rem;
  }

  .hero-panel,
  .company-shell,
  .final-shell,
  .page-card {
    border-radius: 28px;
  }

  .form-card--final {
    width: 100%;
  }

  .hero-points li,
  .check-list li,
  .quiz-step,
  .job-card,
  .timeline-card {
    border-radius: 22px;
  }

  .hero-points {
    gap: 10px;
    margin-top: 20px;
  }

  .hero-points li {
    padding: 0 0 0 18px;
    font-size: 0.94rem;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-note {
    margin-top: 14px;
    font-size: 0.86rem;
  }

  .hero-topline {
    align-items: flex-start;
    gap: 12px;
  }

  .hero-topline__link {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .photo-stack {
    min-height: 340px;
  }

  .company-visual {
    min-height: 300px;
    aspect-ratio: 1.02;
  }

  .photo-frame--large {
    inset: 0 8% 18% 0;
  }

  .photo-frame--small {
    width: 54%;
    height: 34%;
  }

  .photo-stack--process {
    min-height: 330px;
  }

  .photo-stack--process .photo-frame--large {
    width: calc(100% - 32px);
    aspect-ratio: 1.04;
  }

  .photo-stack--process .photo-frame--small {
    width: min(48%, 180px);
    height: auto;
    border-width: 8px;
  }

  .quiz-options {
    display: grid;
  }

  .quiz-option {
    justify-content: center;
  }

  .quiz-form {
    padding-left: 22px;
  }

  .quiz-step::before {
    left: -22px;
    top: 26px;
    width: 14px;
    height: 14px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
