:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #050505;
  --muted: #565656;
  --footer: #d8d8d5;
  --footer-text: #202020;
  --footer-muted: #454545;
  --max: 1220px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

main {
  min-height: 100svh;
  background: var(--bg);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  gap: clamp(1rem, 2.2vw, 1.6rem);
  padding: clamp(1.1rem, 2.6vw, 2.6rem) var(--gutter);
  pointer-events: none;
}

.ideas-link {
  pointer-events: auto;
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.22rem;
  transition: color 180ms ease, transform 180ms ease;
}

.ideas-link:hover,
.ideas-link:focus-visible {
  color: var(--muted);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(2rem, 8vw, 7.5rem);
  min-height: 100svh;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(6.5rem, 12vw, 9rem) var(--gutter)
    clamp(4rem, 9vw, 7.5rem);
}

.hero-copy {
  max-width: 760px;
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.35rem, 1.55vw, 1.62rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 520px;
  margin: clamp(1.15rem, 2.2vw, 1.9rem) 0 0;
  color: var(--text);
  font-family: "Newsreader", Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(1.04rem, 1.22vw, 1.36rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(10px);
  animation: fade-in-up 900ms ease-out 180ms both;
}

.map-panel {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 300px;
  width: min(100%, 360px);
  justify-self: center;
  isolation: isolate;
  overflow: hidden;
}

.city-map {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.home-section {
  position: relative;
  width: 100%;
  min-height: 180svh;
  background-color: var(--bg);
  color: var(--text);
  view-timeline-name: --home-section;
  view-timeline-axis: block;
}

.home-section-one {
  --home-section-image: url("/assets/home-section-3.jpg");
}

.home-section-three {
  --home-section-image: url("/assets/home-section-4.jpg");
}

.home-section-five {
  --home-section-image: url("/assets/home-section-5.jpg");
}

.home-section-frame {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg);
  background-image: var(--home-section-image, none);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.home-section-inner {
  position: relative;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(4rem, 10vh, 7.5rem) var(--gutter);
  display: grid;
  gap: 0;
  max-width: 920px;
}

.home-section-title {
  margin: 0;
  color: inherit;
  font-family: "Geist", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.25rem, 4.4vw, 4.75rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.home-section-lede {
  margin: 2rem 0 0;
  max-width: 38ch;
  color: inherit;
  font-family: "Newsreader", Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: 0.005em;
  opacity: 1;
}

.home-section-body {
  margin: 3.5rem 0 0;
  max-width: 54ch;
  color: inherit;
  font-family: "Newsreader", Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.25vw, 1.28rem);
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.78;
}

@keyframes home-section-fade-rise {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(2.5rem);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@supports (animation-timeline: --home-section) {
  .home-section-inner {
    animation: home-section-fade-rise linear both;
    animation-timeline: --home-section;
    animation-range: cover 36% cover 52%;
  }
}

.site-footer {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  background: var(--footer);
  color: var(--footer-text);
  overflow: hidden;
  isolation: isolate;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("/assets/footer-gradient-mesh.jpg");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.82;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 50%,
    rgb(0 0 0 / 0.36) 72%,
    #000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 50%,
    rgb(0 0 0 / 0.36) 72%,
    #000 100%
  );
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.75rem) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  column-gap: clamp(2rem, 7vw, 6rem);
  min-height: inherit;
  align-items: start;
}

.footer-social {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.2rem;
  transition: opacity 180ms ease, transform 180ms ease;
}

.footer-social:hover,
.footer-social:focus-visible {
  opacity: 0.65;
  transform: translateY(-1px);
}

.footer-social:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.35rem;
}

.footer-social img {
  display: block;
  width: 1.7rem;
  height: 1.7rem;
}

.footer-name {
  grid-column: 1;
  grid-row: 3;
  justify-self: end;
  margin: 0;
  color: var(--footer-text);
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  font-size: clamp(0.92rem, 1vw, 1.05rem);
  font-weight: 500;
  line-height: 1.35;
  text-align: right;
}

.footer-phrase {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 0.55ch;
  padding-bottom: 0.42rem;
}

.footer-word {
  display: inline-block;
  will-change: transform;
}

.footer-word--maps {
  animation: none;
}

.footer-word--systems {
  animation: none;
}

.footer-ripple-line {
  position: absolute;
  right: 0;
  bottom: 0.05rem;
  left: 0;
  height: 0.5rem;
  overflow: hidden;
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  animation: none;
}

.footer-phrase.is-ripple-active .footer-word--maps {
  animation: footer-word-lift-maps 5s ease-in-out 2;
}

