/* ============================================================
   Hoveller Strategic Partners — hovellerpartners.com
   Blue, flat, modern, tone-on-tone maximalist
   ============================================================ */

:root {
  /* Palette — anchored to the navy logo mark, brightened per brand refs */
  --navy-ink:   #0A1230;   /* deepest — footer, name section */
  --navy:       #16264F;   /* logo navy */
  --royal:      #0B3BDE;   /* primary brand blue */
  --royal-deep: #0930B4;   /* tone-on-tone shape blue (darker) */
  --royal-pop:  #2F63F5;   /* tone-on-tone shape blue (lighter) */
  --bright:     #085CF0;
  --ice:        #AFE9FD;   /* accent ice blue */
  --paper:      #F2F6FE;   /* light section background */
  --white:      #FFFFFF;

  --font: "Century Gothic", "CenturyGothic", "Poppins", "Segoe UI", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 24px 60px rgba(10, 18, 48, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy-ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: min(1160px, 92vw);
  margin-inline: auto;
}

/* ---------- Type ---------- */

h1, h2, h3 {
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 8.6vw, 5.4rem); color: var(--white); }
h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); color: var(--navy-ink); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.2; }

.h2--light { color: var(--white); }
.accent { color: var(--royal); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--royal);
  margin-bottom: 1.1rem;
  padding: 0.45em 1.1em;
  border: 1.5px solid currentColor;
  border-radius: 999px;
}
.eyebrow--light { color: var(--ice); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.9em 2em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solid { background: var(--royal); color: var(--white); }
.btn--solid:hover { background: var(--royal-pop); box-shadow: 0 14px 32px rgba(11, 59, 222, 0.35); }

.btn--light { background: var(--white); color: var(--royal); }
.btn--light:hover { background: var(--ice); box-shadow: 0 14px 32px rgba(5, 10, 46, 0.3); }

.btn--lg { font-size: 1.1rem; padding: 1em 2.4em; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 18, 48, 0.08);
}
.nav__inner {
  width: min(1240px, 94vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.7rem 0;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy-ink);
}
.nav__mark { height: 44px; width: 44px; object-fit: contain; }
.nav__name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.nav__name em {
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--royal);
}
.nav__links {
  margin-left: auto;
  display: flex;
  gap: 1.8rem;
}
.nav__links a {
  text-decoration: none;
  color: var(--navy-ink);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--royal); }
.nav__cta { white-space: nowrap; }

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
}
@media (max-width: 480px) {
  .nav__inner { gap: 0.8rem; }
  .nav__mark { height: 36px; width: 36px; }
  .nav__name { font-size: 0.95rem; }
  .nav__name em { display: none; }
  .nav__cta { font-size: 0.85rem; padding: 0.8em 1.4em; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--royal);
  color: var(--white);
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero__bg { position: absolute; inset: 0; }

/* Giant tone-on-tone concentric circles (ref: ping graphic) */
.ring {
  position: absolute;
  border-radius: 50%;
}
.hero .ring--1 {
  width: 160vmax; height: 160vmax;
  right: -40vmax; top: -55vmax;
  background: var(--royal-pop);
  opacity: 0.55;
}
.hero .ring--2 {
  width: 110vmax; height: 110vmax;
  right: -15vmax; top: -30vmax;
  background: var(--royal);
}
.hero .ring--3 {
  width: 62vmax; height: 62vmax;
  right: 9vmax; top: -6vmax;
  background: var(--royal-pop);
  opacity: 0.75;
}

/* Thin vertical hairlines over the whole hero */
.hairlines,
.install__hairlines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.10) 0 1px,
    transparent 1px 25%
  );
  background-size: 25% 100%;
  pointer-events: none;
}

.hero__content {
  position: relative;
  padding: 9rem 0 7rem;
}
.hero__sub {
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  margin: 1.8rem 0 2.6rem;
  color: rgba(255, 255, 255, 0.92);
}
.hero__scroll {
  position: absolute;
  right: min(6vw, 5rem);
  bottom: 3rem;
  color: var(--white);
  opacity: 0.85;
  transition: opacity 0.15s ease, transform 0.3s ease;
}
.hero__scroll:hover { opacity: 1; transform: translateY(4px); }

/* ---------- Belief ---------- */

.belief {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  padding: 8rem 0;
}
.belief__watermark {
  position: absolute;
  right: -0.08em;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(20rem, 48vw, 44rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(11, 59, 222, 0.06);
  user-select: none;
  pointer-events: none;
}
.belief__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.6rem;
  max-width: 62rem;
  font-size: 1.12rem;
  position: relative;
}
@media (max-width: 760px) {
  .belief__cols { grid-template-columns: 1fr; gap: 1.4rem; }
  .belief { padding: 5.5rem 0; }
}

