:root {
  --slate: #202b31;
  --navy: #1f3a4d;
  --navy-deep: #122c3a;
  --navy-soft: #31566b;
  --ice: #8bbfcc;
  --pale: #d8e1e6;
  --pale-soft: #eff4f6;
  --teal: #3faf7d;
  --teal-dark: #23845b;
  --white: #ffffff;
  --text: #26343b;
  --muted: #64747d;
  --line: rgba(31, 58, 77, 0.14);
  --shadow: 0 24px 70px rgba(17, 44, 58, 0.13);
  --radius-lg: 34px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 118px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid rgba(31, 58, 77, 0.08);
}

.contact-bar {
  color: var(--navy);
  background: var(--pale-soft);
  border-bottom: 1px solid rgba(31, 58, 77, 0.08);
}

.contact-bar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}

.contact-prompt {
  color: var(--muted);
}

.contact-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 800;
}

.contact-links a:hover {
  color: var(--teal-dark);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 17px;
  min-width: 0;
}

.site-name {
  display: flex;
  flex-direction: column;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-name strong {
  margin-top: 4px;
  font-size: 18px;
  letter-spacing: -0.025em;
  text-transform: none;
}

.brand-divider {
  width: 1px;
  height: 34px;
  background: var(--line);
}

.ichthus-logo-crop {
  position: relative;
  width: 132px;
  aspect-ratio: 4.28;
  overflow: hidden;
  display: block;
}

.ichthus-logo-crop img {
  position: absolute;
  top: -126%;
  left: -4.8%;
  width: 110.2%;
  height: auto;
  max-width: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav > a:not(.nav-cta) {
  transition: color 160ms ease;
}

.desktop-nav > a:not(.nav-cta):hover {
  color: var(--teal-dark);
}

.nav-cta,
.mobile-cta {
  padding: 12px 18px;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
}

.mobile-cta {
  display: none;
  font-size: 13px;
  font-weight: 800;
}

.hero {
  position: relative;
  scroll-margin-top: 126px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 10%, rgba(139, 191, 204, 0.24), transparent 34%),
    linear-gradient(128deg, #132d3b 0%, #1d4052 58%, #294f61 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(to top, rgba(8, 29, 39, 0.22), transparent);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border: 1px solid rgba(139, 191, 204, 0.17);
  border-radius: 50%;
}

.hero-glow-one {
  width: 520px;
  height: 520px;
  top: -300px;
  left: -170px;
}

.hero-glow-two {
  width: 390px;
  height: 390px;
  right: -180px;
  bottom: -230px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 690px;
  padding: 72px 0 92px;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 72px;
}

.intro-label {
  margin: 0 0 20px;
  color: #79d1a7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.intro-label-dark {
  color: var(--teal-dark);
}

.intro-label-light {
  color: rgba(255, 255, 255, 0.74);
}

.hero h1,
.section h2,
.closing-section h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.026em;
  line-height: 1.06;
}

.hero h1 {
  max-width: 580px;
  font-size: clamp(54px, 5.25vw, 78px);
}

.hero-lead {
  max-width: 570px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.79);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 23px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: #102d3a;
  background: #70d09f;
}

.button-primary:hover {
  background: #89ddb1;
}

.button-quiet {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.button-quiet:hover {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.1);
}

.hero-trust {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  font-weight: 700;
}

.trust-mark {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: var(--navy-deep);
  background: var(--ice);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.97;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 48% 48% 26px 26px;
  background: var(--ice);
  box-shadow: 0 40px 90px rgba(5, 23, 31, 0.35);
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(9, 34, 45, 0.25));
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
}

.hero-message-card {
  position: absolute;
  left: -58px;
  bottom: 34px;
  width: min(350px, 76%);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.message-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font-size: 20px;
}

.hero-message-card p {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
}

