:root {
  --black: #090a0c;
  --ink: #17191d;
  --muted: #676b73;
  --paper: #ffffff;
  --soft: #f4f4f2;
  --line: #dedfdc;
  --red: #c9212d;
  --red-dark: #9e1721;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Landing page */
.home-page {
  min-height: 100vh;
  background: var(--black);
  color: #fff;
  overflow: hidden;
}
.landing {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.landing-photo {
  position: absolute;
  inset: -12px;
  z-index: -3;
  background-image: url("https://images.pexels.com/photos/34413651/pexels-photo-34413651.jpeg?cs=srgb&fm=jpg&auto=compress");
  background-size: cover;
  background-position: center 50%;
  filter: blur(0.8px) saturate(.88) contrast(1.01) brightness(1.04);
  transform: scale(1.025);
}
.landing-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 22%, rgba(0,0,0,.02) 58%, rgba(0,0,0,.28) 100%),
    radial-gradient(circle at 50% 62%, rgba(255,255,255,.05) 0 24%, rgba(0,0,0,.06) 72%, rgba(0,0,0,.16) 100%);
}
.landing-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  background: rgba(255,255,255,.56);
  border-bottom: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 8px 30px rgba(255,255,255,.22);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}
.artisan-badge {
  width: clamp(205px, 18vw, 255px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.artisan-badge img { width: 100%; height: auto; }

.landing-actions {
  position: absolute;
  top: 64%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 14px;
  z-index: 4;
}
.landing-button {
  min-height: 86px;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: -.02em;
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: 0 18px 50px rgba(0,0,0,.30);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  backdrop-filter: blur(15px);
}
.landing-button:hover { transform: translateY(-2px); }
.landing-button-primary {
  background: rgba(255,255,255,.94);
  color: #0c0d0f;
  border-color: rgba(255,255,255,.90);
}
.landing-button-primary:hover { background: #fff; }
.landing-button-secondary {
  background: rgba(7,8,10,.66);
  color: #fff;
}
.landing-button-secondary:hover { background: rgba(7,8,10,.80); border-color: rgba(255,255,255,.62); }
.gatto-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 54px;
}
.gatto-icon img {
  width: 47px;
  height: 47px;
  object-fit: contain;
}
.button-arrow { font-size: 23px; margin-left: 3px; opacity: .75; }
.landing-footer {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  right: clamp(20px, 4vw, 56px);
  bottom: max(18px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255,255,255,.82);
  font-size: 11px;
  letter-spacing: .02em;
  z-index: 3;
}

/* Vacancies */
.jobs-page { background: var(--paper); }
.page-shell { width: min(1120px, calc(100% - 42px)); margin: 0 auto; }
.jobs-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.jobs-artisan-logo { width: 178px; }
.gatto-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 750;
}
.gatto-link img { width: 48px; height: 48px; object-fit: contain; }
.jobs-main { padding: 44px 0 86px; }
.back-link { text-decoration: none; font-size: 13px; font-weight: 700; color: var(--muted); }
.back-link:hover { color: var(--ink); }
.jobs-hero { padding: 66px 0 76px; max-width: 860px; }
.section-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.05;
  font-weight: 700;
  font-style: italic;
  letter-spacing: .01em;
  text-transform: none;
}
.jobs-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(50px, 8vw, 92px);
  line-height: .93;
  letter-spacing: -.055em;
  font-weight: 800;
}
.jobs-hero > p:last-child {
  margin: 30px 0 0;
  max-width: 700px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}
