:root {
  --navy: #06111f;
  --navy-mid: #0b1f3a;
  --blue: #1f5fb8;
  --blue-bright: #3b82f6;
  --font-display: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Sora", sans-serif;
  --landing-pad: clamp(1.25rem, 4vw, 3.5rem);
  --site-gradient:
    radial-gradient(920px 420px at 8% -8%, rgba(59, 130, 246, 0.38), transparent 62%),
    radial-gradient(760px 480px at 100% 12%, rgba(125, 211, 252, 0.18), transparent 58%),
    radial-gradient(680px 520px at 40% 110%, rgba(37, 99, 235, 0.28), transparent 55%),
    linear-gradient(
      180deg,
      #0f3d7a 0%,
      #154e96 12%,
      #1f63b5 24%,
      #3b82c9 38%,
      #6ea3db 52%,
      #9fc4e9 66%,
      #c5daf2 78%,
      #e2eef9 90%,
      #f5f9fc 100%
    );
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body.landing-page {
  font-family: var(--font-body);
  color: var(--navy);
  background: #0f3d7a;
  overflow-x: hidden;
}

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

/* ——— Atmosphere ——— */

.landing-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.landing-gradient {
  position: absolute;
  inset: 0;
  background: var(--site-gradient);
}

/* Abstract diamond lattice — pineapple scale geometry, not cartoon fruit */
.landing-pine-lattice {
  position: absolute;
  inset: -12%;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='112' viewBox='0 0 96 112'%3E%3Cpath d='M48 8 L88 56 L48 104 L8 56 Z' fill='none' stroke='%23ffffff' stroke-opacity='0.55' stroke-width='1'/%3E%3Cpath d='M48 28 L72 56 L48 84 L24 56 Z' fill='%23ffffff' fill-opacity='0.04' stroke='%23bfdbfe' stroke-opacity='0.35' stroke-width='0.8'/%3E%3C/svg%3E");
  background-size: 96px 112px;
  mix-blend-mode: soft-light;
  mask-image: radial-gradient(ellipse 75% 70% at 55% 35%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 55% 35%, #000 10%, transparent 78%);
  animation: lattice-shift 48s linear infinite;
}

.landing-pine-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.pine-motif {
  position: absolute;
  display: block;
  width: min(42vw, 420px);
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(6, 17, 31, 0.18));
  opacity: 0.42;
  will-change: transform, opacity;
  user-select: none;
  pointer-events: none;
}

.pine-motif-a {
  top: -4%;
  right: -4%;
  width: min(48vw, 520px);
  opacity: 0.5;
  animation: pine-float-a 22s ease-in-out infinite;
}

.pine-motif-b {
  top: 34%;
  left: -10%;
  width: min(38vw, 380px);
  opacity: 0.28;
  transform: rotate(-18deg) scaleX(-1);
  filter: blur(0.4px) drop-shadow(0 24px 50px rgba(6, 17, 31, 0.14));
  animation: pine-float-b 28s ease-in-out infinite;
}

.pine-motif-c {
  bottom: 8%;
  right: 8%;
  width: min(34vw, 340px);
  opacity: 0.34;
  transform: rotate(12deg);
  animation: pine-float-c 26s ease-in-out infinite;
}

.pine-motif-d {
  top: 58%;
  left: 38%;
  width: min(22vw, 220px);
  opacity: 0.16;
  transform: rotate(-8deg);
  filter: blur(1.2px);
  animation: pine-float-d 32s ease-in-out infinite;
}

.landing-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 85% 8%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(15, 61, 122, 0.12) 0%, transparent 30%, transparent 68%, rgba(245, 249, 252, 0.42) 100%);
}

@keyframes lattice-shift {
  from { background-position: 0 0; }
  to { background-position: 96px 112px; }
}

@keyframes pine-float-a {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-18px, 22px, 0) rotate(-3deg); }
}

@keyframes pine-float-b {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-18deg) scaleX(-1); }
  50% { transform: translate3d(24px, -16px, 0) rotate(-14deg) scaleX(-1); }
}

@keyframes pine-float-c {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(12deg); }
  50% { transform: translate3d(-14px, -20px, 0) rotate(8deg); }
}

