/* ==========================================================================
   Binz & Company Inc. — Shared Stylesheet
   Plain CSS, mobile-first, no build tools.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Palette — matched to the Binz & Company logo (blue #AEDEE4 + green #8BC53F) */
  --brand-900: #103a42;   /* deep cyan (dark gradient, strong accents) */
  --brand-700: #1a6f7d;   /* primary brand cyan (links, buttons) */
  --brand-600: #2090a3;   /* accent cyan (icons, eyebrow, stats) */
  --brand-500: #4fb5c4;   /* mid cyan (focus ring, quote marks) */
  --brand-100: #aedee4;   /* EXACT logo blue — light brand tint */
  --brand-50:  #ecf6f8;   /* lightest cyan wash */

  /* Logo green accent */
  --green:      #8bc53f;   /* EXACT logo green */
  --green-dark: #6aa82f;   /* readable green for text/icons on white */
  --green-50:   #eef7dd;   /* light green wash (check bullets) */

  --ink-900: #14262b;
  --ink-700: #33413f;
  --ink-500: #5a6a6a;
  --ink-300: #8b9a9a;

  --paper:   #ffffff;
  --paper-alt: #f6fafa;
  --line:    #e0ebec;

  --accent:  #1a6f7d;      /* CTA cyan (a shade of the logo blue) */
  --accent-dark: #145460;

  /* Typography */
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing / layout */
  --maxw: 1120px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(20, 32, 31, 0.08);
  --shadow-sm: 0 4px 14px rgba(20, 32, 31, 0.06);
  --gap: clamp(1rem, 2vw, 1.5rem);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand-900); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink-900);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--alt { background: var(--paper-alt); }
.section--tint { background: var(--brand-50); }
.center { text-align: center; }
.narrow { max-width: 720px; margin-inline: auto; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: .75rem;
}
.lead { font-size: 1.15rem; color: var(--ink-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink-900); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand-500); color: var(--brand-900); }
.btn--light { background: #fff; color: var(--brand-900); }
.btn--light:hover { color: var(--brand-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .7rem;
}
.brand { display: flex; align-items: center; gap: .65rem; font-family: var(--font-head); font-weight: 700; color: var(--ink-900); font-size: 1.15rem; }
.brand:hover { color: var(--ink-900); }
.brand__mark {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-900));
  font-family: var(--font-head); letter-spacing: -.02em;
}
.brand__name small { display: block; font-weight: 500; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-300); }
.brand__logo { height: 52px; width: auto; display: block; }

.nav__links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-family: var(--font-head); font-weight: 500; color: var(--ink-700);
  padding: .5rem .75rem; border-radius: 8px; font-size: .98rem;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--brand-900); background: var(--brand-50); }
.nav__cta { margin-left: .4rem; }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .4rem;
  width: 44px; height: 44px; border-radius: 8px;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 24px; height: 2px; background: var(--ink-900);
  position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav__toggle span::before { position: absolute; top: -7px; }
.nav__toggle span::after  { position: absolute; top:  7px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, var(--brand-100), transparent 60%),
    linear-gradient(180deg, var(--brand-50), var(--paper));
}
.hero__grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem);
}
.hero h1 { margin-bottom: .35em; }
.hero__sub { font-size: 1.2rem; color: var(--ink-500); max-width: 34ch; }
.hero__points { list-style: none; margin: 1.4rem 0 1.8rem; padding: 0; display: grid; gap: .55rem; }
.hero__points li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; color: var(--ink-700); }
.hero__points svg { flex: none; margin-top: .2rem; color: var(--green-dark); }

.hero__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.5rem;
}
.hero__card h3 { color: var(--brand-900); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.25rem; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--brand-700); line-height: 1; }
.stat span { font-size: .82rem; color: var(--ink-500); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 3px 0 var(--green); }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-700); margin-bottom: 1rem;
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--ink-500); margin-bottom: .5rem; }
.card__link { font-family: var(--font-head); font-weight: 600; font-size: .95rem; }

/* Feature list with checkmarks */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; }
.ticks li::before {
  content: "✓"; color: var(--green-dark); font-weight: 700; flex: none;
  background: var(--green-50); width: 22px; height: 22px; border-radius: 999px;
  display: grid; place-items: center; font-size: .8rem; margin-top: .15rem;
}

