:root {
  --cream: #f5f0e6;
  --cream-2: #eee6d8;
  --forest: #163c2c;
  --forest-soft: #315c49;
  --gold: #a77b38;
  --gold-soft: #c8a66a;
  --ink: #233128;
  --dating: #a64f3f;
  --dating-deep: #7f352f;
  --dating-paper: #f8e8d9;
  --borough-berry: #702b3a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 6rem;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.72), transparent 33rem),
    linear-gradient(rgba(245, 240, 230, 0.96), rgba(245, 240, 230, 0.96)),
    repeating-linear-gradient(
      0deg,
      rgba(94, 73, 43, 0.025) 0 1px,
      transparent 1px 4px
    );
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 300;
  line-height: 1.8;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  color: #fff8ee;
  background: var(--forest);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem clamp(1.25rem, 5vw, 5rem);
  background: rgba(245, 240, 230, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(167, 123, 56, 0.18);
}

.wordmark {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(1rem, 3vw, 2.4rem);
}

nav a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover,
.text-link:hover {
  color: var(--gold);
}

.hero {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}

.hero-logo {
  width: min(360px, 60vw);
  height: auto;
  display: block;
  margin: 0 auto 1.7rem;
  mix-blend-mode: multiply;
}

.hero-ornament {
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-size: 0.8rem;
}

h1,
h2,
.lead,
.dating-deck {
  font-family: Georgia, "Times New Roman", serif;
}

h1,
h2,
.lead {
  color: var(--forest);
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.06;
}

.hero-copy {
  max-width: 700px;
  margin: 1.5rem auto 1rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.text-link {
  margin-top: 0.7rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.ornate-divider {
  max-width: 700px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  color: var(--gold);
}

.ornate-divider span {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft));
}

.ornate-divider span:last-child {
  background: linear-gradient(90deg, var(--gold-soft), transparent);
}

.ornate-divider b {
  font-size: 1.2rem;
  font-weight: 400;
}

.section {
  padding: clamp(5rem, 9vw, 8rem) clamp(1.5rem, 6vw, 6rem);
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1;
}

.narrow {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.prose p {
  margin: 0 0 1.1rem;
}

.credentials-compact {
  padding: 1.8rem clamp(1.5rem, 6vw, 6rem) 2rem;
  border-top: 1px solid rgba(167, 123, 56, 0.26);
  background: rgba(255, 255, 255, 0.16);
  text-align: center;
}

.credentials-label {
  margin: 0 0 0.3rem;
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.credentials-list {
  margin: 0;
  color: #607066;
  font-size: 0.9rem;
  line-height: 1.65;
}

.credentials-separator {
  padding: 0 0.65rem;
  color: var(--gold-soft);
}

.dating-section {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 229, 198, 0.18), transparent 29rem),
    radial-gradient(circle at 92% 100%, rgba(90, 28, 25, 0.24), transparent 32rem),
    var(--dating);
  text-align: left;
}

.dating-section::after {
  content: "50";
  position: absolute;
  right: -0.03em;
  bottom: -0.42em;
  color: rgba(255, 245, 230, 0.06);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18rem, 34vw, 36rem);
  line-height: 1;
  pointer-events: none;
}

.dating-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(290px, 0.82fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}

.eyebrow-on-color {
  color: var(--cream);
  opacity: 0.9;
}

.dating-section h2 {
  margin-bottom: 0.8rem;
  color: #fff8ee;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  letter-spacing: -0.035em;
}

.dating-deck {
  margin: 0 0 1.75rem;
  color: #fff8ee;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  line-height: 1.22;
}

.dating-promise {
  max-width: 660px;
  margin: 0;
  color: #fff8ee;
  font-size: clamp(1.02rem, 1.5vw, 1.14rem);
  line-height: 1.85;
}

.dating-actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  align-items: center;
}

.project-status {
  color: #fff8ee;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.dating-button {
  padding: 0.85rem 1.2rem;
  border: 1px solid rgba(255, 248, 238, 0.78);
  color: var(--forest);
  background: var(--dating-paper);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease;
}

.dating-button:hover {
  background: #fff8ee;
  transform: translateY(-2px);
}

.dating-note {
  margin: 0.7rem 0 0;
  color: #fff8ee;
  font-size: 0.84rem;
  opacity: 0.86;
}

.dating-cover-frame {
  position: relative;
  z-index: 1;
  width: min(390px, 100%);
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(255, 248, 238, 0.72);
  outline: 1px solid rgba(255, 248, 238, 0.32);
  outline-offset: -6px;
  background: rgba(248, 232, 217, 0.12);
  box-shadow: 0 30px 70px rgba(73, 20, 20, 0.3);
}

.dating-cover {
  display: block;
  width: 100%;
  height: auto;
}

.works {
  position: relative;
  overflow: hidden;
  color: #f5efe4;
  background: var(--forest);
  text-align: left;
}

