/* ============================================================
   Seneca Implement Company — page-level styles
   Hero, page headers, feature strips, the fraud-alert page,
   contact layout and the staff admin sign-in shell.
   ============================================================ */

/* ── Home hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--ink) url("/img/storefront.jpg?v=16") center 30% / cover no-repeat;
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,18,20,.95) 0%, rgba(15,18,20,.90) 50%, rgba(15,18,20,.74) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(64px, 10vw, 118px); padding-bottom: clamp(64px, 10vw, 118px); }
.hero__inner { max-width: 42rem; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { color: #D8D4CE; font-size: clamp(17px, 2.2vw, 20px); margin-bottom: 26px; max-width: 40ch; }
.hero__since {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Oswald", sans-serif; font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(240,185,79,.5); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 20px;
}

/* Quick-facts bar directly beneath the hero */
.factbar { background: var(--ink-2); color: #DCD7CF; border-top: 3px solid var(--gold); }
.factbar .wrap {
  max-width: none;
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center;
  gap: 16px clamp(24px, 3.5vw, 56px);
  padding: 22px clamp(14px, 3vw, 40px);
}
/* flex: 0 0 auto — size to content and wrap to the next line rather than
   shrink, so an address or a URL never breaks mid-word. */
.factbar .wrap > div { flex: 0 0 auto; }
.factbar dt { font-family: "Oswald", sans-serif; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #8B8781; }
.factbar dd { font-size: 17px; font-weight: 600; }
.factbar dd a { color: var(--gold); text-decoration: none; }
.factbar dd a:hover { text-decoration: underline; }

/* ── Inner page header ─────────────────────────────────────── */
.pagehead { background: var(--ink); color: #fff; border-bottom: 3px solid var(--gold); }
.pagehead .wrap { padding-top: clamp(40px, 6vw, 66px); padding-bottom: clamp(40px, 6vw, 66px); }
.pagehead h1 { color: #fff; margin-bottom: 12px; }
.pagehead p { color: #B9B4AC; font-size: clamp(16px, 2vw, 19px); max-width: 58ch; }

/* ── Split (text + picture) ────────────────────────────────── */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 62px); align-items: center; }
.split--flip .split__media { order: -1; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--flip .split__media { order: 0; } }

/* ── Simple lists ──────────────────────────────────────────── */
.ticks { list-style: none; display: grid; gap: 11px; margin: 18px 0; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-soft); font-size: 16.5px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 13px; height: 13px; border-radius: 3px; background: var(--gold);
}
.section--ink .ticks li { color: #C7C2BA; }

/* ── Hours table ───────────────────────────────────────────── */
.hours { border-collapse: collapse; width: 100%; max-width: 26rem; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.hours th { font-weight: 600; }
.hours td { text-align: right; color: var(--ink-soft); }
.section--ink .hours th, .section--ink .hours td { border-color: rgba(255,255,255,.14); }
.section--ink .hours td { color: #B9B4AC; }

/* ── Callout / notice blocks ───────────────────────────────── */
.notice {
  background: var(--alert-bg); border: 1px solid #EDC5AE; border-left: 6px solid var(--alert);
  border-radius: var(--radius); padding: 24px 26px;
}
.notice h3 { color: var(--alert); }
.notice p { color: #6A3B27; }
.notice--gold { background: var(--gold-soft); border-color: #E8D5A4; border-left-color: var(--gold-dk); }
.notice--gold h3 { color: var(--gold-dk); }
.notice--gold p { color: #6A5424; }

/* ── Fraud-alert page ──────────────────────────────────────── */
.compare { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 16px; }
.compare caption { text-align: left; font-size: 14px; color: var(--ink-soft); padding-bottom: 10px; }
.compare th, .compare td { padding: 13px 16px; border: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--sand); font-family: "Oswald", sans-serif; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: 13.5px; }
.compare tbody th { text-align: left; font-weight: 600; background: #FBFAF8; width: 26%; }
.compare .ok-cell { background: #F2F8F4; font-weight: 700; }
.compare .bad-cell { background: #FDF1EA; color: #8A331A; }
.compare-scroll { overflow-x: auto; }

.redflags { list-style: none; display: grid; gap: 14px; margin: 20px 0; }
.redflags li { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--alert); border-radius: 8px; padding: 16px 20px; }
.redflags strong { display: block; margin-bottom: 3px; }
.redflags span { color: var(--ink-soft); font-size: 15.5px; }

/* ── Contact page ──────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 58px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-block { margin-bottom: 26px; }
.contact-block dt { font-family: "Oswald", sans-serif; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 3px; }
.contact-block dd { font-size: 19px; font-weight: 600; margin-bottom: 16px; overflow-wrap: anywhere; }
.contact-block dd a { text-decoration: none; }
.contact-block dd a:hover { text-decoration: underline; }
.mapframe { width: 100%; height: 320px; border: 1px solid var(--line); border-radius: var(--radius); }

/* ── 404 ───────────────────────────────────────────────────── */
.oops { text-align: center; padding: clamp(60px, 12vw, 130px) 0; }
.oops img { height: 74px; width: auto; margin: 0 auto 28px; }

/* ── Staff admin ───────────────────────────────────────────── */
.admin-shell { min-height: 100vh; background: var(--sand); }
.admin-bar { background: var(--ink-2); color: #DCD7CF; }
.admin-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 14px; padding-bottom: 14px; }
.admin-bar img { height: 40px; width: auto; }
.admin-bar button { font-family: "Oswald", sans-serif; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; background: transparent; border: 1.5px solid rgba(255,255,255,.35); color: #fff; padding: 8px 16px; border-radius: 6px; cursor: pointer; }
.admin-bar button:hover { background: rgba(255,255,255,.12); }
.signin-card { max-width: 400px; margin: clamp(50px, 10vw, 110px) auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow); }
.signin-card img { height: 54px; width: auto; margin: 0 auto 20px; }
.msg-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.msg-card__top { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.msg-card__who { font-family: "Oswald", sans-serif; font-size: 19px; }
.msg-card__when { font-size: 13.5px; color: var(--ink-soft); }
.msg-card__meta { font-size: 15px; color: var(--ink-soft); margin-bottom: 12px; }
.msg-card__body { white-space: pre-wrap; background: var(--sand); border-radius: 8px; padding: 14px 16px; font-size: 15.5px; }
.pill { display: inline-block; font-family: "Oswald", sans-serif; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.pill--new { background: var(--gold); color: var(--ink); }
.pill--done { background: var(--sand-2); color: var(--ink-soft); }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.admin-actions a, .admin-actions button.link {
  font-family: "Oswald", sans-serif; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; padding: 8px 15px; border-radius: 6px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer;
}
.admin-actions a:hover, .admin-actions button.link:hover { border-color: var(--ink); }

/* ── Numbered "how to report" steps ────────────────────────────── */
.steps { counter-reset: step; list-style: none; display: grid; gap: 14px; }
.steps li {
  position: relative; counter-increment: step; padding-left: 40px;
  color: var(--ink-soft); font-size: 16px; line-height: 1.6;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 1px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  font-family: "Oswald", sans-serif; font-weight: 600; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.steps li strong { color: var(--ink); }
.steps a { overflow-wrap: anywhere; }
.steps__note { display: block; margin-top: 5px; font-size: 14.5px; color: var(--ink-soft); opacity: .85; }

/* ── The shareable warning poster ──────────────────────────────── */
.poster {
  width: 100%; max-width: 660px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
