/* ==========================================================================
   Singularity Hypertech — CONTACT PAGE
   Figma: Contact Page (1512:11608) — 1440x5999.
   Brands strip, related articles and the closing CTA come from css/shared.css.
   Page-specific art belongs in images/contact/.
   ========================================================================== */

/* the artboard uses a 100px gutter -> 1240 content */
.contact-page .container {
  max-width: 1440px;
  padding: 0 100px;
}

/* ==========================================================================
   HERO — dark band, centred title + lead, a violet bloom washing in from the
   top-right corner with a fading square grid on top of it
   ========================================================================== */
.ct-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #010214;
  color: #e1e2e5;
  min-height: 540px;
  padding: 200px 0 140px;
  display: flex;
  align-items: center;
  text-align: center;
}
.ct-hero > .container {
  position: relative;
  z-index: 2;
}
/* Figma: the violet bloom with its square grid in the top-right corner is one
   exported plate (the same one the gap, industries and resources bands use) */
.ct-hero-glow {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 760px;
  height: 500px;
  pointer-events: none;
  background: url("../../images/home/execution-gap-glow-right.png") top right / 100% auto no-repeat;
}
.ct-hero-grid {
  display: none;
}
.ct-hero-copy {
  max-width: 760px;
  margin: 0 auto;
}
.ct-hero h1 {
  margin: 0;
  font-family: var(--font-tight);
  font-size: 72px; /* site hero size */
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.058em;
  /* the gradient wordmark every page hero uses */
  background: linear-gradient(
    167.27deg,
    #f0e4ff 2.68%,
    #f9f4ff 30.5%,
    rgba(255, 255, 255, 0.4)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* 16px per the site body rule; narrowed so it breaks after "just want to"
   like the artboard */
.ct-hero p {
  max-width: 560px;
  margin: 32px auto 0;
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 1.5;
  color: #e1e2e5;
}

/* ==========================================================================
   CONTACT — Group 123 (1513:6437), 1340x940, white
   ========================================================================== */
.ct-main {
  background: #fff;
  color: var(--title-dark);
  padding: 100px 0;
}
.ct-grid {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 550px);
  justify-content: space-between;
  gap: 60px;
}

/* --- left column --- */
.ct-lead h2 {
  margin: 0;
  font-family: var(--font-tight);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.ct-lead > p {
  margin: 22px 0 0;
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 1.56;
  color: #595959;
}
.ct-next-title {
  margin: 44px 0 26px;
  font-family: var(--font-inter);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
}
.ct-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.ct-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.ct-step svg {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  color: #03020b;
}
.ct-step h3 {
  margin: 0 0 8px;
  font-family: var(--font-inter);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}
.ct-step p {
  max-width: 320px;
  margin: 0;
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 1.5;
  color: #595959;
}
.ct-email {
  margin-top: 44px;
}
.ct-email span {
  display: block;
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.ct-email a {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-inter);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  color: #2d1786;
  overflow-wrap: anywhere;
}
.ct-email a:hover {
  text-decoration: underline;
}

/* --- the form --- */
.ct-form-head h2 {
  margin: 0;
  font-family: var(--font-tight);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
}
.ct-form-head p {
  margin: 14px 0 0;
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 1.56;
  color: #595959;
}
.ct-form {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.ct-field label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 1.5;
  color: #000;
}
.ct-field input,
.ct-field textarea,
.ct-field select {
  width: 100%;
  padding: 8px 2px 12px;
  border: 0;
  border-bottom: 1px solid #dcdce2;
  border-radius: 0;
  background: none;
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 1.5;
  color: var(--title-dark);
  transition: border-color 0.2s ease;
}
.ct-field textarea {
  min-height: 92px;
  resize: vertical;
}
.ct-field ::placeholder {
  color: #babbc4;
}
.ct-field input:focus,
.ct-field textarea:focus,
.ct-field select:focus,
.ct-field input:focus-visible,
.ct-field textarea:focus-visible,
.ct-field select:focus-visible {
  /* the focus state is the bottom line only (violet, thickened by a 1px
     shadow so the field does not shift): no box around the whole field */
  outline: none;
  border-bottom-color: #4c35e0;
  box-shadow: 0 1px 0 #4c35e0;
}
/* phone: country picker and number share one underline */
.ct-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #dcdce2;
}
.ct-phone select,
.ct-phone input {
  border-bottom: 0;
}
.ct-phone select {
  width: auto;
  flex: 0 0 auto;
  padding-right: 4px;
  font-size: 16px;
}
.ct-form .btn {
  align-self: flex-start;
  margin-top: 8px;
  min-width: 240px;
  justify-content: center;
}
.ct-form-note {
  margin: 0;
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 1.5;
  color: #767676;
}

/* ==========================================================================
   OFFICES + MAP — Group 1707482372 (1513:6407), 1440x1208, white
   ========================================================================== */
.ct-offices {
  background: #fff;
  color: var(--title-dark);
  padding: 0 0 100px;
}
.ct-offices h2 {
  margin: 0;
  font-family: var(--font-tight);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}
.ct-offices > .container > p {
  max-width: 730px;
  margin: 22px 0 0;
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 1.56;
  color: #595959;
}
.ct-office-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 44px 0 40px;
}
.ct-office {
  flex: 0 1 300px;
  min-width: 260px;
  border-radius: 12px;
  padding: 20px 22px;
  border: 1px solid #e6e6ec;
  background: #fff;
  /* the cards select which office the map shows, so they are buttons */
  display: block;
  width: 100%;
  margin: 0;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease, transform 0.2s ease;
}
.ct-office:hover {
  border-color: #c9d4ea;
  transform: translateY(-2px);
}
.ct-office:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #4d8dff;
}
.ct-office-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 600;
}
.ct-office-addr {
  display: block;
  margin: 0 0 12px;
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 1.5;
  color: #595959;
}
.ct-office b {
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 600;
}
/* the selected office is the dark card with the blue rim */
.ct-office.is-active {
  color: #fff;
  border-color: #4d8dff;
  background: linear-gradient(150deg, #1a1f52 0%, #0a0d2a 60%, #05061a 100%);
  box-shadow: 0 0 0 1px rgba(77, 141, 255, 0.35),
    0 18px 40px -22px rgba(0, 0, 0, 0.8);
}
.ct-office.is-active .ct-office-addr {
  color: #c8ccdf;
}
.ct-map {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #eceff4;
  aspect-ratio: 1240 / 410;
}
.ct-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.ct-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ct-map:empty::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    135deg,
    rgba(3, 2, 11, 0.05) 0 14px,
    rgba(3, 2, 11, 0) 14px 28px
  );
}

/* this page's closing band is copy only — no buttons, per the artboard */
.contact-page .cta p {
  max-width: 720px;
}
.contact-page .cta p strong {
  font-weight: 600;
  color: #fff;
}
.contact-page .cta p a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
