/* -------------------------------------------------------
   REGIBUS — White + single ultramarine accent
-------------------------------------------------------- */

:root {
  --blue: #120a8f;
  --white: #ffffff;
  --soft: #f7f7fb;
  --ink: #171820;
  --muted: #636773;
  --line: #dddfea;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  background: var(--blue);
  color: var(--white);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
  font-size: 1rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.92rem;
}

.nav-links a:hover {
  opacity: 0.78;
}

.nav-cta {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

/* Hero */

.hero {
  background: var(--white);
  color: var(--ink);
}

.hero-grid {
  min-height: 760px;
  padding-top: 160px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 72px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-label,
.card-kicker {
  margin: 0 0 18px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.hero h1 span {
  display: block;
  color: var(--blue);
}

.hero-text {
  max-width: 680px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.button {
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover {
  opacity: 0.9;
}

.button-secondary {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--white);
}

.button-secondary:hover {
  background: var(--blue);
  color: var(--white);
}

.hero-panel {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--soft);
  border-top: 4px solid var(--blue);
}

.panel-topline {
  padding-bottom: 20px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.framework-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.framework-step:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

.step-number {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
}

.framework-step strong {
  font-size: 1.4rem;
  font-weight: 600;
}

.framework-step p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Sections */

.section {
  padding: 110px 0;
}

.section-white {
  background: var(--white);
}

.section-soft {
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
  align-items: start;
}

.section h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.concept-copy {
  max-width: 680px;
}

.concept-copy p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.04rem;
}

.concept-copy .lead {
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1.4;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 56px;
}

.section-heading > p:last-child {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
}

/* Process */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-card {
  min-height: 450px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.card-index {
  margin-bottom: 72px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
}

.card-kicker {
  margin-bottom: 10px;
  font-size: 0.67rem;
}

.process-card h3 {
  margin: 0 0 14px;
  font-size: 2rem;
  font-weight: 600;
}

.process-card > p:not(.card-kicker) {
  color: var(--muted);
  margin: 0 0 24px;
}

.process-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-card li {
  position: relative;
  padding: 9px 0 9px 20px;
  color: var(--ink);
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
}

.process-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--blue);
}

/* Team */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.team-card {
  padding: 28px 0 22px;
  border-top: 3px solid var(--blue);
  border-bottom: 1px solid var(--line);
}

.team-card h3 {
  margin: 0 0 6px;
  font-size: 1.45rem;
  font-weight: 600;
}

.role {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Contact */

.contact-section {
  padding: 95px 0;
  background: var(--white);
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 70px;
}

.contact-inner > div {
  max-width: 790px;
}

.contact-inner p:not(.section-label) {
  max-width: 670px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.button-contact {
  min-width: 190px;
  background: var(--blue);
  color: var(--white);
}

.button-contact:hover {
  opacity: 0.9;
}

/* Footer */

.site-footer {
  padding: 34px 0;
  background: var(--soft);
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-brand {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

/* Responsive */

@media (max-width: 900px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 145px;
    gap: 58px;
  }

  .hero-panel {
    max-width: 620px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .process-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .process-card {
    min-height: auto;
  }

  .card-index {
    margin-bottom: 44px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .button-contact {
    width: fit-content;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .nav {
    min-height: 70px;
  }

  .brand {
    font-size: 0.76rem;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
  }

  .hero-grid {
    padding-top: 120px;
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    padding: 20px;
  }

  .framework-step {
    grid-template-columns: 40px 1fr;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .process-card {
    padding: 24px;
  }

  .contact-section {
    padding: 72px 0;
  }

  .button-contact {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
