/* ==========================================================================
   ExaSlate, staffing and consulting
   Design tokens
   ========================================================================== */

/* Dim is the default: :root carries the dim palette so the page is correct even
   before the theme script runs, and for users with JS disabled. The dark and
   light blocks follow, so an explicit data-theme always wins over :root. */
:root,
[data-theme="dim"] {
  --primary: 302 58% 68%;
  --primary-foreground: 215 24% 11%;
  --primary-dark: 302 60% 77%;

  --secondary: 302 22% 27%;
  --secondary-foreground: 302 58% 82%;

  --accent: 268 58% 68%;

  --background: 215 15% 16%;
  --foreground: 210 19% 73%;
  --heading: 210 26% 88%;

  --card: 214 13% 20%;
  --border: 213 12% 30%;
  --muted: 214 13% 20%;
  --muted-foreground: 210 10% 51%;

  --surface-dark: 215 18% 11%;
  --header: 215 15% 16%;
  --elevated: 214 13% 20%;
  --shadow: 215 30% 4%;

  --theme-dot: #616f7e;

  --on-dark-accent: 302 60% 82%;
  --radius: 0.25rem;
  --container: 1200px;
  --header-h: 76px;
}

[data-theme="dark"] {
  --primary: 302 70% 62%;
  --primary-foreground: 300 25% 8%;
  --primary-dark: 302 72% 71%;

  --secondary: 302 38% 21%;
  --secondary-foreground: 302 70% 80%;

  --accent: 268 70% 66%;

  --background: 300 12% 8%;
  --foreground: 300 10% 90%;
  --heading: 300 12% 97%;

  --card: 300 10% 12%;
  --border: 300 8% 22%;
  --muted: 300 10% 11%;
  --muted-foreground: 300 6% 62%;

  --surface-dark: 300 14% 5%;
  --header: 300 12% 8%;
  --elevated: 300 10% 12%;
  --shadow: 300 30% 2%;

  --theme-dot: #272130;
}

[data-theme="light"] {
  --primary: 302 84% 27%;
  --primary-foreground: 0 0% 100%;
  --primary-dark: 302 84% 20%;

  --secondary: 302 58% 93%;
  --secondary-foreground: 302 84% 27%;

  --accent: 268 72% 45%;

  --background: 300 20% 98%;
  --foreground: 300 16% 12%;
  --heading: 300 16% 10%;

  --card: 0 0% 100%;
  --border: 300 14% 90%;
  --muted: 300 20% 96%;
  --muted-foreground: 300 8% 42%;

  --surface-dark: 300 16% 12%;
  --header: 0 0% 100%;
  --elevated: 0 0% 100%;
  --shadow: 300 16% 12%;

  --theme-dot: #ffffff;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid hsl(var(--border));
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: hsl(var(--heading));
  font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.12;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.75rem 1.25rem;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container { padding-inline: 2rem; }
}

.section { padding-block: 3.5rem; }

@media (min-width: 768px) {
  .section { padding-block: 5rem; }
}

