@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/source-serif-4-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/source-serif-4-latin-700.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-latin-700.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-700.woff2") format("woff2");
}

:root {
  --navy: #020e1b;
  --ink: #102033;
  --muted: #3d4c5f;
  --red: #e31b1e;
  --red-bright: #f23033;
  --link: #9e1218;
  --paper: #f0f6fb;
  --band-2: #dce4f0;
  --band-3: #fbe3e5;
  --band-4: #e1edfe;
  --band-5: #fbf4ea;
  --band-6: #e3f2ea;
  --band-7: #e8e6fe;
  --card: #ffffff;
  --line: #d5deea;
  --max: 1080px;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --shadow: 0 10px 28px rgba(16, 32, 51, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 5.5rem;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid #102033;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: #fff;
  color: var(--ink);
  padding: 0.55rem 0.9rem;
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

.new-tab {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
}

.hero picture,
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  object-fit: cover;
  object-position: center 38%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 14, 27, 0.94) 0%, rgba(2, 14, 27, 0.82) 36%, rgba(2, 14, 27, 0.5) 62%, rgba(2, 14, 27, 0.28) 100%),
    linear-gradient(180deg, rgba(2, 14, 27, 0.35), rgba(2, 14, 27, 0.05) 28%, rgba(2, 14, 27, 0.45));
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.2rem 1.25rem 3.25rem;
}

.hero :focus-visible,
.sticky-share:focus-visible {
  outline-color: #fff;
}

.site-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2.4rem;
}

.logo {
  margin: 0;
}

.logo a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.logo-aci {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.35rem;
  letter-spacing: 0.04em;
  line-height: 0.9;
}

