/* ============================================================
   John & Nut — Portfolio Site
   "Punchy Workshop" aesthetic: cream + ink + rust + hot orange
   ============================================================ */

:root {
  /* Palette */
  --cream: #F4EDE0;
  --cream-deep: #ECE2CD;
  --ink: #1A1714;
  --ink-soft: #2B2520;
  --rust: #B84518;
  --orange: #F25C1F;
  --orange-hot: #FF6A1F;
  --mustard: #E8B53A;
  --moss: #3F5A3A;
  --paper: #FBF7EE;

  /* Type */
  --display: "Bricolage Grotesque", "Archivo Black", system-ui, sans-serif;
  --serif: "Fraunces", "Times New Roman", serif;
  --body: "Inter Tight", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --hand: "Caveat", "Comic Sans MS", cursive;

  /* Spacing & motion */
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-stamp: 0 2px 0 var(--ink), 4px 6px 0 var(--ink);
  --shadow-card: 0 1px 0 rgba(26,23,20,.08), 0 18px 40px -20px rgba(26,23,20,.35);
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.09 0 0 0 0 0.08 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a { color: inherit; }
button { font: inherit; cursor: pointer; }

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

/* Type primitives */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--rust);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--rust);
  display: inline-block;
}

.h-display {
  font-family: var(--display);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}

.serif-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.hand {
  font-family: var(--hand);
  font-weight: 700;
  color: var(--rust);
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform .25s var(--ease), background .2s, color .2s;
  position: relative;
  white-space: nowrap;
}
.btn:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn--orange {
  background: var(--orange);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn--orange:hover { background: var(--orange-hot); color: var(--ink); transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }

/* ============== Custom cursor ============== */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--paper);
  border-radius: 50%;
  transition: width .2s, height .2s, opacity .2s;
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid var(--paper);
  border-radius: 50%;
  transition: width .25s var(--ease), height .25s var(--ease), opacity .2s;
}
.cursor-ring.is-hover { width: 60px; height: 60px; }
.cursor-dot.is-hover { opacity: 0; }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ============== Nav ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  background: linear-gradient(to bottom, var(--cream) 70%, transparent);
  backdrop-filter: blur(2px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark {
  width: 32px; height: 32px;
  background: var(--orange);
  border: 2px solid var(--ink);
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 14px;
  transform: rotate(-4deg);
  transition: transform .3s var(--ease);
}
.logo:hover .logo-mark { transform: rotate(4deg); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
  font-weight: 500;
  font-size: 15px;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  position: relative;
  padding: 4px 2px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  transition: right .25s var(--ease);
}
.nav-links a:hover::after { right: 0; }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ============== HERO ============== */
.hero {
  padding: 60px 0 100px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: end;
}
.hero h1 {
  font-size: clamp(56px, 9vw, 144px);
  margin: 0;
}
.hero h1 .word {
  display: inline-block;
}
.hero h1 .accent {
  color: var(--rust);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.hero h1 .underline {
  position: relative;
  display: inline-block;
}
.hero h1 .underline svg {
  position: absolute;
  left: -4%;
  bottom: -14px;
  width: 108%;
  height: 18px;
  pointer-events: none;
}
.hero-sub {
  max-width: 560px;
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 28px 0 0;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1.5px solid var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero-meta b { font-family: var(--display); font-size: 15px; }

.hero-tag {
  position: absolute;
  font-family: var(--hand);
  font-size: 28px;
  color: var(--rust);
  transform: rotate(-6deg);
}

/* ============== Section header ============== */
.sect { padding: 100px 0; position: relative; }
.sect-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.sect-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 76px);
  line-height: .95;
  letter-spacing: -0.025em;
  margin: 12px 0 0;
  max-width: 780px;
}
.sect-head h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--rust);
}
.sect-head p {
  max-width: 360px;
  color: var(--ink-soft);
  margin: 0;
}

