:root {
  --navy: #071426;
  --navy-soft: #0d1d32;
  --cream: #f4efe6;
  --cream-deep: #e8e0d3;
  --gold: #c5a35b;
  --gold-soft: #d6ba7b;
  --white: #ffffff;
  --ink: #101927;
  --muted: #647083;
  --header-height: 86px;
  --max-width: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: var(--white);
}

.header-inner {
  width: min(calc(100% - 64px), var(--max-width));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 232px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(255,255,255,.6);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  letter-spacing: .08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.brand-copy span {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  opacity: .72;
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 36px);
}

.primary-nav a {
  position: relative;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: rgba(255,255,255,.84);
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 1px;
  background: var(--gold-soft);
  transition: right .22s ease;
}

.primary-nav a:hover {
  color: var(--white);
}

.primary-nav a:hover::after {
  right: 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #111827;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  background: var(--gold-soft);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.32);
  background: transparent;
  color: white;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 860px;
  height: max(780px, 100svh);
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  left: 47%;
}

.hero-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(197,163,91,.11), transparent 45%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 1px, transparent 1px 24px),
    #16283d;
  border-left: 1px solid rgba(255,255,255,.08);
}

.hero-placeholder span {
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  color: rgba(255,255,255,.48);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7,20,38,1) 0%, rgba(7,20,38,.98) 38%, rgba(7,20,38,.68) 61%, rgba(7,20,38,.18) 100%),
    linear-gradient(180deg, rgba(7,20,38,.26), rgba(7,20,38,.55));
}

.hero-inner {
  position: relative;
  z-index: 5;
  width: min(calc(100% - 64px), var(--max-width));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 34px);
  padding-bottom: 70px;
}

.hero-copy {
  width: min(760px, 58vw);
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.eyebrow.dark {
  color: #7f6431;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 {
  margin: 0;
  max-width: 830px;
  font-size: clamp(64px, 7.6vw, 126px);
  line-height: .9;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.hero-text {
  max-width: 700px;
  margin: 34px 0 0;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.7;
  color: rgba(255,255,255,.77);
}

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

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

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

.button-primary {
  background: var(--gold);
  color: #101827;
}

.button-primary:hover {
  background: var(--gold-soft);
}

.button-secondary {
  border-color: rgba(255,255,255,.42);
  color: var(--white);
  background: rgba(7,20,38,.16);
  backdrop-filter: blur(6px);
}

.button-secondary:hover {
  border-color: rgba(255,255,255,.75);
  background: rgba(255,255,.08);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
  color: rgba(255,255,255,.48);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-note-line {
  width: 54px;
  height: 1px;
  background: var(--gold);
}

.next-section {
  background: var(--cream);
  padding: 110px 0 120px;
}

.section-shell {
  width: min(calc(100% - 64px), 1160px);
  margin: 0 auto;
}

.next-section h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(48px, 6vw, 86px);
  line-height: .98;
  letter-spacing: -.045em;
  color: var(--navy);
}

.next-section p:last-child {
  max-width: 680px;
  margin: 28px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
}

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

  .primary-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    grid-column: 3;
    justify-self: end;
  }

  .header-cta {
    grid-column: 4;
  }

  .primary-nav.is-open {
    display: flex;
    position: absolute;
    top: var(--header-height);
    left: 24px;
    right: 24px;
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: rgba(7,20,38,.98);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 24px 60px rgba(0,0,0,.22);
  }

  .primary-nav.is-open a {
    padding: 13px 4px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 74px;
  }

  .header-inner,
  .hero-inner,
  .section-shell {
    width: min(calc(100% - 36px), var(--max-width));
  }

  .header-inner {
    display: flex;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    margin-right: auto;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy span {
    font-size: 8px;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav.is-open {
    left: 18px;
    right: 18px;
  }

  .hero {
    min-height: 760px;
    height: auto;
  }

  .hero-media {
    inset: 43% 0 0;
  }

  .hero-placeholder {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7,20,38,1) 0%, rgba(7,20,38,.98) 47%, rgba(7,20,38,.72) 70%, rgba(7,20,38,.48) 100%);
  }

  .hero-inner {
    align-items: flex-start;
    min-height: 760px;
    padding-top: 148px;
    padding-bottom: 300px;
  }

  .hero-copy {
    width: 100%;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 9px;
    line-height: 1.55;
  }

  h1 {
    font-size: clamp(52px, 15vw, 76px);
  }

  .hero-text {
    margin-top: 26px;
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .button {
    width: 100%;
  }

  .hero-note {
    display: none;
  }

  .next-section {
    padding: 82px 0 92px;
  }
}

@media (max-width: 430px) {
  .brand-copy span {
    display: none;
  }

  .hero-inner {
    padding-top: 132px;
  }
}

/* ===== Full homepage sections ===== */

.support-section,
.industries-section,
.standard-section {
  background: var(--cream);
  padding: 120px 0;
}

.capabilities-section,
.deploy-section,
.request-section {
  background: var(--navy);
  color: var(--white);
  padding: 120px 0;
}

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

.section-heading h2 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(46px, 6vw, 84px);
  line-height: .98;
  letter-spacing: -.045em;
  color: var(--navy);
}

