:root {
  --paper: #F5F3EC;
  --ink: #1C1B1A;
  --ink-soft: #6B675E;
  --line: #DDD8CC;
  --card: #FFFDF8;
  --accent: #E4572E;
  --blue: #2547D0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Instrument Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.03 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; }
a:focus-visible,
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.home-page { font-size: 17px; line-height: 1.65; }
.article-page { font-size: 17.5px; line-height: 1.75; }
.home-page .wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }
.article-page .wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.tape {
  position: absolute;
  width: 90px;
  height: 26px;
  background: rgba(230, 220, 180, .55);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
  backdrop-filter: blur(1px);
}

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.home-page .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.article-page .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.02rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.logo .dot { width: 13px; height: 13px; border-radius: 50%; background: var(--accent); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.menu-toggle {
  display: none;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  padding: .42rem .8rem;
  font: 600 .78rem 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
}
.back { text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.back:hover { color: var(--ink); }

.home-page header { padding: 5.5rem 0 4rem; position: relative; }
.home-page .eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: .76rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.home-page h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 6.8vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 1rem 0 1.2rem;
  max-width: 15ch;
}
.home-page h1 .strike { position: relative; white-space: nowrap; }
.home-page h1 .strike::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: 54%;
  height: 4px;
  background: var(--accent);
  transform: rotate(-2deg);
  border-radius: 2px;
}
.home-page h1 .hl { background: linear-gradient(transparent 58%, rgba(242, 193, 78, .75) 58%); padding: 0 .1em; }
.hero-hand {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--blue);
  transform: rotate(-1.5deg);
  display: inline-block;
  margin-top: .2rem;
}
.lede { max-width: 34rem; color: var(--ink-soft); font-size: 1.1rem; margin-top: .8rem; }
.hero-arrow { position: absolute; right: 8%; top: 9rem; width: 120px; opacity: .9; transform: rotate(12deg); }
.featured-zone {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.home-page .polaroid {
  background: #fff;
  padding: 16px 16px 60px;
  box-shadow: 0 12px 34px rgba(30, 25, 15, .16);
  transform: rotate(-2.4deg);
  position: relative;
  transition: transform .25s;
}
.home-page .polaroid:hover { transform: rotate(-1deg) scale(1.015); }
.home-page .polaroid .ph { height: 440px; background-size: cover; background-position: center; position: relative; }
.home-page .polaroid .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-page .polaroid .ph .meta {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-family: 'Space Mono', monospace;
  font-size: .68rem;
  letter-spacing: .08em;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}
.home-page .polaroid .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  text-align: center;
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: 1.45rem;
  color: #3a3630;
  transform: rotate(-.5deg);
}
.home-page .polaroid .tape { top: -13px; left: 50%; transform: translateX(-50%) rotate(-3deg); }
.stamp {
  position: absolute;
  right: -18px;
  top: -18px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2.5px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Space Mono', monospace;
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: rotate(12deg);
  background: rgba(255, 253, 248, .7);
  line-height: 1.4;
}
.featured-txt .kicker {
  font-family: 'Space Mono', monospace;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.featured-txt h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.13;
  letter-spacing: -.02em;
  margin: .7rem 0 1rem;
}
.featured-txt p { color: var(--ink-soft); margin-bottom: 1rem; }
.home-page .margin-note {
  font-family: 'Caveat', cursive;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--blue);
  transform: rotate(-1deg);
  display: block;
  margin: .4rem 0 1rem;
}
.readmore { text-decoration: none; font-weight: 600; font-size: .95rem; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.pal-row { display: flex; height: 34px; margin: 1.1rem 0; max-width: 340px; gap: 5px; }
.pal-row button {
  flex: 1;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transform: rotate(var(--r, 0deg));
  transition: transform .2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .12);
}
.pal-row button:hover { transform: rotate(0deg) scale(1.12); }
.filmstrip { margin-top: 3.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
.filmcard {
  background: #fff;
  padding: 14px 14px 52px;
  position: relative;
  box-shadow: 0 12px 30px rgba(30, 25, 15, .15);
  transform: rotate(var(--fr, 1.4deg));
  transition: transform .25s;
}
.filmcard:hover { transform: rotate(0deg) scale(1.012); }
.filmcard:first-child { --fr: -1.6deg; }
.filmcard video { display: block; width: 100%; height: auto; background: #111; }
.filmcard .tape { top: -12px; right: 26px; transform: rotate(5deg); }
.filmcard:first-child .tape { right: auto; left: 26px; transform: rotate(-6deg); }
.filmcard .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  text-align: center;
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: 1.35rem;
  color: #3a3630;
}
.filmcard .rec {
  position: absolute;
  top: 24px;
  left: 26px;
  font-family: 'Space Mono', monospace;
  font-size: .64rem;
  letter-spacing: .12em;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}
.filmcard .rec::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 6px;
  vertical-align: 1px;
}
.home-page section { padding: 4.5rem 0; position: relative; }
.sec-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  letter-spacing: -.02em;
  margin: .4rem 0 .3rem;
  display: inline-block;
  position: relative;
}
.sec-title .squiggle { position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; }
.sec-note {
  font-family: 'Caveat', cursive;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--ink-soft);
  margin: .9rem 0 2.4rem;
  transform: rotate(-.6deg);
  display: inline-block;
}
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2.2rem 1.8rem; }
.post {
  background: var(--card);
  border: 1px solid var(--line);
  overflow: visible;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 8px 24px rgba(30, 25, 15, .09);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .22s, box-shadow .22s;
}
.post:hover { transform: rotate(0deg) translateY(-5px); box-shadow: 0 16px 38px rgba(30, 25, 15, .14); z-index: 5; }
.post:nth-child(3n+1) { --tilt: -1.3deg; }
.post:nth-child(3n+2) { --tilt: .9deg; margin-top: 1.2rem; }
.post:nth-child(3n) { --tilt: -.6deg; margin-top: .5rem; }
.post .tape { top: -12px; left: 22px; transform: rotate(-5deg); width: 74px; height: 22px; }
.post:nth-child(even) .tape { left: auto; right: 22px; transform: rotate(6deg); }
.post .shot { height: 190px; position: relative; background-size: cover; background-position: center; margin: 10px 10px 0; }
.post .shot > img,
.post .shot > video { width: 100%; height: 100%; object-fit: cover; display: block; }
.post .shot .meta {
  position: absolute;
  left: 10px;
  bottom: 8px;
  font-family: 'Space Mono', monospace;
  font-size: .66rem;
  letter-spacing: .07em;
  color: #fff;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .5);
}
.post .duo { display: flex; gap: 6px; margin: 6px 10px 0; }
.post .duo .cell { flex: 1; position: relative; }
.post .duo video { width: 100%; height: 112px; object-fit: cover; display: block; }
.post .duo .cap {
  position: absolute;
  left: 6px;
  bottom: 4px;
  font-family: 'Space Mono', monospace;
  font-size: .58rem;
  letter-spacing: .08em;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}