/* ============== How it works ============== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease);
}
.step:hover { transform: translateY(-6px); }
.step-num {
  font-family: var(--display);
  font-size: 88px;
  line-height: 1;
  color: var(--orange);
  -webkit-text-stroke: 2px var(--ink);
  margin-bottom: 18px;
}
.step h3 {
  font-family: var(--display);
  font-size: 28px;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.step p { color: var(--ink-soft); margin: 0; font-size: 15px; }
.step-arrow {
  position: absolute;
  top: 50%;
  right: -32px;
  transform: translateY(-50%);
  width: 48px;
  z-index: 2;
}
.step:last-child .step-arrow { display: none; }

@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
}

/* ============== Live preview generator ============== */
.preview-block {
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.preview-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(242,92,31,.18), transparent 50%);
  pointer-events: none;
}
.preview-block h2 { color: var(--paper); }
.preview-block h2 em { color: var(--orange); }
.preview-input-wrap {
  position: relative;
  margin-top: 22px;
}
.preview-input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--paper);
  color: var(--paper);
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  padding: 8px 0 12px;
  outline: none;
  letter-spacing: -0.02em;
}
.preview-input::placeholder { color: rgba(251,247,238,.4); }
.preview-input-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--orange);
  margin-bottom: 6px;
}
.preview-type-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.tab-chip {
  background: transparent;
  border: 1.5px solid rgba(251,247,238,.3);
  color: var(--paper);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: all .2s;
}
.tab-chip.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}
.tab-chip:hover:not(.active) { border-color: var(--paper); }

.preview-frame {
  background: var(--paper);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
  aspect-ratio: 16/11;
  position: relative;
  color: var(--ink);
  border: 1px solid rgba(0,0,0,.1);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #E8E0D0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.browser-bar i {
  width: 10px; height: 10px; border-radius: 50%; display: inline-block;
}
.browser-bar i:nth-child(1) { background: #E8665E; }
.browser-bar i:nth-child(2) { background: #E5BB42; }
.browser-bar i:nth-child(3) { background: #5BC771; }
.browser-url {
  margin-left: 10px;
  background: var(--paper);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 880px) {
  .preview-block { grid-template-columns: 1fr; padding: 28px; }
}

/* ============== Portfolio ============== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 1000px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .portfolio-grid { grid-template-columns: 1fr; } }

.pcard {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: 0 0 0 transparent;
}
.pcard:hover {
  transform: translateY(-6px) rotate(-.4deg);
  box-shadow: -8px 14px 0 var(--ink);
}
.pcard-screen {
  aspect-ratio: 4/3;
  background: var(--cream-deep);
  border-bottom: 2px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.pcard-screen .mini {
  position: absolute;
  inset: 0;
  transform: scale(1);
  transition: transform .6s var(--ease);
}
.pcard:hover .pcard-screen .mini { transform: scale(1.04); }
.pcard-meta {
  padding: 20px 22px 22px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
}
.pcard h3 {
  font-family: var(--display);
  font-size: 22px;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.pcard-type {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-soft);
}
.pcard-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--ink);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background .2s, transform .3s var(--ease);
}
.pcard:hover .pcard-arrow { background: var(--orange); transform: rotate(-45deg); }
.pcard-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}
.pcard-live {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  display: flex; align-items: center; gap: 6px;
  z-index: 2;
}
.pcard-live::before {
  content: ""; width: 6px; height: 6px; background: #5BC771; border-radius: 50%;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

/* ============== Pricing ============== */
.pricing-shell {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 28px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}
@media (max-width: 980px) {
  .pricing-shell { grid-template-columns: 1fr; padding: 24px; }
}
.tier-row {
  display: flex;
  gap: 8px;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 4px;
  margin-bottom: 22px;
}
.tier-row button {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 14px 8px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  border-radius: 10px 10px 0 0;
  position: relative;
  transition: color .2s;
}
.tier-row button.active { color: var(--ink); background: var(--cream); }
.tier-row button.active::after {
  content: "";
  position: absolute;
  left: 12%; right: 12%;
  bottom: -2px; height: 4px;
  background: var(--orange);
  border-radius: 2px;
}
.tier-detail h3 {
  font-family: var(--display);
  font-size: 36px;
  margin: 0;
  letter-spacing: -0.02em;
}
.tier-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 14px 0 4px;
}
.tier-price .num {
  font-family: var(--display);
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.tier-price .unit { color: var(--ink-soft); font-size: 14px; }
.tier-monthly {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--rust);
  margin-bottom: 18px;
}
.tier-features {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 10px;
}
.tier-features li {
  display: flex;
  align-items: start;
  gap: 12px;
  font-size: 15px;
}
.tier-features li::before {
  content: "✓";
  font-family: var(--display);
  font-weight: 800;
  color: var(--orange);
  flex-shrink: 0;
  width: 20px;
}

.calc-side h4 {
  font-family: var(--display);
  font-size: 22px;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.calc-list { display: grid; gap: 8px; max-height: 260px; overflow-y: auto; padding-right: 4px; }
.calc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all .2s;
}
.calc-item:hover { border-color: var(--ink); }
.calc-item.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.calc-item .name { font-weight: 600; font-size: 14px; }
.calc-item .price { font-family: var(--mono); font-size: 12px; opacity: .8; }
.calc-item .check {
  width: 22px; height: 22px;
  border-radius: 6px;
  border: 1.5px solid currentColor;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
}
.calc-item.active .check { background: var(--orange); border-color: var(--orange); color: var(--ink); }

.calc-total {
  margin-top: 22px;
  padding: 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 16px;
}
.calc-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 6px 0;
}
.calc-total-row.big {
  font-family: var(--display);
  font-size: 32px;
  text-transform: none;
  letter-spacing: -0.02em;
  border-top: 1px dashed rgba(251,247,238,.3);
  margin-top: 10px;
  padding-top: 14px;
}
.calc-total-row.big .v { color: var(--orange); }

/* ============== Add-ons ============== */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1100px) { .addons-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .addons-grid { grid-template-columns: 1fr; } }

