@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700;9..144,800&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --bg: #f3efe4;
  --surface: #fffaf0;
  --ink: #0c2f2e;
  --deep: #071e1d;
  --muted: #596a66;
  --blue: #1d6f86;
  --mist: #c7e1e7;
  --sage: #cbd8bd;
  --ochre: #f0b13f;
  --coral: #dc623f;
  --line: #d9d0bd;
  --shadow: 0 20px 60px rgba(12, 47, 46, 0.12);
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--deep);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--ink);
  color: white;
  padding: .75rem 1rem;
  border-radius: 8px;
}

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

.concept-bar {
  background: var(--deep);
  color: #f8f3e8;
  font-size: .82rem;
  font-weight: 600;
  text-align: center;
  padding: .55rem 1rem;
}

.site-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand img,
.site-footer img {
  width: 188px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .92rem;
  font-weight: 700;
}

.site-nav a {
  padding: .7rem .8rem;
  border-radius: 999px;
}

.site-nav a:hover {
  background: rgba(29, 111, 134, 0.1);
  text-decoration: none;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 800;
  padding: .75rem 1.15rem;
  text-decoration: none;
}

.nav-cta,
.button-primary {
  background: var(--ink);
  color: #fff8ea;
}

.button-secondary {
  background: var(--ochre);
  color: var(--deep);
}

.button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  padding: .7rem 1rem;
}

.section,
.hero,
.task-band,
.request-panel,
.place-section,
.owner-cta,
.site-footer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 5.5rem 1.25rem;
}

.hero {
  min-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: 3rem;
  align-items: center;
  padding-top: 3rem;
}

.eyebrow,
.panel-label {
  margin: 0 0 .75rem;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: Fraunces, Georgia, serif;
  line-height: .98;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.3rem, 8vw, 6.9rem);
}

h2 {
  font-size: clamp(2.1rem, 4.5vw, 4.1rem);
}

h3 {
  font-size: 1.45rem;
  line-height: 1.1;
}

.lead {
  max-width: 58ch;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

.civic-panel {
  display: grid;
  gap: .9rem;
}

.alert-card,
.mail-panel,
.notice-list,
.quick-stack a,
.index-grid a,
.owner-cta,
.place-copy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.alert-card {
  display: flex;
  gap: 1rem;
  padding: 1.1rem;
}

.alert-card h2 {
  font-size: 1.55rem;
  line-height: 1.1;
}

.alert-card a {
  color: var(--blue);
  font-weight: 800;
}

.status-dot {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: .25rem;
  background: var(--coral);
  border-radius: 50%;
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}

.quick-stack a {
  padding: 1rem;
}

.quick-stack span,
.task-grid span,
.index-grid span,
time {
  display: block;
  color: var(--blue);
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.quick-stack strong {
  display: block;
  margin-top: .25rem;
  color: var(--ink);
  line-height: 1.25;
}

.task-band {
  padding-top: 2rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-heading.split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}

.task-grid a {
  min-height: 118px;
  padding: 1rem;
  background: var(--ink);
  color: #fff8ea;
  border-radius: 8px;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.08;
}

.task-grid a:nth-child(3n + 2) {
  background: var(--blue);
}

.task-grid a:nth-child(3n) {
  background: var(--ochre);
  color: var(--deep);
}

.task-grid span {
  color: currentColor;
  opacity: .72;
  font-family: Inter, sans-serif;
  font-size: .68rem;
  margin-bottom: .7rem;
}

.notice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 1rem;
}

.notice-list {
  display: grid;
  gap: 0;
}

.notice-list article {
  padding: 1.25rem;
}

.notice-list article + article {
  border-top: 1px solid var(--line);
}

.notice-list h3 {
  margin-top: .35rem;
}

.mail-panel {
  padding: 1.5rem;
  background: var(--mist);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.request-panel {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
  background: var(--ink);
  color: #fff8ea;
  border-radius: 8px;
  padding: 1.25rem;
}

.request-panel img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
}

.request-panel div {
  padding: 1rem 1rem 1rem 0;
}

.request-panel h2,
.request-panel .eyebrow {
  color: #fff8ea;
}

.request-panel p:not(.eyebrow) {
  max-width: 52ch;
  color: #dce8df;
  font-size: 1.05rem;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.image-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--deep);
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  opacity: .72;
  transition: transform .25s ease;
}

.image-card span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  color: white;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.05;
}

.image-card:hover img {
  transform: scale(1.04);
}

.text-link {
  color: var(--blue);
  font-weight: 900;
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.index-grid a {
  min-height: 210px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.index-grid strong {
  margin-top: auto;
  color: var(--ink);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.65rem;
  line-height: 1.05;
}

.index-grid em {
  margin-top: .7rem;
  color: var(--muted);
  font-style: normal;
}

.place-section {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: stretch;
}

.place-section > img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: 8px;
}

.place-copy {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.place-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

address {
  margin-top: 1.5rem;
  font-style: normal;
}

address strong {
  display: block;
  color: var(--ink);
}

.owner-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--ochre);
}

.owner-cta h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.owner-cta p:not(.eyebrow) {
  max-width: 58ch;
  margin: .75rem 0 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: var(--muted);
}

.site-footer p {
  max-width: 52ch;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: .75rem 1rem;
  font-weight: 800;
  color: var(--ink);
}

@media (max-width: 980px) {
  .menu-button {
    display: inline-flex;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .5rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .notice-layout,
  .request-panel,
  .place-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .task-grid,
  .popular-grid,
  .index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .request-panel div {
    padding: 0 .5rem 1rem;
  }

  .site-footer,
  .owner-cta,
  .section-heading.split {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .section,
  .hero,
  .task-band,
  .request-panel,
  .place-section,
  .owner-cta,
  .site-footer {
    padding: 3.5rem 1rem;
  }

  .site-header {
    padding-inline: 1rem;
  }

  .brand img,
  .site-footer img {
    width: 150px;
  }

  h1 {
    font-size: 3.45rem;
  }

  .quick-stack,
  .task-grid,
  .popular-grid,
  .index-grid {
    grid-template-columns: 1fr;
  }

  .task-grid a {
    min-height: 96px;
  }

  .request-panel img,
  .place-section > img {
    min-height: 280px;
    height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
