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

body {
  background: #f4f0eb;
  color: #1c1208;
  font-family: 'Newsreader', Georgia, serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
  min-height: 100vh;
}

/* ── Left column ── */
.left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem 4rem 4.5rem;
  border-right: 1px solid rgba(0,0,0,0.08);
}

.tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1e3a8a;
  margin-bottom: 1.6rem;
}

h1 {
  font-optical-sizing: auto;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1c1208;
  margin-bottom: 1.25rem;
}

h1 em {
  font-style: normal;
  font-weight: 500;
  color: #2563eb;
}

.body-copy {
  font-optical-sizing: auto;
  font-size: 0.9rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.82;
  color: #5a4433;
  margin-bottom: 2.25rem;
  max-width: 38ch;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.input-row {
  display: flex;
  border: 1px solid rgba(28,18,8,0.2);
  background: #fff;
  transition: border-color 0.22s, box-shadow 0.22s;
}

.input-row:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

input[type="email"] {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  padding: 0.78rem 1rem;
  font-family: 'Newsreader', serif;
  font-optical-sizing: auto;
  font-style: italic;
  font-size: 0.9rem;
  color: #1c1208;
  outline: none;
}

input::placeholder { color: #b0966e; }

button {
  background: #1c1208;
  color: #f4f0eb;
  border: none;
  padding: 0.78rem 1.3rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s;
}

button:hover { background: #2563eb; }

.small-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  color: #a08060;
  letter-spacing: 0.04em;
}

/* ── Right column: diagram ── */
.right {
  display: flex;
  flex-direction: column;
  padding: 3rem 3rem 2rem;
  background: #f8f5f0;
}

.diagram-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
}

svg#diagram {
  width: 100%;
  height: 100%;
  display: block;
}

canvas#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.zone-info {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  border-left: 2px solid #2563eb;
  background: rgba(37,99,235,0.04);
  min-height: 4.5rem;
  transition: border-color 0.25s, background 0.25s;
}

.zone-info[data-zone="hyporheic"] { border-color: #1e3a8a; background: rgba(30,58,138,0.05); }
.zone-info[data-zone="ground"]    { border-color: #111827; background: rgba(3,7,18,0.05); }

.zone-info p {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  line-height: 1.65;
  color: #3a2a18;
  font-style: italic;
}

.zone-info .zone-name {
  font-style: normal;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1e3a8a;
  margin-bottom: 0.4rem;
  display: block;
}

@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; }
  .left { padding: 3rem 2rem; border-right: none; }
  .right { display: none; }
}