.footer-phrase.is-ripple-active .footer-word--systems {
  animation: footer-word-lift-systems 5s ease-in-out 2;
}

.footer-phrase.is-ripple-active .footer-ripple-line {
  animation: footer-line-draw 5s linear 2;
}

.footer-ripple-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.footer-ripple-path {
  fill: none;
  stroke: #000;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 0.55;
  vector-effect: non-scaling-stroke;
}

.footer-note {
  grid-column: 1;
  grid-row: 4;
  justify-self: end;
  margin: 0.75rem 0 0;
  color: var(--footer-text);
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  font-size: clamp(0.92rem, 1vw, 1.05rem);
  font-weight: 500;
  line-height: 1.35;
  text-align: right;
}

.footer-note-break {
  display: inline;
}

@keyframes footer-line-draw {
  0%,
  8% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }

  14% {
    clip-path: inset(0 100% 0 0);
    opacity: 1;
  }

  24%,
  88% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }

  100% {
    clip-path: inset(0 0 0 100%);
    opacity: 1;
  }
}

@keyframes footer-word-lift-systems {
  0%,
  48.0%,
  58.0%,
  100% {
    transform: translateY(0);
  }

  53.0% {
    transform: translateY(-0.08rem);
  }
}

@keyframes footer-word-lift-maps {
  0%,
  29.0%,
  37.0%,
  100% {
    transform: translateY(0);
  }

  32.0% {
    transform: translateY(-0.08rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-word--maps,
  .footer-word--systems,
  .footer-ripple-line {
    animation: none;
  }

  .footer-ripple-line {
    display: none;
  }
}

.ideas-page {
  min-height: 100svh;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(6.5rem, 12vw, 9rem) var(--gutter)
    clamp(4rem, 9vw, 7.5rem);
  display: flex;
  align-items: center;
}

.ideas-page-inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.75fr);
  gap: clamp(2.2rem, 8vw, 7rem);
  align-items: center;
}

.ideas-copy {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 560px;
}

.ideas-page h1 {
  margin: 0;
  font-family: "Geist", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 1.55vw, 1.62rem);
  font-weight: 700;
  line-height: 1;
}

.ideas-copy p {
  margin: 0;
  color: var(--muted);
  font-family: "Newsreader", Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(1.04rem, 1.22vw, 1.36rem);
  line-height: 1.18;
}

.ideas-carousel {
  --card-width: clamp(13.25rem, 21vw, 16.25rem);
  --card-gap: clamp(0.9rem, 1.8vw, 1.35rem);
  position: relative;
  width: clamp(21rem, 43vw, 34rem);
  max-width: 100%;
  justify-self: end;
  perspective: 900px;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: clamp(1.6rem, 3vw, 2.35rem) 0 clamp(3rem, 5vw, 4.6rem);
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 9%,
    #000 91%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 9%,
    #000 91%,
    transparent 100%
  );
}

.carousel-viewport::after {
  position: absolute;
  left: 50%;
  bottom: clamp(1.35rem, 2.6vw, 2.2rem);
  z-index: 0;
  width: min(var(--card-width), 58%);
  height: clamp(2.6rem, 5vw, 4rem);
  content: "";
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.08) 34%,
    rgba(0, 0, 0, 0) 72%
  );
  filter: blur(18px);
  opacity: 0.72;
  pointer-events: none;
  transform: translateX(-50%);
}

.carousel-track {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--card-gap);
  will-change: transform;
}

.idea-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  flex: 0 0 var(--card-width);
  aspect-ratio: 1 / 1.6;
  overflow: hidden;
  border-radius: 0.9rem;
  color: #ffffff;
  box-shadow: none;
  opacity: 0;
  transform: perspective(900px) rotateX(0deg) rotateY(0deg) scale(0.86);
  transform-style: preserve-3d;
  filter: blur(3px);
  transition: opacity 300ms ease-in-out, transform 300ms ease-in-out,
    filter 300ms ease-in-out;
}

.idea-card.is-active {
  z-index: 2;
  opacity: 1;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y))
    scale(1);
  filter: blur(0);
  box-shadow: none;
}

.idea-card.is-active.is-tilting {
  transition: opacity 300ms ease-in-out, filter 300ms ease-in-out;
}

.idea-card.is-neighbor {
  opacity: 0.56;
  transform: perspective(900px) rotateX(0deg) rotateY(0deg) scale(0.88);
  filter: blur(2.5px);
}

.ideas-carousel.is-loop-resetting .idea-card {
  transition: none;
}

.idea-card-image {
  background-position: center;
  background-size: cover;
}

.idea-card-mesh-one {
  background-color: #dffafa;
  background-image: url("/assets/card-gradient-mesh-1.jpg");
  color: #17343d;
}

