@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

:root {
  --bg: #07111f;
  --bg-soft: #0e1d33;
  --bg-card: rgba(8, 18, 31, 0.72);
  --surface: #f4f0e8;
  --surface-strong: #fffdf8;
  --text: #10233d;
  --text-soft: #526176;
  --text-inverse: #eef6ff;
  --line: rgba(16, 35, 61, 0.12);
  --primary: #1d4ed8;
  --primary-soft: rgba(29, 78, 216, 0.12);
  --teal: #0f9cb4;
  --gold: #f3ab42;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-lg: 0 24px 80px rgba(4, 14, 27, 0.22);
  --shadow-md: 0 18px 45px rgba(4, 14, 27, 0.14);
  --wrap: min(1160px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 156, 180, 0.14), transparent 32%),
    radial-gradient(circle at 82% 8%, rgba(243, 171, 66, 0.18), transparent 26%),
    linear-gradient(180deg, #fffdf9 0%, #f5f1e7 52%, #efebe1 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

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

p {
  margin: 0;
  line-height: 1.7;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
}

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

.page {
  position: relative;
  overflow: clip;
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 35, 61, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 35, 61, 0.04) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at center, black 28%, transparent 82%);
  pointer-events: none;
  z-index: -1;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 0;
  backdrop-filter: blur(18px);
  background: rgba(244, 240, 232, 0.72);
  border-bottom: 1px solid rgba(16, 35, 61, 0.08);
}

.site-header .wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand img {
  width: 2.8rem;
  height: 2.8rem;
}

.brand span {
  display: block;
  line-height: 1.05;
}

.brand small {
  display: block;
  color: var(--text-soft);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.73rem;
}

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid rgba(16, 35, 61, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  color: var(--text-soft);
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-current {
  color: var(--text);
  background: rgba(16, 35, 61, 0.08);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(16, 35, 61, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
}

.nav-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.space-top-md {
  margin-top: 1rem;
}

.space-top-lg {
  margin-top: 1.5rem;
}

.space-top-xl {
  margin-top: 1.9rem;
}

.content-title {
  margin-bottom: 0.9rem;
  font-size: 2rem;
}

.content-title-lg {
  margin-bottom: 1rem;
  font-size: 2.2rem;
}

.content-title-xl {
  margin-bottom: 1rem;
  font-size: 2.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.25rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), #3c7cff);
  color: #f8fbff;
  box-shadow: 0 12px 28px rgba(29, 78, 216, 0.28);
}

.button-secondary {
  border-color: rgba(16, 35, 61, 0.14);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
}

.button-ghost {
  border-color: rgba(238, 246, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-inverse);
}

.hero {
  padding: clamp(1rem, 2vw, 1.7rem) 0 3.5rem;
}

.hero-grid,
.split-grid,
.contact-grid,
.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  align-items: start;
}

.hero-card,
.panel,
.card,
.timeline-card,
.contact-panel,
.stat-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.8rem, 3vw, 2.65rem);
  background:
    linear-gradient(135deg, rgba(13, 29, 53, 0.96), rgba(6, 17, 31, 0.94)),
    linear-gradient(135deg, rgba(29, 78, 216, 0.4), rgba(15, 156, 180, 0.32));
  color: var(--text-inverse);
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.hero-card::before {
  width: 24rem;
  height: 24rem;
  right: -10rem;
  top: -7rem;
  background: radial-gradient(circle, rgba(15, 156, 180, 0.36), transparent 68%);
}

.hero-card::after {
  width: 18rem;
  height: 18rem;
  left: -8rem;
  bottom: -6rem;
  background: radial-gradient(circle, rgba(243, 171, 66, 0.24), transparent 72%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.55rem;
  width: fit-content;
  margin-bottom: 1.35rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(238, 246, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(238, 246, 255, 0.86);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow-light {
  border-color: rgba(16, 35, 61, 0.1);
  background: rgba(16, 35, 61, 0.05);
  color: var(--text);
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  max-width: 11.25ch;
}

.hero-copy,
.page-hero p {
  margin-top: 1rem;
  max-width: 58ch;
  color: rgba(238, 246, 255, 0.78);
  font-size: 1.03rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.55rem;
}

.stat-card {
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(238, 246, 255, 0.1);
}

.stat-card strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.15rem;
}

.hero-aside {
  display: grid;
  gap: 1rem;
}

.panel {
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 35, 61, 0.08);
  backdrop-filter: blur(16px);
}

.panel-dark {
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.98), rgba(12, 29, 50, 0.95));
  color: var(--text-inverse);
  border-color: rgba(238, 246, 255, 0.12);
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-dark .label {
  color: rgba(238, 246, 255, 0.66);
}

.hero-brief {
  padding: 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16, 35, 61, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 243, 235, 0.9));
  box-shadow: var(--shadow-md);
}

.hero-brief-topline {
  margin-bottom: 0.9rem;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-brief-card {
  min-height: 100%;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 35, 61, 0.04);
  border: 1px solid rgba(16, 35, 61, 0.08);
}

