:root {
  --blue: #1598cb;
  --blue-dark: #0b4d67;
  --blue-soft: #dff4fb;
  --orange: #f0832c;
  --ink: #202632;
  --muted: #5c6878;
  --line: #dfe7ec;
  --surface: #ffffff;
  --wash: #f5f8fa;
  --shadow: 0 22px 70px rgba(13, 43, 62, 0.14);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.5;
}

[x-cloak] {
  display: none !important;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 52px);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(32, 38, 50, 0.08);
  box-shadow: 0 12px 32px rgba(13, 43, 62, 0.07);
}

.brand img {
  width: 188px;
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a {
  padding: 10px 2px;
}

.nav-links a:hover {
  color: var(--blue-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  background: var(--orange);
  color: #fff;
  font-weight: 760;
  box-shadow: 0 12px 30px rgba(240, 131, 44, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #dc7423;
  box-shadow: 0 16px 36px rgba(240, 131, 44, 0.34);
}

.js .reveal .reveal-child,
.js .reveal > .section-inner {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible .reveal-child,
.js .reveal.is-visible > .section-inner {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal.is-visible .operations-panel,
.js .reveal.is-visible .origin-mark,
.js .reveal.is-visible .feature-card,
.js .reveal.is-visible .team-card {
  animation: soft-pop 680ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}

.delay-1 {
  --reveal-delay: 90ms;
}

.delay-2 {
  --reveal-delay: 170ms;
}

.delay-3 {
  --reveal-delay: 250ms;
}

.delay-4 {
  --reveal-delay: 330ms;
}

@keyframes soft-pop {
  0% {
    transform: translateY(28px) scale(0.985);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

.button-secondary {
  border-color: rgba(21, 152, 203, 0.22);
  background: #fff;
  color: var(--blue-dark);
  box-shadow: none;
}

.button-secondary:hover {
  background: var(--blue-soft);
  box-shadow: none;
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.92rem;
}

.section-band {
  position: relative;
  padding: clamp(72px, 8vw, 118px) 0;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(92vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: clamp(64px, 8vw, 96px);
  padding-bottom: clamp(70px, 7vw, 96px);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.96) 52%, rgba(255, 255, 255, 0.9) 100%);
}

.hero-pattern::after {
  position: absolute;
  top: 9%;
  right: -11%;
  width: min(58vw, 780px);
  aspect-ratio: 1;
  content: "";
  background: url("/assets/PRF-_Albatross Blue Single.png") center / contain no-repeat;
  opacity: 0.075;
  transform: rotate(-8deg);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 104px;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.86fr);
  gap: clamp(36px, 7vw, 82px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.79rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.8vw, 5.55rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero-lede,
.section-heading p,
.split p,
.ai-grid p,
.origin-grid p,
.final-cta p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.23rem);
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.operations-panel {
  border: 1px solid rgba(21, 152, 203, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  padding: 24px;
}

.panel-topline,
.metric-row,
.workflow-map {
  display: grid;
  gap: 12px;
}

.panel-topline {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 720;
}

.panel-topline strong {
  color: var(--blue-dark);
}

.metric-row {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 16px;
}

.metric-row article,
.stage,
.insight-box,
.feature-card,
.team-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.metric-row article {
  min-height: 102px;
  padding: 14px;
}

.metric-row span,
.insight-box span,
.stage span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 720;
}

.metric-row strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
}

.workflow-map {
  margin-bottom: 16px;
}

.stage {
  position: relative;
  min-height: 72px;
  padding: 14px 16px 14px 20px;
  overflow: hidden;
}

.stage::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  content: "";
  background: var(--line);
}

.stage.complete::before {
  background: var(--blue);
}

.stage.active::before {
  background: var(--orange);
}

.stage strong {
  display: block;
  margin-top: 2px;
}

.insight-box {
  min-height: 122px;
  padding: 18px;
  background: var(--blue-dark);
  color: #fff;
}

.insight-box span,
.insight-box p {
  color: rgba(255, 255, 255, 0.82);
}

.insight-box p {
  margin: 8px 0 0;
  font-size: 1rem;
}

.problem-band,
.teams-band,
.philosophy-band {
  background: var(--wash);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: start;
}

.copy-column p:last-child,
.origin-grid p:last-child,
.split p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 660px;
}

.feature-grid,
.team-grid,
.principle-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  min-height: 246px;
  padding: 24px;
}

.feature-number {
  display: inline-flex;
  margin-bottom: 32px;
  color: var(--orange);
  font-weight: 820;
}

.feature-card p,
.team-card li {
  color: var(--muted);
}

.team-grid {
  grid-template-columns: repeat(4, 1fr);
}

.team-card {
  min-height: 330px;
  padding: 22px;
}

.team-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.team-card li {
  position: relative;
  padding-left: 20px;
}

.team-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 2px;
  content: "";
  background: var(--orange);
}

.industries-band {
  background: var(--blue-dark);
  color: #fff;
}

.industries-band .eyebrow,
.industries-band p {
  color: rgba(255, 255, 255, 0.78);
}

.industry-list,
.ai-list,
.principle-grid {
  align-content: start;
}

.industry-list,
.ai-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industry-list span,
.ai-list span,
.principle-grid span {
  border: 1px solid rgba(21, 152, 203, 0.2);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  font-weight: 720;
}

.industries-band .industry-list span {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.origin-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: center;
}

.origin-mark {
  display: grid;
  place-items: center;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--wash);
}

