:root {
  --cream: #f7f3ed;
  --paper: #faf8f5;
  --white: #ffffff;
  --ink: #0c0a08;
  --ink70: rgba(12, 10, 8, 0.7);
  --ink55: rgba(12, 10, 8, 0.55);
  --ink30: rgba(12, 10, 8, 0.3);
  --ink10: rgba(12, 10, 8, 0.1);
  --coral: #ff4d2b;
  --azure: #0057ff;
  --sky: #00d5e8;
  --volt: #c8ff00;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 20px 45px rgba(12, 10, 8, 0.08);
  --shadow-card: 0 16px 35px rgba(12, 10, 8, 0.12);
}

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

body {
  margin: 0;
  font-family: 'Cabinet Grotesk', sans-serif;
  background: var(--cream);
  color: var(--ink);
  cursor: auto;
}

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

/* Navbar (inner header) */
#navbar {
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(247, 243, 237, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink10);
  transition: padding 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

#navbar .np {
  background: transparent;
  border: 1px solid var(--ink10);
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--ink70);
}

#navbar .np.act {
  background: var(--ink);
  color: #fff;
}

#navbar .nav-cta {
  background: linear-gradient(120deg, var(--ink), #201f3d);
  color: #fff;
  padding: 11px 20px;
  border-radius: 999px;
  transition: all 0.3s ease;
}

#navbar .nav-cta:hover {
  background: linear-gradient(120deg, var(--coral), #ff7a5c);
  transform: translateY(-1px);
}

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

.contact-hero {
  position: relative;
  padding: 130px 0 90px;
  overflow: hidden;
}

.contact-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(0, 87, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 55% 35% at 80% 20%, rgba(0, 213, 232, 0.12), transparent 65%),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(255, 77, 43, 0.08), transparent 70%);
  pointer-events: none;
  animation: heroGlow 12s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.8; }
  100% { opacity: 1; filter: hue-rotate(8deg); }
}

.contact-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.contact-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink55);
  margin-bottom: 18px;
}

.contact-title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.03;
  margin: 0 0 18px;
}

.contact-sub {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink55);
  margin: 0 auto 30px;
  max-width: 520px;
}

.contact-hero__actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--coral);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid var(--ink10);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.contact-body {
  padding: 0 0 120px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 50px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink10);
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.info-card--accent {
  background: linear-gradient(135deg, rgba(200, 255, 0, 0.2), rgba(0, 213, 232, 0.15));
  border-color: rgba(0, 213, 232, 0.2);
}

.info-card__label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink30);
}

.info-card__value {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.info-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--azure);
}

.helper {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.helper-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  border: 1px dashed var(--ink10);
  padding: 16px 18px;
}

.helper-title {
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 6px;
}

.helper-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink55);
  margin: 0;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--ink10);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.form-head {
  margin-bottom: 24px;
}

.form-eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink30);
  margin-bottom: 8px;
}

.form-head h2 {
  font-size: 28px;
  margin: 0 0 8px;
  letter-spacing: -0.6px;
}

.form-head p {
  margin: 0;
  color: var(--ink55);
  font-size: 14px;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.variant-fields {
  display: grid;
  gap: 14px;
}

.variant-group {
  border: 1px solid var(--ink10);
  border-radius: 12px;
  padding: 12px;
  background: var(--paper);
}

.variant-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink30);
  margin-bottom: 10px;
}

.variant-checks {
  display: grid;
  gap: 8px;
}

.variant-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink70);
}

.variant-check input {
  width: 16px;
  height: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink30);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--ink10);
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(0, 87, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(0, 87, 255, 0.12);
}

.form-submit {
  width: 100%;
  border: none;
  padding: 15px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--ink), #27231f);
  color: #fff;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-submit:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--coral), #ff6b4a);
  box-shadow: 0 18px 40px rgba(255, 77, 43, 0.24);
}

@media (max-width: 1100px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  #navbar {
    padding: 14px 20px;
  }

  .contact-hero {
    padding-top: 110px;
  }

  .contact-hero__actions {
    width: 100%;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
  }

  .contact-form-card {
    padding: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
