/* ============================================
   berkdev.de — design tokens
   ============================================ */
:root {
  --bg: #0b0e11;
  --surface: #12161b;
  --surface-2: #171c22;
  --border: #1f252c;
  --text: #e4e7eb;
  --text-muted: #8a94a0;
  --text-faint: #748094;
  --accent: #e8a33d;
  --accent-soft: rgba(232, 163, 61, 0.12);
  --accent-dim: rgba(232, 163, 61, 0.35);
  --success: #4c9f70;

  --font-display: "Space Grotesk", "Helvetica Neue", sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", monospace;

  --max-w: 900px;
  --section-pad: clamp(4rem, 8vw, 7rem);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 52px; /* room for the status strip */
}

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

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

::selection {
  background: var(--accent-dim);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 100;
  background: var(--accent);
  color: #16130a;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0.75rem;
}

/* ============================================
   Nav
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 14, 17, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-mark {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
}

.nav-mark span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: lowercase;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-icons a,
.nav-icons button {
  color: var(--text-muted);
  transition: color 0.15s ease;
  display: flex;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-icons a:hover,
.nav-icons button:hover {
  color: var(--accent);
}

.nav-icons svg {
  width: 18px;
  height: 18px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
  }

  .nav-links.is-open {
    max-height: 16rem;
  }

  .nav-links li {
    border-top: 1px solid var(--border);
  }

  .nav-links a {
    display: block;
    padding: 0.9rem 1.5rem;
  }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: clamp(5rem, 12vw, 8rem) 0 var(--section-pad);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(76, 159, 112, 0.2);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw + 1rem, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p.lede {
  font-size: clamp(1.0625rem, 1vw + 1rem, 1.25rem);
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
}

.hero-content {
  min-width: 0;
}

.hero-photo {
  flex-shrink: 0;
}

.photo-frame {
  width: 200px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 0 0 1px var(--accent-dim), 0 24px 48px -24px rgba(232, 163, 61, 0.35);
}

.photo-frame-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.5rem 0.65rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.photo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-faint);
}

.photo-filename {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-faint);
}

.photo-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column-reverse;
    align-items: center;
    gap: 1.75rem;
    text-align: left;
  }

  .hero-content {
    width: 100%;
  }

  .photo-frame {
    width: 160px;
  }
}

.btn {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  padding: 0.75rem 1.375rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #16130a;
  border-color: var(--accent);
  font-weight: 500;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -6px rgba(232, 163, 61, 0.5);
}

.btn-ghost {
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--text-faint);
}

/* ============================================
   Section scaffolding
   ============================================ */
section {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.section-head .tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.5vw + 1rem, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   About
   ============================================ */
.about p {
  color: var(--text-muted);
  max-width: 62ch;
  font-size: 1.0625rem;
}

.about p + p {
  margin-top: 1rem;
}

.about strong {
  color: var(--text);
  font-weight: 500;
}

/* ============================================
   Experience timeline
   ============================================ */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.5rem;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-faint);
  padding-top: 0.2rem;
}

.timeline-role {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.timeline-company {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.timeline-item ul {
  list-style: none;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.timeline-item li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.5rem;
}

.timeline-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 5px;
  height: 5px;
  background: var(--text-faint);
  border-radius: 50%;
}

@media (max-width: 640px) {
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

/* ============================================
   Projects
   ============================================ */
.group-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.group-label span {
  color: var(--text-faint);
  text-transform: none;
  letter-spacing: 0.02em;
}

.group-label:not(:first-of-type) {
  margin-top: 2.5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.125rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.project-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-2px);
}

.project-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.project-card h4 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
}

.project-link {
  align-self: flex-start;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.15rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.project-link:hover {
  color: var(--accent);
  border-color: var(--accent-dim);
}

.status-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 0.25rem 0.6rem;
  border-radius: 5px;
  white-space: nowrap;
  text-transform: lowercase;
  flex-shrink: 0;
}

.project-screens {
  position: relative;
  width: 448px;
  max-width: 100%;
  height: 235px;
  margin: 1.5rem auto 0.75rem;
}


.screen-thumb {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 256px;
  padding: 0;
  line-height: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid var(--surface-2);
  background: var(--surface);
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.55);
  /* Base position is rotate + translate from --rot/--tx/--ty; hover/focus
     appends one more translateY so the card keeps its tilt as it lifts,
     like picking a card up off the pile rather than snapping flat. */
  transform: rotate(var(--rot)) translate(var(--tx), var(--ty));
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.screen-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.project-screens .screen-thumb:nth-child(1) { --rot: -9deg; --tx: 0px;    --ty: 6px;  }
.project-screens .screen-thumb:nth-child(2) { --rot: -4deg; --tx: 48px;   --ty: 2px;  }
.project-screens .screen-thumb:nth-child(3) { --rot: 2deg;  --tx: 96px;   --ty: 0px;  }
.project-screens .screen-thumb:nth-child(4) { --rot: 7deg;  --tx: 144px;  --ty: 3px;  }
.project-screens .screen-thumb:nth-child(5) { --rot: 12deg; --tx: 192px;  --ty: 7px;  }