.section-heading > p,
.split-heading > p {
  max-width: 560px;
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 70px;
  align-items: end;
}

.support-grid,
.standard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(7,20,38,.14);
  border-bottom: 1px solid rgba(7,20,38,.14);
}

.support-item,
.standard-grid article {
  min-height: 330px;
  padding: 36px 28px 42px;
  border-right: 1px solid rgba(7,20,38,.14);
}

.support-item:first-child,
.standard-grid article:first-child {
  border-left: 1px solid rgba(7,20,38,.14);
}

.item-number {
  display: block;
  margin-bottom: 52px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  color: #8c7138;
}

.support-item h3,
.standard-grid h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--navy);
}

.support-item p,
.standard-grid p {
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.capabilities-section .section-heading h2,
.deploy-section .section-heading h2,
.request-section h2 {
  color: var(--white);
}

.capabilities-section .section-heading {
  max-width: 900px;
}

.capability-list {
  border-top: 1px solid rgba(255,255,255,.12);
}

.capability-row {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 560px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.capability-row.reverse .capability-image {
  order: 2;
}

.capability-row.reverse .capability-copy {
  order: 1;
}

.capability-image {
  min-height: 520px;
}

.placeholder-image {
  display: grid;
  place-items: center;
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(197,163,91,.1), transparent 42%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 1px, transparent 1px 26px),
    #16283d;
  color: rgba(255,255,25,.45);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}

.capability-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px clamp(36px, 6vw, 90px);
}

.capability-kicker {
  margin-bottom: 22px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.capability-copy h3 {
  margin: 0;
  max-width: 560px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4.4vw, 66px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.035em;
}

.capability-copy p {
  margin: 26px 0 0;
  max-width: 600px;
  color: rgba(255,255,255,.68);
  font-size: 16px;
  line-height: 1.75;
}

.capability-copy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr ));
  gap: 0 30px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.16);
}

.capability-copy li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
  color: rgba(255,255,25,.83);
}

.availability-note {
  margin: 30px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.industry-card {
  background: #fff;
  border: 1px solid rgba(7,20,38,.09);
}

.industry-image {
  min-height: 310px;
}

.industry-copy {
  padding: 28px 26px 32px;
}

.industry-copy h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
}

.industry-copy p {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.section-heading.on-dark {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr);
  gap: 70px;
  align-items: end;
}

.section-heading.on-dark h2 {
  color: var(--white);
}

.section-heading.on-dark > p:last-child {
  color: rgba(255,255,25,.58);
}

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,25,.16);
}

.deploy-grid article {
  min-height: 320px;
  padding: 34px 28px 40px;
  border-right: 1px solid rgba(255,255,255,.13);
}