.logo-rest {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.header-note {
  margin: 0.35rem 0 0;
  text-align: right;
  font-size: 0.92rem;
  line-height: 1.35;
}

.header-label {
  display: block;
  white-space: nowrap;
}

.hero-copy {
  max-width: 36rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0;
}

h1 {
  font-size: clamp(2.7rem, 8vw, 4.7rem);
  color: #fff;
}

.hero-kicker {
  margin: 0.45rem 0 0;
  color: var(--red-bright);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4.6vw, 2.55rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.lede,
.independence,
.hero-credit {
  max-width: 38rem;
}

.lede {
  margin: 1rem 0 0;
  font-size: 1.12rem;
}

.independence,
.hero-credit {
  margin: 0.7rem 0 0;
  color: #e7eef6;
}

.hero-view {
  color: #fff;
  font-weight: 700;
  text-underline-offset: 0.15em;
}

.button,
.sticky-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  min-height: 3.1rem;
  padding: 0.75rem 1.25rem;
  font-size: 1.25rem;
}

.button svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.hero-copy .button {
  margin-top: 1.35rem;
}

.band {
  padding: 2.6rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.section-num {
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  color: var(--navy);
}

.section-copy p {
  margin: 0 0 0.9rem;
}

.text-link {
  color: var(--link);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1.15rem;
}

.text-link::after {
  content: " →";
}

.band-1 { background: var(--paper); }
.band-2 { background: var(--band-2); }
.band-3 { background: var(--band-3); }
.band-4 { background: var(--band-4); }
.band-5 { background: var(--band-5); }
.band-6 { background: var(--band-6); }
.band-7,
.site-footer { background: var(--band-7); }

.agreement-slot,
.person-card,
.record-card,
.experience-card,
.doc-card {
  background: var(--card);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.agreement-slot {
  margin: 0;
  padding: 1.25rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.fee {
  margin: 0.4rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
}

.agreement-slot figcaption,
.slot-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.fact-list,
.record-fields {
  margin: 0 0 1rem;
}

.fact-list div,
.record-fields div {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-top: 1px solid var(--line);
}

.fact-list dt,
.record-fields dt {
  font-weight: 700;
}

.fact-list dd,
.record-fields dd {
  margin: 0;
}

.card-row {
  display: grid;
  gap: 0.85rem;
}

.person-card,
.record-card,
.experience-card {
  padding: 1rem 0.9rem 1.1rem;
  text-align: center;
}

.person-card h3,
.record-card h3,
.experience-card h3 {
  font-size: 1.2rem;
  margin-top: 0.35rem;
}

.person-card p,
.record-card p,
.experience-card p {
  margin: 0.35rem 0 0;
}

.avatar {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 0.4rem;
  border-radius: 50%;
  background: #d7e0ec;
  color: var(--navy);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
}

.avatar svg {
  width: 2rem;
  height: 2rem;
}

.record-fields {
  text-align: left;
  margin-top: 0.8rem;
}

.record-fields div {
  grid-template-columns: 1fr;
  gap: 0;
}

.gallery-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.45rem;
  align-items: center;
}

.gallery {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.35rem;
}

.doc-card {
  flex: 0 0 210px;
  scroll-snap-align: start;
  margin: 0;
  overflow: hidden;
}

.doc-placeholder {
  min-height: 140px;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(2, 14, 27, 0.08), rgba(2, 14, 27, 0.02)),
    #f7f9fc;
  text-align: center;
}

.doc-placeholder p,
.doc-card figcaption {
  margin: 0;
}

.doc-card figcaption {
  padding: 0.75rem 0.7rem 0.9rem;
  font-weight: 700;
  text-align: center;
}

.gallery-nav,
.viewer-bar button,
.experience-form button {
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 6px;
  min-height: 2.75rem;
  border: 2px solid var(--navy);
  background: #fff;
  color: var(--navy);
}

.gallery-dots {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  padding: 0;
  margin: 0.7rem 0 0;
  list-style: none;
  grid-column: 1 / -1;
}

.gallery-dots a {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--navy);
  text-indent: -999px;
  overflow: hidden;
}

.experience-card blockquote {
  margin: 0;
}

.experience-card blockquote::before {
  content: "“";
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  line-height: 0.8;
  color: var(--navy);
}

.experience-card blockquote p {
  font-size: 1.05rem;
}

.experience-card cite {
  font-style: normal;
  font-weight: 700;
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checks li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0.7rem 0;
  font-weight: 700;
}

.checks li::before {
  content: "";
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: #157a3a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.2 16.6 4.8 12.2l1.4-1.4 3 3 8-8 1.4 1.4z'/%3E%3C/svg%3E") center / 1rem no-repeat;
}

.experience-form {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  padding: 1rem;
}

.form-status {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--link);
  border-radius: 10px;
  background: #fff;
  font-weight: 700;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

input,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #8ea0b5;
  border-radius: 6px;
  padding: 0.65rem 0.7rem;
  min-height: 2.75rem;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.field-note {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.check-field {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.check-field input {
  width: 1.2rem;
  height: 1.2rem;
  min-height: 0;
}

.check-field label {
  margin: 0;
}

.experience-form button {
  margin-top: 1rem;
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 1.15rem;
  padding: 0.7rem 1.1rem;
}

.experience-form button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.resource-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.resource-list a,
.resource-note {
  width: 8.2rem;
  margin: 0;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
}

.monogram {
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  margin: 0 auto 0.45rem;
  border-radius: 50%;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.site-footer {
  color: var(--ink);
  padding: 0 1.25rem 2.4rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(16, 32, 51, 0.12);
}

.site-footer .logo a {
  color: var(--navy);
}

.site-footer p {
  margin: 0.35rem 0;
}

.sticky-share {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  width: auto;
  max-width: 12rem;
  min-height: 2.6rem;
  padding: 0.45rem 0.75rem;
  font-size: 1.05rem;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 8px 20px rgba(2, 14, 27, 0.28);
}

.sticky-share[hidden] {
  display: none;
}

.page-header,
.dedicated {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0 0 1rem;
  list-style: none;
}

dialog {
  width: min(960px, calc(100vw - 2rem));
  border: 0;
  border-radius: 12px;
  padding: 0;
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(2, 14, 27, 0.82);
}

.viewer-frame {
  padding: 0.8rem;
}

.viewer-frame img {
  width: 100%;
  height: auto;
  background: var(--navy);
}

.viewer-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.7rem 0;
}

@media (max-width: 720px) {
  .site-header,
  .header-note {
    text-align: left;
  }

  .site-header {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .header-label {
    white-space: normal;
  }

  .sticky-share {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }

  .fact-list div {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .resource-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }

  .resource-list a,
  .resource-note {
    width: 100%;
  }
}

@media (min-width: 860px) {
  .band {
    padding: 3.4rem 1.5rem;
  }

  .section-inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.15fr);
    gap: 2rem;
    align-items: center;
  }

  .card-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery {
    overflow: visible;
  }

  .doc-card {
    flex: 1 1 0;
    min-width: 0;
  }

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

  .form-span {
    grid-column: 1 / -1;
  }

  .experience-form {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sticky-share,
  .gallery {
    scroll-behavior: auto;
  }
}