.jobs-section { padding: 66px 0 0; border-top: 1px solid var(--line); margin-top: 10px; }
.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 470px);
  align-items: end;
  gap: 36px;
  margin-bottom: 28px;
}
.section-heading h2 { margin: 0; font-size: clamp(34px, 5vw, 52px); line-height: 1; letter-spacing: -.045em; }
.section-heading > p { margin: 0; color: var(--muted); line-height: 1.6; }
.jobs-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.job-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.job-card:nth-child(2) { background: var(--soft); }
.job-badge {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fbe7e9;
  color: var(--red-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  text-transform: none;
  letter-spacing: .01em;
}
.job-card h3 { margin: 22px 0 4px; font-size: 35px; line-height: 1.05; letter-spacing: -.035em; }
.job-lead { margin: 0; color: var(--muted); }
.job-card h4 { margin: 30px 0 9px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.job-card ul { margin: 0; padding-left: 18px; }
.job-card li { margin: 8px 0; line-height: 1.5; }
.calculator-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 18px; }
.calc-panel, .calc-results { padding: 30px; border-radius: var(--radius); }
.calc-panel { border: 1px solid var(--line); background: var(--soft); }
.calc-results { background: var(--black); color: #fff; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 750; }
.field select, .field input {
  width: 100%;
  border: 1px solid #cfd0cc;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  outline: none;
}
.field select:focus, .field input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(201,33,45,.10); }
.field-note { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 2px 0 0; }
.result-row { display: flex; justify-content: space-between; gap: 22px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.result-row span { color: rgba(255,255,255,.66); }
.result-row strong { text-align: right; }
.result-total { margin-top: 16px; padding-top: 21px; border-top: 1px solid rgba(255,255,255,.23); }
.result-total strong { font-size: 25px; }
.benefits-note { margin: 22px 0 0; padding: 15px 16px; border-radius: 12px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.86); font-size: 13px; line-height: 1.55; }
.disclaimer { margin: 22px 0 0; color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.55; }
.apply-box {
  margin-top: 72px;
  border-radius: 24px;
  padding: 40px;
  background: var(--red);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}
.section-kicker-light { color: rgba(255,255,255,.72); }
.apply-box h2 { margin: 0 0 9px; font-size: 42px; letter-spacing: -.04em; }
.apply-box p { margin: 0; max-width: 640px; color: rgba(255,255,255,.82); }
.apply-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.apply-button { min-height: 48px; padding: 0 17px; border-radius: 999px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.apply-button.light { background: #fff; color: var(--red-dark); }
.apply-button.outline { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.jobs-footer {
  border-top: 1px solid var(--line);
  padding: 25px 0 36px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
}
.jobs-footer > div { display: flex; flex-wrap: wrap; gap: 15px; justify-content: flex-end; }
.jobs-footer a { text-decoration: none; }
.jobs-footer a:hover { text-decoration: underline; }

@media (max-width: 800px) {
  .landing-actions { top: 65%; grid-template-columns: 1fr; width: min(470px, calc(100% - 34px)); }
  .landing-button { min-height: 76px; }
  .section-heading, .jobs-grid, .calculator-wrap { grid-template-columns: 1fr; }
  .section-heading { gap: 14px; }
  .apply-box { grid-template-columns: 1fr; }
  .apply-actions { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .landing-photo { background-position: 52% center; }
  .artisan-badge { width: 190px; padding: 10px 16px; }
  .landing-actions { top: 66%; }
  .landing-button { min-height: 70px; padding: 8px 18px; font-size: 17px; }
  .gatto-icon { width: 46px; height: 46px; flex-basis: 46px; }
  .gatto-icon img { width: 41px; height: 41px; }
  .landing-footer { font-size: 9px; align-items: flex-end; }
  .landing-footer span:first-child { max-width: 72%; }
  .page-shell { width: min(100% - 28px, 1120px); }
  .jobs-header { min-height: 78px; }
  .jobs-artisan-logo { width: 145px; }
  .gatto-link span { display: none; }
  .gatto-link img { width: 44px; height: 44px; }
  .jobs-main { padding-top: 28px; }
  .jobs-hero { padding: 46px 0 58px; }
  .jobs-hero > p:last-child { font-size: 17px; }
  .jobs-section { padding-top: 48px; }
  .job-card, .calc-panel, .calc-results, .apply-box { padding: 24px; }
  .apply-box { margin-top: 56px; }
  .jobs-footer { flex-direction: column; }
  .jobs-footer > div { justify-content: flex-start; }
}
