@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  --sky: #5fa8e8;
  --sky-deep: #317fc5;
  --green: #a0ff5d;
  --green-dark: #48ff28;
  --cream: #f5f5ed;
  --ink: #10231d;
  --line: rgba(16, 35, 29, .22);
  --white-line: rgba(255, 255, 255, .58);
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

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

.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 34px;
  color: white;
  mix-blend-mode: normal;
  background: linear-gradient(to bottom, rgba(32, 91, 143, .36), rgba(32, 91, 143, 0));
  backdrop-filter: blur(10px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}

.brand {
  gap: 10px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d4ff8e, #84ff20 60%, #48cd00);
  border: 1px solid rgba(255, 255, 255, .8);
  color: white;
  font-size: 8px;
  letter-spacing: 0;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, .65), 0 4px 12px rgba(20, 70, 90, .2);
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a:not(.nav-buy)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
  background: white;
}

.nav-links a:not(.nav-buy):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-buy {
  padding: 10px 18px !important;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(220, 255, 183, .95), rgba(136, 250, 36, 0.95));
  color: #163c20;
  box-shadow: inset 0 1px 0 white, 0 8px 24px rgba(0, 50, 80, .15);
}

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr minmax(380px, 560px) 1fr;
  align-items: center;
  padding: 120px 6vw 110px;
  background:
    radial-gradient(circle at 76% 22%, rgba(255, 255, 255, .72) 0 7%, transparent 19%),
    linear-gradient(180deg, #66b0ed 0%, #6fb7eb 48%, #86c9ed 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 10%, rgba(255, 255, 255, .2), transparent 35%);
  pointer-events: none;
}

/* Natural sky: soft atmospheric cloud masses instead of flat UI bubbles */
.sky-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 70%);
  filter: blur(8px);
  pointer-events: none;
}

.orb-one {
  width: 520px;
  height: 250px;
  top: 4%;
  right: -8%;
}

.orb-two {
  width: 420px;
  height: 190px;
  top: 28%;
  left: -12%;
  opacity: .55;
}

.cloud {
  position: absolute;
  width: 430px;
  height: 150px;
  border-radius: 50%;
  opacity: .58;
  filter: blur(8px);
  background:
    radial-gradient(ellipse at 20% 68%, rgba(255, 255, 255, .92) 0 18%, transparent 40%),
    radial-gradient(ellipse at 43% 43%, rgba(255, 255, 255, .88) 0 23%, transparent 46%),
    radial-gradient(ellipse at 65% 52%, rgba(255, 255, 255, .82) 0 22%, transparent 45%),
    radial-gradient(ellipse at 82% 70%, rgba(255, 255, 255, .72) 0 15%, transparent 38%);
  transform: rotate(-3deg);
}

.cloud::after {
  content: "";
  position: absolute;
  inset: 25% 5% 0;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(214, 236, 244, .15) 75%, transparent);
  filter: blur(12px);
}

.cloud-a {
  top: 14%;
  left: -7%;
  transform: scale(1.05) rotate(-4deg);
}

.cloud-b {
  top: 31%;
  right: -10%;
  transform: scale(.78) rotate(5deg);
  opacity: .42;
}

.hero-meta {
  position: absolute;
  top: 106px;
  left: 6vw;
  right: 6vw;
  display: flex;
  justify-content: space-between;
  font: 10px "DM Mono", monospace;
  letter-spacing: .16em;
  color: rgba(16, 55, 78, .7);
  z-index: 3;
}

.hero-copy {
  position: relative;
  z-index: 4;
  align-self: center;
  padding-top: 40px;
}

.eyebrow,
.section-index {
  margin: 0 0 20px;
  font: 10px "DM Mono", monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(92px, 13vw, 190px);
  line-height: .72;
  letter-spacing: -.075em;
  font-weight: 700;
  color: rgba(255, 255, 255, .95);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .9),
    0 7px 0 rgba(61, 120, 160, .28),
    0 16px 30px rgba(28, 80, 115, .18);
}