@keyframes pine-float-d {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-8deg) scale(1); opacity: 0.14; }
  50% { transform: translate3d(10px, 14px, 0) rotate(-4deg) scale(1.04); opacity: 0.22; }
}

/* ——— Nav ——— */

.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem var(--landing-pad);
  background: transparent;
  pointer-events: none;
}

.landing-links {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 2.75rem);
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.landing-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 0.2rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 10px rgba(6, 17, 31, 0.25);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.landing-links a:hover,
.landing-links a.is-active {
  background: transparent;
  color: #fff;
}

.landing-links a.is-active {
  font-weight: 600;
}

.landing-login {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  right: var(--landing-pad);
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 10px rgba(6, 17, 31, 0.25);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.landing-login:hover {
  color: #fff;
}

.landing-links a:focus-visible,
.landing-login:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
}
/* ——— Layout (alternating left / right) ——— */

main {
  position: relative;
  z-index: 1;
}

.landing-hero,
.landing-section,
.landing-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 6.5rem var(--landing-pad) 4rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.band-left {
  align-items: flex-start;
  text-align: left;
}

.band-right {
  align-items: flex-end;
  text-align: right;
}

/*
  Content grows from its side toward the middle — not a squeezed column.
  No visible container box.
*/
.content-flow {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: min(92vw, 58rem);
  padding: 0;
  border: 0;
  outline: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.content-flow--wide {
  width: min(92vw, 72rem);
  max-width: min(92vw, 72rem);
}

.band-left .content-flow {
  margin-right: auto;
}

.band-right .content-flow {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.band-right .landing-address,
.band-right .landing-budget-copy,
.band-right .landing-map-note,
.band-right .landing-cta p,
.band-right .section-label,
.band-right h2 {
  margin-left: auto;
}

.band-right .budget-activity-board,
.band-right .council-grid,
.band-right .landing-map,
.band-right .landing-chart-wrap {
  width: 100%;
  text-align: left;
}

.landing-hero {
  min-height: 100svh;
  padding-top: 7.5rem;
  padding-bottom: 5rem;
  color: #fff;
}

.landing-hero .content-flow {
  max-width: min(92vw, 42rem);
}

.landing-hero-logo {
  width: clamp(112px, 18vw, 180px);
  height: auto;
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 18px 40px rgba(6, 17, 31, 0.35));
  animation: logo-float 7s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.landing-kicker {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 12px 40px rgba(6, 17, 31, 0.28);
}

.landing-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.2vw, 2.55rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.92);
}

.landing-title span {
  display: block;
}

.landing-lead {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1rem, 2.1vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
}

.landing-scroll-hint {
  position: absolute;
  left: var(--landing-pad);
  bottom: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.landing-scroll-hint span {
  width: 1px;
  height: 2.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), transparent);
  animation: scroll-line 1.8s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0.35); opacity: 0.35; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
  100% { transform: scaleY(0.35); opacity: 0.35; transform-origin: bottom; }
}

/* ——— Sections ——— */

.landing-section {
  min-height: 72vh;
}

.section-label {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(15, 61, 122, 0.82);
  text-shadow: 0 1px 12px rgba(245, 249, 252, 0.65);
}

.landing-section h2,
.landing-cta h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.45rem);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-shadow: 0 1px 14px rgba(245, 249, 252, 0.55);
}

.landing-address {
  display: block;
  margin: 0 0 1.4rem;
  max-width: 36rem;
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(11, 26, 46, 0.82);
  text-shadow: 0 1px 10px rgba(245, 249, 252, 0.5);
}

.landing-map {
  position: relative;
  width: 100%;
  height: min(52vh, 480px);
  min-height: 300px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.landing-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.landing-map-note {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
  color: rgba(11, 26, 46, 0.55);
}

.landing-map-note a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.landing-budget-section {
  min-height: 80vh;
}

.landing-budget-copy,
.landing-cta p {
  margin: 0 0 1.35rem;
  max-width: 44rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(11, 26, 46, 0.78);
  text-shadow: 0 1px 10px rgba(245, 249, 252, 0.5);
}

.landing-budget-empty {
  margin: 0;
  color: rgba(11, 26, 46, 0.6);
}

.landing-chart-wrap {
  position: relative;
  width: 100%;
  height: min(380px, 50vh);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.budget-activity-board {
  margin-top: 1.75rem;
  width: 100%;
  text-align: left;
}

.budget-activity-board h3 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  text-shadow: 0 1px 12px rgba(245, 249, 252, 0.55);
}

.budget-activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem 1.5rem;
}

