:root {
  color: #2d2a26;
  font-family: "Georgia", "Times New Roman", serif;
  --paper: #f4f0e6;
  --pattern-scale: 1;
  background-color: var(--paper);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.7;
  background-color: var(--paper);
  background-image: url("/assets/pattern-ecology.svg");
  background-repeat: repeat;
  background-size: calc(512px * var(--pattern-scale)) calc(512px * var(--pattern-scale));
}

a {
  color: inherit;
}

.site-header {
  padding: 32px 20px 8px;
  text-align: center;
}

.site-title {
  margin: 0 0 12px;
  text-align: center;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Palatino Linotype", "Book Antiqua", "Palatino", "Georgia", serif;
  color: #7b6d5e;
}

.site-nav {
  display: flex;
  gap: 18px;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-family: "Courier New", "Courier", monospace;
}

.site-nav a {
  text-decoration: none;
  color: #4a3f34;
}

.site-nav a:hover {
  text-decoration: underline;
}

.container {
  width: min(980px, 92vw);
  margin: 0 auto 80px;
  padding: 30px 0 0;
}

.hero {
  position: relative;
  padding: 28px 32px;
  background: #fbf7ef;
  border: 1px solid #d2c3b3;
  box-shadow: 0 18px 45px rgba(50, 36, 22, 0.12);
}

.hero::after {
  content: "813 wu wei";
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 4px 10px;
  border: 1px solid #5a4a3d;
  background: #f5efe4;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: "Courier New", "Courier", monospace;
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.hero h1,
.tagline,
h2,
h3 {
  text-align: center;
}

.tagline {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: "Courier New", "Courier", monospace;
}

.hero-quote {
  text-align: center;
  margin-bottom: 18px;
}

.liquid-land {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 6px 0 10px;
}

.liquid-land-title {
  margin: 0;
}

.liquid-land-motif {
  width: 52px;
  height: 18px;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.7;
}

.motif-left {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='52' height='18' viewBox='0 0 52 18' fill='none' stroke='%237b6d5e' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'><path d='M0 9 C6 6 12 6 18 9 C24 12 30 12 36 9 C42 6 48 6 54 9' /></svg>");
}

.motif-right {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='52' height='18' viewBox='0 0 52 18' fill='none' stroke='%237b6d5e' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'><path d='M8 16 L8 2' /><path d='M18 16 L18 0' /><path d='M28 16 L28 3' /><path d='M8 6 C12 7 16 8 20 9' /><path d='M18 7 C22 8 26 9 30 10' /></svg>");
}

.liquid-land-details {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
}

.liquid-land-details-top {
  margin: 8px 0 4px;
}

.liquid-land-details .detail {
  width: 30px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.6;
}

.detail-leaf {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='16' viewBox='0 0 30 16' fill='none' stroke='%237b6d5e' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'><path d='M2 8 C6 0 16 0 20 8 C16 16 6 16 2 8' /><path d='M11 4 L11 12' /></svg>");
}

.detail-bird {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='16' viewBox='0 0 30 16' fill='none' stroke='%237b6d5e' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'><path d='M2 10 Q8 4 14 10 Q20 4 26 10' /></svg>");
}

.detail-shell {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='16' viewBox='0 0 30 16' fill='none' stroke='%237b6d5e' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'><path d='M2 12 C4 4 12 4 18 8 C12 12 8 14 2 12' /><path d='M6 10 C8 8 11 8 14 9' /></svg>");
}

.detail-waves {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='16' viewBox='0 0 30 16' fill='none' stroke='%237b6d5e' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'><path d='M0 10 C4 8 8 8 12 10 C16 12 20 12 24 10' /><path d='M6 6 C8 5 10 5 12 6' /></svg>");
}

section {
  margin-top: 36px;
}

.specimen,
.landscape {
  position: relative;
  padding: 30px 32px;
  background: #fdf9f2;
  border: 1px solid #d8cbbc;
  box-shadow: 0 16px 35px rgba(70, 50, 32, 0.1);
}

.specimen::before,
.landscape::before {
  content: "field record";
  position: absolute;
  top: -14px;
  left: 28px;
  padding: 4px 12px;
  background: var(--paper);
  border: 1px solid #7b6d5e;
  color: #6f6254;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.65rem;
  font-family: "Courier New", "Courier", monospace;
}

.landscape::before {
  content: "connected habitats";
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

p {
  margin: 0 0 16px;
}

hr {
  border: none;
  border-top: 1px dashed #b8aa9b;
  margin: 36px 0;
}

.batch {
  margin-top: 30px;
}

.cta {
  display: inline-block;
  padding: 10px 18px;
  margin-top: 8px;
  border-radius: 4px;
  border: 1px solid #3f3327;
  text-decoration: none;
  font-weight: 600;
  background: #f4ece1;
  color: #3f3327;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-family: "Courier New", "Courier", monospace;
}

.cta:hover {
  background: #3f3327;
  color: #f9f2e7;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.cta-group .cta {
  margin-top: 0;
}

.biome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.biome-card {
  background: #fbf7ef;
  border: 1px solid #d2c3b3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(50, 36, 22, 0.12);
  display: flex;
  flex-direction: column;
}

.biome-card img {
  width: 100%;
  display: block;
  border-bottom: 1px solid #d2c3b3;
  background: #f3ede1;
}

.biome-card-content {
  padding: 18px 20px 20px;
}

.biome-card h3 {
  text-align: left;
  margin-top: 0;
  margin-bottom: 8px;
}

.biome-card p {
  margin-bottom: 12px;
}

.biome-card a {
  text-decoration: underline;
}

.site-footer {
  text-align: center;
  padding: 32px 20px 40px;
  font-size: 0.8rem;
  color: #5f5245;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: "Courier New", "Courier", monospace;
}

.site-footer p {
  margin: 4px 0;
}

@media (max-width: 600px) {
  .site-nav {
    flex-direction: column;
    align-items: center;
  }
}