.idea-card-mesh-two {
  background-color: #9cc4ff;
  background-image: url("/assets/card-gradient-mesh-2.jpg");
  color: #15213e;
}

.idea-card-mesh-three {
  background-color: #375f5d;
  background-image: url("/assets/card-gradient-mesh-3.jpg");
  color: #f4fbf9;
}

.idea-card-copy {
  position: absolute;
  inset: auto clamp(1.1rem, 2.2vw, 1.4rem) clamp(1.1rem, 2.2vw, 1.35rem);
  z-index: 1;
  text-align: left;
}

.idea-card h2 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

.idea-card h2 a {
  text-decoration: none;
}

.idea-card h2 a:hover,
.idea-card h2 a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

.idea-card h2 a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.18rem;
}

.idea-card p {
  margin: 0.75rem 0 0;
  color: currentColor;
  font-family: "Newsreader", Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(0.96rem, 1.12vw, 1.08rem);
  line-height: 1.16;
  opacity: 0.82;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  width: 2.35rem;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(5, 5, 5, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, border-color 180ms ease,
    transform 180ms ease;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(5, 5, 5, 0.24);
  transform: translateY(-50%) scale(1.04);
}

.carousel-arrow:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.28rem;
}

.carousel-arrow svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.carousel-arrow-prev {
  left: 0.15rem;
}

.carousel-arrow-next {
  right: 0.15rem;
}

.not-found-page {
  min-height: 100svh;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(6.5rem, 12vw, 9rem) var(--gutter)
    clamp(4rem, 9vw, 7.5rem);
  display: flex;
  align-items: center;
}

.not-found-shell {
  width: 100%;
  display: block;
}

.not-found-copy {
  max-width: 560px;
}

.not-found-copy p {
  margin: clamp(1rem, 2vw, 1.45rem) 0 0;
  color: var(--text);
  font-family: "Newsreader", Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(1.04rem, 1.22vw, 1.36rem);
  line-height: 1.18;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.35rem;
  margin-top: clamp(1.6rem, 3vw, 2.25rem);
}

.not-found-actions a {
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.22rem;
  transition: color 180ms ease, transform 180ms ease;
}

.not-found-actions a:hover,
.not-found-actions a:focus-visible {
  color: var(--muted);
  transform: translateY(-1px);
}

.idea-detail-page {
  min-height: 100svh;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(6.5rem, 12vw, 9rem) var(--gutter)
    clamp(4rem, 9vw, 7.5rem);
  display: flex;
  align-items: center;
}

.idea-detail-shell {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(18rem, 0.72fr);
  gap: clamp(2.4rem, 8vw, 7rem);
  align-items: center;
}

.idea-detail-shell--single {
  grid-template-columns: minmax(0, 620px);
}

.idea-detail-copy {
  max-width: 620px;
}

.idea-detail-copy p {
  margin: clamp(1rem, 2vw, 1.45rem) 0 0;
  color: var(--muted);
  font-family: "Newsreader", Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(1.04rem, 1.22vw, 1.36rem);
  line-height: 1.18;
}

.idea-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.35rem;
  margin-top: clamp(1.6rem, 3vw, 2.25rem);
}

.idea-detail-actions a {
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.22rem;
  transition: color 180ms ease, transform 180ms ease;
}

.idea-detail-actions a:hover,
.idea-detail-actions a:focus-visible {
  color: var(--muted);
  transform: translateY(-1px);
}

.field-notes-page {
  min-height: 100svh;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(6.5rem, 12vw, 9rem) var(--gutter)
    clamp(5rem, 10vw, 8rem);
}

