/* MBE Rentals — site styles
   Palette pulled from the printed flyer:
   - Ink black:    #111111
   - Gold accent:  #F2B500   (yellow badges)
   - Off-white bg: #F7F7F5
   - Soft grey:    #E6E8EB
*/

:root {
  --ink: #111111;
  --ink-soft: #2a2a2a;
  --gold: #F2B500;
  --gold-deep: #d39e00;
  --paper: #FFFFFF;
  --bg: #F7F7F5;
  --rule: #E6E8EB;
  --muted: #5b6168;
  --shadow: 0 6px 24px rgba(17, 17, 17, 0.08);
  --shadow-hover: 0 12px 36px rgba(17, 17, 17, 0.14);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1180px;
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

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

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--gold-deep); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.nav-logo img { height: 44px; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  position: relative;
}
.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 3px; background: var(--gold);
  border-radius: 2px;
}
.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.nav-cta:hover { background: var(--gold-deep); color: #fff !important; }
.nav-cta::after { display: none !important; }

/* ---------- Photo hero ---------- */
.hero-photo {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 96px 0;
  isolation: isolate;
  color: #fff;
}
.hero-photo .hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(17,17,17,0.35) 0%, rgba(17,17,17,0.15) 40%, rgba(17,17,17,0.55) 100%),
    linear-gradient(90deg, rgba(17,17,17,0.55) 0%, rgba(17,17,17,0.15) 65%);
}
.hero-photo h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -1.5px;
  margin: 18px 0;
  max-width: 720px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-photo h1 .accent { color: var(--gold); }
.hero-photo p.lead {
  font-size: 19px;
  color: rgba(255,255,255,0.92);
  margin: 0 0 30px;
  max-width: 560px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}
.hero-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero-photo .chip {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  backdrop-filter: blur(6px);
}
.chip {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.chip .dot { color: var(--gold); margin-right: 6px; font-weight: 900; }

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--ink);
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.2px;
  margin-right: 12px;
  border: 2px solid var(--gold);
}
.hero-cta:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--ink); }
.hero-cta.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.75);
}
.hero-cta.secondary:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* On light sections, the secondary button flips to ink */
.on-light.hero-cta { background: var(--ink); border-color: var(--ink); color: #fff; }
.on-light.hero-cta:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.on-light.hero-cta.secondary { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.on-light.hero-cta.secondary:hover { background: var(--ink); color: #fff; }

.hero-art {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.hero-art img { width: 100%; }

/* ---------- Yellow badge (mimics flyer's pill labels) ---------- */
.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: 0 2px 0 var(--gold-deep);
}

/* ---------- Section heads ---------- */
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .eyebrow {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 1.5px;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 42px);
  letter-spacing: -1px;
  margin: 0 0 10px;
}
.section-head p {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
}

/* ---------- Equipment grid (home overview) ---------- */
.eq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.eq-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.eq-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.eq-card .eq-img {
  background: #f1f4f7;
  border-bottom: 1px solid var(--rule);
  aspect-ratio: 8 / 5;
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  overflow: hidden;
}
.eq-card .eq-img img { max-height: 100%; object-fit: contain; }
.eq-card .eq-img.photo { padding: 0; }
.eq-card .eq-img.photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none;
}
.eq-card .eq-body { padding: 22px 24px 26px; }
.eq-card .eq-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 10px;
}
.eq-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.5px;
  margin: 0;
}
.eq-card p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.eq-card .more {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.eq-card .more::after { content: "→"; transition: transform .18s ease; }
.eq-card:hover .more::after { transform: translateX(4px); }

/* ---------- Rentals page detail blocks ---------- */
.rental {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  align-items: center;
}
.rental:nth-child(even) { grid-template-columns: 1.1fr 1fr; }
.rental:nth-child(even) .rental-art { order: 2; }
.rental:nth-child(even) .rental-info { order: 1; }
.rental-art {
  background: #f1f4f7;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px;
  display: flex; align-items: center; justify-content: center;
  align-self: stretch;
}
.rental-art.photo { padding: 0; overflow: hidden; }
.rental-art.photo img { width: 100%; height: 100%; object-fit: cover; }
.rental-info h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -1px;
  margin: 14px 0 6px;
}
.rental-info .subhead { color: var(--muted); margin: 0 0 18px; font-size: 16px; }