.hero-message-card div span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.proof-strip {
  position: relative;
  z-index: 5;
  margin-top: -1px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

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

.proof-item {
  min-height: 128px;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  gap: 21px;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-number {
  color: var(--teal-dark);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.proof-item div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proof-item strong {
  color: var(--navy);
  font-size: 19px;
  line-height: 1.2;
}

.proof-item div span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.people-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 92px;
}

.section h2 {
  color: var(--navy);
  font-size: clamp(42px, 4.5vw, 64px);
}

.section-heading > p:not(.intro-label) {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.text-link {
  margin-top: 28px;
  display: inline-flex;
  gap: 9px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
}

.visitor-path {
  position: relative;
  display: grid;
  gap: 14px;
}

.visitor-path::before {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: 30px;
  width: 1px;
  background: var(--line);
}

.path-card {
  position: relative;
  min-height: 132px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 20px;
  background: var(--pale-soft);
  border: 1px solid rgba(31, 58, 77, 0.08);
  border-radius: var(--radius-md);
}

.path-card-featured {
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow);
  transform: translateX(-18px);
}

.path-number {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 900;
}

.path-card-featured .path-number {
  color: var(--navy-deep);
  background: var(--teal);
  border-color: transparent;
}

.path-card h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 21px;
}

.path-card-featured h3 {
  color: var(--white);
}

.path-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.path-card-featured p {
  color: rgba(255, 255, 255, 0.7);
}

.services-section {
  background: linear-gradient(145deg, #f2f6f7, #e7eff1);
}

.services-heading,
.work-heading,
.closing-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: end;
  gap: 80px;
}

.services-heading > p,
.work-heading > p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.service-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 262px;
  padding: 30px 27px;
  background: var(--white);
  border: 1px solid rgba(31, 58, 77, 0.08);
  border-radius: var(--radius-md);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(22, 54, 71, 0.11);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  background: rgba(63, 175, 125, 0.12);
  border-radius: 50%;
  font-size: 20px;
}

.service-card h3 {
  margin: 32px 0 12px;
  color: var(--navy);
  font-size: 20px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.services-action {
  margin-top: 36px;
  display: flex;
  justify-content: flex-end;
}

.button-dark {
  color: var(--white);
  background: var(--navy);
}

.work-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--slate);
}

.work-section h2 {
  color: var(--white);
}

.work-heading > p {
  color: rgba(255, 255, 255, 0.63);
}

.work-orbit {
  position: absolute;
  border: 1px solid rgba(139, 191, 204, 0.1);
  border-radius: 50%;
}

.work-orbit-one {
  width: 560px;
  height: 560px;
  top: -330px;
  right: -210px;
}

.work-orbit-two {
  width: 320px;
  height: 320px;
  left: -210px;
  bottom: -120px;
}

.project-grid {
  position: relative;
  z-index: 2;
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-card {
  overflow: hidden;
  background: #2c3a41;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
}

.browser-preview {
  margin: 18px 18px 0;
  overflow: hidden;
  aspect-ratio: 1.28;
  color: var(--white);
  background: #3f8e8d;
  border-radius: 12px 12px 5px 5px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.project-blue .browser-preview {
  background: #466c83;
}

.project-gold .browser-preview {
  background: #977c58;
}

.browser-bar {
  height: 26px;
  padding-left: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.92);
}

.browser-bar i {
  width: 5px;
  height: 5px;
  background: rgba(31, 58, 77, 0.24);
  border-radius: 50%;
}

.preview-stage {
  position: relative;
  height: calc(100% - 26px);
  padding: 29px 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background:
    linear-gradient(120deg, rgba(8, 33, 43, 0.2), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.18), transparent 28%);
}

