/* ===========================================================
   Impact Benefit Auctions, LLC — styles
   Clean & polished: black / white / grey.
   Plain CSS, no build step.
   =========================================================== */

:root {
  /* Monochrome palette */
  --white: #ffffff;
  --paper: #f6f6f6;       /* light grey section bg */
  --paper-2: #efefef;     /* slightly deeper grey */
  --ink: #111213;         /* near-black text */
  --ink-soft: #56585c;    /* grey body text */
  --grey: #8b8d92;        /* mid grey accents */
  --line: #e2e3e5;        /* hairlines / borders */
  --charcoal: #161718;    /* dark sections */
  --black: #0c0d0e;

  --shadow-sm: 0 1px 3px rgba(17, 18, 19, 0.08);
  --shadow-md: 0 14px 34px rgba(17, 18, 19, 0.12);
  --shadow-lg: 0 30px 70px rgba(17, 18, 19, 0.18);

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1140px;

  --font-display: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.5em;
}

p { margin: 0 0 1rem; }

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

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

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

.section { padding: 92px 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--grey);
  margin: 0 0 0.85rem;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.section-sub { color: var(--ink-soft); font-size: 1.08rem; }

.hide-mobile { display: none; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #000; box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.brand:hover { text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand-tag {
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 600;
}

.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav a { color: var(--ink); font-weight: 500; font-size: 0.97rem; }
.primary-nav a:hover { color: var(--grey); text-decoration: none; }
.primary-nav .nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 0.6em 1.25em;
  border-radius: 999px;
}
.primary-nav .nav-cta:hover { background: #000; color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--charcoal);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(8,9,10,0.82) 0%, rgba(8,9,10,0.55) 42%, rgba(8,9,10,0.22) 100%), url("../assets/hero.jpg");
  background-size: cover;
  background-position: center 28%;
  filter: grayscale(10%) contrast(1.03);
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; padding: 116px 24px 104px; max-width: 880px; text-shadow: 0 1px 12px rgba(0,0,0,0.45); }
.hero .eyebrow { color: rgba(255,255,255,0.72); }
.hero h1 {
  font-size: clamp(2.7rem, 7.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.35em;
  color: #fff;
}
.hero .lede {
  font-size: clamp(1.1rem, 2.2vw, 1.32rem);
  color: rgba(255,255,255,0.86);
  max-width: 620px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  list-style: none; padding: 0; margin: 0;
  color: rgba(255,255,255,0.82); font-weight: 500; font-size: 0.95rem;
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }

/* ---------- Mission band ---------- */
.mission { background: var(--black); color: #fff; text-align: center; padding: 64px 0; }
.mission-statement {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.32;
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
}
.mission-statement em { color: var(--grey); font-style: normal; }

/* ---------- Stats ---------- */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat .stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat .stat-label { color: var(--ink-soft); font-size: 0.98rem; margin-top: 8px; }

/* ---------- Services ---------- */
.services { background: var(--paper); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d2d3d5; }
.card-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--ink); color: #fff;
  margin-bottom: 20px;
}
.card-icon svg { width: 27px; height: 27px; }
.card h3 { font-size: 1.28rem; }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