.spec-list, .use-list, .rate-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.spec-list li, .use-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 15px;
  display: flex;
  gap: 8px;
}
.spec-list li:last-child, .use-list li:last-child { border-bottom: 0; }
.spec-list li strong { min-width: 140px; color: var(--ink-soft); }
.use-list li::before { content: "▸"; color: var(--gold-deep); font-weight: 900; }

.rates {
  background: #faf6e8;
  border: 1px solid #f0e6b8;
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-top: 12px;
}
.rates h4 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 10px;
}
.rates ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.rates li { font-size: 15px; }
.rates li strong { color: var(--ink); }
.rates .note { margin-top: 10px; font-size: 13px; color: var(--muted); font-style: italic; }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--ink);
  color: #fff;
  padding: 48px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.trust-grid .item h3 {
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 36px;
  margin: 0 0 6px;
}
.trust-grid .item p { color: #c9cdd2; margin: 0; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-list details {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  color: var(--gold-deep);
  flex-shrink: 0;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list .faq-a {
  padding: 0 22px 18px;
  color: var(--muted);
  font-size: 15px;
}
.faq-list .faq-a p { margin: 0; }

/* ---------- Contact ---------- */
.contact {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: start;
  box-shadow: var(--shadow);
}
.contact h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 36px;
  letter-spacing: -1px;
  margin: 14px 0 12px;
}
.contact .person {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
}
.contact .phone {
  font-family: var(--font-display);
  font-size: 30px;
  margin: 8px 0;
  display: inline-block;
}
.contact .phone:hover { color: var(--gold-deep); }
.contact .email-line {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
  word-break: break-all;
}
.contact .hours {
  color: var(--muted);
  font-size: 15px;
  margin: 8px 0 0;
}
.contact .location {
  color: var(--muted);
  font-size: 15px;
  margin-top: 8px;
}
.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* ---------- Contact form ---------- */
.contact-form {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-form h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.5px;
  margin: 0 0 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-field { margin-bottom: 14px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d5d9de;
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(242, 181, 0, 0.25);
}
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--gold);
  color: var(--ink);
  border: 0;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.form-submit:hover { background: var(--gold-deep); }
.form-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
/* honeypot */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Thank-you page ---------- */
.thanks-wrap {
  min-height: 55vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.thanks-wrap .inner { max-width: 560px; margin: 0 auto; }
.thanks-wrap h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -1px;
  margin: 18px 0 12px;
}
.thanks-wrap p { color: var(--muted); font-size: 17px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c9cdd2;
  padding: 48px 0 32px;
  margin-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer-grid img { height: 36px; margin-bottom: 14px; }
.site-footer h4 {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.site-footer a { color: #c9cdd2; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.site-footer .small { font-size: 13px; }
.footer-bottom {
  border-top: 1px solid #2e2e2e;
  margin-top: 36px;
  padding-top: 20px;
  font-size: 13px;
  color: #8b9197;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  flex-wrap: wrap;
}
.footer-bottom p { margin: 0; }

/* "Website by Archive North" credit lockup */
.footer-by {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: #8b9197;
}
.footer-by-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  color: inherit;
  transition: color 0.2s ease;
}
.footer-by-link:hover { color: #fff; }
.footer-by-link:hover .footer-by-name { color: #fff; }
.footer-by-mark { flex: none; opacity: 0.85; }
.footer-by-word { display: flex; flex-direction: column; line-height: 1; }
.footer-by-name {
  font-weight: 600;
  font-size: 0.81rem;
  letter-spacing: 0.005em;
  color: #c9cdd2;
}
.footer-by-descriptor {
  font-size: 0.47rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 0.35rem;
  color: #8b9197;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  section { padding: 48px 0; }
  .hero-photo { min-height: 64vh; padding: 72px 0 56px; }
  .eq-grid { grid-template-columns: 1fr; }
  .rental,
  .rental:nth-child(even) { grid-template-columns: 1fr; padding: 24px; }
  .rental:nth-child(even) .rental-art,
  .rental:nth-child(even) .rental-info { order: initial; }
  .rental-art { align-self: auto; }
  .rental-art.photo img { max-height: 340px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
}