.section--tight { padding-block: 3rem; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1023px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */

.overline {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 700;
}

.overline--light { color: hsl(var(--on-dark-accent)); }

.h1 {
  font-size: clamp(2.25rem, 5.2vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
}

.h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.lead {
  font-size: 1.0625rem;
  color: hsl(var(--foreground) / 0.7);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .lead { font-size: 1.125rem; }
}

.muted { color: hsl(var(--foreground) / 0.7); }
.small { font-size: 0.875rem; }
.measure { max-width: 42rem; }
.measure-sm { max-width: 34rem; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding-inline: 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.btn--primary:hover { background: hsl(var(--primary-dark)); }

.btn--secondary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}
.btn--secondary:hover { background: hsl(var(--secondary) / 0.7); }

.btn--outline {
  border: 1px solid hsl(var(--border));
  background: transparent;
  color: hsl(var(--foreground));
}
.btn--outline:hover {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.btn--ghost-light {
  border: 1px solid hsl(0 0% 100% / 0.3);
  background: transparent;
  color: #fff;
}
.btn--ghost-light:hover { background: hsl(0 0% 100% / 0.1); }

.btn--sm { height: 2.5rem; padding-inline: 1rem; font-size: 0.875rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: hsl(var(--primary));
  font-weight: 600;
  font-size: 0.9375rem;
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: hsl(var(--header) / 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid hsl(var(--border));
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.brand__mark { height: 34px; width: auto; }

.brand__name {
  font-family: "Outfit", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
}

.brand__name span { color: hsl(var(--primary)); }

.nav { display: none; align-items: center; gap: 2rem; }

@media (min-width: 1024px) {
  .nav { display: flex; }
}

.nav__link {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.75);
  padding-block: 0.5rem;
  transition: color 0.2s;
}

.nav__link:hover { color: hsl(var(--primary)); }

.nav__link.is-active {
  color: hsl(var(--primary));
  font-weight: 600;
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: hsl(var(--primary));
}

.header__cta { display: none; }

@media (min-width: 1024px) {
  .header__cta { display: inline-flex; }
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}

/* ==========================================================================
   Theme toggle: one control, cycles dark -> light -> dim
   ========================================================================== */

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.theme-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  padding: 0;
  border: 2px solid hsl(var(--primary) / 0.45);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.theme-toggle:hover {
  border-color: hsl(var(--primary));
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.28);
}

/* The radio-style inner dot carries the colour of the active theme. */
.theme-toggle__dot {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 999px;
  background: var(--theme-dot);
  box-shadow: inset 0 0 0 1.5px hsl(var(--foreground) / 0.55);
  transition: background-color 0.35s ease, transform 0.35s ease;
}

.theme-toggle:active .theme-toggle__dot { transform: scale(0.82); }

.theme-toggle.is-switching .theme-toggle__dot {
  animation: theme-pop 0.4s ease;
}

@keyframes theme-pop {
  0%   { transform: scale(0.7); }
  55%  { transform: scale(1.18); }
  100% { transform: scale(1); }
}

/* Hover readout: all three themes, with the active one highlighted. */
.theme-toggle__tip {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.625rem;
  border-radius: var(--radius);
  background: hsl(var(--surface-dark));
  border: 1px solid hsl(0 0% 100% / 0.14);
  color: hsl(0 0% 100% / 0.55);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}

.theme-toggle:hover .theme-toggle__tip,
.theme-toggle:focus-visible .theme-toggle__tip {
  opacity: 1;
  transform: translateY(0);
}

.theme-toggle__tip span { transition: color 0.2s ease; }

.theme-toggle__tip span.is-active {
  color: hsl(var(--on-dark-accent));
}

.theme-toggle__tip span + span { position: relative; }

.theme-toggle__tip span + span::before {
  content: "";
  position: absolute;
  left: -0.3125rem;
  top: 50%;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.5;
  transform: translateY(-50%);
}

.mobile-nav {
  display: none;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--elevated));
  padding-block: 1rem 1.5rem;
}

.mobile-nav.is-open { display: block; }

@media (min-width: 1024px) {
  .mobile-nav.is-open { display: none; }
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 500;
  border-bottom: 1px solid hsl(var(--border));
}

.mobile-nav a:last-of-type { border-bottom: 0; }
.mobile-nav .btn { margin-top: 1rem; width: 100%; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60rem 32rem at 88% -10%, hsl(var(--secondary) / 0.85), transparent 62%),
    radial-gradient(48rem 28rem at -10% 10%, hsl(var(--secondary) / 0.5), transparent 60%),
    hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
}

.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-block: 3.5rem;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 4rem;
    padding-block: 5.5rem;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2rem;
}

.hero__note {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid hsl(var(--border));
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.6);
}

/* Page hero (interior pages) */

.page-hero {
  background:
    radial-gradient(52rem 26rem at 82% -20%, hsl(var(--secondary) / 0.8), transparent 60%),
    hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
  padding-block: 3.25rem;
}

@media (min-width: 768px) {
  .page-hero { padding-block: 4.5rem; }
}

/* ==========================================================================
   Hero visual (pure CSS/SVG, no stock photography)
   ========================================================================== */

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius);
  background: hsl(var(--surface-dark));
  overflow: hidden;
  box-shadow: 0 24px 60px -24px hsl(var(--primary) / 0.45);
}

.hero__visual-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(28rem 20rem at 78% 8%, hsl(var(--primary) / 0.55), transparent 65%),
    radial-gradient(24rem 18rem at 12% 92%, hsl(var(--accent) / 0.4), transparent 62%);
}

.hero__visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsl(0 0% 100% / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, hsl(0 0% 100% / 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
}

.hero__visual-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
  color: #fff;
}

.hero__chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: hsl(0 0% 100% / 0.12);
  border: 1px solid hsl(0 0% 100% / 0.18);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero__chip i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #4ade80;
}

.hero__panels {
  display: grid;
  gap: 0.75rem;
}