.deploy-grid article:first-child {
  border-left: 1px solid rgba(255,255,255,.13);
}

.deploy-grid span {
  display: block;
  margin-bottom: 60px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.deploy-grid h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.deploy-grid p {
  margin: 18px 0 0;
  color: rgba(255,255,25,.62);
  font-size: 14px;
  line-height: 1.7;
}

.careers-section {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: #132238;
}

.careers-media {
  min-height: 690px;
}

.careers-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(40px, 7vw, 110px);
  color: var(--white);
}

.careers-panel h2 {
  margin: 0;
  max-width: 650px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 6vw, 88px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
}

.careers-panel p:not(.eyebrow) {
  max-width: 580px;
  margin: 28px 0 34px;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,.68);
}

.careers-panel .button {
  align-self: flex-start;
}

.request-section {
  text-align: center;
  padding: 130px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}

.request-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.request-section h2 {
  margin: 0;
  max-width: 980px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 7vw, 98px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.05em;
}

.request-section p:not(.eyebrow) {
  max-width: 700px;
  margin: 28px auto 34px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,25,.65);
}

.site-footer {
  background: #050d18;
  color: var(--white);
  padding: 80px 0 0;
}

.footer-shell {
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr .6fr .8fr;
  gap: 70px;
  padding-bottom: 70px;
}

.footer-brand > p {
  max-width: 500px;
  margin: 28px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,25,.52);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column h3 {
  margin: 0 0 10px;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.footer-column h3:not(:first-child) {
  margin-top: 24px;
}

.footer-column a,
.footer-column p {
  margin: 0;
  color: rgba(255,255,255,.64);
  font-size: 13px;
  line-height: 1.6;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.36);
  font-size: 10px;
  letter-spacing: .04em;
}

@media (max-width: 1100px) {
  .support-grid,
  .standard-grid,
  .deploy-grid,
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr ));
  }

  .capability-row {
    grid-template-columns: 1fr;
  }

  .capability-row.reverse .capability-image,
  .capability-row.reverse .capability-copy {
    order: initial;
  }

  .capability-image {
    min-height: 400px;
  }

  .careers-section {
    grid-template-columns: 1fr;
  }

  .careers-media {
    min-height: 460px;
  }
}

@media (max-width: 760px) {
  .support-section,
  .industries-section,
  .standard-section,
  .capabilities-section,
  .deploy-section {
    padding: 82px 0;
  }

  .split-heading,
  .section-heading.on-dark {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

  .section-heading h2 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .support-grid,
  .standard-grid,
  .deploy-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .support-item,
  .standard-grid article,
  .deploy-grid article {
    min-height: 0;
    border-left: 1px solid rgba(7,20,38,.14);
  }

  .deploy-grid article {
    border-left-color: rgba(255,255,255,.13);
  }

  .item-number,
  .deploy-grid span {
    margin-bottom: 28px;
  }

  .capability-copy {
    padding: 48px 20px 58px;
  }

  .capability-copy ul {
    grid-template-columns: 1fr;
  }

  .capability-image,
  .industry-image {
    min-height: 300px;
  }

  .careers-media {
    min-height: 360px;
  }

  .careers-panel {
    padding: 70px 20px 78px;
  }

  .careers-panel h2 {
    font-size: clamp(46px, 13vw, 68px);
  }

  .careers-panel .button {
    width: 100%;
  }

  .request-section {
    padding: 92px 0;
  }

  .request-section h2 {
    font-size: clamp(48px, 13vw, 70px);
  }

  .footer-shell {
    width: min(calc(100% - 36px), var(--max-width));
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-bottom {
    width: min(calc(100% - 36px), var(--max-width));
    flex-direction: column;
  }
}

/* Official Escoto's logo */
.brand-mark-logo {
  overflow: hidden;
  padding: 3px;
  background: rgba(255,255,255,.96);
  border-color: rgba(255,255,255,.35);
}

.brand-mark-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