.project-screens .screen-thumb:hover,
.project-screens .screen-thumb:focus-visible {
  /* No z-index bump — the lifted card stays in its place in the pile
     instead of jumping to the front of neighbors that overlap it. */
  transform: rotate(var(--rot)) translate(var(--tx), var(--ty)) translateY(-8px);
  box-shadow: 0 18px 32px -10px rgba(232, 163, 61, 0.4);
  border-color: var(--accent-dim);
}

/* The fanned pile is a desktop flourish — it can't fit narrow screens without
   overflowing, so below 640px it becomes a plain tappable grid instead. */
@media (max-width: 640px) {
  .project-screens {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin: 1.25rem 0 0.75rem;
  }

  .project-screens .screen-thumb:nth-child(n) {
    position: static;
    width: 100%;
    transform: none;
    box-shadow: none;
  }

  .project-screens .screen-thumb:nth-child(5) {
    grid-column: span 2;
  }

  .project-screens .screen-thumb:hover,
  .project-screens .screen-thumb:focus-visible {
    transform: none;
  }
}

.screens-hint {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
}

.project-card .tag-row {
  margin-top: auto;
  padding-top: 0.25rem;
}

.project-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

/* Ownership line — deliberately not --success green, which would read as a
   performance metric rather than a statement of scope. */
.project-role {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-left: 1.1rem;
  position: relative;
}

.project-role b {
  color: var(--accent);
  font-weight: 500;
}

.project-role::before {
  content: "↳";
  position: absolute;
  left: 0;
  color: var(--text-faint);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  text-transform: lowercase;
}

/* ============================================
   Two column (education / languages)
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 640px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.col-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.edu-item {
  margin-bottom: 1.5rem;
}

.edu-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.edu-item .meta {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-faint);
}

.edu-item p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-top: 0.35rem;
}

.lang-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}

.lang-row span:last-child {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-faint);
}

/* ============================================
   Contact / footer
   ============================================ */
.contact {
  text-align: left;
}

.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.contact p {
  color: var(--text-muted);
  max-width: 50ch;
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

footer {
  padding: 2rem 0 0.5rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
}

.footer-inner {
  display: block;
  text-align: center;
  align-items: center;
}

/* ============================================
   Status strip (signature element)
   ============================================ */
.status-strip {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: rgba(18, 22, 27, 0.9);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  z-index: 50;
  overflow: hidden;
}

.status-strip .wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  width: 100%;
}

.status-strip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(76, 159, 112, 0.18);
  flex-shrink: 0;
}

.status-strip .sep {
  color: var(--text-faint);
}

.status-strip #status-time {
  color: var(--text);
  margin-left: auto;
}

@media (max-width: 640px) {
  .status-strip .status-role {
    display: none;
  }
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

/* Must override display:flex above, otherwise [hidden] has no effect. */
.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 9, 0.9);
  backdrop-filter: blur(4px);
}

.lightbox-panel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 1180px;
}

.lightbox-figure {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.lightbox-img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.lightbox-caption {
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
}

.lightbox-caption b {
  color: var(--text-faint);
  font-weight: 400;
  margin-left: 0.5rem;
}

.lightbox-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--text-muted);
  background: rgba(23, 28, 34, 0.9);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.lightbox-btn:hover {
  color: var(--accent);
  border-color: var(--accent-dim);
}

.lightbox-close {
  position: absolute;
  top: -3.25rem;
  right: 0;
  font-size: 1rem;
}

@media (max-width: 640px) {
  .lightbox {
    padding: 1rem;
  }

  /* Overlay the arrows on the image rather than flanking it, so a narrow
     screen spends its width on the screenshot instead of on controls. */
  .lightbox-panel {
    gap: 0;
  }

  .lightbox-prev,
  .lightbox-next {
    position: absolute;
    top: 35%;
    z-index: 2;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }

  .lightbox-img {
    max-height: 64vh;
  }
}

body.no-scroll {
  overflow: hidden;
}

/* ============================================
   CV request modal
   ============================================ */
.cv-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.cv-modal[hidden] {
  display: none;
}

.cv-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 9, 0.9);
  backdrop-filter: blur(4px);
}

.cv-modal-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.cv-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  font-size: 0.875rem;
}

.cv-modal-panel h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  padding-right: 2rem;
}

.cv-modal-intro {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.cv-field {
  display: block;
  margin-bottom: 1rem;
}

.cv-field span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.cv-field-optional {
  text-transform: none;
  letter-spacing: normal;
}

.cv-field input,
.cv-field textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  resize: vertical;
}

.cv-field input:focus,
.cv-field textarea:focus {
  outline: none;
  border-color: var(--accent-dim);
}

.cv-field input[aria-invalid="true"],
.cv-field textarea[aria-invalid="true"] {
  border-color: #e5484d;
}

.cv-field-error {
  display: block;
  min-height: 1.1em;
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #e5484d;
}

.cf-turnstile {
  margin-bottom: 1.25rem;
}

.cv-submit {
  width: 100%;
  justify-content: center;
}

.cv-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cv-form-status {
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-align: center;
  min-height: 1.2em;
}

.cv-form-status[data-state="error"] {
  color: #e5484d;
}

.cv-form-status[data-state="success"] {
  color: var(--success);
}