/* ---------- Who We Are ---------- */

.who {
  background: var(--white);
  padding: 8rem 0 6rem;
}
.who__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
  margin-top: 3.4rem;
}
@media (max-width: 860px) {
  .who__grid { grid-template-columns: 1fr; }
  .who { padding: 5.5rem 0 4rem; }
}

.bio {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2.6rem 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.bio h3 { color: var(--navy-ink); margin: 1.6rem 0 0.9rem; }
.bio p { color: rgba(10, 18, 48, 0.82); }
.bio__more { margin-top: auto; }
.bio p { margin-bottom: 1.6rem; }

.bio__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  width: 100%;
  border-radius: var(--radius-md);
  background: var(--royal);
}
.bio__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--royal);
  color: var(--royal);
}
.btn--outline:hover {
  background: var(--royal);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(11, 59, 222, 0.25);
}

.who__together {
  margin-top: 3rem;
  background: var(--royal);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem clamp(1.6rem, 4vw, 4rem);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.5;
  position: relative;
  overflow: hidden;
}
.who__together::after {
  content: "";
  position: absolute;
  right: -14rem; top: -14rem;
  width: 30rem; height: 30rem;
  border-radius: 50%;
  background: var(--royal-pop);
  opacity: 0.55;
}
.who__together p { position: relative; max-width: 52rem; }

/* ---------- The Name ---------- */

.name-story {
  position: relative;
  overflow: hidden;
  background: var(--navy-ink);
  color: var(--white);
  padding: 9rem 0;
}
.name-story__bg { position: absolute; inset: 0; }
.ripple {
  position: absolute;
  left: 50%;
  bottom: -78vmax;
  transform: translateX(-50%);
  border-radius: 50%;
}
.ripple--1 { width: 170vmax; height: 170vmax; background: #101B44; }
.ripple--2 { width: 135vmax; height: 135vmax; background: #16264F; }
.ripple--3 { width: 100vmax; height: 100vmax; background: #1D3268; }
.ripple--4 { width: 65vmax;  height: 65vmax;  background: #24408A; }

.name-story__content { position: relative; text-align: center; }
.name-story__lede {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  max-width: 54rem;
  margin: 0 auto;
  text-wrap: balance;
}
.name-story__lede strong { color: var(--ice); }
.name-story__body {
  max-width: 44rem;
  margin: 2rem auto 0;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
}
.name-story__tag {
  margin-top: 2.4rem;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  color: var(--ice);
}

/* ---------- What We Install ---------- */

.install {
  position: relative;
  overflow: hidden;
  background: var(--royal);
  padding: 8rem 0;
}
.install .eyebrow--light { position: relative; }
.install h2 { position: relative; }
.install__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3.4rem;
}
@media (max-width: 960px) {
  .install__grid { grid-template-columns: 1fr; }
  .install { padding: 5.5rem 0; }
}

.card {
  background: var(--white);
  color: var(--navy-ink);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.2s ease;
}
.card:hover { transform: translateY(-6px); }
.card--pop { background: var(--navy-ink); color: var(--white); }
.card--pop p { color: rgba(255, 255, 255, 0.85); }
.card__num {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--royal-pop);
}
.card--pop .card__num { color: var(--ice); }
.card p { color: rgba(10, 18, 48, 0.8); }
.card--pop p { color: rgba(255, 255, 255, 0.85); }

/* ---------- Who This Is For ---------- */

.for-you {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  padding: 8rem 0;
}
/* Flat arch shapes along the bottom (ref: torres tiles) */
.for-you__arches {
  position: absolute;
  inset: auto 0 -4rem 0;
  display: flex;
  justify-content: space-between;
  gap: 2vw;
  padding-inline: 4vw;
  pointer-events: none;
}
.for-you__arches span {
  width: 16vw;
  height: 20vw;
  max-height: 16rem;
  border-radius: 50% 50% 0 0 / 62% 62% 0 0;
  background: rgba(11, 59, 222, 0.07);
}
.for-you__arches span:nth-child(2) { background: rgba(11, 59, 222, 0.12); }
.for-you__arches span:nth-child(4) { background: rgba(11, 59, 222, 0.12); }

.for-you__lead {
  margin-top: 1.6rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--royal);
}
.for-you__list {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  position: relative;
}
@media (max-width: 820px) {
  .for-you__list { grid-template-columns: 1fr; }
  .for-you { padding: 5.5rem 0; }
}
.for-you__list li {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.7rem;
  font-size: 1.08rem;
  font-weight: 500;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(10, 18, 48, 0.06);
}
.tick {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--royal);
  position: relative;
}
.tick::after {
  content: "";
  position: absolute;
  left: 0.42rem; top: 0.28rem;
  width: 0.36rem; height: 0.62rem;
  border: solid var(--white);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* ---------- How We Work ---------- */

.process {
  background: var(--white);
  padding: 8rem 0;
}
.process__steps {
  margin-top: 3.4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
@media (max-width: 960px) {
  .process__steps { grid-template-columns: 1fr; }
  .process { padding: 5.5rem 0; }
}
.step {
  border: 2px solid rgba(11, 59, 222, 0.16);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.1rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.step:hover { border-color: var(--royal); transform: translateY(-6px); }
.step__badge {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--royal);
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
}
.step h3 { color: var(--navy-ink); margin-bottom: 0.8rem; }
.step p { color: rgba(10, 18, 48, 0.8); }

/* ---------- Close CTA ---------- */

.close-cta {
  position: relative;
  overflow: hidden;
  background: var(--royal);
  color: var(--white);
  padding: 9rem 0;
  text-align: center;
}
.close-cta__bg { position: absolute; inset: 0; }
.close-cta .ring--a {
  width: 120vmax; height: 120vmax;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: var(--royal-pop);
  opacity: 0.4;
}
.close-cta .ring--b {
  width: 70vmax; height: 70vmax;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: var(--royal);
}
.close-cta__content { position: relative; }
.close-cta p {
  max-width: 40rem;
  margin: 1.6rem auto 2.6rem;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.92);
}

/* ---------- Contact / Form ---------- */

.contact {
  background: var(--paper);
  padding: 8rem 0;
}
.contact__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) {
  .contact__inner { grid-template-columns: 1fr; gap: 2.4rem; }
  .contact { padding: 5.5rem 0; }
}
.contact__note {
  margin-top: 1.4rem;
  font-size: 1.05rem;
  color: rgba(10, 18, 48, 0.75);
}

