/* itlogs.food · product-launch page. Inter for words, JetBrains Mono for the log. Both self-hosted (fonts/). */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #111111;
  --paper: #fafaf7;
  --orange: #ff5a1f;
  --orange-2: #ff8a3d;
  --text: #1b1b1a;
  --mute: #6b6b67;
  --line: rgba(17, 17, 17, 0.08);
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 12px 40px -16px rgba(17, 17, 17, 0.18);
  --shadow-lg: 0 2px 4px rgba(17, 17, 17, 0.05), 0 40px 80px -30px rgba(17, 17, 17, 0.35);
  --r: 20px;
  --blink: 1.1s;
  --mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--text); scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01", "ss03";
  overflow-x: hidden;
}
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.05; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
p { margin: 0; }
.orange { color: var(--orange); }
.wrap { max-width: 72rem; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
.fine { font-size: 0.85rem; color: var(--mute); }
em { font-style: normal; font-weight: 600; color: var(--ink); }

/* glow */
.glow {
  position: absolute;
  inset: -20vh 0 auto 0;
  height: 90vh;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 20%, rgba(255, 90, 31, 0.16), transparent 70%),
    radial-gradient(40% 40% at 80% 10%, rgba(255, 138, 61, 0.10), transparent 70%);
  filter: blur(10px);
}

/* cursor */
.cursor {
  display: inline-block;
  width: 0.47em;
  height: 0.8em;
  margin-left: 0.22em;
  background: var(--orange);
  transform: translateY(0.08em);
  border-radius: 2px;
  animation: blink var(--blink) steps(1, end) infinite;
}
.cursor.small { width: 0.55em; height: 1em; margin-left: 0; transform: translateY(0.2em); }
.cursor.big { width: 1.4rem; height: 2.4rem; margin: 0; transform: none; border-radius: 4px; }
@keyframes blink { 50% { opacity: 0; } }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .chips .reveal:nth-child(2), .chips .reveal:nth-child(5) { transition-delay: 0.08s; }
.cards .reveal:nth-child(3), .chips .reveal:nth-child(3), .chips .reveal:nth-child(6) { transition-delay: 0.16s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .cursor { animation: none; }
  .logcard li, .logcard .sum { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: rgba(250, 250, 247, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}
.wordmark.small { font-size: 1.05rem; }
.links { display: none; gap: 1.6rem; font-size: 0.95rem; font-weight: 500; color: var(--mute); }
.links a { text-decoration: none; transition: color 0.2s; }
.links a:hover { color: var(--ink); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 48px;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn.small { height: 38px; padding: 0 0.95rem; font-size: 0.9rem; }
.btn.primary {
  color: #fff;
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 24px -10px rgba(255, 90, 31, 0.7);
}
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 16px 30px -10px rgba(255, 90, 31, 0.8); }
.btn.ghost { color: var(--ink); background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(17, 17, 17, 0.12); }
.btn.ghost:hover { background: #fff; border-color: rgba(17, 17, 17, 0.25); transform: translateY(-1px); }
.btn.ghost.light { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.25); }
.btn.ghost.light:hover { background: rgba(255, 255, 255, 0.14); }

/* hero */
.hero { text-align: center; padding-top: 4.5rem; padding-bottom: 3rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem 0.4rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 90, 31, 0.3);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.18); }
.hero h1 {
  margin: 1.5rem auto 1.25rem;
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.grad {
  background: linear-gradient(92deg, var(--orange) 0%, var(--orange-2) 55%, #ffb37a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .sub { max-width: 40rem; margin: 0 auto; font-size: 1.12rem; color: var(--mute); }
.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.75rem; }

/* film */
.film { margin: 3rem auto 0; max-width: 62rem; }
.film .poster, .film iframe, .film video {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(17, 17, 17, 0.06);
}
.film .poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; filter: saturate(0.9); }
.film .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.film .play::before {
  content: "";
  position: absolute;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(250, 250, 247, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(250, 250, 247, 0.25);
}
.film figcaption {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.2ch;
  font-size: 0.85rem;
  color: rgba(250, 250, 247, 0.75);
  text-align: left;
}
.film figcaption .k { color: #fff; font-weight: 700; }

/* proof row */
.proof {
  list-style: none;
  margin: 2.25rem auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mute);
}
.proof li::before { content: "•"; color: var(--orange); margin-right: 0.5rem; }

/* section heads */
section { padding-top: 5rem; padding-bottom: 1rem; }
.head { max-width: 46rem; margin-bottom: 2rem; }
.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}
.lead { margin-top: 1rem; font-size: 1.1rem; color: var(--mute); }

/* cards */
.cards { display: grid; gap: 1rem; }
.card {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 138, 61, 0.18), rgba(255, 90, 31, 0.10));
  color: var(--orange);
  margin-bottom: 1.1rem;
}
.card .icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card .num { position: absolute; top: 1.4rem; right: 1.4rem; font-family: var(--mono); font-size: 0.8rem; color: var(--mute); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--mute); font-size: 0.98rem; }

