:root {
  color-scheme: dark;
  --background: #0b0c0e;
  --surface: #14171b;
  --surface-raised: #191d22;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f5f6f7;
  --muted: #a5a9b0;
  --lime: #d8ff3e;
  --accent: var(--lime);
  --accent-soft: rgba(216, 255, 62, 0.12);
  --radius: 24px;
  font-family: Manrope, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse at 15% 0%, var(--body-glow, rgba(216, 255, 62, 0.07)), transparent 34rem),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--background);
  background-size: auto, 56px 56px, 56px 56px, auto;
  line-height: 1.6;
}

body[data-theme="electro"] {
  --accent: #55d7ff;
  --accent-soft: rgba(85, 215, 255, 0.19);
  --body-glow: rgba(40, 158, 255, 0.18);
  --body-glow-secondary: rgba(16, 98, 171, 0.12);
}
body[data-theme="shk"] {
  --accent: #ffb25e;
  --accent-soft: rgba(255, 178, 94, 0.2);
  --body-glow: rgba(255, 137, 53, 0.18);
  --body-glow-secondary: rgba(161, 74, 31, 0.12);
}
body[data-theme="maler"] {
  --accent: #ff8d78;
  --accent-soft: rgba(255, 141, 120, 0.2);
  --body-glow: rgba(238, 79, 102, 0.17);
  --body-glow-secondary: rgba(154, 42, 76, 0.12);
}
body[data-theme="dach"] {
  --accent: #b97946;
  --accent-soft: rgba(185, 121, 70, 0.2);
  --body-glow: rgba(124, 75, 42, 0.18);
  --body-glow-secondary: rgba(83, 51, 31, 0.12);
}
body[data-theme="jobs"] {
  --accent: #b97946;
  --accent-soft: rgba(185, 121, 70, 0.16);
  --body-glow: rgba(185, 121, 70, 0.1);
  --body-glow-secondary: rgba(185, 121, 70, 0.05);
}

body[data-theme] {
  background-image:
    radial-gradient(ellipse at 15% 0%, var(--body-glow), transparent 36rem),
    radial-gradient(ellipse at 94% 68%, var(--body-glow-secondary), transparent 34rem),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}

a { color: inherit; }

.preview-header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 13px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--border);
  background: rgba(11, 12, 14, 0.91);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(216, 255, 62, 0.4);
  border-radius: 12px;
  background: var(--lime);
  color: #101114;
  font-size: 1.1rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.61rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-label {
  padding: 7px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.preview-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(17, 19, 23, 0.72);
}

.preview-nav a {
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.preview-nav a:hover,
.preview-nav a[aria-current="page"] {
  border-color: color-mix(in srgb, var(--accent) 34%, transparent);
  background: var(--accent-soft);
  color: var(--text);
}

.preview-nav a:focus-visible,
.service-cta:focus-visible,
.home-button:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 60px;
}

.home-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 16px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.home-button:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: #111317;
}

.job-page {
  padding-top: 18px;
}

.job-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  align-items: end;
  gap: 28px;
  min-height: 390px;
  overflow: hidden;
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--border));
  border-radius: 22px;
  background: #10141b;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.46), 0 0 22px color-mix(in srgb, var(--accent) 8%, transparent);
}

.job-hero::before,
.job-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.job-hero::before {
  background: url("dachmontage.jpg") center 43% / cover no-repeat;
  filter: brightness(0.42) saturate(0.8);
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.job-hero:hover::before {
  transform: scale(1.035);
}

.job-hero::after {
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.96) 0%, rgba(5, 8, 12, 0.78) 54%, rgba(5, 8, 12, 0.35) 100%),
    linear-gradient(0deg, rgba(5, 8, 12, 0.6), transparent 75%);
}

.job-hero__copy,
.job-summary {
  position: relative;
  z-index: 1;
}

.job-hero__copy {
  max-width: 700px;
}

.job-eyebrow,
.job-section-heading > p,
.job-section-kicker {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.job-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 52%, transparent);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
}