.hero-brief-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.hero-brief-card p {
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

.value-stack {
  display: grid;
  gap: 0.8rem;
}

.value-stack li,
.check-list li,
.detail-list li,
.industry-list li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--text-soft);
}

.panel-dark .value-stack li {
  color: rgba(238, 246, 255, 0.75);
}

.value-stack li::before,
.check-list li::before,
.detail-list li::before,
.industry-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--teal));
}

.section {
  padding: 1.5rem 0 4rem;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: clamp(2.1rem, 4vw, 3.55rem);
  max-width: 10ch;
}

.section-header p {
  max-width: 52ch;
  color: var(--text-soft);
}

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

.card {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 35, 61, 0.08);
}

.card h3,
.timeline-card h3,
.contact-panel h3 {
  font-size: 1.45rem;
  margin-bottom: 0.7rem;
}

.card p,
.timeline-card p,
.contact-panel p {
  color: var(--text-soft);
}

.card-topline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-topline::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--primary));
}

.split-grid {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: center;
}

.callout {
  padding: clamp(1.8rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.08), rgba(15, 156, 180, 0.12));
  border: 1px solid rgba(16, 35, 61, 0.08);
}

.callout h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.check-list,
.detail-list,
.industry-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.metrics-strip .card {
  padding: 1.25rem;
}

.metrics-strip strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.8rem;
  letter-spacing: -0.05em;
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
}

.page-hero {
  padding: 2rem 0 2rem;
}

.page-hero-panel {
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    radial-gradient(circle at top right, rgba(243, 171, 66, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(9, 25, 45, 0.95), rgba(8, 18, 31, 0.98));
  color: var(--text-inverse);
  box-shadow: var(--shadow-lg);
}

.contact-hero-panel {
  padding: clamp(1.1rem, 2vw, 1.4rem);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: 1.3rem;
  align-items: start;
}

.contact-hero-copy {
  padding: clamp(1.2rem, 2vw, 1.8rem);
}

.contact-form-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 61, 0.08);
  background:
    radial-gradient(circle at top right, rgba(243, 171, 66, 0.16), transparent 36%),
    radial-gradient(circle at left top, rgba(15, 156, 180, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(247, 242, 233, 0.94));
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 54px rgba(4, 14, 27, 0.18);
}

.contact-form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 22%);
  pointer-events: none;
}

.page-hero p {
  color: rgba(238, 246, 255, 0.74);
}

.contact-form-card .eyebrow {
  border-color: rgba(16, 35, 61, 0.12);
  background: rgba(29, 78, 216, 0.06);
  color: var(--text);
}

.contact-form-card .content-title-xl,
.contact-form-card label {
  color: var(--text);
}

.contact-form-card p,
.contact-form-card .form-status.is-pending {
  color: var(--text-soft);
}

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

.timeline-card {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 35, 61, 0.08);
}

.timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.12);
  color: var(--primary);
  font-weight: 800;
}

.quote {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(12, 29, 50, 0.9));
  color: var(--text-inverse);
  box-shadow: var(--shadow-md);
}

.quote p {
  color: rgba(238, 246, 255, 0.8);
  font-size: 1.05rem;
}

.quote strong {
  display: block;
  margin-top: 1.15rem;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  align-items: start;
}

.contact-panel {
  padding: 1.7rem;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 35, 61, 0.08);
}

.contact-panel.panel-dark {
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.98), rgba(12, 29, 50, 0.95));
  color: var(--text-inverse);
  border-color: rgba(238, 246, 255, 0.12);
}

.contact-panel.panel-dark p {
  color: rgba(238, 246, 255, 0.76);
}

.contact-panel.panel-dark strong {
  color: var(--text-inverse);
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.3rem;
}