/* log section */
.logsec { display: grid; gap: 2rem; align-items: center; }
.ticks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.6rem; font-weight: 500; }
.ticks li { display: flex; gap: 0.7rem; align-items: flex-start; }
.ticks li::before {
  content: "\2713";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 0.2rem;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}
.logcard {
  font-family: var(--mono);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r);
  padding: 0 1.1rem 1rem;
  box-shadow: var(--shadow-lg);
  overflow-x: auto;
}
.logcard .bar { display: flex; align-items: center; gap: 0.45rem; height: 44px; border-bottom: 1px solid rgba(250, 250, 247, 0.12); margin-bottom: 0.6rem; }
.logcard .bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(250, 250, 247, 0.18); }
.logcard .bar b { margin-left: 0.6rem; font-weight: 400; font-size: 0.75rem; color: rgba(250, 250, 247, 0.5); }
.logcard ol { list-style: none; margin: 0; padding: 0; font-size: 0.92rem; line-height: 1.95; }
.logcard li {
  display: grid;
  grid-template-columns: 5ch 1fr 6ch 8ch 9ch;
  gap: 1.2ch;
  white-space: nowrap;
  opacity: 0;
  animation: write 0.2s steps(1, end) forwards;
}
.logcard li:nth-child(1) { animation-delay: 0.3s; }
.logcard li:nth-child(2) { animation-delay: 1.3s; }
.logcard li:nth-child(3) { animation-delay: 2.3s; }
.logcard li:nth-child(4) { animation-delay: 3.3s; }
.logcard li:nth-child(5) { animation-delay: 4.3s; grid-template-columns: 5ch 1fr auto; }
@keyframes write { to { opacity: 1; } }
.logcard .t { color: rgba(250, 250, 247, 0.45); }
.logcard .g { text-align: right; font-weight: 600; }
.logcard .c { text-align: right; color: rgba(250, 250, 247, 0.7); }
.logcard .s { color: var(--orange); text-align: right; }
.logcard .sum {
  display: flex; gap: 2ch; justify-content: flex-end;
  margin: 0.6rem 0 0; padding-top: 0.6rem;
  border-top: 1px solid rgba(250, 250, 247, 0.12);
  font-size: 0.85rem; color: rgba(250, 250, 247, 0.7);
  opacity: 0; animation: write 0.2s steps(1, end) 5.2s forwards;
}
.logcard .sum span { white-space: nowrap; }
.logcard .sum span:first-child { margin-right: auto; color: var(--orange); font-weight: 600; }

/* gallery bento */
.bento { display: grid; gap: 1rem; }
.bento figure { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--card); }
.bento img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform 0.6s ease; }
.bento figure:hover img { transform: scale(1.02); }
.bento .quote { padding: 1.6rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; border: 1px solid var(--line); }
.bento blockquote { margin: 0; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; }
.bento .quote figcaption { font-size: 0.82rem; color: var(--mute); }
.gallery .fine { margin-top: 1rem; }

/* built on */
.chips { display: grid; gap: 1rem; }
.chip {
  padding: 1.3rem 1.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.35rem;
}
.chip b { font-weight: 700; letter-spacing: -0.01em; }
.chip span { color: var(--mute); font-size: 0.95rem; }

/* band */
.band { padding-bottom: 4rem; }
.bandcard {
  position: relative;
  overflow: hidden;
  padding: 3rem 1.6rem;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(255, 138, 61, 0.45), transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(255, 90, 31, 0.35), transparent 60%),
    var(--ink);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.bandcard h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.bandcard p { margin: 1rem auto 0; max-width: 36rem; color: rgba(255, 255, 255, 0.75); }
.bandcard .cta { margin-top: 1.6rem; }

/* footer */
footer { padding-top: 1rem; padding-bottom: 3rem; color: var(--mute); font-size: 0.92rem; display: grid; gap: 0.6rem; }
footer .legal { font-size: 0.78rem; }

/* wide screens */
@media (min-width: 48rem) {
  .links { display: flex; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .logsec { grid-template-columns: 1fr 1.15fr; gap: 3rem; }
  .bento { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; }
  .bento .big { grid-row: 1 / 3; }
  .bento .big img { aspect-ratio: auto; height: 100%; }
  .bandcard { padding: 4rem 2rem; }
  section { padding-top: 6.5rem; }
}
@media (min-width: 64rem) {
  .chips { grid-template-columns: repeat(3, 1fr); }
  .hero { padding-top: 6rem; }
}

/* narrow screens: the log drops the time and kcal columns */
@media (max-width: 40rem) {
  .logcard ol { font-size: 0.8rem; }
  .logcard li { grid-template-columns: 1fr 6ch 9ch; }
  .logcard li:nth-child(5) { grid-template-columns: 1fr auto; }
  .logcard .t, .logcard .c { display: none; }
  .logcard .sum { font-size: 0.75rem; gap: 1.5ch; }
  .film figcaption { font-size: 0.75rem; }
  .film .play::before { width: 84px; height: 84px; }
}