.job-eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.job-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.9rem, 4.8vw, 4.3rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.75);
  overflow-wrap: anywhere;
}

.job-hero h1 span {
  display: block;
  color: var(--accent);
}

.job-hero__intro {
  max-width: 620px;
  margin: 18px 0 23px;
  color: #e1e5eb;
  font-size: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.job-apply-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #071014;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
}

.job-apply-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.job-summary {
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--accent) 58%, transparent);
  border-radius: 18px;
  background: rgba(5, 10, 15, 0.82);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(12px);
}

.job-summary__label,
.job-summary__role {
  margin: 0;
  color: #d5dbe1;
  font-size: 0.8rem;
  font-weight: 700;
}

.job-summary__number {
  margin: 0;
  color: var(--accent);
  font-size: 3.8rem;
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1.1;
}

.job-summary__role {
  color: #fff;
  font-size: 0.9rem;
}

.job-summary__divider {
  height: 1px;
  margin: 17px 0;
  background: rgba(255, 255, 255, 0.15);
}

.job-summary > p:not(.job-summary__label):not(.job-summary__number):not(.job-summary__role) {
  display: grid;
  gap: 2px;
  margin: 12px 0 0;
}

.job-summary > p span {
  color: #a5a9b0;
  font-size: 0.74rem;
}

.job-summary > p strong {
  color: #fff;
  font-size: 0.88rem;
}

.job-details {
  padding-top: 48px;
}

.job-section-heading {
  margin-bottom: 20px;
  text-align: center;
}

.job-section-heading > p,
.job-section-kicker {
  margin: 0 0 7px;
}

.job-section-heading h2,
.job-requirements h2,
.job-contact h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.job-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.job-option {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 100% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 68%),
    linear-gradient(145deg, rgba(16, 20, 27, 0.98), rgba(9, 12, 17, 0.98));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.job-option:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42), 0 0 20px color-mix(in srgb, var(--accent) 18%, transparent);
}

.job-option__number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
}

.job-option h3 {
  margin: 15px 0 8px;
  color: #fff;
  font-size: 1.15rem;
}

.job-option p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.job-requirements {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 18px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(16, 20, 27, 0.94);
}

.job-requirements > div > p:last-child,
.job-contact > p:not(.job-section-kicker) {
  color: var(--muted);
}

.job-requirements ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.job-requirements li {
  position: relative;
  padding: 11px 13px 11px 37px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  color: #d9dee6;
  font-size: 0.9rem;
}

.job-requirements li::before {
  position: absolute;
  left: 14px;
  color: var(--accent);
  content: "✓";
  font-weight: 800;
}

.job-contact {
  margin-top: 18px;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid color-mix(in srgb, var(--accent) 48%, var(--border));
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 100% 0%, var(--accent-soft), transparent 64%),
    rgba(16, 20, 27, 0.96);
  text-align: center;
}

.job-contact > p:not(.job-section-kicker) {
  max-width: 620px;
  margin: 13px auto 21px;
}

.job-preview-notice {
  margin-top: 22px;
  padding: 14px 17px;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--accent-soft);
  color: #d0d2d6;
  font-size: 0.84rem;
}

.job-preview-notice strong {
  color: var(--accent);
}

.job-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 30px;
  color: var(--muted);
  font-size: 0.82rem;
}

.job-footer a {
  color: var(--accent);
  text-decoration: none;
}

.job-footer a:hover {
  text-decoration: underline;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(230px, 0.65fr);
  align-items: center;
  gap: 34px;
  overflow: hidden;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--border));
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 7% 100%, var(--accent-soft), transparent 62%),
    radial-gradient(ellipse at 92% 8%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 48%),
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 6%, #17191d), rgba(255, 255, 255, 0.025)),
    #111317;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), 0 0 40px color-mix(in srgb, var(--accent) 8%, transparent);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 auto 15px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-kicker::before {
  width: 24px;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero h1 {
  max-width: 700px;
  margin: 0 auto;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.hero-copy > p:not(.service-kicker) {
  max-width: 650px;
  margin: 18px auto 23px;
  color: #c2c5ca;
  font-size: clamp(0.96rem, 1.2vw, 1.06rem);
}

.service-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 19px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #111317;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
  align-self: center;
}

