/* The Forks — independent self-serve ramen & gaming-cafe guide.
   Warm editorial food-magazine theme. Custom CSS, CSS Grid/Flexbox.
   All content visible with CSS alone — no JS gating, no scroll-reveal traps. */

:root {
  --clay-900: #5c1f11;
  --clay-700: #8f2f19;
  --clay-500: #b4472e;   /* primary chili-clay */
  --clay-300: #d97b5f;
  --cream-50: #fdf8ef;
  --cream-100: #fbf3e3;
  --cream-200: #f3e5cb;
  --cream-300: #e9d6b3;
  --nori-900: #1a120d;
  --nori-800: #241a15;   /* body text */
  --nori-600: #4a3b31;
  --nori-400: #7a6a5d;
  --teal-500: #12b7a6;   /* gaming accent */
  --teal-700: #0c8577;
  --gold-500: #e8a33d;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(60,30,15,.10);
  --shadow-md: 0 8px 24px rgba(60,30,15,.12);
  --shadow-lg: 0 18px 48px rgba(60,30,15,.18);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1120px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--nori-800);
  background: var(--cream-50);
  line-height: 1.7;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--clay-700); text-decoration: none; }
a:hover { color: var(--clay-500); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--nori-900);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); margin-top: 1.8em; }
h3 { font-size: 1.28rem; margin-top: 1.4em; }
p { margin: 0 0 1.15em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 22px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253,248,239,.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--cream-300);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 14px 22px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; }
.brand a { color: var(--nori-900); font-size: 1.5rem; display:flex; align-items:center; gap:12px; }
.brand a:hover { text-decoration: none; color: var(--clay-700); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--clay-500), var(--clay-700));
  color: var(--cream-50); display: grid; place-items: center;
  font-size: 1.3rem; box-shadow: var(--shadow-sm);
}
.brand small { display:block; font-family: var(--font-body); font-weight:600; font-size:.66rem; letter-spacing:.14em; text-transform:uppercase; color: var(--teal-700); margin-top:1px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-links a {
  color: var(--nori-600); font-weight: 600; font-size: .95rem;
  padding: 8px 12px; border-radius: 9px; display: block;
}
.nav-links a:hover { background: var(--cream-200); color: var(--clay-700); text-decoration: none; }
.nav-toggle {
  display: none; background: var(--clay-500); color: #fff; border: 0;
  width: 44px; height: 44px; border-radius: 10px; font-size: 1.3rem; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--nori-900); }
.hero img.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5;
}
.hero-inner {
  position: relative; max-width: var(--maxw); margin: 0 auto; padding: 92px 22px 84px;
  color: var(--cream-50);
}
.hero-inner .eyebrow { color: var(--gold-500); font-weight: 800; letter-spacing:.16em; text-transform:uppercase; font-size:.8rem; margin-bottom:14px; }
.hero-inner h1 { color: #fff; max-width: 15ch; text-shadow: 0 2px 24px rgba(0,0,0,.4); }
.hero-inner p.lead { font-size: 1.25rem; max-width: 46ch; color: #f7ead6; }
.hero-cta { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }

/* page header for interior pages */
.page-head { background: linear-gradient(160deg, var(--clay-700), var(--clay-900)); color: var(--cream-50); padding: 62px 0 52px; }
.page-head .eyebrow { color: var(--gold-500); font-weight:800; letter-spacing:.15em; text-transform:uppercase; font-size:.78rem; }
.page-head h1 { color: #fff; margin-top: 10px; }
.page-head p { color: #f4e6d3; font-size: 1.12rem; max-width: 60ch; margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 700; font-family: var(--font-body);
  padding: 13px 24px; border-radius: 40px; cursor: pointer; border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease; font-size: 1rem;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary { background: linear-gradient(135deg, var(--clay-500), var(--clay-700)); color: #fff; }
.btn-ghost { background: transparent; color: var(--cream-50); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color:#fff; }
.btn-teal { background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); color: #fff; }

/* ---------- Main content ---------- */
main { display: block; }
.section { padding: 56px 0; }
.prose { font-size: 1.075rem; }
.prose h2 { border-bottom: 2px solid var(--cream-300); padding-bottom: .28em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li strong, .prose p strong { color: var(--clay-700); }
.prose img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin: 8px 0 28px; width: 100%; }
.figure { margin: 8px 0 30px; }
.figure figcaption { font-size: .9rem; color: var(--nori-400); margin-top: 8px; text-align: center; }

/* article hero image */
.article-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; margin: 0 0 30px; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-figure { margin: -40px 0 34px; }
.hero-figure img { aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin: 30px 0; }
.card {
  background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .14s ease, box-shadow .14s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 14px; background: var(--cream-100); color: var(--clay-500); }
.card.teal .ico { background: rgba(18,183,166,.12); color: var(--teal-700); }
.card h3 { margin-top: 0; }
.card p { margin-bottom: 12px; color: var(--nori-600); font-size: 1rem; }
.card a.more { font-weight: 700; }

/* callout box */
.callout {
  background: linear-gradient(135deg, var(--cream-100), var(--cream-200));
  border-left: 5px solid var(--gold-500); border-radius: var(--radius);
  padding: 22px 26px; margin: 28px 0; box-shadow: var(--shadow-sm);
}
.callout.teal { border-left-color: var(--teal-500); }
.callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

/* two-column intro */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
@media (max-width: 820px){ .split { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Contact form ---------- */
.contact-form { display: grid; gap: 6px; max-width: 620px; margin: 10px 0 8px; }
.contact-form label { font-weight: 700; font-size: .95rem; margin-top: 10px; }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body); font-size: 1rem; padding: 12px 14px;
  border: 2px solid var(--cream-300); border-radius: 10px; background: var(--white); color: var(--nori-800);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--clay-500); }
.contact-form button { margin-top: 16px; justify-self: start; }

/* ---------- Footer ---------- */
.site-footer { background: var(--nori-900); color: #cdbfae; margin-top: 40px; padding: 52px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
@media (max-width: 720px){ .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #e7d8c6; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 8px; }
.footer-brand .brand-mark { margin-bottom: 12px; }
.footer-brand p { color: #b6a693; font-size: .96rem; }
.footer-disclaimer {
  border-top: 1px solid #3a2c22; margin-top: 34px; padding-top: 20px;
  font-size: .84rem; color: #9c8b79; max-width: 900px;
}
.footer-legal { margin-top: 14px; font-size: .82rem; color: #7f6f5f; }

/* ---------- 404 ---------- */
.err-wrap { text-align: center; padding: 96px 22px; max-width: 640px; margin: 0 auto; }
.err-wrap .big { font-family: var(--font-head); font-size: clamp(4rem, 16vw, 8rem); color: var(--clay-500); line-height: 1; margin-bottom: 8px; }

/* utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.tag { display:inline-block; background:var(--cream-200); color:var(--clay-700); font-weight:700; font-size:.75rem; letter-spacing:.05em; text-transform:uppercase; padding:4px 12px; border-radius:30px; }

/* ---------- Mobile nav ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--cream-50); border-bottom: 1px solid var(--cream-300);
    padding: 12px 16px; box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
}

/* Safeguard: content is NEVER hidden waiting on JS. Any reveal animation
   is progressive enhancement only. (Belt-and-suspenders — this build uses
   no scroll-reveal libraries at all.) */
[data-aos], .reveal, .fade-in { opacity: 1 !important; transform: none !important; }
