.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid #e4e8ec;
  backdrop-filter: blur(12px);
}

.header-inner,
.site-chrome-inner {
  width: 100%;
  margin: 0;
}

.header-inner {
  padding: 14px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 38px;
  flex: none;
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 7px;
  width: 30px;
  height: 24px;
  border: 3px solid #fff;
  border-radius: 6px;
  background: linear-gradient(135deg,#ffb13b,#f06d12);
  box-shadow: 0 3px 0 rgba(217,111,0,.35),0 0 0 2px #f28a18;
  transform: rotate(-8deg);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 1px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffd465;
  box-shadow: 0 0 0 3px rgba(255,212,101,.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .02em;
  color: #f07712;
}

.brand-sub {
  font-size: 11px;
  color: #667382;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
  color: #354251;
}

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

.nav a:hover,
.nav a[aria-current="page"] {
  color: #d96f00;
  text-decoration: none;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff3df;
  border: 1px solid #ffd2a1;
  color: #9a4d00;
  font-weight: 900;
}

.site-chrome-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #172330;
}

.site-chrome-auth-main {
  padding: 34px 80px 40px;
  background: linear-gradient(180deg,#fff7e9 0%,#fff 88%);
}

.site-chrome-main {
  flex: 1;
  padding: 48px 80px 64px;
  background: linear-gradient(180deg,#fff7e9 0%,#fff 88%);
}

.site-chrome-auth-main .container-tight {
  width: 100%;
}

.site-chrome-main .container-narrow {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}

.legacy-public-main {
  color: #22313f;
}

.legacy-hero {
  margin-bottom: 24px;
}

.legacy-kicker {
  margin: 0 0 6px;
  color: #d96f00;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.legacy-hero h1,
.legacy-section-title {
  margin: 0;
  color: #1f2f3d;
  line-height: 1.35;
  letter-spacing: 0;
}

.legacy-hero h1 {
  font-size: 34px;
}

.legacy-hero p:last-child {
  max-width: 760px;
  margin: 10px 0 0;
  color: #637282;
}

.legacy-section-title {
  margin: 32px 0 14px;
  font-size: 24px;
}

.legacy-card {
  border: 1px solid #e4e8ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(36,51,67,.06);
}

.legacy-card-body {
  padding: 24px;
}

.legacy-info-list {
  display: grid;
  grid-template-columns: 180px minmax(0,1fr);
  gap: 0;
  margin: 0;
  border: 1px solid #e4e8ec;
  border-radius: 8px;
  overflow: hidden;
}

.legacy-info-list dt,
.legacy-info-list dd {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid #e4e8ec;
}

.legacy-info-list dt {
  background: #fff0d8;
  color: #8a4b00;
  font-weight: 900;
}

.legacy-info-list dd {
  color: #354251;
}

.legacy-info-list dt:last-of-type,
.legacy-info-list dd:last-of-type {
  border-bottom: 0;
}

.legacy-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(170px,1fr));
  gap: 16px;
}

.legacy-photo-card {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid #e4e8ec;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(36,51,67,.05);
}

.legacy-photo-card:hover {
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(36,51,67,.1);
}

.legacy-photo-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: #f6f8fb;
}

.legacy-photo-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.legacy-photo-body {
  padding: 12px;
}

.legacy-photo-id {
  margin: 0 0 4px;
  color: #637282;
  font-size: 12px;
  font-weight: 800;
}

.legacy-photo-title {
  margin: 0;
  color: #263746;
  font-weight: 900;
  line-height: 1.45;
}

.legacy-image-frame {
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid #e4e8ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(36,51,67,.06);
}

.legacy-image-frame img {
  max-width: 100%;
  height: auto;
}

.legacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.legacy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #ffd2a1;
  border-radius: 8px;
  background: #fff3df;
  color: #9a4d00;
  font-weight: 900;
  text-decoration: none;
}

.legacy-button:hover {
  color: #7c3d00;
  text-decoration: none;
}

.legacy-empty {
  padding: 24px;
  border: 1px solid #e4e8ec;
  border-radius: 8px;
  background: #fff;
  color: #637282;
  text-align: center;
}

.site-footer {
  padding: 30px 80px;
  background: #172330;
  color: #d4dde5;
}

.footer-grid {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}

.site-footer address {
  font-style: normal;
  color: #d4dde5;
}

.copy {
  margin: 10px 0 0;
  color: #9dadbb;
  font-size: 12px;
}

.footer-links {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.footer-links a {
  color: #d4dde5;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 960px) {
  .header-inner {
    align-items: flex-start;
    padding: 14px 40px;
  }

  .nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

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

@media (max-width: 640px) {
  .header-inner {
    display: block;
    padding: 14px 20px;
  }

  .brand {
    margin-bottom: 12px;
  }

  .nav {
    justify-content: flex-start;
    font-size: 13px;
  }

  .header-contact {
    min-height: 34px;
    padding: 0 10px;
  }

  .site-chrome-auth-main {
    padding: 34px 16px 46px;
  }

  .site-chrome-main {
    padding: 34px 16px 46px;
  }

  .site-footer {
    padding: 34px 20px;
  }

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

  .legacy-hero h1 {
    font-size: 28px;
  }

  .legacy-info-list {
    display: block;
  }

  .legacy-info-list dt,
  .legacy-info-list dd {
    display: block;
    border-bottom: 0;
  }

  .legacy-info-list dd {
    border-bottom: 1px solid #e4e8ec;
  }

  .legacy-info-list dd:last-of-type {
    border-bottom: 0;
  }
}