.hero__panel {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  background: hsl(0 0% 100% / 0.08);
  border: 1px solid hsl(0 0% 100% / 0.14);
  backdrop-filter: blur(6px);
}

.hero__panel svg { width: 20px; height: 20px; flex-shrink: 0; opacity: 0.9; }

.hero__panel-title {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
}

.hero__panel-sub {
  font-size: 0.75rem;
  color: hsl(0 0% 100% / 0.62);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px hsl(var(--shadow) / 0.55);
  border-color: hsl(var(--primary) / 0.35);
}

.card--pad-lg { padding: 2rem; }

/* Cards in a row keep their trailing link on a shared baseline */
.card { display: flex; flex-direction: column; }

.card__link {
  margin-top: auto;
  padding-top: 1.25rem;
  align-self: flex-start;
}

/* A button placed directly in a card shouldn't stretch to the card's width */
.card > .btn { align-self: flex-start; }

.card__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  background: hsl(var(--secondary));
  color: hsl(var(--primary));
  margin-bottom: 1.125rem;
}

.card__icon svg { width: 22px; height: 22px; }

.card h3 { margin-bottom: 0.5rem; }

.card p {
  color: hsl(var(--foreground) / 0.7);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ==========================================================================
   Service detail blocks
   ========================================================================== */

.service {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

@media (min-width: 768px) {
  .service { padding: 2.75rem; }
}

.service__head {
  display: flex;
  align-items: flex-start;
  gap: 1.125rem;
}

.service__num {
  font-family: "Outfit", sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: hsl(var(--primary));
  background: hsl(var(--secondary));
  border-radius: var(--radius);
  padding: 0.375rem 0.625rem;
  flex-shrink: 0;
}

.check-list {
  display: grid;
  gap: 0.75rem 1.5rem;
  margin-top: 1.75rem;
}

@media (min-width: 640px) {
  .check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: hsl(var(--foreground) / 0.82);
}

.check-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: hsl(var(--primary));
}

.service__footer {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--border));
  font-size: 0.9375rem;
  color: hsl(var(--foreground) / 0.7);
}

/* ==========================================================================
   Split / mission
   ========================================================================== */

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
  }
  .split--wide-left { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}

.quote-panel {
  background: hsl(var(--surface-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.quote-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(24rem 18rem at 90% 10%, hsl(var(--primary) / 0.5), transparent 62%);
  pointer-events: none;
}

.quote-panel > * { position: relative; }

.quote-panel p {
  font-family: "Outfit", sans-serif;
  font-size: 1.375rem;
  line-height: 1.45;
  font-weight: 500;
}

@media (min-width: 768px) {
  .quote-panel { padding: 3rem; }
  .quote-panel p { font-size: 1.5rem; }
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  background: hsl(var(--surface-dark));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40rem 24rem at 85% 120%, hsl(var(--primary) / 0.55), transparent 60%);
}

.cta-band__inner {
  position: relative;
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding-block: 3.5rem;
}

@media (min-width: 768px) {
  .cta-band__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
  }
}

.cta-band h2 { color: #fff; }
.cta-band p { color: hsl(0 0% 100% / 0.72); }

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

@media (min-width: 768px) {
  .cta-band__actions { justify-content: flex-end; }
}

.cta-band .btn--primary {
  background: #fff;
  color: hsl(302 84% 27%);
}
.cta-band .btn--primary:hover { background: hsl(302 58% 93%); }

/* ==========================================================================
   Industries
   ========================================================================== */

.industry {
  display: block;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.industry:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px hsl(var(--shadow) / 0.55);
  border-color: hsl(var(--primary) / 0.35);
}

.industry svg { width: 30px; height: 30px; color: hsl(var(--primary)); }
.industry h3 { margin-top: 1rem; font-size: 1.0625rem; }
.industry p { margin-top: 0.375rem; font-size: 0.875rem; color: hsl(var(--foreground) / 0.7); }

/* ==========================================================================
   Careers
   ========================================================================== */

.filters {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .filters { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; }
}

.field {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  height: 3rem;
  padding-inline: 0.875rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
}

.field svg { width: 18px; height: 18px; color: hsl(var(--muted-foreground)); flex-shrink: 0; }

.field input,
.field select {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 0.9375rem;
}

.field select { cursor: pointer; }

.job {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.job + .job { margin-top: 0.875rem; }

.job[open],
.job:hover { border-color: hsl(var(--primary) / 0.4); }

.job[open] { box-shadow: 0 18px 40px -26px hsl(var(--shadow) / 0.6); }

.job__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem;
  cursor: pointer;
  list-style: none;
}

.job__summary::-webkit-details-marker { display: none; }

.job__title {
  font-family: "Outfit", sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
}

.job__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.625rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}