.works::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 85% 20%,
    rgba(200, 166, 106, 0.13),
    transparent 24rem
  );
}

.works-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}

.works h2,
.works .lead {
  color: #f6f0e5;
}

.works h2 {
  margin-bottom: 0.8rem;
}

.lead {
  margin-top: 0;
  font-size: 1.55rem;
  line-height: 1.25;
}

.works p {
  max-width: 650px;
}

.naturalist-note {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(200, 166, 106, 0.45);
}

.naturalist-note p:not(.eyebrow) {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-style: italic;
}

.field-note {
  margin-top: 2.5rem;
}

.field-note p:not(.eyebrow) {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

.works-mark {
  display: flex;
  justify-content: center;
}

.borough-feature {
  position: relative;
  width: min(430px, 100%);
  padding: 14px 12px 15px;
  overflow: hidden;
  border: 1px solid var(--gold-soft);
  outline: 1px solid rgba(200, 166, 106, 0.42);
  outline-offset: -7px;
  background: var(--borough-berry);
  text-align: center;
}

.borough-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 72% 52%,
    rgba(55, 18, 27, 0.28),
    transparent 45%
  );
  pointer-events: none;
}

.borough-feature-heading {
  position: relative;
  margin: 7px 0 11px;
}

.borough-feature-heading span {
  display: block;
  color: #ffdd83;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.borough-feature-heading strong {
  display: block;
  margin-top: 3px;
  color: #fff9ed;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  font-weight: 500;
  line-height: 1;
}

.borough-image-window {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

.borough-ensemble {
  display: block;
  width: 112%;
  max-width: none;
  height: auto;
  margin-left: -6%;
}

.borough-feature-copy {
  position: relative;
  max-width: 32ch;
  margin: 11px auto 3px;
  color: #fff8e8;
  font-family: Georgia, "Times New Roman", serif;
}

.borough-feature-status {
  position: relative;
  display: inline-block;
  margin: 7px 0 5px;
  padding: 8px 0 3px;
  color: #ffdd83;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.borough-link {
  position: relative;
  display: block;
  width: fit-content;
  margin: 9px auto 5px;
  color: #fff9ed;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.borough-link:hover {
  color: #ffdd83;
}

.borough-link-disabled {
  color: #e8c66d;
  cursor: default;
}

.desk {
  background: rgba(255, 255, 255, 0.25);
}

.desk a {
  text-decoration-color: var(--gold-soft);
  text-underline-offset: 0.2em;
}

.media {
  background: var(--cream-2);
}

.media-card {
  max-width: 930px;
  margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 4.5rem) clamp(1.4rem, 6vw, 4rem);
  border: 1px solid rgba(167, 123, 56, 0.48);
  outline: 1px solid rgba(167, 123, 56, 0.2);
  outline-offset: -8px;
  background: rgba(255, 255, 255, 0.27);
}

.media-card h2 {
  font-size: clamp(2.35rem, 5vw, 3.75rem);
}

.media-button {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--forest);
  color: #fff8ee;
  background: var(--forest);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease;
}

.media-button:hover {
  background: var(--forest-soft);
  transform: translateY(-2px);
}

.contact .ornament {
  margin-bottom: 1rem;
  color: var(--gold);
}

.signup-button {
  display: inline-block;
  margin: 1.2rem auto 0.5rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--forest);
  border-radius: 0;
  color: #fff7e9;
  background: var(--forest);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease;
}

.signup-button:hover {
  background: var(--forest-soft);
  transform: translateY(-2px);
}

.quiet {
  color: var(--forest-soft);
  font-size: 0.9rem;
}

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

footer {
  padding: 2rem 1.5rem 3rem;
  color: #607066;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-align: center;
}

.footer-rule {
  width: 90px;
  height: 1px;
  margin: 0 auto 1.5rem;
  background: var(--gold-soft);
}

@media (max-width: 860px) {
  .dating-inner,
  .works-inner {
    grid-template-columns: 1fr;
  }

  .dating-section,
  .works {
    text-align: center;
  }

  .dating-promise,
  .works p {
    margin-right: auto;
    margin-left: auto;
  }

  .dating-actions {
    justify-content: center;
  }

  .dating-cover-frame {
    width: min(460px, 100%);
    margin: 0 auto;
  }

  .hero {
    min-height: 70vh;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.65rem;
  }

  nav a {
    font-size: 0.59rem;
    letter-spacing: 0.11em;
  }

  .credential-item {
    display: block;
  }

  .credentials-separator {
    display: none;
  }

  .hero-logo {
    width: min(92vw, 100%);
  }

  .dating-section h2 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .dating-cover-frame {
    width: min(390px, 94%);
  }

  .signup-button {
    width: min(100%, 330px);
  }
}

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

  .dating-button {
    transition: none;
  }

  .media-button,
  .signup-button {
    transition: none;
  }
}
