:root {
  color-scheme: light;
  --bg: #f7faf4;
  --text: #111111;
  --muted: #526052;
  --border: #cfd8cc;
  --line: #9aaa92;
  --leaf: #2f5d41;
  --accent: #ff5600;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 18%, rgba(47, 93, 65, 0.08), transparent 28%),
    linear-gradient(90deg, rgba(154, 170, 146, 0.18) 1px, transparent 1px),
    linear-gradient(180deg, rgba(154, 170, 146, 0.14) 1px, transparent 1px),
    var(--bg);
  background-size: 72px 72px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 48px 0;
}

.home {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 56px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  background: rgba(247, 250, 244, 0.84);
}

.admin-entry {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--text);
  border-radius: 4px;
  padding: 0 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.admin-entry:hover {
  transform: scale(1.08);
  color: var(--white);
  background: var(--text);
}

.home::before,
.home::after {
  position: absolute;
  width: 42px;
  height: 42px;
  border-color: var(--text);
  content: "";
  pointer-events: none;
}

.home::before {
  top: -8px;
  left: -8px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.home::after {
  right: -8px;
  bottom: -8px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.copy {
  display: grid;
  gap: 32px;
  justify-items: start;
  align-content: center;
  min-height: 500px;
}

.title-block {
  display: grid;
  gap: 20px;
}

.rule {
  width: min(220px, 52vw);
  height: 12px;
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--line);
}

h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(42px, 6.4vw, 82px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
  white-space: nowrap;
}

.title-block p {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.subscribe-form {
  width: min(100%, 520px);
  display: grid;
  gap: 12px;
}

.subscribe-form label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.subscribe-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
}

.subscribe-form .subscribe-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.5;
  cursor: pointer;
}

.subscribe-consent input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: #b53d00;
  cursor: pointer;
}

.unsubscribe-note {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
}

.unsubscribe-note a {
  color: inherit;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.subscribe-note:empty {
  display: none;
}

.subscribe-row input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--text);
  border-radius: 4px;
  padding: 0 14px;
  color: var(--text);
  background: var(--white);
  font: inherit;
  font-size: 16px;
}

.subscribe-row input::placeholder {
  color: var(--muted);
}

.subscribe-row .button {
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.subscribe-row .button:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.subscribe-note {
  min-height: 48px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.legal-links a,
.site-header a,
.document a {
  color: var(--text);
  text-underline-offset: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 216px;
  min-height: 48px;
  border: 1px solid var(--text);
  border-radius: 4px;
  padding: 0 16px;
  color: var(--white);
  background: var(--text);
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.document a.button {
  color: var(--white);
}

.button.secondary {
  color: var(--text);
  background: var(--white);
}

.button-line {
  width: 38px;
  height: 1px;
  background: currentColor;
}

.button:hover {
  transform: translateY(-2px);
  color: var(--text);
  background: var(--white);
}

.document a.button:hover {
  color: var(--text);
}

.button.secondary:hover {
  color: var(--white);
  background: var(--text);
}

.inline-button {
  width: fit-content;
  min-width: 0;
  text-decoration: none;
}

.bird-card {
  position: relative;
  margin: 0;
  min-height: 492px;
  border: 1px solid var(--text);
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
}

.bird-card::before {
  position: absolute;
  inset: 24px -20px -20px 24px;
  border: 1px solid var(--line);
  content: "";
  pointer-events: none;
  z-index: 0;
}

.bird-card::after {
  position: absolute;
  top: 28px;
  right: -34px;
  width: 68px;
  height: 1px;
  background: var(--text);
  content: "";
}

.bird-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 450px;
  min-width: 0;
  object-fit: cover;
  border-radius: 4px;
  object-position: 40% 60%;
}

.bird-card figcaption { position: relative; z-index: 1; margin-top: 10px; font-size: 11px; line-height: 1.4; color: var(--muted, #626260); }
.bird-card figcaption a { color: inherit; text-underline-offset: 2px; }

.document-page {
  background: var(--bg);
}

.site-header {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.site-mark {
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 15px;
}

.document-main {
  min-height: auto;
  display: block;
  padding: 48px 0 72px;
}

.document {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.document h1 {
  white-space: normal;
}

.lede {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.updated {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.document section {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.document h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.05;
}

.document p,
.document li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.document p {
  margin: 0 0 12px;
}

.document ul,
.document ol {
  margin: 0;
  padding-left: 22px;
}

.document li + li {
  margin-top: 8px;
}

.admin-page {
  background: var(--bg);
}

.admin-main {
  width: min(1120px, calc(100% - 32px));
  min-height: auto;
  margin: 0 auto;
  display: block;
  padding: 64px 0 88px;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 48px;
  align-items: end;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.admin-hero h1 {
  white-space: normal;
  font-size: clamp(52px, 8vw, 92px);
  letter-spacing: -0.04em;
}

.admin-hero .lede {
  margin-top: 0;
}

.directory-section {
  margin-top: 64px;
}

.directory-heading {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 22px;
}

.directory-number {
  padding-top: 8px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
}

.directory-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.directory-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.directory-card {
  display: flex;
  min-height: 186px;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.directory-card:hover {
  transform: translateY(-3px);
  border-color: var(--text);
  background: var(--white);
}

.directory-card-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.directory-card h3 {
  margin: 0;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.directory-card p {
  margin: 18px 0 24px;
  color: var(--muted);
  line-height: 1.55;
}

.directory-route {
  margin-top: auto;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.access-tag {
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 5px 7px;
  color: var(--muted);
  background: var(--bg);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.access-tag.protected {
  border-color: var(--text);
  color: var(--white);
  background: var(--text);
}

.directory-note {
  margin: 64px 0 0;
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.admin-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding: 24px 0 32px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .home {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 28px;
  }

  .copy {
    min-height: auto;
  }

  .bird-card {
    min-height: auto;
  }

  .bird-card img {
    height: min(58vw, 440px);
  }

  .admin-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .directory-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 425px) {
  main {
    width: min(100% - 20px, 1120px);
    padding: 28px 0;
  }

  .home {
    padding: 18px;
  }

  .admin-entry {
    top: 12px;
    right: 12px;
  }

  .bird-card::before {
    inset: 10px -10px -10px 10px;
  }

  .bird-card::after {
    display: none;
  }

  .bird-card img {
    height: 260px;
  }

  .subscribe-row {
    grid-template-columns: 1fr;
  }

  .subscribe-row .button {
    width: 100%;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    justify-content: flex-start;
  }

  .document-main {
    padding: 28px 0 48px;
  }

  .document {
    padding: 24px 18px;
  }

  .admin-main {
    width: min(100% - 20px, 1120px);
    padding: 40px 0 64px;
  }

  .admin-hero {
    gap: 28px;
    padding-bottom: 34px;
  }

  .directory-section {
    margin-top: 48px;
  }

  .directory-heading {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .directory-card {
    min-height: 170px;
    padding: 18px;
  }
}

.title-block h1 .aq-wordmark{width:min(520px,100%);height:auto}.site-mark .aq-wordmark{width:168px;height:auto}