.field-notes-intro {
  position: relative;
  min-height: min(72svh, 820px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(18rem, 0.72fr);
  align-items: center;
  gap: clamp(2.4rem, 8vw, 7rem);
}

.field-notes-copy {
  max-width: 620px;
}

.field-notes-stream {
  display: grid;
  gap: clamp(5rem, 14vw, 12rem);
  padding-top: clamp(1rem, 4vw, 3rem);
}

.field-notes-index {
  position: fixed;
  top: 50%;
  right: clamp(0.8rem, 2vw, 1.6rem);
  z-index: 6;
  display: grid;
  gap: 0.42rem;
  transform: translateY(-50%);
}

.field-notes-index[hidden] {
  display: none;
}

.field-notes-index-button {
  position: relative;
  width: 1.7rem;
  height: 1.45rem;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.field-notes-index-button::before {
  position: absolute;
  top: 50%;
  right: 0;
  width: 0.72rem;
  height: 1px;
  content: "";
  background: rgba(5, 5, 5, 0.3);
  transform: translateY(-50%);
  transition:
    width 220ms ease,
    background-color 220ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}

.field-notes-index-button:hover::before,
.field-notes-index-button:focus-visible::before {
  width: 1rem;
  background: rgba(5, 5, 5, 0.58);
}

.field-notes-index-button:focus-visible {
  outline: 1px solid rgba(5, 5, 5, 0.3);
  outline-offset: 0.2rem;
}

.field-notes-index-button.is-active::before {
  width: 1.18rem;
  height: 1.5px;
  background: rgba(5, 5, 5, 0.68);
}

.field-notes-index-button.is-snapping::before {
  animation: field-notes-index-snap 360ms ease-out;
}

.field-note-entry {
  position: relative;
  min-height: min(88svh, 960px);
  display: grid;
  align-items: center;
}

.field-note-entry::before {
  position: absolute;
  inset: 14% 10%;
  content: "";
  background:
    radial-gradient(circle at center, rgba(5, 5, 5, 0.05), transparent 58%),
    radial-gradient(circle at center, rgba(5, 5, 5, 0.03), transparent 72%);
  filter: blur(24px);
  opacity: 0.82;
  pointer-events: none;
}

.field-note-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: clamp(1.7rem, 4vw, 2.8rem);
  text-align: center;
}

.field-note-media {
  width: min(100%, 16rem);
  min-height: clamp(4.75rem, 10vw, 6.25rem);
  border: 1px solid rgba(5, 5, 5, 0.08);
  background:
    linear-gradient(135deg, rgba(5, 5, 5, 0.028), transparent 52%),
    rgba(255, 255, 255, 0.28);
  opacity: 0.72;
}

.field-note-media[hidden] {
  display: none;
}

.field-note-inner p {
  max-width: 28ch;
  margin: 0;
  color: var(--text);
  font-family: "Newsreader", Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(1.38rem, 2.55vw, 2.45rem);
  font-weight: 400;
  line-height: 1.3;
}

.field-notes-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(0.7rem, 2vw, 1.4rem);
  width: 2rem;
  height: 2rem;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  color: rgba(5, 5, 5, 0.46);
  text-decoration: none;
  animation: field-notes-scroll-pulse 3.8s ease-in-out infinite;
}

.field-notes-scroll-cue::before {
  width: 0.78rem;
  height: 0.78rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-0.08rem);
}

@supports (animation-timeline: view()) {
  .field-note-entry {
    animation: field-note-drift linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 82%;
  }
}