.post .body { padding: 1rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.post h3 { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; line-height: 1.25; }
.post h3 a { text-decoration: none; }
.post .excerpt { font-size: .92rem; color: var(--ink-soft); flex: 1; }
.post .hand-note {
  font-family: 'Caveat', cursive;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--blue);
  transform: rotate(-1deg);
  margin-top: .2rem;
}
.post .postmeta { font-family: 'Space Mono', monospace; font-size: .72rem; color: var(--ink-soft); margin-top: .4rem; }
.post .mini-pal { display: flex; gap: 4px; margin-top: .6rem; }
.post .mini-pal button {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
  transition: transform .15s;
}
.post .mini-pal button:hover { transform: scale(1.25); }
.destinations { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; text-align: center; width: 100%; }
.dest {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: .55rem 1.2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  transition: transform .15s, background .15s, color .15s;
}
.dest:hover { transform: translateY(-2px); background: var(--ink); color: var(--paper); }
.dest .sw { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.about { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: start; }
.about p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 36rem; }
.about p strong { color: var(--ink); }
.sticky-note {
  background: #FFF3B8;
  padding: 1.6rem 1.5rem;
  position: relative;
  transform: rotate(1.8deg);
  box-shadow: 0 10px 26px rgba(30, 25, 15, .13);
  font-family: 'Caveat', cursive;
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.45;
  color: #3a3630;
}
.sticky-note .tape { top: -12px; left: 50%; transform: translateX(-50%) rotate(2deg); }
.sticky-note ul { list-style: none; }
.sticky-note li { padding: .25rem 0; border-bottom: 1px dashed rgba(0, 0, 0, .12); }
.sticky-note li:last-child { border: none; }
.sticky-note li::before { content: "→ "; color: var(--accent); }
.home-page footer { border-top: 1px solid var(--line); padding: 3rem 0; text-align: center; position: relative; z-index: 2; }
.foot-small { font-size: .8rem; color: var(--ink-soft); font-family: 'Space Mono', monospace; }
.foot-hand {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: .5rem;
  transform: rotate(-1deg);
  display: inline-block;
}