.service-cta:hover { transform: translateY(-2px); filter: brightness(1.06); }

.hero-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: 24px;
  background: #151a20;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35), 0 0 45px var(--accent-soft);
}

.hero-visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 12, 0.02) 25%, rgba(5, 8, 12, 0.88) 100%);
  content: "";
  pointer-events: none;
}

.hero-visual::after {
  position: absolute;
  z-index: 1;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.hero-visual img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-visual:hover img { transform: scale(1.045); }

.hero-image-copy {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 27px;
  left: 24px;
  text-align: center;
}

.hero-image-copy span {
  display: table;
  max-width: 100%;
  margin-bottom: 8px;
  padding: 5px 9px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 999px;
  background: rgba(5, 8, 12, 0.72);
  color: var(--accent);
  font-size: clamp(0.52rem, 0.65vw, 0.65rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-transform: uppercase;
  margin-right: auto;
  margin-left: auto;
}

.hero-image-copy strong {
  display: block;
  max-width: 280px;
  margin: 0 auto;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.18;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

body[data-theme="electro"] .hero-visual { border-radius: 8px 36px 8px 36px; }
body[data-theme="electro"] .hero-visual img { object-position: 58% center; }
body[data-theme="electro"] .hero-visual::after { border-radius: 2px 28px 2px 28px; }
body[data-theme="electro"] .service-card { border-radius: 8px 8px 16px 8px; }

body[data-theme="shk"] .hero-visual { border-radius: 48% 20px 20px 20px; }
body[data-theme="shk"] .hero-visual img { object-position: 74% center; }
body[data-theme="shk"] .hero-visual::after { border-radius: 48% 12px 12px 12px; }
body[data-theme="shk"] .service-card { border-radius: 22px; }
body[data-theme="shk"] .service-card span { padding-left: 10px; border-left: 2px solid var(--accent); }

body[data-theme="maler"] .hero-visual { border-radius: 34px 8px 34px 8px; }
body[data-theme="maler"] .hero-visual img { object-position: 72% center; }
body[data-theme="maler"] .hero-visual::before {
  background:
    linear-gradient(180deg, rgba(5, 8, 12, 0.02) 20%, rgba(5, 8, 12, 0.78) 100%),
    linear-gradient(115deg, transparent 52%, rgba(255, 141, 120, 0.15) 52%, rgba(255, 141, 120, 0.15) 56%, transparent 56%);
}
body[data-theme="maler"] .service-card { border-radius: 4px 18px 4px 18px; }

body[data-theme="dach"] .hero-visual { border-radius: 16px 16px 54px 16px; }
body[data-theme="dach"] .hero-visual img { object-position: 65% center; }
body[data-theme="dach"] .hero-visual::after { inset: 12px 12px 23px; border-radius: 10px 10px 42px 10px; }
body[data-theme="dach"] .service-card { border-radius: 8px 8px 20px 8px; }

.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.work-gallery figure {
  position: relative;
  min-height: 218px;
  overflow: hidden;
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--border));
  border-radius: 18px;
  background: #111317;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24), 0 0 18px color-mix(in srgb, var(--accent) 7%, transparent);
}

.work-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 550ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.work-gallery figure:hover img { transform: scale(1.06); }

.work-heading {
  margin-top: 46px;
  margin-bottom: 21px;
}

.work-gallery figure::after {
  position: absolute;
  z-index: 1;
  inset: 25% 0 0;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 12, 0.9));
  content: "";
  pointer-events: none;
}

.work-gallery figure::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(145deg, var(--accent-soft), transparent 55%);
  content: "";
  mix-blend-mode: screen;
  pointer-events: none;
}

