@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500&display=swap');

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

:root {
  --ink: #0c0c0a;
  --ink-2: #363630;
  --ink-3: #6e6e67;
  --paper: #f7f5f0;
  --paper-2: #efece5;
  --paper-3: #e4e0d6;
  --accent: #C23A45;
  --accent-2: #E64653;
  --teal: #0f6e56;
  --teal-light: #d8f0e9;
  --teal-mid: #1d9e75;
  --white: #ffffff;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 68px;
  background: rgba(247,245,240,0.88);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(10,10,8,0.07);
  transition: background 0.3s;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800; font-size: 21px; letter-spacing: -0.5px;
  color: var(--ink); text-decoration: none;
  display: flex; align-items: center; gap: 2px;
}
.nav-logo-dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links li a {
  display: block; padding: 8px 16px;
  font-size: 13.5px; font-weight: 400; color: var(--ink-2);
  text-decoration: none; letter-spacing: 0.01em;
  transition: color 0.18s; border-radius: 40px;
}
.nav-links li a:hover,
.nav-links li a.active { color: var(--ink); }
.nav-links li a.active { font-weight: 500; }

/* Links that navigate to a different page */
.nav-link-external{
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  color: var(--ink) !important;
  font-weight: 500 !important;
}
.nav-link-icon{
  opacity: 0.4;
  transform: translateY(0.5px);
  transition: opacity 0.18s, transform 0.18s;
}
.nav-link-external:hover .nav-link-icon{
  opacity: 0.9;
  transform: translate(1px, -1px);
}

.nav-cta {
  margin-left: 8px;
  background: var(--ink) !important; color: var(--paper) !important;
  font-weight: 500 !important; padding: 9px 22px !important;
  border-radius: 40px !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--accent) !important; transform: translateY(-1px); }
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: 8px; transition: background 0.15s; flex-shrink: 0;
}
.nav-hamburger:hover { background: rgba(10,10,8,0.05); }
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.18s;
}
nav.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
nav.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  padding: 13px 28px; border-radius: 40px;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform 0.18s var(--ease-out), background 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: #E64653; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #2a2a26; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--paper-3); }
.btn-outline:hover { border-color: var(--ink-3); }
.btn-white { background: white; color: var(--accent); }
.btn-white:hover { opacity: 0.92; }
.btn-ghost-white { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-ghost-white:hover { border-color: white; }
.btn svg { flex-shrink: 0; }

/* ── LAYOUT ───────────────────────────────────────────── */
.section { padding: 46px 56px; }
.section-sm { padding: 64px 56px; }
.container, .inner { max-width: 1180px; margin: 0 auto; }

/* ── EYEBROW ──────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow-dot {
  width: 5px; height: 5px; background: var(--accent); border-radius: 50%;
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ── TYPOGRAPHY ───────────────────────────────────────── */
.display-h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.2vw, 70px);
  font-weight: 800; line-height: 1.03; letter-spacing: -0.8px; color: var(--ink);
}
.display-h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 800; line-height: 1.07; letter-spacing: -0.8px; color: var(--ink);
}
.display-h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.8px; color: var(--ink);
}
.lead { font-size: 18px; font-weight: 300; color: var(--ink-2); line-height: 1.65; }
.accent-text { color: var(--accent); }
.teal-text { color: var(--teal-mid); }

