/* Homemade Lopez Recipe — recipe card / timeline layout */

:root {
  --terra: #b3552d;
  --terra-dark: #8f3f20;
  --cream-h: #fdf6ec;
  --card-bg: #fffdf8;
  --entry: #292420;
  --soft-h: #85796b;
  --hairline: #e6d9c6;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream-h);
  color: var(--entry);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16.5px;
  line-height: 1.7;
}

h1, h2, h3 { font-family: "Courier New", Courier, monospace; color: var(--terra-dark); }
h1 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); margin: 0 0 0.7rem; letter-spacing: -0.01em; }
h2 { font-size: 1.25rem; margin: 2.4rem 0 1rem; padding-left: 0.8rem; border-left: 6px solid var(--terra); }
h3 { font-size: 1.02rem; margin: 0 0 0.4rem; }

p { margin: 0 0 1rem; }
a { color: var(--terra); }
a:hover { color: var(--terra-dark); }

.topline {
  background: var(--terra-dark); color: var(--cream-h);
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.5rem 1rem; text-align: center;
}
.topline a { color: var(--cream-h); margin: 0 0.8rem; text-decoration: none; }
.topline a:hover { color: #ffd9a8; }

.wrap { max-width: 900px; margin: 0 auto; padding: 0 1.2rem; }
.hero { padding: 2.6rem 0 1.6rem; }
.hero .byline { font-size: 0.85rem; color: var(--soft-h); font-style: italic; }

/* timeline entries */
.timeline { list-style: none; margin: 0; padding: 0 0 0 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 14px; top: 6px; bottom: 6px;
  width: 2px; background: repeating-linear-gradient(to bottom, var(--terra) 0 8px, transparent 8px 14px);
  opacity: 0.55;
}
.tl-item { position: relative; padding: 0 0 1.7rem 3rem; }
.tl-item::before {
  content: counter(tl, decimal-leading-zero);
  counter-increment: tl;
  position: absolute; left: -0.4rem; top: -0.15rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--terra); color: #fff;
  font-family: "Courier New", monospace; font-weight: bold; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}
.timeline { counter-reset: tl; }
.tl-item h3 { font-size: 1.05rem; }
.tl-item p { font-size: 0.95rem; margin-bottom: 0.5rem; }
.sauce-line, .build-line {
  font-size: 0.82rem; color: var(--soft-h);
  background: var(--card-bg); border: 1px dashed var(--hairline);
  border-radius: 6px; padding: 0.4rem 0.7rem; margin: 0.35rem 0 0;
}
.sauce-line b, .build-line b { color: var(--terra); font-weight: bold; }

/* two-col for main text on wide screens */
.two { columns: 2; column-gap: 2.5rem; }
@media (max-width: 760px) { .two { columns: 1; } }

/* download card */
.pick {
  border: 2px solid var(--terra); background: var(--card-bg);
  border-radius: 10px; padding: 1.2rem 1.3rem; margin: 1.6rem 0;
}
.pick h3 { margin-top: 0; }
.btn-terra {
  display: inline-block; background: var(--terra); color: #fff;
  font-family: "Courier New", monospace; font-weight: bold;
  padding: 0.6rem 1.3rem; border-radius: 6px; text-decoration: none; margin-top: 0.7rem;
}
.btn-terra:hover { background: var(--terra-dark); }

.note {
  background: #f7ead9; border-left: 4px solid var(--terra);
  padding: 0.8rem 1rem; font-size: 0.85rem; margin-top: 1.4rem;
}

/* footer */
.foot {
  background: var(--terra-dark); color: var(--cream-h);
  padding: 1.6rem 0 1.8rem; font-size: 0.85rem;
}
.foot .wrap { display: flex; flex-direction: column; gap: 0.5rem; }
.foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; margin: 0.4rem 0; padding: 0; }
.foot a { color: var(--cream-h); }

.faq details { border: 1px solid var(--hairline); background: var(--card-bg); border-radius: 8px; padding: 0.7rem 1rem; margin-bottom: 0.6rem; }
.faq summary { font-family: "Courier New", monospace; font-weight: bold; cursor: pointer; color: var(--terra-dark); }
.faq details[open] summary { margin-bottom: 0.5rem; }

.page-head { padding: 2.2rem 0 0.6rem; }