.hero-copy h1 em {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.1em;
  color: #e9f6dc;
}

.hero-sub {
  margin: 38px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(20, 55, 72, .75);
}

.hero-image-wrap {
  position: relative;
  z-index: 5;
  justify-self: center;
  width: min(100%, 540px);
}

.hero-image-frame {
  position: relative;
  padding: 10px;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .68);
  box-shadow: 0 30px 80px rgba(27, 83, 113, .2);
  transform: rotate(-1.2deg);
}

.hero-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.image-caption {
  display: block;
  margin-top: 12px;
  text-align: right;
  font: 9px "DM Mono", monospace;
  letter-spacing: .12em;
  color: rgba(17, 59, 76, .62);
}

.hero-side-note {
  align-self: end;
  justify-self: end;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font: 11px "DM Mono", monospace;
  letter-spacing: .18em;
  color: rgba(24, 77, 56, .72);
  writing-mode: vertical-rl;
}

.hill {
  position: absolute;
  left: -5%;
  width: 110%;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.hill-back {
  height: 120px;
  bottom: -55px;
  background: #b6ff50;
}

.hill-front {
  height: 90px;
  bottom: -48px;
  background: #6dff12;
  transform: translateX(-4%);
}

/* Photographic-looking rolling meadow made from layered gradients + grain */
.hero::before {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: 0;
  height: 28%;
  z-index: 1;
  background:
    radial-gradient(ellipse at 15% 70%, rgba(149, 253, 38, 0.9) 0 18%, transparent 19%),
    radial-gradient(ellipse at 38% 78%, rgba(134, 255, 54, 0.9) 0 21%, transparent 22%),
    radial-gradient(ellipse at 68% 65%, rgba(129, 255, 32, 0.88) 0 24%, transparent 25%),
    linear-gradient(180deg, #78a94d 0%, #4f833d 44%, #315d34 100%);
  border-radius: 52% 48% 0 0 / 25% 22% 0 0;
  box-shadow: inset 0 18px 35px rgba(211, 240, 165, .18);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 10%, rgba(255, 255, 255, .22), transparent 35%),
    linear-gradient(to bottom, transparent 72%, rgba(18, 61, 35, .08) 100%);
  pointer-events: none;
  z-index: 2;
}

.hill {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  border-radius: 50% 50% 0 0;
}

.hill-back {
  left: -10%;
  right: -10%;
  bottom: -6%;
  height: 23%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(139, 181, 76, .55), transparent 42%),
    linear-gradient(180deg, #79a94d, #416f3c);
  filter: saturate(.9);
  box-shadow: inset 0 10px 30px rgba(210, 237, 155, .2);
}

.hill-front {
  left: -12%;
  right: -12%;
  bottom: -15%;
  height: 18%;
  background:
    repeating-linear-gradient(102deg, transparent 0 11px, rgba(34, 77, 35, .16) 12px 14px, transparent 15px 28px),
    linear-gradient(180deg, #8ee253, #1da22b);
  opacity: .92;
}

.grass-line {
  position: absolute;
  bottom: 31px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(30, 91, 50, .35);
  z-index: 5;
}

.section {
  padding: 150px 7vw;
  position: relative;
}

.statement {
  padding: 120px 7vw 160px;
  background: var(--cream);
}

.statement-grid {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 1.4fr .7fr;
  gap: 8vw;
  align-items: end;
}

.statement h2,
.section-heading h2,
.contract-intro h2,
.archive h2 {
  margin: 0;
  font-size: clamp(60px, 9vw, 130px);
  line-height: .83;
  letter-spacing: -.07em;
  font-weight: 700;
}

.statement h2 span {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
}

.statement-grid>p {
  max-width: 380px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(16, 35, 29, .68);
}

.lore {
  color: white;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .28), transparent 20%),
    linear-gradient(145deg, #5ba8e9, #3d91d2);
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto 70px;
}

.section-heading h2 i,
.contract-intro h2 i,
.archive h2 i {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
}

.lore-layout {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 7vw;
  align-items: center;
}

.lore-window {
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(245, 250, 248, .88);
  color: var(--ink);
  box-shadow: 0 25px 70px rgba(17, 67, 95, .18);
}

.window-top {
  display: flex;
  justify-content: space-between;
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
  font: 9px "DM Mono", monospace;
  letter-spacing: .13em;
}

.window-body {
  padding: 35px;
  font-size: 17px;
  line-height: 1.75;
}

.small-note {
  margin-top: 35px;
  font: 9px "DM Mono", monospace;
  letter-spacing: .16em;
}

.lore-orbit {
  width: min(30vw, 320px);
  aspect-ratio: 1;
  margin: auto;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  position: relative;
}

.orbit-ring {
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
}

.orbit-dot {
  position: absolute;
  top: 18%;
  right: 9%;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #d6ff99, #93f933 60%, #5ad824);
  color: white;
  font-size: 9px;
  box-shadow: 0 15px 35px rgba(22, 76, 61, .2);
}

.contract {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: end;
}

.contract-intro p:last-child {
  max-width: 330px;
  line-height: 1.7;
  color: rgba(16, 35, 29, .62);
  font-size: 14px;
  margin-top: 35px;
}

.contract-card {
  grid-column: 2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.contract-label {
  margin-bottom: 15px;
  font: 9px "DM Mono", monospace;
  letter-spacing: .15em;
  color: rgba(16, 35, 29, .55);
}

.contract-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contract-row code {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  font: 12px "DM Mono", monospace;
  white-space: nowrap;
}

.contract-row button {
  border: 1px solid var(--ink);
  background: transparent;
  padding: 11px 17px;
  cursor: pointer;
  font: 10px "DM Mono", monospace;
  letter-spacing: .1em;
  transition: .2s ease;
}

.contract-row button:hover {
  color: white;
  background: var(--ink);
}

.copy-status {
  min-height: 16px;
  margin-top: 9px;
  font: 9px "DM Mono", monospace;
}

.buy-button {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 23px 28px;
  background: linear-gradient(180deg, #d6ff99, #5ad824);
  border: 1px solid #ffffff;
  color: #183c22;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .85), 0 16px 35px rgba(58, 105, 47, .14);
  font-weight: 700;
  letter-spacing: .08em;
  transition: transform .2s ease, box-shadow .2s ease;
}

.buy-button:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .85), 0 22px 45px rgba(58, 105, 47, .2);
}

.arrow {
  font-size: 24px;
}

.archive {
  background: #e9e8df;
  padding-bottom: 180px;
}

.archive-header {
  max-width: var(--max);
  margin: 0 auto 80px;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.archive-note {
  font: 11px "DM Mono", monospace;
  line-height: 1.6;
  text-align: right;
  color: rgba(16, 35, 29, .55);
}

.gallery {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: start;
}

.gallery-item {
  margin: 0;
  grid-column: span 4;
}

.gallery-item.item-large {
  grid-column: span 7;
}

.gallery-item.item-tall {
  grid-column: span 5;
}

.gallery-item.item-wide {
  grid-column: span 7;
  margin-left: 10%;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
  background: #d4d4ca;
  border: 1px solid rgba(16, 35, 29, .35);
  filter: saturate(.9);
  transition: transform .35s ease, filter .35s ease;
}

.gallery-item.item-tall img {
  aspect-ratio: .82;
}

.gallery-item:hover img {
  transform: translateY(-5px);
  filter: saturate(1.08);
}

.gallery-item figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  font: 8px "DM Mono", monospace;
  letter-spacing: .12em;
  color: rgba(16, 35, 29, .62);
}

.footer {
  padding: 45px 7vw;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: center;
  color: white;
  background: linear-gradient(180deg, #5b9fda, #397fba);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer p {
  margin: 0;
  text-align: center;
  font: 10px "DM Mono", monospace;
  letter-spacing: .14em;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  font: 9px "DM Mono", monospace;
  text-transform: uppercase;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .nav {
    padding: 0 20px;
  }

  .nav-links {
    gap: 14px;
    font-size: 10px;
  }

  .nav-links a:nth-child(-n+3) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 125px 22px 100px;
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-meta {
    left: 22px;
    right: 22px;
    top: 92px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-copy h1 {
    font-size: clamp(80px, 25vw, 150px);
  }

  .hero-image-wrap {
    width: min(100%, 560px);
  }

  .hero-side-note {
    display: none;
  }

  .orb-one {
    right: -60px;
  }

  .cloud-b {
    right: -20px;
  }

  .statement-grid,
  .lore-layout,
  .contract {
    grid-template-columns: 1fr;
  }

  .statement-grid {
    gap: 40px;
  }

  .lore-layout {
    gap: 50px;
  }

  .lore-orbit {
    width: 230px;
  }

  .contract {
    display: grid;
  }

  .contract-card,
  .buy-button {
    grid-column: 1;
  }

  .archive-header {
    align-items: start;
    gap: 30px;
    flex-direction: column;
  }

  .archive-note {
    text-align: left;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item,
  .gallery-item.item-large,
  .gallery-item.item-tall,
  .gallery-item.item-wide {
    grid-column: span 1;
    margin-left: 0;
  }

  .gallery-item.item-large {
    grid-column: span 2;
  }

  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand,
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .nav {
    height: 64px;
  }

  .brand {
    font-size: 10px;
  }

  .nav-buy {
    padding: 8px 12px !important;
  }

  .hero-meta {
    font-size: 8px;
  }

  .hero {
    padding-top: 105px;
  }

  .hero-copy h1 {
    font-size: 25vw;
  }

  .section,
  .statement {
    padding: 95px 22px;
  }

  .statement h2,
  .section-heading h2,
  .contract-intro h2,
  .archive h2 {
    font-size: 18vw;
  }

  .window-body {
    padding: 24px;
    font-size: 15px;
  }

  .contract-row {
    align-items: stretch;
    flex-direction: column;
  }

  .contract-row code {
    width: 100%;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item.item-large {
    grid-column: span 1;
  }

  .gallery-item img,
  .gallery-item.item-tall img {
    aspect-ratio: 1.05;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

.meadow-blades {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7%;
  height: 22%;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
  opacity: .35;
}

.meadow-blades i {
  position: absolute;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to top, rgba(30, 76, 36, .65), rgba(159, 196, 91, .35));
  transform-origin: bottom;
  animation: grassSway ease-in-out infinite alternate;
}

@keyframes grassSway {
  from {
    transform: rotate(-5deg);
  }

  to {
    transform: rotate(7deg);
  }
}

/* Realistic meadow layer */
.hero {
  overflow: hidden;
}

.hero .meadow-photo {
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -2%;
  height: 31%;
  z-index: 3;
  background:
    linear-gradient(to bottom, rgba(112, 154, 75, .05), rgba(35, 73, 38, .18)),
    url('assets/natural-grass.jpg') center 62% / cover no-repeat;
  border-radius: 52% 48% 0 0 / 18% 22% 0 0;
  box-shadow: inset 0 18px 35px rgba(225, 245, 182, .12);
  filter: saturate(.92) contrast(1.02);
}

.hero .meadow-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(142, 185, 99, .18), transparent 38%, rgba(24, 61, 33, .16));
  mix-blend-mode: multiply;
}

/* Final visual override: clean sky, no grass field */
.hero::before,
.hero::after,
.hero .meadow-photo,
.hill,
.hill-back,
.hill-front,
.grass-line,
.meadow-blades {
  display: none !important;
}