.preview-stage::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -24px;
  bottom: -32px;
  border: 24px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.preview-kicker {
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.preview-stage strong {
  margin: 10px 0 14px;
  font-size: clamp(22px, 2.2vw, 35px);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.preview-button {
  padding: 7px 10px;
  color: var(--navy-deep);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.project-info {
  padding: 24px 23px 27px;
}

.project-info span {
  color: var(--ice);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-info h3 {
  margin: 8px 0 0;
  color: var(--white);
  font-size: 18px;
  line-height: 1.35;
}

.work-action {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: transparent;
}

.button-outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

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

.legacy-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: 100px;
}

.legacy-year {
  position: relative;
  min-height: 260px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: var(--pale-soft);
  border: 1px solid var(--line);
  border-radius: 46% 46% 22px 22px;
}

.legacy-year::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(63, 175, 125, 0.27);
  border-radius: inherit;
}

.legacy-year span {
  position: relative;
  z-index: 2;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.legacy-year strong {
  position: relative;
  z-index: 2;
  margin-top: 6px;
  font-size: clamp(54px, 6vw, 82px);
  letter-spacing: -0.065em;
}

.legacy-copy p:not(.intro-label) {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.closing-section {
  padding: 94px 0;
  color: var(--white);
  background: linear-gradient(120deg, #2d9c6c, #43b883);
}

.closing-section h2 {
  max-width: 690px;
  font-size: clamp(40px, 4.8vw, 64px);
}

.closing-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.closing-action p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.6;
}

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

.site-footer {
  padding: 48px 0;
  color: var(--navy);
  background: var(--white);
}

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

.footer-inner > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-inner strong {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.footer-inner span,
.footer-links {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
}

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

@media (max-width: 1050px) {
  .desktop-nav {
    gap: 18px;
  }

  .desktop-nav > a:not(.nav-cta) {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
  }

  .hero-message-card {
    left: -25px;
  }

  .people-grid,
  .legacy-grid {
    gap: 54px;
  }

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

@media (max-width: 780px) {
  .hero {
    scroll-margin-top: 112px;
  }

  .shell {
    width: min(100% - 34px, 650px);
  }

  .section {
    padding: 82px 0;
  }

  .header-inner {
    min-height: 74px;
  }

  .contact-bar-inner {
    min-height: 38px;
    justify-content: center;
    font-size: 13px;
  }

  .contact-prompt {
    display: none;
  }

  .contact-links {
    width: 100%;
    justify-content: center;
    gap: 18px;
  }

  .brand-divider,
  .ichthus-logo-crop,
  .desktop-nav {
    display: none;
  }

  .mobile-cta {
    display: inline-flex;
  }

  .site-name strong {
    font-size: 17px;
  }

  .hero-grid {
    min-height: 0;
    padding: 66px 0 80px;
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 68px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .photo-frame {
    aspect-ratio: 1.05;
    border-radius: 46% 46% 22px 22px;
  }

  .hero-message-card {
    left: 18px;
    right: 18px;
    bottom: -22px;
    width: auto;
  }

  .proof-grid,
  .people-grid,
  .services-heading,
  .work-heading,
  .legacy-grid,
  .closing-grid {
    grid-template-columns: 1fr;
  }

  .proof-item {
    min-height: 104px;
    padding: 24px 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .people-grid,
  .legacy-grid,
  .services-heading,
  .work-heading,
  .closing-grid {
    gap: 44px;
  }

  .path-card-featured {
    transform: none;
  }

  .services-heading > p,
  .work-heading > p {
    max-width: 560px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .browser-preview {
    aspect-ratio: 1.5;
  }

  .preview-stage strong {
    font-size: clamp(28px, 8vw, 42px);
  }

  .legacy-year {
    min-height: 220px;
  }

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

  .footer-links {
    justify-content: flex-start;
    gap: 16px;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .hero-actions .button,
  .closing-action .button {
    width: 100%;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .services-action {
    justify-content: stretch;
  }

  .services-action .button,
  .work-action .button {
    width: 100%;
  }

  .path-card {
    padding: 22px;
    grid-template-columns: 44px 1fr;
  }

  .path-number {
    width: 44px;
    height: 44px;
    font-size: 14px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
