/* CHARLES FOOTE — ASTORIA RUN */
/* Design System: Salt, Cedar, Void */

:root {
  --void: #050b14;
  --mast: #c9d6e9;
  --salt: #f0f6ff;
  --keel: #1a2b4c;
  --cedar: #8b5a2b;
  --rope: #d4c4a8;
  --tide: #2a4a6a;
}

* { box-sizing: border-box; }

body {
  background: var(--void);
  color: var(--mast);
  font-family: "Courier New", monospace;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.4;
}

h1, h2, h3 {
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

a {
  color: var(--salt);
  text-decoration: none;
  border-bottom: 1px solid var(--keel);
  transition: border-color 0.3s, color 0.3s;
}

a:hover {
  border-color: var(--cedar);
  color: var(--cedar);
}

.nav-rig {
  display: flex;
  gap: 2em;
  justify-content: center;
  margin: 3em auto;
  flex-wrap: wrap;
  max-width: 60ch;
}

.nav-rig a {
  border: 1px solid var(--salt);
  padding: 0.5em 1.5em;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9em;
  border-bottom: none;
}

.nav-rig a:hover {
  background: var(--keel);
  border-color: var(--mast);
  color: var(--salt);
}

.main-stage {
  max-width: 60ch;
  margin: 4em auto;
  text-align: center;
  padding: 0 2em;
}

.drop-cap {
  float: left;
  font-size: 4em;
  line-height: 0.8;
  border: 2px solid var(--salt);
  padding: 0.5em;
  margin-right: 1em;
  margin-bottom: 0.5em;
  text-shadow: 0 0 20px var(--keel);
}

.img-frame {
  width: 100%;
  aspect-ratio: 16/9;
  background: radial-gradient(circle at 30% 30%, var(--salt), transparent);
  border: 1px solid var(--keel);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 2em auto;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.2) contrast(1.1);
}

.section-break {
  border-bottom: 1px solid var(--keel);
  padding-bottom: 0.5em;
  margin-top: 4em;
  margin-bottom: 2em;
  text-align: center;
}

.tide-mark {
  position: fixed;
  bottom: 1em;
  left: 1em;
  writing-mode: vertical-lr;
  font-size: 0.8rem;
  opacity: 0.5;
  white-space: nowrap;
}
