/* Shared palette and typography */
:root {
  --ink: #f5f4ff;
  --ink-soft: #d6d3f8;
  --mist: #0f0a1a;
  --haze: #1b1429;
  --blue-soft: #7bd8ff;
  --blue-mid: #4ba9ff;
  --brown-soft: #f1b48c;
  --purple-soft: #caa2ff;
  --accent: #ff9d66;
  --accent-strong: #e96b31;
  --white: #ffffff;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'EB Garamond', serif;
  color: var(--ink);
  background: radial-gradient(circle at 12% 18%, rgba(123, 216, 255, 0.2), transparent 35%),
              radial-gradient(circle at 78% 8%, rgba(202, 162, 255, 0.18), transparent 30%),
              radial-gradient(circle at 50% 90%, rgba(241, 180, 140, 0.12), transparent 30%),
              var(--mist);
  min-height: 100vh;
  letter-spacing: 0.01em;
}

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


a:hover {
  color: var(--blue-soft);
}

blockquote {
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  margin: 1.5rem 0;
  padding: 1.2rem 1.5rem 1.2rem 2.5rem;
  border-left: 4px solid var(--accent);
  background: linear-gradient(135deg, rgba(255, 154, 102, 0.08), rgba(202, 162, 255, 0.08));
  border-radius: 0 12px 12px 0;
  position: relative;
  color: var(--ink);
}

blockquote::before {
  content: '"';
  font-size: 3.5rem;
  font-family: 'EB Garamond', serif;
  color: var(--accent);
  opacity: 0.35;
  position: absolute;
  left: 0.4rem;
  top: -0.2rem;
  line-height: 1;
}

blockquote p:last-child {
  margin-bottom: 0;
}

blockquote cite {
  display: block;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--ink-soft);
  margin-top: 0.8rem;
}

blockquote cite::before {
  content: '— ';
}

/* Branding */
.brand-mark {
  font-family: 'EB Garamond', serif;
  letter-spacing: 0.35em;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 16px;
  margin: 0 !important;
}

.brand-mark::after {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 120%;
  height: 4px;
  background: linear-gradient(90deg, rgba(255, 154, 102, 0), rgba(255, 154, 102, 0.95), rgba(255, 154, 102, 0));
  border-radius: 999px;
  transform: translateX(-50%) scaleX(0.9);
}

/* hovering brand-mark must make no change to brand mark */
.brand-mark:hover {
  color: var(--white);
}

.navbar {
  background: rgba(20, 14, 35, 0);
  backdrop-filter: blur(14px);
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(255, 154, 102, 0.35);
}

/* Override default Bootstrap hamburger icon with a custom one that has better contrast on dark backgrounds. */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-collapse {
  width: 100%;
}

.nav-link {
  font-weight: 500;
  color: var(--white) !important;
  padding: 0.6rem 0.9rem !important;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink) !important;
  background: var(--bs-indigo);
}

.hero {
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(41, 21, 71, 0.92), rgba(47, 27, 88, 0.94));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 640px;
  font-size: 1.05rem;
}

.badge-soft {
  background: rgba(255, 154, 102, 0.18);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.card-soft {
  background: #1f1830;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
  height: 100%;
}

.card-soft .label {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.card-soft h3 {
  font-family: 'EB Garamond', serif;
  font-size: 1.35rem;
  margin-top: 0.4rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 154, 102, 0.15);
  font-weight: 600;
  color: var(--ink);
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
}

.section-pad {
  padding: 4rem 0;
}

.section-heading {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.section-desc {
  max-width: 700px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.callout {
  background: linear-gradient(135deg, rgba(75, 169, 255, 0.18), rgba(202, 162, 255, 0.2), rgba(255, 154, 102, 0.2));
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem 0;
  background: rgba(20, 14, 35, 0);
}

.footeritem:first-child {
  text-align: center;
}

.footer .brand-mark {
  display: inline-flex;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
}

.footer-links-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.home-page #main-content {
  min-height: 80vh;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

@media (min-width: 768px) {
  .footeritem {
    flex: 1 1 33.333%;
    max-width: 33.333%;
  }

  .footeritem:first-child {
    text-align: left;
  }

  .footer .brand-mark {
    margin: 0;
  }

  .footer-links {
    text-align: right;
  }

  .footer-links-inner {
    justify-content: flex-end;
  }
}

.btn-accent {
  background: var(--accent-strong);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 0.8rem 1.4rem;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(233, 107, 49, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  overflow: hidden;
}

.btn-accent:hover {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 16px 32px rgba(255, 122, 58, 0.4);
}

.btn-accent.loading {
  pointer-events: none;
  opacity: 0.9;
}

.btn-accent .btn-label {
  transition: opacity 0.15s ease;
}

.btn-accent.loading .btn-label {
  opacity: 0;
}


.btn-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.35rem;
  height: 1.35rem;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.15s ease;
}

.btn-spinner::after {
  content: '';
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: var(--white);
  display: block;
  animation: spin 0.8s linear infinite;
  box-sizing: border-box;
}

.btn-accent.loading .btn-spinner {
  opacity: 1;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.line-divider {
  width: 82px;
  height: 4px;
  background: linear-gradient(90deg, rgba(255, 154, 102, 0.9), rgba(75, 169, 255, 0.9));
  border-radius: 999px;
  margin: 1rem 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 1000;
  background: var(--accent-strong);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
}

/* Forms */
.form-label {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.form-control {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: var(--ink);
  padding: 0.75rem 1rem;
  transition: all 0.2s ease;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
  color: var(--ink);
  box-shadow: 0 0 0 0.2rem rgba(255, 154, 102, 0.15);
  outline: none;
}

.form-control::placeholder {
  color: var(--ink-soft);
  opacity: 0.6;
}

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

.contactbuttonbox {
  margin-top: 0 !important;
}

.required_field {
  max-height:0 ! important;
  margin:0;
  padding:0;
  overflow:hidden;
}

.orange-highlight {
  color: var(--accent);
  font-weight: 600;
}

/* Utility */
@media (max-width: 991.98px) {
  .navbar-collapse {
    width: 100%;
    background: rgba(20, 14, 35, 0.95);
    border-radius: 14px;
    padding: 0.5rem 0.75rem;
    margin-top: 0.35rem;
  }
}


@media (max-width: 767.98px) {
  .home-page .footeritem > .brand-mark {
    display: none;
  }
  .navbar .container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .navbar-brand {
    margin: 0 auto;
    text-align: center;
  }
  .navbar-brand {
    margin-right: 0;
  }
  .navbar-toggler {
    align-self: flex-end;
    margin-top: 0.35rem;
    position: static;
    transform: none;
  }
  .nav-link {
    padding: 0.5rem 0.7rem !important;
  }
}

div.obfe > span:nth-child(6){
	display: none;
}
div.obfe > span:nth-child(7) {
	display: none;
}
div.obfp > span:nth-child(4) {
	display: none;
}
div.obfp > span:nth-child(5) {
	display: none;
}