.tag--brand {
  background: hsl(var(--secondary));
  color: hsl(var(--primary));
}

.job__chevron {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: hsl(var(--muted));
  color: hsl(var(--primary));
  transition: transform 0.25s, background-color 0.25s;
}

.job[open] .job__chevron {
  transform: rotate(180deg);
  background: hsl(var(--secondary));
}

.job__body {
  padding: 0 1.5rem 1.75rem;
  border-top: 1px solid hsl(var(--border));
  padding-top: 1.5rem;
  margin-inline: 1.5rem;
  margin-bottom: 0;
  padding-inline: 0;
}

.job__body h4 {
  font-family: "Outfit", sans-serif;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--primary));
  margin: 1.5rem 0 0.75rem;
}

.job__body h4:first-child { margin-top: 0; }

.job__body ul { display: grid; gap: 0.5rem; }

.job__body li {
  position: relative;
  padding-left: 1.125rem;
  font-size: 0.9375rem;
  color: hsl(var(--foreground) / 0.8);
}

.job__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: hsl(var(--primary));
}

.empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  border: 1px dashed hsl(var(--border));
  border-radius: var(--radius);
  color: hsl(var(--muted-foreground));
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 2.5rem; }
}

.info-list { display: grid; gap: 1.25rem; margin-top: 1.5rem; }

.info-list li { display: flex; align-items: flex-start; gap: 0.875rem; }

.info-list .info__icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: hsl(var(--secondary));
  color: hsl(var(--primary));
}

.info-list svg { width: 17px; height: 17px; }

.info__label {
  font-weight: 600;
  font-size: 0.9375rem;
}

.info__value {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.7);
  line-height: 1.6;
}

.info__value a:hover { color: hsl(var(--primary)); }

.panel-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: var(--radius);
  padding: 2rem;
}

.panel-primary h3 { color: inherit; }
.panel-primary p { color: inherit; opacity: 0.85; font-size: 0.9375rem; margin-top: 0.75rem; }

.form { display: grid; gap: 1.125rem; }

.form__row { display: grid; gap: 1.125rem; }

@media (min-width: 640px) {
  .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4375rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card));
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.12);
}

.form textarea { resize: vertical; min-height: 9rem; }

.form__error {
  color: #b3261e;
  font-size: 0.8125rem;
  margin-top: 0.375rem;
  display: none;
}

.form__error.is-visible { display: block; }

.form__note {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

.form__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.form-success {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}

.form-success.is-visible { display: block; }

.form-success__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: hsl(var(--secondary));
  color: hsl(var(--primary));
}

.form-success__icon svg { width: 26px; height: 26px; }

/* ==========================================================================
   Values / list rows
   ========================================================================== */

.value-row {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding-block: 1rem;
  border-bottom: 1px solid hsl(var(--border));
}

.value-row:last-child { border-bottom: 0; }

.value-row svg {
  width: 20px;
  height: 20px;
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: hsl(var(--surface-dark));
  color: hsl(0 0% 100% / 0.72);
  padding-block: 3.5rem 2rem;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 3rem; }
}

.footer__brand-mark {
  display: inline-grid;
  place-items: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 0.5rem 0.625rem;
}

.footer__brand-mark img { height: 30px; width: auto; }

.footer__blurb {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 26rem;
}

.footer h4 {
  color: #fff;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer__links { display: grid; gap: 0.625rem; font-size: 0.9375rem; }
.footer__links a:hover { color: #fff; }

.footer__contact { display: grid; gap: 0.875rem; font-size: 0.9375rem; }

.footer__contact li { display: flex; align-items: flex-start; gap: 0.625rem; }

.footer__contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 4px;
  color: hsl(var(--on-dark-accent));
}

.footer__contact a:hover { color: #fff; }

.socials { display: flex; gap: 0.625rem; margin-top: 1.5rem; }

.socials a {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius);
  border: 1px solid hsl(0 0% 100% / 0.18);
  transition: background-color 0.2s, border-color 0.2s;
}

.socials a:hover {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: #fff;
}

.socials svg { width: 17px; height: 17px; }

.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(0 0% 100% / 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: hsl(0 0% 100% / 0.6);
}

/* ==========================================================================
   Motion
   ========================================================================== */

.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up { opacity: 1; transform: none; }
}
