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

:root {
  --bg: #eee9df;
  --fg: #171612;
  --muted: #716d63;
  --line: #27251f;
  --accent: #b94a35;
  --serif: "Libre Baskerville", Georgia, serif;
  --mono: "DM Mono", monospace;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  transition: background .6s ease, color .6s ease;
  overflow-x: hidden;
}
a { color: inherit; }
.site-header {
  position: fixed;
  z-index: 10;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 4vw;
  mix-blend-mode: multiply;
}
.logo {
  font-size: 13px;
  text-decoration: none;
  letter-spacing: -.04em;
}
.mode-switch { display: flex; gap: 5px; }
.mode {
  border: 1px solid var(--fg);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 10px;
  padding: 5px 8px;
  cursor: pointer;
}
.mode.active { background: var(--fg); color: var(--bg); }

main { width: min(1200px, 92vw); margin: auto; }
.hero {
  min-height: 100vh;
  display: grid;
  align-content: center;
  position: relative;
  padding: 120px 5vw 80px;
}
.eyebrow, small, .section-label {
  font-size: 10px;
  letter-spacing: .14em;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(70px, 14vw, 190px);
  line-height: .78;
  letter-spacing: -.075em;
  margin: 30px 0 50px;
}
.hero h1 em { margin-left: 8vw; }
.intro {
  max-width: 440px;
  margin-left: 35%;
  font-size: 13px;
  line-height: 1.7;
}
.hero-links {
  display: flex;
  gap: 28px;
  margin: 50px 0 0 35%;
  font-size: 11px;
}
.hero-links a, .arrow-link, .card a { text-underline-offset: 4px; }

.ticker {
  border-block: 1px solid var(--line);
  padding: 13px 0;
  display: flex;
  gap: 55px;
  white-space: nowrap;
  overflow: hidden;
  font-size: 10px;
}
.ticker span:nth-child(3n) { font-family: var(--serif); font-style: italic; }

.grid-section, .notes, .archive {
  display: grid;
  grid-template-columns: 25% 75%;
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}
.about-copy { max-width: 650px; }
.about-copy h2, .now-grid h2, .guestbook h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(35px, 5vw, 65px);
  line-height: .95;
  letter-spacing: -.05em;
  margin: 0 0 35px;
}
.about-copy p {
  max-width: 570px;
  font-size: 14px;
  line-height: 1.9;
  margin: 0 0 18px;
}
.arrow-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 11px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.card {
  min-height: 330px;
  padding: 30px;
  background: var(--bg);
  transition: transform .35s var(--ease), background .35s ease;
}
.card:hover { transform: translateY(-8px); }
.card-no { font-size: 10px; color: var(--muted); }
.card h3 {
  font-family: var(--serif);
  font-size: 43px;
  font-weight: 400;
  margin: 80px 0 20px;
}
.card p { max-width: 390px; font-size: 12px; line-height: 1.7; }
.card a { display: block; margin-top: 28px; font-size: 10px; }

.manifesto {
  padding: 150px 8vw;
  text-align: center;
}
.manifesto p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -.05em;
  margin: 0;
}

.now-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.now-grid h2 { font-size: 38px; margin-top: 25px; }

.archive-row {
  grid-column: 2;
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  font-size: 11px;
}
.archive-row:last-child { border-bottom: 1px solid var(--line); }
.archive-row span:last-child { color: var(--muted); }

.guestbook {
  padding: 130px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: end;
}
#hello {
  border: 1px solid var(--fg);
  background: transparent;
  padding: 15px 20px;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
#hello:hover { background: var(--fg); color: var(--bg); }

footer {
  display: flex;
  justify-content: space-between;
  padding: 25px 4vw 35px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: var(--muted);
}
.paperboat {
  position: fixed;
  pointer-events: none;
  font-family: var(--serif);
  opacity: .18;
}
.boat-one { right: 8%; top: 40%; font-size: 60px; transform: rotate(-20deg); }
.boat-two { left: 7%; top: 75%; font-size: 35px; transform: rotate(18deg); }

.toast {
  position: fixed;
  left: 50%; bottom: 25px;
  transform: translate(-50%, 30px);
  opacity: 0;
  background: var(--fg);
  color: var(--bg);
  padding: 12px 18px;
  font-size: 10px;
  transition: .35s ease;
  pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* STYLE 02 — handmade indie web */
body[data-mode="web"] {
  --bg: #d9e6d0;
  --fg: #1c2819;
  --line: #1c2819;
  --accent: #7b4d2d;
  font-family: var(--mono);
}
body[data-mode="web"] .site-header {
  position: absolute;
  mix-blend-mode: normal;
}
body[data-mode="web"] .hero {
  min-height: 760px;
  border: 2px solid var(--fg);
  margin-top: 70px;
  padding: 80px 6vw;
  background: #e7eddf;
  box-shadow: 12px 12px 0 var(--fg);
}
body[data-mode="web"] .hero h1 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(60px, 12vw, 150px);
  text-transform: lowercase;
  line-height: .8;
}
body[data-mode="web"] .hero h1 em {
  font-family: var(--serif);
  font-weight: 400;
}
body[data-mode="web"] .card {
  background: #e7eddf;
  border: 0;
}
body[data-mode="web"] .card:nth-child(2) { transform: rotate(1deg); }
body[data-mode="web"] .card:nth-child(3) { transform: rotate(-.7deg); }
body[data-mode="web"] .card h3 { font-family: var(--mono); font-size: 34px; }
body[data-mode="web"] .manifesto {
  border: 2px dashed var(--fg);
  margin: 80px 0;
}
body[data-mode="web"] .paperboat { opacity: .3; }

/* STYLE 03 — night / cinematic */
body[data-mode="night"] {
  --bg: #111116;
  --fg: #ded9cc;
  --muted: #88857d;
  --line: #5d5a53;
  --accent: #d3a55b;
}
body[data-mode="night"] .site-header { mix-blend-mode: normal; }
body[data-mode="night"] .hero {
  min-height: 100vh;
  background:
    radial-gradient(circle at 70% 35%, #292832 0, transparent 27%),
    #111116;
}
body[data-mode="night"] .hero h1 {
  font-size: clamp(70px, 13vw, 175px);
  color: #eee8da;
}
body[data-mode="night"] .hero h1 em { color: #b7b1a5; }
body[data-mode="night"] .card { background: #17171d; }
body[data-mode="night"] .card:hover { background: #202027; }
body[data-mode="night"] .manifesto { background: #0c0c10; }
body[data-mode="night"] .mode.active { color: var(--bg); }
body[data-mode="night"] .paperboat { opacity: .12; }

@media (max-width: 700px) {
  .site-header { padding: 14px 5vw; }
  .hero { padding-inline: 2vw; }
  .hero h1 { font-size: clamp(62px, 18vw, 110px); }
  .hero h1 em { margin-left: 3vw; }
  .intro, .hero-links { margin-left: 5%; }
  .grid-section, .notes, .archive { grid-template-columns: 1fr; gap: 50px; padding: 90px 0; }
  .cards { grid-template-columns: 1fr; }
  .now-grid { grid-template-columns: 1fr; gap: 50px; }
  .archive-row { grid-column: 1; }
  .guestbook { display: block; padding: 90px 0; }
  #hello { margin-top: 20px; }
  footer { gap: 20px; flex-direction: column; }
}