.contact-list a {
  color: var(--primary);
  font-weight: 800;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-size: 0.92rem;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(16, 35, 61, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.field textarea {
  min-height: 10rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid rgba(29, 78, 216, 0.2);
  border-color: rgba(29, 78, 216, 0.45);
}

.field-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-shell {
  min-height: 4.2rem;
  padding: 0.9rem;
  border: 1px solid rgba(16, 35, 61, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
}

.form-status {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.form-status.is-pending {
  color: var(--text-soft);
}

.form-status.is-success {
  color: #0d7a44;
}

.form-status.is-error {
  color: #b42318;
}

.cta-band {
  padding: 2rem;
  border-radius: calc(var(--radius-lg) + 6px);
  background:
    radial-gradient(circle at top left, rgba(15, 156, 180, 0.26), transparent 32%),
    linear-gradient(135deg, #07111f, #0f1e36);
  color: var(--text-inverse);
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  max-width: 10ch;
}

.cta-band p {
  margin-top: 1rem;
  max-width: 50ch;
  color: rgba(238, 246, 255, 0.78);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.1rem;
  color: var(--primary);
  font-weight: 800;
}

.text-link::after {
  content: "->";
  font-size: 0.9rem;
}

.blog-hero .page-hero-panel {
  max-width: none;
}

.blog-featured,
.blog-post-hero {
  display: grid;
  gap: 1rem;
}

.blog-grid {
  align-items: stretch;
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.blog-card h2 {
  font-size: 1.8rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 700;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.article-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.1);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
}

.section-tight {
  padding-top: 0;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 0.9fr);
  gap: 1.4rem;
  align-items: start;
}

.blog-article {
  background: rgba(255, 255, 255, 0.78);
}

.blog-rail {
  position: sticky;
  top: 6.5rem;
}

.blog-rail-list {
  display: grid;
  gap: 1rem;
}

.blog-rail-card {
  display: grid;
  gap: 0.55rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(16, 35, 61, 0.08);
}

.blog-rail-card:first-child {
  padding-top: 0;
  border-top: 0;
}

.prose {
  display: grid;
  gap: 1.15rem;
  font-size: 1.02rem;
  line-height: 1.8;
}

.prose > * {
  margin: 0;
}

.prose h2,
.prose h3,
.prose h4 {
  margin-top: 0.4rem;
}

.prose h2 {
  font-size: 2rem;
}

.prose h3 {
  font-size: 1.45rem;
}

.prose a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  list-style: initial;
}

.prose ol {
  list-style: decimal;
}

.prose li + li {
  margin-top: 0.45rem;
}

.prose blockquote {
  margin: 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid rgba(29, 78, 216, 0.35);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(29, 78, 216, 0.08);
  color: var(--text);
}

.prose code {
  padding: 0.16rem 0.38rem;
  border-radius: 8px;
  background: rgba(16, 35, 61, 0.08);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 0.92em;
}

.prose pre {
  overflow-x: auto;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: #0b1728;
  color: #edf4ff;
}

.prose pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.admin-page {
  min-height: 100vh;
}

.admin-shell {
  padding-bottom: 4rem;
}

.admin-panel {
  max-width: 52rem;
}

.admin-status {
  color: var(--text-soft);
}

.admin-notes {
  margin-top: 1.4rem;
}

.admin-list {
  display: grid;
  gap: 0.7rem;
  padding-left: 1.1rem;
  color: var(--text-soft);
  list-style: disc;
}

.site-footer {
  padding: 3rem 0 2rem;
}

.footer-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  color: var(--text-soft);
  font-weight: 700;
}

.footer-meta {
  display: grid;
  gap: 0.9rem;
  justify-items: end;
}

.footer-utility-links {
  font-size: 0.92rem;
}

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

.footer-spaced {
  margin-top: 1rem;
}

.notice-panel,
.job-board-empty {
  padding: 1.4rem;
  border: 1px dashed rgba(16, 35, 61, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.5);
}

.jobs-frame,
.utility-card-grid {
  display: grid;
  gap: 1rem;
}

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

.job-frame-card {
  padding: 1.3rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 35, 61, 0.08);
  box-shadow: var(--shadow-md);
}

.job-frame-card strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.job-board-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 980px) {
  .site-nav {
    position: static;
  }

  .hero-grid,
  .split-grid,
  .contact-grid,
  .contact-hero-grid,
  .timeline,
  .card-grid,
  .blog-layout,
  .jobs-frame,
  .metrics-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
  }

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

  .site-nav ul {
    position: absolute;
    top: calc(100% + 0.85rem);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    padding: 0.6rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    background: rgba(255, 253, 248, 0.96);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav ul.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    justify-content: center;
  }

  .blog-rail {
    position: static;
  }

  .footer-meta {
    justify-items: start;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  :root {
    --wrap: min(100vw - 1rem, 1160px);
  }

  .site-header {
    padding: 0.8rem 0;
  }

  .site-header .wrap {
    gap: 0.7rem;
  }

  .brand {
    gap: 0.65rem;
    max-width: calc(100% - 4rem);
  }

  .brand img {
    width: 2.35rem;
    height: 2.35rem;
  }

  .brand span {
    font-size: 1rem;
  }

  .brand small {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
  }

  .hero {
    padding-top: 0.8rem;
  }

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

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }

  .page-hero {
    padding: 1rem 0 1.35rem;
  }

  .page-hero-panel {
    padding: 1.15rem;
    border-radius: 24px;
  }

  .contact-hero-panel {
    padding: 0.55rem;
  }

  .contact-form-card {
    order: -1;
    padding: 1.2rem;
    border-radius: 24px;
  }

  .contact-hero-copy {
    padding: 0.55rem 0.25rem 0.1rem;
  }

  .contact-form-card .content-title-xl {
    font-size: clamp(2rem, 10vw, 2.5rem);
  }

  .contact-form-card .button-row {
    display: grid;
  }

  .contact-form-card .button {
    width: 100%;
  }

  .field input,
  .field textarea,
  .field select {
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
  }

  .field textarea {
    min-height: 8.5rem;
  }

  .turnstile-shell {
    padding: 0.7rem;
    overflow: hidden;
  }

  .turnstile-shell > * {
    max-width: 100%;
  }

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

  .section-header {
    align-items: start;
    flex-direction: column;
  }

  .article-meta {
    gap: 0.5rem 0.8rem;
  }

  .site-footer {
    padding-top: 2.2rem;
  }
}
