.portal-page {
  min-height: 100vh;
  background: #fafafa;
  color: #202624;
}

.portal-page *, .portal-page *::before, .portal-page *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.portal-shell {
  width: min(1160px, calc(100% - 80px));
  margin-inline: auto;
}

.portal-header {
  background: #000;
  border-bottom: 1px solid #3c4038;
}

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

.portal-brand { display: flex; align-items: center; gap: 16px; min-width: 0; text-decoration: none; }
.portal-brand-badge { display: grid; place-items: center; flex: 0 0 72px; width: 72px; height: 72px; border: 2px solid #d3b462; border-radius: 50%; background: #000; }
.portal-brand-emblem { display: block; width: 64px; height: 60px; background: #d3b462; mask: url('/portfolio/brand/battlefield-emblem-original.png') center / contain no-repeat; -webkit-mask: url('/portfolio/brand/battlefield-emblem-original.png') center / contain no-repeat; }
.portal-brand-copy { display: grid; gap: 5px; min-width: 0; }
.portal-brand-name { color: #d3b462; font-size: 20px; font-weight: 700; line-height: 1.1; text-transform: uppercase; }
.portal-brand-tagline { color: #eceee9; font-size: 13px; line-height: 1.4; }
.portal-signin { flex-shrink: 0; }

.portal-signin {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0 8px 16px;
  color: #eceee9;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.portal-signin:hover { color: #e4c46c; }

.portal-hero { position: relative; isolation: isolate; background: #26352b; }

.portal-hero-image { object-fit: cover; object-position: center 10%; z-index: -2; }

.portal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(9, 20, 14, .92), rgba(9, 20, 14, .58) 25%, transparent 57%);
}

.portal-hero-content {
  min-height: clamp(480px, 43vw, 700px);
  display: flex;
  align-items: flex-end;
  padding-block: 32px;
}

.portal-copy { max-width: 575px; }

.portal-copy .portal-eyebrow {
  margin: 0 0 12px;
  color: #ebd18c;
  font-size: 13px;
  font-weight: 700;
}

.portal-copy h1 {
  margin: 0;
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.04;
}

.portal-copy > p:last-child {
  max-width: 430px;
  margin: 14px 0 0;
  color: #f0f2ed;
  font-size: 16px;
  line-height: 1.65;
}

.portal-services { background: #fafafa; border-top: 4px solid #d3b462; }

.portal-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-block: 42px 46px;
}

.portal-service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding-right: 48px;
}

.portal-service + .portal-service {
  border-left: 1px solid #d9dfda;
  padding-left: 48px;
  padding-right: 0;
}

.portal-service-brand {
  margin: 0 0 12px;
  color: #59685e;
  font-size: 13px;
  font-weight: 700;
}

.portal-service h2 { margin: 0; color: #1d2c23; font-size: 29px; line-height: 1.2; }

.portal-service-description {
  max-width: 440px;
  margin: 16px 0 24px;
  color: #536057;
  font-size: 16px;
  line-height: 1.65;
}

.portal-service-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  margin-top: auto;
  color: #234d38;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #a3b5a9;
  text-underline-offset: 6px;
}

.portal-service-link:hover { color: #111; text-decoration-color: currentColor; }
.portal-page a:focus-visible { outline: 2px solid #b88b25; outline-offset: 5px; }

.portal-footer { padding-block: 22px; border-top: 1px solid #d9dfda; color: #617066; font-size: 12px; }

@media (max-width: 820px) {
  .portal-shell { width: calc(100% - 48px); }
  .portal-copy h1 { font-size: 42px; }
  .portal-service { padding-right: 24px; }
  .portal-service + .portal-service { padding-left: 24px; }
  .portal-service h2 { font-size: 25px; }
}

@media (max-width: 600px) {
  .portal-topline { min-height: 104px; gap: 12px; padding-block: 14px; }
  .portal-brand { gap: 10px; }
  .portal-brand-badge { flex-basis: 48px; width: 48px; height: 48px; }
  .portal-brand-emblem { width: 42px; height: 40px; }
  .portal-brand-name { font-size: 17px; }
  .portal-brand-tagline { font-size: 11px; }
  .portal-signin { padding-left: 0; }
  .portal-hero-image { position: relative; inset: auto; height: auto; aspect-ratio: 1672 / 941; object-fit: contain; }
  .portal-hero-content { min-height: 0; padding-block: 24px 28px; }
  .portal-copy h1 { font-size: 36px; }
  .portal-copy > p:last-child { font-size: 16px; max-width: 310px; }
  .portal-copy .portal-eyebrow { max-width: 260px; line-height: 1.6; }
  .portal-hero::before { display: none; }
  .portal-service-grid { grid-template-columns: 1fr; padding-block: 32px; }
  .portal-service { padding: 0 0 28px; }
  .portal-service + .portal-service { border-left: 0; border-top: 1px solid #d9dfda; padding: 28px 0 0; }
}

@media (max-width: 360px) {
  .portal-brand-name { font-size: 15.4px; }
  .portal-brand-tagline { font-size: 10px; }
}