.article-page header { padding: 4.5rem 0 2.5rem; }
.article-page .kicker {
  font-family: 'Space Mono', monospace;
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
}
.article-page h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: .8rem 0 .6rem;
}
.subtitle {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--blue);
  transform: rotate(-1deg);
  display: inline-block;
}
.logbook {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(30, 25, 15, .08);
  padding: 1.4rem 1.6rem;
  margin: 2.2rem 0;
  transform: rotate(-.4deg);
  position: relative;
}
.logbook .tape { width: 80px; height: 24px; top: -12px; left: 28px; transform: rotate(-4deg); }
.logbook h2 {
  font-family: 'Space Mono', monospace;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .7rem;
}
.logbook ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 2rem; }
.logbook li { font-size: .92rem; padding: .3rem 0; border-bottom: 1px dashed var(--line); }
.logbook li b {
  font-family: 'Space Mono', monospace;
  font-weight: 400;
  font-size: .76rem;
  color: var(--ink-soft);
  display: block;
}
.article-page article { padding-bottom: 2rem; }
.article-page article p { margin: 1.3rem 0; color: #33312C; }
.article-page article p.big:first-letter {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 3.2em;
  float: left;
  line-height: .85;
  padding-right: .12em;
  color: var(--accent);
}
.article-page .margin-note {
  font-family: 'Caveat', cursive;
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--blue);
  transform: rotate(-1deg);
  display: block;
  margin: 1rem 0;
}
.article-page .polaroid {
  background: #fff;
  padding: 14px 14px 54px;
  box-shadow: 0 12px 32px rgba(30, 25, 15, .15);
  transform: rotate(-1.6deg);
  position: relative;
  margin: 2.4rem 0;
  transition: transform .25s;
}
.article-page .polaroid:hover { transform: rotate(-.4deg); }
.article-page .polaroid img,
.article-page .polaroid video { display: block; width: 100%; height: auto; }
.article-page .polaroid .tape { width: 88px; height: 25px; top: -13px; left: 50%; transform: translateX(-50%) rotate(-3deg); }
.article-page .polaroid .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  text-align: center;
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: 1.4rem;
  color: #3a3630;
}
.article-page .polaroid .rec {
  position: absolute;
  top: 26px;
  left: 28px;
  font-family: 'Space Mono', monospace;
  font-size: .64rem;
  letter-spacing: .12em;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}
.article-page .polaroid .rec::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 6px;
  vertical-align: 1px;
}
.article-page .polaroid.tilt-r { transform: rotate(1.4deg); }
.article-page .polaroid.tilt-r:hover { transform: rotate(.3deg); }
.pal-section {
  margin: 3rem 0;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.8rem;
  transform: rotate(.5deg);
  box-shadow: 0 8px 24px rgba(30, 25, 15, .08);
}
.pal-section h2 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.2rem; margin-bottom: .4rem; }
.pal-section .note {
  font-family: 'Caveat', cursive;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  display: block;
}
.swatches { display: flex; gap: 8px; height: 110px; }
.swatches button {
  flex: 1;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .14);
  transform: rotate(var(--r, 0deg));
  transition: transform .2s;
}
.swatches button:hover { transform: rotate(0deg) scale(1.05); }
.swatches button b {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  font-family: 'Space Mono', monospace;
  font-weight: 400;
  font-size: .66rem;
  color: #fff;
  mix-blend-mode: difference;
}
.pager { display: flex; justify-content: space-between; gap: 1rem; margin: 3rem 0 4rem; flex-wrap: wrap; }
.pager a { text-decoration: none; font-weight: 600; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.article-page footer { border-top: 1px solid var(--line); padding: 2.5rem 0; text-align: center; position: relative; z-index: 2; }
.article-page .foot-small { font-size: .78rem; }

#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--ink);
  color: var(--paper);
  padding: .7rem 1.2rem;
  border-radius: 999px;
  font-family: 'Space Mono', monospace;
  font-size: .82rem;
  transition: transform .3s;
  z-index: 99;
}
#toast.show { transform: translateX(-50%) translateY(0); }

@media (max-width: 900px) { .hero-arrow { display: none; } }
@media (max-width: 880px) { .featured-zone { grid-template-columns: 1fr; gap: 2.5rem; } }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .filmstrip { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .post { margin-top: 0 !important; } }
@media (max-width: 640px) {
  .home-page .nav-inner { position: relative; }
  .menu-toggle { display: block; }
  .home-page .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: .35rem 0;
    background: color-mix(in srgb, var(--paper) 97%, transparent);
    border: 1px solid var(--line);
    border-top: 0;
    box-shadow: 0 12px 24px rgba(30, 25, 15, .12);
  }
  .home-page .nav-links.open { display: flex; }
  .home-page .nav-links li + li { border-top: 1px dashed var(--line); }
  .home-page .nav-links a {
    display: block;
    padding: .8rem 1rem;
    color: var(--ink);
  }
}
@media (max-width: 520px) {
  .home-page h1 .strike {
    white-space: normal;
    text-decoration-line: line-through;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 4px;
    text-decoration-skip-ink: none;
  }
  .home-page h1 .strike::after { display: none; }
}
@media (max-width: 420px) {
  .home-page h1 {
    max-width: none;
    font-size: clamp(2.15rem, 11vw, 2.8rem);
  }
}
@media (max-width: 560px) { .logbook ul { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