.origin-mark img {
  width: 210px;
}

.ai-band {
  overflow: hidden;
  background: linear-gradient(90deg, #fff, #f5fbfd);
}

.ai-band::before {
  position: absolute;
  right: -9%;
  bottom: -34%;
  width: min(54vw, 720px);
  aspect-ratio: 1;
  content: "";
  background: url("/assets/PRF-_Albatross Blue Single.png") center / contain no-repeat;
  opacity: 0.07;
  transform: rotate(7deg);
}

.ai-band .section-inner {
  position: relative;
  z-index: 1;
}

.ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 84px);
}

.ai-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.timeline li {
  position: relative;
  min-height: 162px;
  padding: 54px 16px 0 0;
  border-top: 2px solid var(--line);
  counter-increment: steps;
}

.timeline li::before {
  position: absolute;
  top: -18px;
  left: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  content: counter(steps);
  font-weight: 820;
}

.timeline span {
  display: block;
  max-width: 170px;
  font-weight: 760;
}

.integrations-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle-grid {
  grid-template-columns: repeat(4, 1fr);
}

.final-cta {
  background: var(--blue-dark);
  color: #fff;
  text-align: center;
}

.final-cta .eyebrow,
.final-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.final-cta-inner {
  max-width: 790px;
}

.final-cta .button {
  margin-top: 10px;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-brand,
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 158px;
  flex: 0 0 auto;
}

.footer-brand span {
  color: var(--muted);
  font-weight: 650;
}

.footer-links {
  color: var(--muted);
  font-weight: 650;
}

.footer-links a {
  color: var(--blue-dark);
}

.footer-links a:hover {
  color: var(--blue);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .split,
  .origin-grid,
  .ai-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .operations-panel {
    max-width: 680px;
  }

  .feature-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    gap: 20px;
  }

  .timeline li {
    min-height: auto;
    padding: 0 0 0 54px;
    border-top: 0;
  }

  .timeline li::before {
    top: -4px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 12px 18px;
  }

  .brand img {
    width: 146px;
  }

  .button-small {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .section-inner {
    width: min(100% - 28px, 1120px);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .metric-row,
  .feature-grid,
  .team-grid,
  .ai-list {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .team-card {
    min-height: auto;
  }

  .origin-mark {
    min-height: 220px;
  }

  .origin-mark img {
    width: 150px;
  }

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

  .footer-brand,
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .js .reveal .reveal-child,
  .js .reveal > .section-inner {
    opacity: 1;
    transform: none;
  }
}