/* ── SCROLL REVEALS ───────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── FOOTER ───────────────────────────────────────────── */
footer { background: var(--ink); padding: 64px 56px 40px; }
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1fr auto;
  gap: 48px; padding-bottom: 40px; margin-bottom: 32px;
  border-bottom: 1px solid rgba(247,245,240,0.09);
}
.footer-brand-logo {
  font-family: var(--font-display); font-size: 22px; font-weight: 800;
  color: var(--paper); letter-spacing: -0.5px; margin-bottom: 8px;
}
.footer-brand-logo span { color: var(--accent); }
.footer-brand-tag { font-size: 13px; font-weight: 300; color: rgba(247,245,240,0.38); }
.footer-cols { display: flex; gap: 56px; }
.footer-col-head {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(247,245,240,0.5); margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 14px; color: rgba(247,245,240,0.38);
  text-decoration: none; margin-bottom: 9px; transition: color 0.18s;
}
.footer-col a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12.5px; color: rgba(247,245,240,0.25); }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a {
  font-size: 12.5px; color: rgba(247,245,240,0.35);
  text-decoration: none; transition: color 0.18s;
}
.footer-legal-links a:hover { color: var(--paper); }
.footer-badges { display: flex; gap: 10px; }
.footer-badge {
  font-size: 11px; padding: 4px 10px; border-radius: 40px;
  border: 1px solid rgba(247,245,240,0.12); color: rgba(247,245,240,0.3);
}
.footer-badge:hover { color: var(--paper); }