.form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.6rem 2.4rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 2rem 1.5rem; }
}
/* Honeypot spam trap — visually hidden, bots fill it, Netlify discards those */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-ink);
}
.field label small { text-transform: none; font-weight: 500; color: rgba(10,18,48,0.55); }
.field label span { color: var(--royal); margin-left: 2px; }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--navy-ink);
  background: var(--paper);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 0.8em 1em;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--royal);
  background: var(--white);
}
.field input.is-invalid,
.field select.is-invalid { border-color: #E03616; }
.form__submit { align-self: flex-start; }
.form--modal .form__submit { align-self: stretch; text-align: center; }
.form__status { font-weight: 600; color: var(--royal); min-height: 1.2em; }
.form__status.is-error { color: #E03616; }

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-ink);
  color: var(--white);
  padding: 4rem 0 2rem;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  justify-content: space-between;
}
.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__mark {
  height: 52px; width: 52px;
  object-fit: contain;
  /* recolor the navy mark to white for the dark footer */
  filter: brightness(0) invert(1);
}
.footer__name { font-weight: 700; font-size: 1.1rem; }
.footer__tag { font-size: 0.9rem; color: var(--ice); }
.footer__links { display: flex; align-items: center; gap: 0.8rem; }
.footer__links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}
.footer__links a:hover { color: var(--ice); }
.footer__legal {
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Modal ---------- */

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 48, 0.66);
  backdrop-filter: blur(4px);
}
.modal__panel {
  position: relative;
  width: min(480px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.6rem 2.4rem;
  box-shadow: 0 40px 90px rgba(5, 10, 46, 0.5);
  animation: modal-in 0.25s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal__panel h3 { font-size: 1.7rem; margin-bottom: 1.4rem; color: var(--navy-ink); }

.modal__panel--bio {
  width: min(680px, 92vw);
  outline: none;
}
.modal__panel--bio h3 { margin-bottom: 0.3rem; }
.modal__panel--bio p { color: rgba(10, 18, 48, 0.82); }
.modal__panel--bio p + p { margin-top: 1rem; }
.bio-modal__photo {
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 1.6rem;
}
.bio-modal__photo img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
}
.bio-modal__creds {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--royal) !important;
  margin-bottom: 1.2rem;
}
.modal__close {
  position: absolute;
  top: 1rem; right: 1.2rem;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--navy-ink);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.15s ease;
}
.modal__close:hover { opacity: 1; }

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .modal__panel { animation: none; }
}