.service-feature {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 30px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 38px;
  box-shadow: var(--shadow-md);
}
.service-feature .sf-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.service-feature .sf-icon svg { width: 30px; height: 30px; }
.service-feature h3 { color: #fff; font-size: 1.5rem; margin-bottom: 0.4em; }
.service-feature p { color: rgba(255, 255, 255, 0.82); margin: 0; font-size: 1.02rem; max-width: 780px; }
@media (max-width: 600px) {
  .service-feature { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px; }
}

/* ---------- Gallery / Carousel ---------- */
.gallery { background: var(--white); }
.carousel { position: relative; }
.carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.slide {
  position: relative;
  flex: 0 0 clamp(280px, 80%, 760px);
  scroll-snap-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow-md);
}
.slide img { width: 100%; height: clamp(280px, 52vw, 480px); object-fit: cover; display: block; }
.slide figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 24px 18px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  background: linear-gradient(180deg, transparent, rgba(8,9,10,0.78));
}
.carousel-btn {
  position: absolute;
  top: calc(50% - 26px);
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  transition: background 0.15s ease, transform 0.15s ease;
  z-index: 2;
}
.carousel-btn:hover { background: var(--ink); color: #fff; }
.carousel-btn.prev { left: 6px; }
.carousel-btn.next { right: 6px; }
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-dots { display: flex; justify-content: center; gap: 9px; margin-top: 22px; }
.carousel-dots button {
  width: 9px; height: 9px; padding: 0;
  border-radius: 50%; border: 0;
  background: var(--line);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.carousel-dots button.active { background: var(--ink); transform: scale(1.25); }

/* ---------- About ---------- */
.about { background: var(--paper); }
.about-inner { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: center; }
.about-photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about-text h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.about-text p { color: var(--ink-soft); font-size: 1.05rem; }
.about-text .btn { margin-top: 12px; }

/* ---------- Approach ---------- */
.approach { background: var(--white); }
.approach-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.approach-item {
  padding: 30px 28px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
}
.approach-item h3 { font-size: 1.18rem; }
.approach-item p { color: var(--ink-soft); margin: 0; font-size: 0.97rem; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--charcoal); color: #fff; }
.testimonials .section-head h2 { color: #fff; }
.testimonials .section-sub { color: rgba(255,255,255,0.72); }
.testimonials .eyebrow { color: var(--grey); }
.tgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.tcard {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.tcard .quote-mark { font-family: var(--font-display); font-size: 3rem; line-height: 0.6; color: rgba(255,255,255,0.3); }
.tcard blockquote { margin: 12px 0 18px; font-size: 1.05rem; color: rgba(255,255,255,0.92); }
.tcard .tmeta { font-weight: 600; }
.tcard .tmeta span { display: block; font-weight: 400; color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.testimonials-note {
  text-align: center;
  margin-top: 34px;
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
}
.placeholder-quote { color: rgba(255,255,255,0.5); font-style: italic; }

/* ---------- Contact ---------- */
.contact { background: var(--white); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-intro h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.contact-intro p { color: var(--ink-soft); font-size: 1.05rem; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.contact-label { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; font-weight: 700; color: var(--grey); }
.contact-list a, .contact-list span:not(.contact-label) { color: var(--ink); font-size: 1.1rem; font-weight: 600; }
.contact-list a:hover { color: var(--grey); text-decoration: none; }

.contact-form {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.field .optional { font-weight: 400; color: var(--ink-soft); }
.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,18,19,0.12); }
.field textarea { resize: vertical; }
.hidden-field { position: absolute; left: -9999px; }
.form-note { margin: 14px 0 0; font-size: 0.88rem; color: var(--ink-soft); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #c9cacc; padding: 52px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.15rem; color: #fff; letter-spacing: -0.01em; }
.footer-brand p { margin: 4px 0 0; color: #8b8d92; font-size: 0.92rem; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { color: #c9cacc; font-weight: 500; font-size: 0.95rem; }
.footer-nav a:hover { color: #fff; text-decoration: none; }
.footer-legal { width: 100%; margin: 8px 0 0; color: #6f7174; font-size: 0.85rem; }

/* ---------- Responsive ---------- */
@media (min-width: 720px) { .hide-mobile { display: inline; } }

@media (max-width: 880px) {
  .about-inner { grid-template-columns: 1fr; gap: 32px; max-width: 460px; margin: 0 auto; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px 16px 16px;
    display: none;
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); }
  .primary-nav .nav-cta { text-align: center; margin-top: 12px; border-bottom: 0; }
  .section { padding: 64px 0; }
  .field-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 30px; }
  .carousel-btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .carousel-track { scroll-behavior: auto; }
}
