/* ── Pick – Brand Refresh ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --green-deep:  #0a3320;
  --green-dark:  #0f4a2e;
  --green-mid:   #166534;
  --green-brand: #1a7a40;
  --green-light: #22c55e;
  --green-pale:  #dcfce7;
  --green-tint:  #f0fdf4;
  --ink:         #0a1a10;
  --ink-mid:     #2d4a35;
  --muted:       #5a7a62;
  --bg:          #f5fbf7;
  --card:        #ffffff;
  --line:        #d1e8d9;
  --white:       #ffffff;
  --shadow-sm:   0 2px 8px rgba(10,51,32,.07);
  --shadow-md:   0 8px 32px rgba(10,51,32,.12);
  --shadow-lg:   0 20px 60px rgba(10,51,32,.16);
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--green-brand); border-radius: 3px; }

/* NAV */
.top {
  position: sticky; top: 0;
  background: var(--green-deep);
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 6%; height: 64px; z-index: 100;
  box-shadow: 0 1px 0 rgba(255,255,255,.07), var(--shadow-md);
}
.brand {
  font-family: 'DM Serif Display', serif;
  font-size: 28px; font-weight: 400;
  color: var(--white); text-decoration: none;
  letter-spacing: -.5px; display: flex; align-items: center; gap: 8px;
}
.brand-dot {
  width: 8px; height: 8px;
  background: var(--green-light); border-radius: 50%;
  display: inline-block; animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .7; }
}
nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
nav a {
  padding: 8px 14px; border-radius: var(--radius-sm);
  text-decoration: none; color: rgba(255,255,255,.75);
  font-weight: 500; font-size: 14px;
  transition: color .2s, background .2s;
}
nav a:hover { color: var(--white); background: rgba(255,255,255,.1); }

/* BUTTONS */
.btn, button {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-brand); color: var(--white);
  border: none; padding: 10px 20px; border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 14px;
  cursor: pointer; text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(26,122,64,.3);
}
.btn:hover, button:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26,122,64,.4);
}
.btn:active, button:active { transform: translateY(0); }

/* LAYOUT */
.wrap { width: min(1140px, 92%); margin: 36px auto; }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  border-radius: var(--radius-xl); padding: 52px 48px;
  display: grid; gap: 10px; position: relative; overflow: hidden; margin-bottom: 36px;
}
.hero::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.hero::after {
  content: ''; position: absolute; bottom: -40px; left: 30%;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(34,197,94,.08);
}
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(26px, 4vw, 42px); font-weight: 400;
  color: var(--white); line-height: 1.2; position: relative; z-index: 1;
}
.hero p { color: rgba(255,255,255,.65); font-size: 16px; position: relative; z-index: 1; }

/* SECTION TITLE */
.section-title {
  font-family: 'DM Serif Display', serif; font-size: 26px; font-weight: 400;
  color: var(--green-deep); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.section-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* GRID / CARDS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px; margin-top: 4px;
}
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(26,122,64,.25); }
.card img {
  width: 100%; height: 160px; object-fit: cover;
  border-radius: var(--radius-md); background: var(--green-tint); margin-bottom: 14px;
}
.card h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }

/* FORM */
.form { max-width: 520px; }
.form h2 {
  font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 28px;
  color: var(--green-deep); margin-bottom: 20px;
}
.form label {
  display: block; font-size: 12px; font-weight: 600; color: var(--ink-mid);
  margin-bottom: 4px; margin-top: 14px; text-transform: uppercase; letter-spacing: .5px;
}
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 16px; margin: 4px 0;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--ink);
  font-family: 'DM Sans', sans-serif; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--green-brand);
  box-shadow: 0 0 0 3px rgba(26,122,64,.12);
}
.form button { width: 100%; margin-top: 20px; padding: 13px; font-size: 16px; border-radius: var(--radius-md); justify-content: center; }

/* PILLS */
.pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .3px;
}
.ok     { background: var(--green-pale); color: var(--green-mid); }
.warn   { background: #fef9c3; color: #854d0e; }
.danger { background: #fee2e2; color: #991b1b; }
.info   { background: #dbeafe; color: #1d4ed8; }

/* TABLE */
.table {
  width: 100%; border-collapse: collapse;
  background: var(--card); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.table th {
  background: var(--green-deep); color: rgba(255,255,255,.85);
  padding: 14px 16px; text-align: left;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px;
}
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--green-tint); }

/* DASH STATS */
.dash { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.stat::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 100%; background: var(--green-brand); border-radius: 2px 0 0 2px;
}
.stat b { font-size: 28px; font-weight: 800; color: var(--green-deep); display: block; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); font-weight: 500; }

/* ALERT */
.alert {
  padding: 14px 18px; border-radius: var(--radius-md);
  background: #fff7ed; border: 1.5px solid #fed7aa; color: #9a3412;
  margin: 12px 0; font-size: 14px; font-weight: 500;
}
.alert.success { background: var(--green-pale); border-color: var(--green-light); color: var(--green-mid); }

/* KITCHEN */
.kitchen-order { border-left: 5px solid var(--green-brand); padding-left: 18px; font-size: 18px; margin: 10px 0; }

/* UTILITIES */
.row { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
hr { border: none; border-top: 1px solid var(--line); margin: 20px 0; }
h1 { font-family: 'DM Serif Display', serif; font-weight: 400; color: var(--green-deep); font-size: 32px; margin-bottom: 8px; }
h2 { font-size: 20px; font-weight: 700; color: var(--green-deep); }

/* FOOTER */
.foot {
  text-align: center; color: var(--muted); padding: 32px; font-size: 13px;
  border-top: 1px solid var(--line); margin-top: 60px;
}
.foot strong { color: var(--green-brand); }

/* RESPONSIVE */
@media (max-width: 640px) {
  .top { padding: 0 4%; height: 56px; }
  .brand { font-size: 22px; }
  .hero { padding: 32px 22px; }
  .hero h1 { font-size: 24px; }
  .wrap { margin: 20px auto; }
  .form { max-width: 100%; }
  nav a { padding: 6px 10px; font-size: 13px; }
}