.budget-activity-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-align: left;
}

.budget-activity-period {
  margin: 0 0 0.2rem;
  font-weight: 600;
  color: var(--navy);
}

.budget-activity-meta {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  color: rgba(11, 26, 46, 0.58);
}

.budget-activity-card ul {
  margin: 0;
  padding-left: 1.05rem;
  color: rgba(11, 26, 46, 0.78);
  font-size: 0.9rem;
  line-height: 1.45;
}

.budget-activity-card li + li {
  margin-top: 0.25rem;
}

.budget-year-item-list {
  list-style: none;
  padding-left: 0;
}

.budget-year-item-list li {
  display: grid;
  gap: 0.15rem;
}

.budget-year-item-meta {
  font-size: 0.8rem;
  color: rgba(11, 26, 46, 0.55);
}

.landing-council-section {
  min-height: 80vh;
}

.council-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  width: 100%;
  text-align: left;
}

.council-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
}

.council-photo {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  background:
    linear-gradient(160deg, rgba(59, 130, 246, 0.28), rgba(15, 61, 122, 0.18)),
    radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.55), transparent 55%);
}

.council-card h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}

.council-card p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(11, 26, 46, 0.62);
}

.budget-activity-hint {
  margin: -0.35rem 0 0.95rem;
  font-size: 0.88rem;
  color: rgba(11, 26, 46, 0.58);
}

.budget-activity-triggers {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.budget-activity-triggers li + li {
  margin-top: 0.35rem;
}

.budget-activity-trigger {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(11, 26, 46, 0.82);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: rgba(31, 95, 184, 0.35);
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.budget-activity-trigger:hover,
.budget-activity-trigger:focus-visible,
.budget-activity-trigger.is-active {
  color: var(--blue);
  text-decoration-color: var(--blue);
}

/* Hover peek — floating tip with arrow */
.activity-float {
  position: fixed;
  z-index: 80;
  width: min(22rem, calc(100vw - 2rem));
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(15, 61, 122, 0.18);
  border-radius: 0.85rem;
  background: rgba(245, 249, 252, 0.97);
  box-shadow: 0 14px 36px rgba(6, 17, 31, 0.18);
  color: var(--navy);
  pointer-events: none;
  transform: translateY(4px);
  opacity: 0;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.activity-float.is-open {
  opacity: 1;
  transform: translateY(0);
}

.activity-float[hidden] {
  display: none !important;
}

.activity-float-arrow {
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  background: rgba(245, 249, 252, 0.97);
  border-left: 1px solid rgba(15, 61, 122, 0.18);
  border-top: 1px solid rgba(15, 61, 122, 0.18);
  transform: rotate(45deg);
}

.activity-float[data-placement="top"] .activity-float-arrow {
  bottom: -0.38rem;
  left: var(--float-arrow-left, 50%);
  margin-left: -0.35rem;
  border-left: 0;
  border-top: 0;
  border-right: 1px solid rgba(15, 61, 122, 0.18);
  border-bottom: 1px solid rgba(15, 61, 122, 0.18);
}

.activity-float[data-placement="bottom"] .activity-float-arrow {
  top: -0.38rem;
  left: var(--float-arrow-left, 50%);
  margin-left: -0.35rem;
}

.activity-float-period {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 61, 122, 0.65);
}

.activity-float-title {
  display: block;
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  line-height: 1.3;
}

.activity-float-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0 0 0.55rem;
  overflow: hidden;
  border-radius: 0.45rem;
  background: rgba(15, 61, 122, 0.08);
}

.activity-float-carousel[hidden] {
  display: none !important;
}

.activity-float-carousel-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.45s ease;
}

