[data-logo] { --company-symbol: url("/assets/atlantic/keystone.svg"); }
[data-logo="tideline"] { --company-symbol: url("/assets/atlantic/tideline.svg"); }
[data-logo="meridian"] { --company-symbol: url("/assets/atlantic/meridian.svg"); }
[data-logo="exchange"] { --company-symbol: url("/assets/atlantic/exchange.svg"); }
[data-logo="quayside"] { --company-symbol: url("/assets/atlantic/quayside.svg"); }

.atlantic-mark,
.identity-card .identity-mark.atlantic-mark {
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  border: 0;
  background: currentColor;
  border-radius: 0;
  -webkit-mask: var(--company-symbol) center / contain no-repeat;
  mask: var(--company-symbol) center / contain no-repeat;
}
.masthead .brand { gap: .62rem; min-height: 2.9rem; color: #193c33; }
.brand .brand-words[data-atlantic] { display: grid; align-content: center; justify-items: start; gap: .19rem; }
.brand-words[data-atlantic] strong {
  font: 500 1.375rem/1 Georgia, 'Times New Roman', serif;
  letter-spacing: .095em;
  overflow-wrap: normal;
}
.brand-words[data-atlantic] small {
  font: 650 .65rem/1 'DM Sans', Arial, sans-serif;
  letter-spacing: .25em;
  white-space: nowrap;
  margin: 0;
}
.footer-brand-signature { flex: 0 0 auto; max-width: 100%; }
.footer-identity .brand { gap: .7rem; }
.footer-identity .atlantic-mark { color: #dfc491; }
.footer-identity .brand-words[data-atlantic] small { color: #d9ddca; }
.footer-identity .brand-since { margin: .85rem 0 0; color: #d4c5a8; font: italic .975rem/1.3 Georgia, serif; }
.footer-identity .brand-since[hidden] { display: none; }

.rail .atlantic-mark, .auth-box .atlantic-mark { color: #e5cb99; }
.rail .brand-name, .auth-box .brand-name {
  font: 500 1rem/1.25 Georgia, serif;
  letter-spacing: .065em;
}
.identity-card .identity-mark.atlantic-mark { width: 3.125rem; height: 3.125rem; color: #e5cb99; clip-path: none; }
fieldset.identity-options {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,6.2rem),1fr));
  gap: .55rem;
  padding: 0;
  margin: 0;
  border: 0;
  min-inline-size: 0;
}
.logo-legend, .identity-option > input[type="radio"] {
  width: 1px;
  height: 1px;
  position: absolute;
  clip-path: inset(50%);
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.identity-option {
  display: grid;
  min-height: 5.9rem;
  place-content: center;
  justify-items: center;
  position: relative;
  gap: .55rem;
  padding: .8rem .25rem;
  border: 1px solid #486064;
  border-radius: .45rem;
  background: #17272b;
  color: #dce6df;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 600;
}
.identity-option .atlantic-mark { width: 1.95rem; height: 1.95rem; }
.identity-option:hover { border-color: #d2be91; }
.identity-option:has(input:checked) { color: #f4ddb1; border-color: #ddc28b; background: #324040; box-shadow: inset 0 0 0 1px #ddc28b; }
.identity-option:has(input:focus-visible) { outline: 3px solid #fff1d1; outline-offset: 2px; }
@media (max-width: 700px) {
  .footer-identity .brand-since { margin-block: .4rem .15rem; }
}
@media (max-width: 420px) {
  .masthead .brand { gap: .45rem; }
  .masthead .atlantic-mark { width: 2.125rem; height: 2.125rem; }
  .masthead .brand-words[data-atlantic] strong { font-size: 1.125rem; }
  .masthead .brand-words[data-atlantic] small { font-size: .575rem; }
}
@media (forced-colors: active) {
  .atlantic-mark, .identity-card .identity-mark.atlantic-mark { background-color: CanvasText; forced-color-adjust: none; }
}
.mast-inner > .brand:has(.brand-words[data-atlantic]) {
  flex: 0 0 auto;
  max-width: none;
}
@media (min-width: 981px) and (max-width: 1090px) {
  .mast-inner { width: calc(100% - 2rem); gap: .65rem; }
  .masthead .brand { gap: .45rem; }
  .masthead .atlantic-mark { width: 2.125rem; height: 2.125rem; }
  .masthead .brand-words[data-atlantic] strong { font-size: 1.125rem; }
  .masthead .brand-words[data-atlantic] small { font-size: .575rem; }
  .mast-inner .primary-nav { gap: .65rem; }
  .mast-inner .mast-actions { gap: .5rem; }
}
@media (max-width: 350px) {
  .mast-inner { width: calc(100% - 1.25rem); }
}