.work-gallery figcaption {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 15px;
  left: 18px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

body[data-theme="electro"] .work-gallery figure:nth-child(1) img { object-position: 15% center; }
body[data-theme="electro"] .work-gallery figure:nth-child(2) img { object-position: 78% center; }
body[data-theme="electro"] .work-gallery figure:nth-child(3) img { object-position: 55% center; }
body[data-theme="shk"] .work-gallery figure:nth-child(1) img { object-position: center 12%; }
body[data-theme="shk"] .work-gallery figure:nth-child(2) img { object-position: center 50%; }
body[data-theme="shk"] .work-gallery figure:nth-child(3) img { object-position: center 88%; }
body[data-theme="maler"] .work-gallery figure:nth-child(1) img { object-position: center 10%; }
body[data-theme="maler"] .work-gallery figure:nth-child(2) img { object-position: center 50%; }
body[data-theme="maler"] .work-gallery figure:nth-child(3) img { object-position: center 90%; }
body[data-theme="dach"] .work-gallery figure:nth-child(1) img { object-position: center 10%; }
body[data-theme="dach"] .work-gallery figure:nth-child(2) img { object-position: center 50%; }
body[data-theme="dach"] .work-gallery figure:nth-child(3) img { object-position: center 90%; }

.service-content { padding: 31px 0 0; }

.section-heading { margin-bottom: 17px; text-align: center; }
.section-heading p { margin: 0; color: var(--accent); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.section-heading h2 { margin: 5px 0 0; font-size: clamp(1.55rem, 2.7vw, 2.1rem); line-height: 1.15; letter-spacing: -0.035em; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.service-card {
  min-height: 158px;
  padding: 19px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 72%),
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 7%, #191d22), rgba(255, 255, 255, 0.025));
  text-align: center;
}

.service-card span { display: block; margin-bottom: 18px; color: var(--accent); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; }
.service-card h3 { margin: 0 0 7px; font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.35; }
.service-card p { margin: 0; color: var(--muted); font-size: 0.86rem; }

.bottom-grid {
  margin-top: 14px;
}

.text-panel {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(20, 23, 27, 0.88);
  text-align: center;
}

.text-panel h2 { margin: 0 0 8px; font-size: 1.08rem; }
.text-panel p { margin: 0; color: var(--muted); font-size: 0.91rem; }
.text-panel p { max-width: 62ch; margin-right: auto; margin-left: auto; }

.preview-note {
  margin-top: 25px;
  padding: 15px 18px;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--accent-soft);
  color: #d0d2d6;
  font-size: 0.86rem;
}

footer {
  padding: 0 20px 30px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

@media (max-width: 760px) {
  .preview-header { padding: 12px 16px; }
  .preview-label { max-width: 150px; font-size: 0.63rem; }
  .preview-nav { justify-content: flex-start; overflow-x: auto; }
  .preview-nav a { flex: 0 0 auto; font-size: 0.76rem; }
  main { width: calc(100% - 32px); padding-top: 26px; }
  .job-page { width: calc(100% - 32px); }
  .job-hero { grid-template-columns: minmax(0, 1fr); gap: 22px; min-height: 0; }
  .job-hero h1 { font-size: clamp(1.75rem, 7vw, 2.4rem); }
  .job-hero::after {
    background:
      linear-gradient(180deg, rgba(5, 8, 12, 0.54), rgba(5, 8, 12, 0.94)),
      linear-gradient(90deg, rgba(5, 8, 12, 0.72), transparent);
  }
  .job-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
  .job-summary__label, .job-summary__number, .job-summary__role, .job-summary__divider { grid-column: 1 / -1; }
  .job-summary__divider { margin: 8px 0; }
  .job-summary > p:not(.job-summary__label):not(.job-summary__number):not(.job-summary__role) { margin-top: 0; }
  .job-options, .job-requirements { grid-template-columns: minmax(0, 1fr); }
  .job-footer { width: calc(100% - 32px); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .hero-copy { width: 100%; }
  .hero-visual { min-height: 280px; }
  body[data-theme="shk"] .hero-visual { border-radius: 40% 18px 18px 18px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-gallery figure { min-height: 175px; }
}

@media (max-width: 430px) {
  .brand { font-size: 0.86rem; }
  .job-eyebrow { font-size: 0.63rem; letter-spacing: 0.07em; }
  .job-summary { padding: 17px; }
  .job-footer { flex-direction: column; align-items: flex-end; text-align: right; }
  .service-kicker { gap: 7px; font-size: 0.62rem; letter-spacing: 0.07em; }
  .service-kicker::before { flex: 0 0 16px; width: 16px; }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service-card { min-height: 0; }
  .service-card span { margin-bottom: 10px; }
  .work-gallery { grid-template-columns: minmax(0, 1fr); }
  .work-gallery figure { min-height: 220px; }
  .hero-image-copy { right: 18px; left: 18px; }
}

body[data-theme="jobs"] {
  color-scheme: dark;
  --background: #0b0c0e;
  --surface: #14171b;
  --surface-raised: #191d22;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f5f6f7;
  --muted: #a5a9b0;
  --accent: #b97946;
  --accent-soft: rgba(185, 121, 70, 0.16);
  background-color: #0b0c0e;
  color: #f5f6f7;
}

body[data-theme="jobs"] .preview-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(11, 12, 14, 0.91);
}

body[data-theme="jobs"] .brand {
  color: #f5f6f7;
}

body[data-theme="jobs"] .brand-mark {
  border-color: rgba(216, 255, 62, 0.4);
  background: var(--lime);
  color: #101114;
}

body[data-theme="jobs"] .brand small {
  color: #a5a9b0;
}

body[data-theme="jobs"] .preview-label {
  border-color: rgba(185, 121, 70, 0.32);
  background: rgba(185, 121, 70, 0.12);
  color: #d9a276;
}

body[data-theme="jobs"] .home-button {
  border-color: rgba(185, 121, 70, 0.48);
  background: #14171b;
  color: #e0a77a;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.22);
}

body[data-theme="jobs"] .home-button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

body[data-theme="jobs"] .job-hero {
  border-color: rgba(185, 121, 70, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

body[data-theme="jobs"] .job-hero::before {
  filter: brightness(0.42) saturate(0.8);
}

body[data-theme="jobs"] .job-summary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(18, 24, 30, 0.88);
}

body[data-theme="jobs"] .job-option {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(185, 121, 70, 0.12), transparent 68%),
    linear-gradient(145deg, rgba(20, 23, 27, 0.98), rgba(9, 12, 17, 0.98));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

body[data-theme="jobs"] .job-option:hover {
  border-color: rgba(185, 121, 70, 0.52);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
}

body[data-theme="jobs"] .job-option__number {
  border-color: rgba(185, 121, 70, 0.3);
  background: rgba(185, 121, 70, 0.1);
}

body[data-theme="jobs"] .job-option h3,
body[data-theme="jobs"] .job-requirements h2,
body[data-theme="jobs"] .job-section-heading h2 {
  color: #f5f6f7;
}

body[data-theme="jobs"] .job-option p {
  color: #a5a9b0;
}

body[data-theme="jobs"] .job-requirements {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(16, 20, 27, 0.94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

body[data-theme="jobs"] .job-requirements li {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: #d9dee6;
}

body[data-theme="jobs"] .job-contact {
  border-color: rgba(185, 121, 70, 0.42);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(185, 121, 70, 0.22), transparent 64%),
    rgba(16, 20, 27, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

body[data-theme="jobs"] .job-preview-notice {
  border-left-color: var(--accent);
  background: rgba(185, 121, 70, 0.12);
  color: #d0d2d6;
}

body[data-theme="jobs"] .job-preview-notice strong,
body[data-theme="jobs"] .job-footer a {
  color: #d9a276;
}

body[data-theme="jobs"] .job-footer {
  color: #a5a9b0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