.activity-float-carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.activity-float-carousel-dots {
  position: absolute;
  left: 0.45rem;
  right: 0.45rem;
  bottom: 0.4rem;
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  pointer-events: none;
}

.activity-float-carousel-dots span {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(6, 17, 31, 0.2);
}

.activity-float-carousel-dots span.is-active {
  background: #fff;
}

.activity-float-copy {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(11, 26, 46, 0.72);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Click panel — centered content, no box chrome */
.activity-panel {
  margin: 1.75rem auto 0;
  max-width: 34rem;
  padding: 0.35rem 0 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  text-align: center;
}

.activity-panel[hidden] {
  display: none !important;
}

.activity-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  position: relative;
  padding-inline: 3rem;
}

.activity-panel-period {
  margin: 0 0 0.3rem;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 61, 122, 0.7);
}

.activity-panel-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.activity-panel-close {
  position: absolute;
  top: 0;
  right: 0;
  border: 0;
  background: transparent;
  color: rgba(11, 26, 46, 0.55);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.2rem 0;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.activity-panel-close:hover {
  color: var(--blue);
}

.activity-panel-copy {
  margin: 0 auto 1rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(11, 26, 46, 0.78);
  max-width: 32rem;
}

.activity-carousel {
  position: relative;
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(15, 61, 122, 0.08);
}

.activity-carousel-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.55s ease;
}

.activity-carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.activity-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.activity-carousel-dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 61, 122, 0.28);
  cursor: pointer;
}

.activity-carousel-dots button.is-active {
  background: var(--blue);
}

.activity-carousel-empty {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(11, 26, 46, 0.55);
}

.landing-cta {
  min-height: 55vh;
  padding-bottom: 6rem;
}

.landing-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  min-height: 2.85rem;
  padding: 0.7rem 0;
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 600;
  box-shadow: none;
  border: 0;
  border-bottom: 2px solid rgba(15, 61, 122, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.landing-cta-btn:hover {
  color: var(--blue);
  border-color: var(--blue);
  transform: none;
  box-shadow: none;
}

.landing-footer {
  position: relative;
  z-index: 1;
  padding: 1.5rem var(--landing-pad);
  text-align: left;
  color: rgba(11, 26, 46, 0.45);
  font-size: 0.85rem;
}

/* ——— Scroll reveal ——— */

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 56px, 0);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.band-right[data-reveal] {
  transform: translate3d(40px, 56px, 0);
}

.band-left[data-reveal] {
  transform: translate3d(-24px, 56px, 0);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

[data-reveal].is-leaving {
  opacity: 0;
  transform: translate3d(0, -40px, 0);
}

.landing-hero[data-reveal] {
  transition-duration: 1.05s;
}

@media (max-width: 720px) {
  .landing-nav {
    padding: 1rem var(--landing-pad);
    justify-content: flex-start;
  }

  .landing-links {
    gap: 1rem;
    flex-wrap: wrap;
    max-width: calc(100% - 5.5rem);
    justify-content: flex-start;
  }

  .landing-login {
    top: 1rem;
    transform: none;
  }

  .landing-hero,
  .landing-section,
  .band-left,
  .band-right {
    align-items: flex-start;
    text-align: left;
  }

  .band-right .content-flow {
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
  }

  .band-right .landing-address,
  .band-right .landing-budget-copy,
  .band-right .landing-map-note,
  .band-right .section-label,
  .band-right h2 {
    margin-left: 0;
  }

  .content-flow,
  .content-flow--wide {
    width: 100%;
    max-width: 100%;
  }

  .landing-map {
    height: 42vh;
    min-height: 240px;
  }

  .landing-chart-wrap {
    height: 260px;
  }

  .band-right[data-reveal],
  .band-left[data-reveal] {
    transform: translate3d(0, 40px, 0);
  }
}

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

  .landing-pine-lattice,
  .pine-motif,
  .landing-hero-logo,
  .landing-scroll-hint span {
    animation: none !important;
  }

  [data-reveal],
  [data-reveal].is-visible,
  [data-reveal].is-leaving {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .landing-links a,
  .landing-login {
    transition: none !important;
  }
}
