/* Miami Job — static landing */

:root {
  --bg: #ffffff;
  --bg-elevated: #f6f7f9;
  --bg-hero: #fafbfd;
  --text: #1a1d23;
  --text-muted: #5f6673;
  --accent: #e0542b;
  --accent-hover: #c9431c;
  --accent-soft: rgba(224, 84, 43, 0.07);
  --border: rgba(0, 0, 0, 0.08);
  --radius: 10px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  z-index: 100;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo-emoji {
  font-weight: 400;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}
.nav-cta {
  color: var(--accent) !important;
  font-weight: 600 !important;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 1.25rem;
  background: var(--text);
  margin-inline: auto;
}

.nav-panel {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.nav-panel[hidden] {
  display: none !important;
}
.nav-panel a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

@media (min-width: 720px) {
  .nav {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .nav-panel {
    display: none !important;
  }
}

/* Hero */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 8vw, 5rem);
  background: var(--bg-hero);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr minmax(240px, 300px);
    gap: 3rem;
    align-items: center;
  }
}

.eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero h1 {
  font-size: clamp(1.75rem, 4.2vw, 2.5rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  max-width: 40ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.93rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-hover);
  box-shadow: 0 2px 8px rgba(224, 84, 43, 0.18);
}
.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: var(--bg);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: #c0c5cc;
  background: var(--bg-elevated);
}
.btn-large {
  padding: 0.8rem 1.4rem;
  font-size: 0.98rem;
}

.hero-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.hero-card {
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1.35rem;
}
.hero-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.65rem;
}
.hero-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Trust strip */
.trust {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.trust-line {
  margin: 0;
  text-align: center;
  font-size: 0.93rem;
  color: var(--text-muted);
  max-width: 65ch;
  margin-inline: auto;
}

/* Sections */
.section {
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}
.section-alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.section-title {
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  color: var(--text);
}

.section-intro {
  margin: 0 0 2rem;
  color: var(--text-muted);
  max-width: 52ch;
}

.cards {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  color: var(--text);
}
.card p {
  margin: 0 0 0.85rem;
  font-size: 0.93rem;
  color: var(--text-muted);
}
.card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.card li {
  margin-bottom: 0.3rem;
}

.steps {
  margin: 0;
  padding-left: 1.25rem;
  max-width: 55ch;
  color: var(--text-muted);
}
.steps li {
  margin-bottom: 1rem;
}
.steps strong {
  color: var(--text);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr 260px;
    align-items: start;
  }
}

.contact-lead {
  margin-bottom: 1.25rem;
}

.contact-alt {
  margin-top: 1.25rem;
  font-size: 0.93rem;
  color: var(--text-muted);
}
.contact-alt a {
  color: var(--accent);
}

.aside-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 0.3rem;
}
.contact-aside p {
  margin: 0 0 1.25rem;
  font-size: 0.93rem;
  color: var(--text-muted);
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.link-list li {
  margin-bottom: 0.4rem;
}
.link-list a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.93rem;
}
.link-list a:hover,
.link-list a:focus-visible {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
  background: var(--bg-elevated);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}
.footer-inner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}
.footer-link:hover {
  color: var(--text);
  text-decoration: underline;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.is-open {
  display: flex;
}
.modal {
  background: var(--bg);
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--border);
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
}
.modal-close:hover {
  color: var(--text);
}
.modal h2 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}
.modal p,
.modal ul {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.modal p {
  margin: 0 0 0.75rem;
}
.modal strong {
  color: var(--text);
  font-weight: 600;
}

/* 404 (separate page) */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.page-404 h1 {
  font-size: 5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.5rem;
  line-height: 1;
}
.page-404 p {
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}
.page-404 .countdown {
  font-variant-numeric: tabular-nums;
}