/* ── CONTACT FORM ─────────────────────────────────────── */
.contact-section { background: var(--ink); padding: 96px 56px; }
.contact-wrap { max-width: 1180px; margin: 0 auto; gap: 80px; align-items: start; }
.contact-left .eyebrow { color: var(--accent-2); }
.contact-left .eyebrow .eyebrow-dot { background: var(--accent-2); }
.contact-h2 { font-family: var(--font-display); font-size: clamp(32px,3.8vw,52px); font-weight: 800; letter-spacing: -1px; line-height: 1.06; color: var(--paper); margin-bottom: 18px; }
.contact-sub { font-size: 16px; font-weight: 300; color: rgba(247,245,240,0.52); line-height: 1.65; margin-bottom: 40px; }
.contact-promises { display: flex; flex-direction: column; gap: 16px; margin-bottom: 44px; }
.contact-promise { display: flex; align-items: flex-start; gap: 14px; }
.cp-icon { width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.cp-title { font-size: 14px; font-weight: 500; color: var(--paper); margin-bottom: 2px; }
.cp-text { font-size: 13px; color: rgba(247,245,240,0.42); font-weight: 300; line-height: 1.45; }
.contact-divider { border: none; border-top: 1px solid rgba(247,245,240,0.08); margin: 8px 0 32px; }
.contact-alt { font-size: 13px; color: rgba(247,245,240,0.35); font-weight: 300; }
.contact-alt a { color: rgba(247,245,240,0.6); text-decoration: none; border-bottom: 1px solid rgba(247,245,240,0.2); transition: color 0.15s, border-color 0.15s; }
.contact-alt a:hover { color: var(--paper); border-color: rgba(247,245,240,0.5); }
.contact-form-wrap { background: rgba(247,245,240,0.04); border: 1px solid rgba(247,245,240,0.09); border-radius: 20px; padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group:last-of-type { margin-bottom: 0; }
.form-label { font-size: 12px; font-weight: 500; color: rgba(247,245,240,0.5); letter-spacing: 0.04em; }
.form-label .req { color: var(--accent); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%; background: rgba(247,245,240,0.06);
  border: 1px solid rgba(247,245,240,0.12);
  border-radius: 10px; padding: 11px 14px;
  font-family: var(--font-body); font-size: 14px; font-weight: 300;
  color: var(--paper); outline: none;
  transition: border-color 0.18s, background 0.18s;
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(247,245,240,0.22); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: rgba(232,76,28,0.5); background: rgba(247,245,240,0.08); }
.form-input.error, .form-select.error, .form-textarea.error { border-color: rgba(232,76,28,0.7); }
.form-select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='rgba(247,245,240,0.35)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.form-select option { background: #1a1a18; color: var(--paper); }
.form-textarea { resize: vertical; min-height: 96px; line-height: 1.55; }
.form-error { font-size: 12px; color: var(--accent-2); margin-top: 2px; display: none; }
.form-group.has-error .form-error { display: block; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.form-consent { font-size: 12px; color: rgba(247,245,240,0.28); font-weight: 300; line-height: 1.5; max-width: 260px; }
.form-consent a { color: rgba(247,245,240,0.45); text-decoration: none; border-bottom: 1px solid rgba(247,245,240,0.2); }
.form-submit { background: var(--accent); color: white; font-family: var(--font-body); font-size: 15px; font-weight: 500; padding: 13px 28px; border-radius: 40px; border: none; cursor: pointer; transition: background 0.18s, transform 0.15s; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.form-submit:hover { background: #992E37; transform: translateY(-1px); }
.form-submit:disabled { background: rgba(247,245,240,0.12); color: rgba(247,245,240,0.3); cursor: not-allowed; transform: none; }
.form-submit .spinner { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 0.7s linear infinite; display: none; }
.form-submit.loading .spinner { display: block; }
.form-submit.loading .btn-text { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { display: none; text-align: center; padding: 40px 24px; }
.form-success.visible { display: block; }
.success-icon { width: 64px; height: 64px; background: rgba(29,158,117,0.15); border: 1px solid rgba(29,158,117,0.3); border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.success-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--paper); margin-bottom: 10px; letter-spacing: -0.3px; }
.success-text { font-size: 15px; color: rgba(247,245,240,0.5); font-weight: 300; line-height: 1.6; }

/* ── APPLY / CAREERS FORM ─────────────────────────────── */
.apply-section { background: var(--ink); padding: 96px 56px; }
.apply-wrap { max-width: 1180px; margin: 0 auto; align-items: start; }
.apply-eyebrow { color: var(--accent-2) !important; }
.apply-eyebrow .eyebrow-dot { background: var(--accent-2) !important; animation: blink 2.4s ease-in-out infinite; }
.apply-h2 { font-family: var(--font-display); font-size: clamp(32px,3.8vw,52px); font-weight: 800; letter-spacing: -1px; line-height: 1.06; color: var(--paper); margin-bottom: 18px; }
.apply-alt { font-size: 13px; color: rgba(247,245,240,0.35); font-weight: 300; line-height: 1.7; }
.apply-alt a { color: rgba(247,245,240,0.6); text-decoration: none; border-bottom: 1px solid rgba(247,245,240,0.2); transition: color 0.15s, border-color 0.15s; }
.apply-alt a:hover { color: var(--paper); border-color: rgba(247,245,240,0.5); }
.apply-form-wrap { background: rgba(247,245,240,0.04); border: 1px solid rgba(247,245,240,0.09); border-radius: 20px; padding: 36px; }
.af-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.af-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.af-label { font-size: 12px; font-weight: 500; color: rgba(247,245,240,0.5); letter-spacing: 0.04em; }
.af-label .req { color: var(--accent); margin-left: 2px; }
.af-input, .af-select, .af-textarea { width: 100%; background: rgba(247,245,240,0.06); border: 1px solid rgba(247,245,240,0.12); border-radius: 10px; padding: 11px 14px; font-family: var(--font-body); font-size: 14px; font-weight: 300; color: var(--paper); outline: none; transition: border-color 0.18s, background 0.18s; -webkit-appearance: none; }
.af-input::placeholder, .af-textarea::placeholder { color: rgba(247,245,240,0.22); }
.af-input:focus, .af-select:focus, .af-textarea:focus { border-color: rgba(232,76,28,0.5); background: rgba(247,245,240,0.08); }
.af-input.error, .af-select.error, .af-textarea.error { border-color: rgba(232,76,28,0.7); }
.af-select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='rgba(247,245,240,0.35)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.af-select option { background: #1a1a18; color: var(--paper); }
.af-textarea { resize: vertical; min-height: 88px; line-height: 1.55; }
.af-error { font-size: 12px; color: var(--accent-2); margin-top: 2px; display: none; }
.af-group.has-error .af-error { display: block; }
.af-file-zone { width: 100%; border: 1.5px dashed rgba(247,245,240,0.18); border-radius: 10px; padding: 20px 16px; text-align: center; cursor: pointer; transition: border-color 0.18s, background 0.18s; position: relative; background: rgba(247,245,240,0.03); }
.af-file-zone:hover, .af-file-zone.dragover { border-color: rgba(232,76,28,0.5); background: rgba(232,76,28,0.04); }
.af-file-zone.has-file { border-color: rgba(29,158,117,0.4); background: rgba(29,158,117,0.04); }
.af-file-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.af-file-icon { font-size: 22px; margin-bottom: 8px; display: block; }
.af-file-main { font-size: 13px; font-weight: 500; color: rgba(247,245,240,0.65); margin-bottom: 3px; }
.af-file-main span { color: var(--accent-2); text-decoration: underline; text-decoration-style: dotted; }
.af-file-sub { font-size: 11px; color: rgba(247,245,240,0.28); font-weight: 300; }
.af-file-name { font-size: 13px; font-weight: 500; color: var(--teal-mid); margin-top: 4px; display: none; }
.af-file-zone.has-file .af-file-name { display: block; }
.af-file-zone.has-file .af-file-placeholder { display: none; }
.af-file-zone.error { border-color: rgba(232,76,28,0.7); }
.af-url-wrap { position: relative; }
.af-url-prefix { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; color: rgba(247,245,240,0.28); pointer-events: none; font-weight: 300; }
.af-url-wrap .af-input { padding-left: 64px; }
.af-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.af-submit { background: var(--accent); color: white; font-family: var(--font-body); font-size: 15px; font-weight: 500; padding: 13px 28px; border-radius: 40px; border: none; cursor: pointer; transition: background 0.18s, transform 0.15s; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.af-submit:hover { background: #992E37; transform: translateY(-1px); }
.af-submit:disabled { background: rgba(247,245,240,0.12); color: rgba(247,245,240,0.3); cursor: not-allowed; transform: none; }
.af-spinner { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 0.7s linear infinite; display: none; }
.af-submit.loading .af-spinner { display: block; }
.af-submit.loading .af-btn-text { display: none; }
.af-success { display: none; text-align: center; padding: 40px 24px; }
.af-success.visible { display: block; }
.af-success-icon { width: 64px; height: 64px; background: rgba(29,158,117,0.15); border: 1px solid rgba(29,158,117,0.3); border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.af-success-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--paper); margin-bottom: 10px; letter-spacing: -0.3px; }
.af-success-text { font-size: 15px; color: rgba(247,245,240,0.5); font-weight: 300; line-height: 1.6; }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  nav { padding: 0 24px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: #0c0c0a;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 8px 24px 24px;
    z-index: 199;
    border-top: 1px solid rgba(247,245,240,0.08);
    box-shadow: 0 16px 40px rgba(10,10,8,0.35);
  }
  nav.nav-open .nav-links { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(247,245,240,0.07); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links li a { padding: 14px 0; font-size: 16px; border-radius: 0; color: rgba(247,245,240,0.65); }
  .nav-links li a:hover, .nav-links li a.active { color: var(--paper); }
  .nav-link-external { color: rgba(247,245,240,0.9) !important; }
  .nav-link-icon { opacity: 0.7; }
  .nav-cta {
    margin-left: 0 !important; margin-top: 12px !important;
    display: flex !important; justify-content: center;
    background: var(--accent) !important; color: white !important;
  }
  .nav-cta:hover { background: #992E37 !important; }
  .section { padding: 64px 24px; }
  .section-sm { padding: 40px 24px; }
  footer { padding: 48px 24px 32px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { flex-wrap: wrap; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .contact-section { padding: 64px 24px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: stretch; }
  .form-consent { max-width: 100%; }
  .apply-section { padding: 64px 24px; }
  .apply-wrap { grid-template-columns: 1fr; gap: 48px; }
  .af-row { grid-template-columns: 1fr; }
  .af-footer { flex-direction: column; align-items: stretch; }
}