.dot-grid-panel {
  position: relative;
  justify-self: end;
  width: min(100%, 360px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.dot-grid-panel::before {
  content: "";
  position: absolute;
  inset: 14%;
  z-index: -1;
  background: url("/assets/dot-grid-pulse.svg") center / contain no-repeat;
  opacity: 0.18;
  filter: blur(18px);
  transform: scale(1.06);
  -webkit-mask-image: radial-gradient(
    circle,
    transparent 34%,
    rgba(0, 0, 0, 0.42) 62%,
    rgba(0, 0, 0, 0.96) 100%
  );
  mask-image: radial-gradient(
    circle,
    transparent 34%,
    rgba(0, 0, 0, 0.42) 62%,
    rgba(0, 0, 0, 0.96) 100%
  );
}

.dot-grid-symbol {
  display: block;
  width: min(100%, 300px);
  height: auto;
  -webkit-mask-image: radial-gradient(
    circle,
    #000 54%,
    rgba(0, 0, 0, 0.92) 72%,
    rgba(0, 0, 0, 0.2) 96%,
    transparent 100%
  );
  mask-image: radial-gradient(
    circle,
    #000 54%,
    rgba(0, 0, 0, 0.92) 72%,
    rgba(0, 0, 0, 0.2) 96%,
    transparent 100%
  );
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes field-note-drift {
  0% {
    opacity: 0.28;
    filter: blur(8px);
    transform: translateY(2rem) scale(0.985);
  }

  36%,
  64% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0.44;
    filter: blur(4px);
    transform: translateY(-1.25rem) scale(0.992);
  }
}

@keyframes field-notes-scroll-pulse {
  0%,
  100% {
    opacity: 0.32;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 0.64;
    transform: translateX(-50%) translateY(0.32rem);
  }
}

@keyframes field-notes-index-snap {
  0% {
    transform: translateY(-50%) scaleX(0.72);
  }

  55% {
    transform: translateY(-50%) scaleX(1.08);
  }

  100% {
    transform: translateY(-50%) scaleX(1);
  }
}

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

  .hero-copy p {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .field-note-entry {
    animation: none;
    filter: none;
    transform: none;
  }

  .home-section-inner {
    animation: none;
    filter: none;
    opacity: 1;
    transform: none;
  }

  .field-notes-scroll-cue {
    animation: none;
  }

  .field-notes-index-button::before,
  .field-notes-index-button.is-snapping::before {
    animation: none;
    transition-duration: 0.01ms !important;
  }

}

@media (max-width: 900px) {
  .site-header {
    padding-top: 1.2rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: clamp(2.8rem, 8vw, 4.2rem);
    min-height: 100svh;
    padding-top: 6rem;
  }

  .map-panel {
    width: min(100%, 360px);
    min-height: auto;
  }

  .ideas-page {
    align-items: flex-start;
    padding-top: 6rem;
  }

  .ideas-page-inner {
    grid-template-columns: 1fr;
    gap: clamp(2.4rem, 8vw, 4rem);
  }

  .ideas-carousel {
    justify-self: center;
    width: calc(100vw - (2 * var(--gutter)));
    max-width: 31rem;
  }

  .idea-detail-page {
    align-items: flex-start;
    padding-top: 6rem;
  }

  .idea-detail-shell {
    grid-template-columns: 1fr;
    gap: clamp(2.6rem, 8vw, 4rem);
  }

  .field-notes-page {
    padding-top: 6rem;
  }

  .field-notes-intro {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: clamp(2.6rem, 8vw, 4rem);
  }

  .field-note-entry {
    min-height: min(82svh, 780px);
  }

  .field-notes-index {
    right: 0.45rem;
  }

  .dot-grid-panel {
    justify-self: center;
    width: min(100%, 320px);
  }

  .home-section {
    min-height: 170svh;
  }

  .home-section-inner {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 1rem;
  }

  .hero {
    padding-top: 5.5rem;
    padding-bottom: 4.5rem;
  }

  .ideas-page {
    padding-top: 5.5rem;
    padding-bottom: 4.5rem;
  }

  .ideas-page-inner {
    gap: 2.4rem;
  }

  .ideas-copy p {
    max-width: 30ch;
    font-size: clamp(1rem, 4.6vw, 1.18rem);
    line-height: 1.22;
  }

  .ideas-carousel {
    --card-width: min(68vw, 15rem);
    --card-gap: 0.75rem;
  }

  .carousel-arrow {
    width: 2.1rem;
    height: 2.1rem;
  }

  h1 {
    font-size: clamp(1.32rem, 6vw, 1.72rem);
  }

  .hero-copy p {
    font-size: clamp(1rem, 4.6vw, 1.18rem);
    line-height: 1.22;
  }

  .not-found-page {
    padding-top: 5.5rem;
    padding-bottom: 4.5rem;
  }

  .idea-detail-page {
    padding-top: 5.5rem;
    padding-bottom: 4.5rem;
  }

  .field-notes-page {
    padding-top: 5.5rem;
    padding-bottom: 4.75rem;
  }

  .field-notes-stream {
    gap: 4rem;
  }

  .field-note-entry {
    min-height: 74svh;
  }

  .field-notes-index {
    right: 0.35rem;
  }

  .field-notes-index-button {
    width: 1.45rem;
  }

  .field-note-inner {
    gap: 1.5rem;
  }

  .field-note-inner p {
    max-width: 22ch;
    font-size: clamp(1.24rem, 6vw, 1.8rem);
    line-height: 1.34;
  }

  .not-found-copy p {
    max-width: 30ch;
    font-size: clamp(1rem, 4.6vw, 1.18rem);
    line-height: 1.22;
  }

  .not-found-actions {
    gap: 0.8rem 1.15rem;
  }

  .idea-detail-copy p {
    max-width: 30ch;
    font-size: clamp(1rem, 4.6vw, 1.18rem);
    line-height: 1.22;
  }

  .idea-detail-actions {
    gap: 0.8rem 1.15rem;
  }

  .map-panel {
    aspect-ratio: 1 / 1;
  }

  .footer-inner {
    padding-bottom: 2.2rem;
  }

  .footer-note-break {
    display: block;
  }

  .home-section {
    min-height: 160svh;
  }

  .home-section-title {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
    line-height: 1.06;
  }

  .home-section-lede {
    margin-top: 1.5rem;
    max-width: 28ch;
    font-size: clamp(1.22rem, 5.4vw, 1.58rem);
    line-height: 1.3;
  }

  .home-section-body {
    margin-top: 2.5rem;
    max-width: 32ch;
    font-size: clamp(1rem, 4.4vw, 1.16rem);
    line-height: 1.52;
  }
}