/* ---------- Testimonials ---------- */
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); break-inside: avoid;
}
.quote p { font-size: 1rem; color: var(--ink-700); }
.quote__mark { font-family: var(--font-head); font-size: 2.5rem; line-height: 0; color: var(--brand-500); }
.quote__who { font-family: var(--font-head); font-weight: 600; color: var(--ink-900); margin-top: .8rem; }
.quotes-masonry { columns: 3 300px; column-gap: var(--gap); }
.quotes-masonry .quote { margin-bottom: var(--gap); }

/* ---------- Split content sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--brand-50); }

/* Service detail block */
.svc { scroll-margin-top: 90px; padding-block: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--brand-700), var(--brand-900)); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); }
.cta-band .container { display: grid; gap: 1.2rem; place-items: center; text-align: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; flex: none; }
.info-list b { font-family: var(--font-head); display: block; color: var(--ink-900); }

.form { display: grid; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.field { display: grid; gap: .35rem; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink-900); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink-900);
  padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper-alt);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--brand-500); outline-offset: 1px; background: #fff; }
.map-embed { border: 0; width: 100%; height: 300px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: #c7d2d1; padding-block: clamp(2.5rem, 5vw, 3.5rem); border-top: 4px solid var(--green); }
.site-footer a { color: #dfe9e8; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer__brand .brand { color: #fff; margin-bottom: .8rem; }
.footer__brand .brand__logo { height: 66px; }
.footer__brand .brand__name small { color: #8ba3a2; }
.footer__note { color: #8ba3a2; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem; padding-top: 1.3rem; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; justify-content: space-between; font-size: .88rem; color: #8ba3a2; }

/* ---------- Team / bio ---------- */
.team-solo { max-width: 580px; margin-inline: auto; }
.team-card {
  display: grid; grid-template-columns: 150px 1fr; gap: 1.5rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.team-card__role { font-family: var(--font-head); font-weight: 600; color: var(--brand-700); margin: -.35rem 0 .6rem; }

.avatar {
  position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  background: linear-gradient(160deg, var(--brand-50), var(--brand-100));
  border: 1px solid var(--line); display: grid; place-items: center;
}
.avatar svg { width: 62%; height: 62%; color: var(--brand-500); opacity: .75; }
.avatar__tag {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  font-size: .62rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
  background: rgba(255,255,255,.9); color: var(--ink-500); padding: 3px 9px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* Real photo filling the square team avatar */
.avatar__img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }

/* Centered, framed portrait (bio page) */
.portrait {
  max-width: 360px; margin: 0 auto 2.2rem; padding: 6px;
  background: linear-gradient(135deg, var(--brand-500), var(--green));
  border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow);
}
.portrait img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.prose { max-width: 640px; margin-inline: auto; }

.bio-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.bio-grid .avatar { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.assoc { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.assoc li { display: flex; gap: .6rem; align-items: flex-start; }
.assoc li::before {
  content: "✓"; color: var(--green-dark); background: var(--green-50); font-weight: 700; flex: none;
  width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; font-size: .8rem; margin-top: .1rem;
}

@media (max-width: 620px) {
  .team-card { grid-template-columns: 1fr; text-align: center; }
  .team-card .avatar { width: 160px; margin-inline: auto; }
  .bio-grid { grid-template-columns: 1fr; }
  .bio-grid .avatar { max-width: 280px; margin-inline: auto; }
}

/* ---------- Scroll reveal (staggered zoom/fade) ---------- */
.reveal {
  opacity: 0; transform: translateY(42px) scale(.9);
  transition: opacity .72s cubic-bezier(.22, 1, .36, 1), transform .72s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(var(--i, 0) * .06s);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { order: -1; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quotes-masonry { columns: 2 280px; }
}

@media (max-width: 720px) {
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .brand__logo { height: 44px; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: .15rem;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: .75rem clamp(1.1rem, 4vw, 2rem) 1.1rem;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease;
  }
  .nav__links[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links a { padding: .7rem .75rem; }
  .nav__cta { margin: .3rem 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 560px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .quotes-masonry { columns: 1; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
}

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