/* Remasys theme — values measured from https://www.remasys.com/ */
:root {
  --navy: #150958;          /* header, overlays */
  --accent: #71cfeb;        /* cyan accent, icons, separators */
  --charcoal: #303133;      /* headings, dark buttons */
  --muted: #777777;         /* body copy on light */
  --bg: #f7f7f7;            /* page background */
  --grey: #eaeaea;          /* alternating section background */
  --footer: #1b1d1f;
  --footer-bottom: #141618;
  --submenu: #141618;
  --white: #ffffff;
  --serif: "Merriweather", Georgia, serif;
  --sans: "Open Sans", Helvetica, Arial, sans-serif;
  --container: 1200px;
  --pad-1: 36px;
  --pad-3: 108px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: #000;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 400; color: var(--charcoal); }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-1); }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.bg-grey { background: var(--grey); }
.bg-white { background: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 72px;
  line-height: 1.2;
  color: var(--white);
}
.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 48px;
  line-height: 1.2;
  text-align: center;
}
.section-title.left { text-align: left; }
.section-title.light, .lead.light { color: var(--white); }
.lead { font-size: 36px; line-height: 1.2; text-align: center; }

.sep {
  width: 90px;
  border: 0;
  border-top: 2px solid var(--accent);
  margin: 27px auto 30px;
}
.sep-light { border-top-color: var(--white); }
.eagle .sep { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.5;
}
.btn-dark { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: transparent; color: var(--charcoal); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--charcoal); font-size: 14px; }
.btn-light:hover { background: transparent; color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled, .site-header.is-open {
  background: var(--navy);
  box-shadow: 0 1px 10px rgba(0, 0, 0, .15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 114px;
  padding: 0 36px;
  transition: height .3s;
}
.is-scrolled .header-inner { height: 80px; }
.logo img { height: 46px; width: auto; transition: height .3s; }
.is-scrolled .logo img { height: 40px; }

.main-nav > ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block;
  padding: 10px 14px;
  color: var(--white);
  font-size: 16px;
  letter-spacing: .05em;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { color: var(--accent); }

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  list-style: none;
  margin: 0;
  padding: 18px 0;
  background: var(--submenu);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 6px 24px; color: rgba(255, 255, 255, .8); font-size: 14px; line-height: 1.5; }
.sub-menu a:hover { color: var(--white); }

.search-btn, .burger, .search-close {
  background: none; border: 0; color: var(--white); cursor: pointer; padding: 10px 14px; display: flex;
}
.search-btn:hover { color: var(--accent); }
.burger { display: none; }
.site-header.is-open { bottom: 0; overflow-y: auto; }

.search-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(21, 9, 88, .96);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.search-overlay form { width: 100%; max-width: 760px; }
.search-overlay input {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .35);
  color: var(--white); font: 300 44px var(--serif); padding: 12px 0; outline: none;
}
.search-close { position: absolute; top: 28px; right: 28px; }