.addon {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .3s var(--ease), background .3s;
  position: relative;
  overflow: hidden;
}
.addon:hover { transform: translateY(-4px); background: var(--cream-deep); }
.addon-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--orange);
  border: 1.5px solid var(--ink);
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  transform: rotate(-3deg);
}
.addon h4 {
  font-family: var(--display);
  font-size: 19px;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.addon p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  flex: 1;
}
.addon-price {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--rust);
  padding-top: 10px;
  border-top: 1px dashed var(--ink);
}

/* ============== Marquee ============== */
.marquee {
  border-block: 2px solid var(--ink);
  background: var(--orange);
  color: var(--ink);
  overflow: hidden;
  padding: 18px 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 40px;
  animation: scroll 40s linear infinite;
  padding-right: 40px;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 40px; }
.marquee-track .dot {
  display: inline-block;
  width: 14px; height: 14px;
  background: var(--ink);
  border-radius: 50%;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ============== Contact ============== */
.contact-shell {
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  position: relative;
  overflow: hidden;
}
.contact-shell::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 360px; height: 360px;
  background: var(--orange);
  border-radius: 50%;
  opacity: .9;
  z-index: 0;
}
.contact-shell > * { position: relative; z-index: 1; }
.contact-shell h2 { color: var(--paper); }
.contact-shell h2 em { color: var(--orange); }

.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--orange);
}
.field input, .field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid rgba(251,247,238,.3);
  padding: 8px 2px;
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  outline: none;
  resize: none;
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--orange); }
.field textarea { min-height: 80px; }

.contact-side ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: 14px;
  margin-top: 24px;
}
.contact-side ul li {
  font-family: var(--mono);
  font-size: 13px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.contact-side ul li b {
  color: var(--orange);
  font-family: var(--display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .1em;
  width: 80px;
  flex-shrink: 0;
}

@media (max-width: 880px) {
  .contact-shell { grid-template-columns: 1fr; padding: 32px; }
}

/* ============== Footer ============== */
.foot {
  padding: 60px 0 40px;
  border-top: 2px solid var(--ink);
  margin-top: 60px;
}
.foot-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
}
.foot-tag {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 9vw, 120px);
  line-height: .9;
  letter-spacing: -0.03em;
  margin: 0;
}
.foot-tag em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--rust); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-soft);
  flex-wrap: wrap;
  gap: 18px;
}

/* ============== Misc ============== */
.scribble { color: var(--rust); }
.spacer-sm { height: 28px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
