/* Shared CANOA styles, used by the landing page and by Thoughts.
 * Mirrors the palette and typography of canoa.html so every page on the
 * site feels like one document.
 */
:root {
  --ink: #e6ecec;
  --ink-dim: #9fb1b3;
  --ink-faint: #65797b;
  --gold: #c9a44c;
  --gold-bright: #e9c878;
  --teal: #6fb6bd;
  --teal-deep: #2c5a60;
  --bg: #070d10;
  --line: rgba(111, 182, 189, 0.20);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: radial-gradient(120% 90% at 50% -10%, #0e1b1f 0%, var(--bg) 55%, #03070a 100%);
  color: var(--ink);
  font-family: 'EB Garamond', Georgia, serif;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(80% 60% at 50% 42%, transparent 38%, rgba(2, 6, 9, 0.78) 100%);
}

.wrap {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 28px;
}

/* navigation */
.site-nav {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 30px 28px;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.7rem;
}
.site-nav a {
  color: var(--ink-dim);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .35s ease, border-color .35s ease;
}
.site-nav a:hover { color: var(--gold); border-color: rgba(201, 164, 76, 0.4); }
.site-nav .home { color: var(--teal); letter-spacing: 0.4em; }

/* common type */
.kicker {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--teal);
  padding-left: 0.4em;
}
h1.title {
  font-family: 'Cinzel', serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: 0.14em;
  padding-left: 0.14em;
  line-height: 1.1;
  margin: 0.4em 0;
  background: linear-gradient(180deg, #eef4f4 0%, var(--teal) 50%, #234e53 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(111, 182, 189, 0.28);
}
.lede {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--ink-dim);
  max-width: 56ch;
  margin: 0 auto;
}

/* divider with vesica */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 60px auto;
}
.divider .rule {
  height: 1px;
  width: min(180px, 26vw);
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.divider svg {
  width: 36px;
  height: 36px;
  color: var(--teal);
  opacity: 0.85;
}

/* article body */
article.thought {
  font-size: clamp(1.1rem, 2vw, 1.22rem);
  color: var(--ink-dim);
  max-width: 64ch;
  margin: 0 auto;
}
article.thought h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--ink);
  margin: 2.2em 0 0.6em;
  letter-spacing: 0.01em;
}
article.thought h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--ink);
  margin: 1.8em 0 0.5em;
}
article.thought p { margin-bottom: 1.2em; }
article.thought p strong { color: var(--ink); font-weight: 500; }
article.thought blockquote {
  border-left: 1px solid var(--line);
  padding-left: 1.4em;
  margin: 1.8em 0;
  font-style: italic;
  color: var(--ink);
}
article.thought a { color: var(--teal); text-decoration: underline solid rgba(111, 182, 189, 0.3); }
article.thought a:hover { color: var(--gold); text-decoration-color: rgba(201, 164, 76, 0.5); }
article.thought ul, article.thought ol { margin: 1em 0 1.4em 1.6em; }
article.thought li { margin-bottom: 0.4em; }

/* post meta block under the title */
.post-meta {
  text-align: center;
  margin: 1em 0 2.4em;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--ink-faint);
}
.post-meta .author { color: var(--teal); }
.post-meta time { color: var(--gold); }
.post-meta .sep { opacity: 0.4; margin: 0 12px; }

/* tag chips under the meta line */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 1.4em 0 2.6em;
}
.tag {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.62rem;
  color: var(--ink-dim);
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(111, 182, 189, 0.04);
  text-decoration: none;
  transition: color .3s ease, border-color .3s ease, background .3s ease;
}
.tag:hover {
  color: var(--gold-bright);
  border-color: rgba(201, 164, 76, 0.3);
  background: rgba(201, 164, 76, 0.05);
}

/* index list of posts */
.posts {
  max-width: 64ch;
  margin: 0 auto;
  padding: 0 8px;
}
.posts .item {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.posts .item:last-child { border-bottom: 0; }
.posts .item a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  transition: color .35s ease;
}
.posts .item a:hover h2 { color: var(--gold-bright); }
.posts .item h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 0.3em;
  transition: color .35s ease;
}
.posts .item .dek {
  color: var(--ink-dim);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
}
.posts .item .meta {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.65rem;
  color: var(--ink-faint);
  margin-top: 0.7em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.posts .item .meta time { color: var(--gold); }
.posts .item .meta .author { color: var(--teal); }
.posts .item .meta .sep { opacity: 0.4; }
.posts .item .meta .tag-inline {
  color: var(--ink-faint);
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
}

/* footer */
footer {
  margin: 100px auto 60px;
  text-align: center;
}
footer .mark {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.5em;
  font-size: 1rem;
  color: var(--teal);
}
footer .small {
  margin-top: 12px;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
footer .small a { color: var(--ink-faint); text-decoration: none; }
footer .small a:hover { color: var(--gold); }

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}
.reveal.in { opacity: 1; transform: none; }