.mobile-nav { padding: 8px 24px 28px; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mobile-row a { color: var(--white); font-size: 16px; padding: 12px 0; display: block; flex: 1; }
.mobile-row button { background: none; border: 0; color: var(--white); padding: 10px; cursor: pointer; transition: transform .2s; }
.mobile-row button.rot { transform: rotate(180deg); }
.mobile-sub { padding: 6px 0 10px 14px !important; }
.mobile-sub a { display: block; color: rgba(255, 255, 255, .75); padding: 6px 0; font-size: 14px; line-height: 1.5; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 150px 0 120px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, #71cfeb, #150958 80%);
  opacity: .88;
}
.hero-content { position: relative; max-width: 1080px; }
.hero-sub { color: var(--white); font-size: 48px; line-height: 1.2; margin: 36px 0 30px; }
.hero-body { font-size: 17px; line-height: 1.75; max-width: 1000px; margin: 0 auto; }

/* ---------- Showcase ---------- */
.showcase { padding: 0 0 72px; }
.showcase img { max-width: 1008px; width: 100%; margin: 0 auto; }

/* ---------- Why partner ---------- */
.why { padding: var(--pad-3) 0; }
.narrow-head { max-width: 900px; margin-left: auto; margin-right: auto; }
.why .lead { margin-bottom: 72px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 54px 72px;
  max-width: 1128px;
}
.why-item h4 { font-size: 24px; margin: 18px 0 8px; }
.why-item p { font-size: 17px; line-height: 1.75; color: var(--muted); }
.why-item strong { color: #000; font-weight: 600; }

/* ---------- Capability ---------- */
.capability, .contact {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: var(--pad-3) 0;
  color: var(--white);
}
.capability-overlay { position: absolute; inset: 0; background: var(--navy); opacity: .9; }
.capability-inner, .contact-inner { position: relative; }
.capability .lead { margin-bottom: 72px; }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.cap-head { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.cap-icon {
  flex: 0 0 56px; width: 56px; height: 56px;
  border: 1px solid rgba(255, 255, 255, .9); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.cap-item h3 { color: var(--white); font-size: 24px; line-height: 1.3; }
.cap-item p { font-size: 17px; line-height: 1.75; padding-left: 74px; color: var(--white); }

/* ---------- Eagle-i ---------- */
.eagle { padding: var(--pad-3) 0; }
.eagle-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.eagle-grid > *, .why-grid > *, .cases-grid > *, .cap-grid > * { min-width: 0; }
.eagle-media img { width: 100%; max-width: 414px; margin: 0 auto; }
.eagle-intro { font-size: 24px; line-height: 1.2; margin-bottom: 24px; }
.checks { list-style: none; padding: 0; margin: 0 0 36px; }
.checks li { overflow-wrap: anywhere; display: flex; gap: 12px; font-size: 15px; line-height: 1.75; color: var(--muted); margin-bottom: 4px; }
.checks svg { flex: 0 0 auto; margin-top: 5px; }
.eagle-quote { font-size: 24px; margin-bottom: 14px; }
.eagle .muted { font-size: 17px; line-height: 1.75; }
.eagle-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 36px; }
.eagle-feature h3 { font-size: 16px; line-height: 1.5; margin-top: 14px; }

/* ---------- Case studies ---------- */
.cases { padding: var(--pad-3) 0; }
.cases .narrow-head { margin-bottom: 36px; }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.case-card {
  background: var(--white);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, .18);
  display: flex; flex-direction: column;
}
.case-media { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.case-overlay { position: absolute; inset: 0; background: #141618; opacity: 0; transition: opacity .3s; }
.case-media:hover .case-overlay { opacity: .5; }
.case-media:hover img { transform: scale(1.05); }
.case-body { padding: 36px; display: flex; flex-direction: column; flex: 1; }
.case-body h4 { font-size: 24px; line-height: 1.2; }
.case-body h4 a:hover { color: var(--accent); }
.case-sep { border: 0; border-top: 1px solid #eaeaea; margin: 18px 0; }
.case-body p { font-size: 14px; line-height: 1.75; color: var(--muted); margin-bottom: 27px; flex: 1; }
.case-body .btn { align-self: flex-start; }

/* ---------- Contact ---------- */
.contact .narrow-head { margin-bottom: 18px; }
.contact-form { max-width: 1128px; margin: 0 auto; display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid #cccccc;
  color: var(--white);
  font: 400 14px var(--sans);
  padding: 10px 12px;
  border-radius: 0;
  outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form ::placeholder { color: rgba(255, 255, 255, .85); }
.contact-form textarea { resize: vertical; min-height: 160px; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
.form-note { font-size: 14px; color: var(--accent); }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: var(--white); position: relative; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 36px;
  padding-top: 36px;
  padding-bottom: 36px;
}
.footer-logo img { height: 46px; width: auto; }
.footer-col { display: flex; gap: 18px; align-items: flex-start; }
.footer-col.stack { flex-direction: column; gap: 18px; }
.footer-col h5 { color: var(--white); font-size: 24px; line-height: 1.2; margin-bottom: 8px; }
.footer-col p { font-size: 13px; line-height: 1.75; color: rgba(255, 255, 255, .85); }
.footer-col a:hover { color: var(--accent); }
.li-icon {
  width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--footer);
  display: flex; align-items: center; justify-content: center; flex: 0 0 28px;
}
.li-icon:hover { color: var(--footer) !important; opacity: .85; }
.footer-bottom { background: var(--footer-bottom); font-size: 13px; padding: 26px 0; color: rgba(255, 255, 255, .85); }

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 34px; height: 34px; border-radius: 2px;
  background: rgba(48, 49, 51, .85); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Reveal animations ---------- */
.reveal { transition: opacity .8s ease, transform .8s ease; }
.reveal-up { opacity: 0; transform: translateY(40px); }
.reveal-zoom { opacity: 0; transform: scale(.85); }
.reveal-left { opacity: 0; transform: translateX(-40px); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .header-inner, .is-scrolled .header-inner { height: 80px; padding: 0 24px; }
  .logo img, .is-scrolled .logo img { height: 38px; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); gap: 54px 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --pad-3: 72px; }
  .display { font-size: 52px; }
  .hero-sub { font-size: 32px; }
  .section-title { font-size: 36px; }
  .lead { font-size: 26px; }
  .why-grid, .cases-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .eagle-grid { grid-template-columns: 1fr; gap: 54px; }
  .capability, .contact { background-attachment: scroll; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .header-inner, .is-scrolled .header-inner { padding: 0 16px; }
  .display { font-size: 42px; }
  .hero-sub { font-size: 26px; }
  .hero-body { font-size: 15px; }
  .section-title { font-size: 30px; }
  .lead { font-size: 22px; }
  .why-grid, .cases-grid, .cap-grid, .row2, .footer-grid, .eagle-features { grid-template-columns: 1fr; }
  .cap-item p { padding-left: 0; }
  .search-overlay input { font-size: 28px; }
}
