/* ============================================================
   Gissy Family Office — main.css
   Design tokens + base + shared layout + page-specific styles
   ============================================================ */

/* ----------  Design tokens  ---------- */
:root {
  --color-ink: #111827;
  --color-ink-hover: #1F2937;
  --color-body: #4B5563;
  --color-muted: #6B7280;
  --color-subtle: #9CA3AF;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F9FAFB;
  --color-border: #E5E7EB;
  --color-border-strong: #6B7280;        /* darkened from #D1D5DB to meet WCAG 1.4.11 (~4.8:1 on white) */
  --color-footer-divider: #374151;
  --color-success-bg: #F0FDF4;
  --color-success-border: #BBF7D0;
  --color-success-text: #166534;
  --color-error-bg: #FEF2F2;
  --color-error-border: #FECACA;
  --color-error-text: #991B1B;

  --font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 1.875rem;
  --text-3xl: 2.25rem;
  --text-4xl: 3rem;
  --text-hero-mobile: 3rem;
  --text-hero-tablet: 3.75rem;
  --text-hero-desktop: 4.5rem;

  --container-max: 80rem;
  --container-pad: 1rem;
  --section-pad-y: 5rem;
  --nav-h: 4rem;
  --radius: 0.625rem;
  --radius-sm: 0.375rem;
}
@media (min-width: 640px) { :root { --container-pad: 1.5rem; } }
@media (min-width: 1024px) { :root { --container-pad: 2rem; } }

/* ----------  Reset + base  ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--color-body);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--color-ink); margin: 0; line-height: 1.2; font-weight: var(--font-weight-bold); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Focus ring: dark by default; light variant for elements over dark backgrounds */
:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.btn--on-dark:focus-visible,
.btn--outline-light:focus-visible,
.home-hero a:focus-visible,
.page-hero a:focus-visible,
.cta-banner a:focus-visible,
.site-footer a:focus-visible {
  outline-color: #fff;
}

/* ----------  Container  ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ----------  Skip link  ---------- */
.skip-link {
  position: absolute; left: -10000px; top: 0;
  background: var(--color-ink); color: #fff;
  padding: 0.75rem 1rem; border-radius: var(--radius);
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ----------  Header + top nav  ---------- */
.site-header { /* landmark wrapper; nav inside is fixed-positioned */ }
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  z-index: 50;
}
.site-nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  gap: 1rem;
}
.site-nav__brand { font-size: var(--text-lg); font-weight: var(--font-weight-semibold); color: var(--color-ink); }
.site-nav__right { display: flex; align-items: center; gap: 1.5rem; }
.site-nav__links { display: flex; gap: 2rem; align-items: center; }
.site-nav__link { font-size: var(--text-sm); color: var(--color-body); transition: color 0.15s; }
.site-nav__link:hover { color: var(--color-ink); }
.site-nav__link[aria-current="page"] { color: var(--color-ink); font-weight: var(--font-weight-medium); }
.site-nav__login {
  font-size: var(--text-sm); font-weight: var(--font-weight-medium);
  color: var(--color-ink); border: 1px solid var(--color-ink);
  padding: 0.5rem 1rem; border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
.site-nav__login:hover { background: var(--color-ink); color: #fff; }

/* Hamburger toggle — visible on small viewports only */
.site-nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  color: var(--color-ink);
  align-items: center;
  justify-content: center;
}
.site-nav__toggle svg { width: 1.25rem; height: 1.25rem; }

@media (max-width: 639px) {
  .site-nav__toggle { display: inline-flex; }
  .site-nav__right {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 1rem var(--container-pad) 1.25rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  }
  .site-nav[data-open="true"] .site-nav__right { display: flex; }
  .site-nav[data-open="true"] .site-nav__links {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .site-nav__link {
    padding: 0.75rem 0;
    font-size: var(--text-base);
    border-bottom: 1px solid var(--color-border);
  }
  .site-nav__login { text-align: center; }
}

/* ----------  Main  ---------- */
.site-main { padding-top: var(--nav-h); min-height: calc(100vh - var(--nav-h)); }

/* ----------  Page hero (Team, Contact, Privacy, Accessibility)  ---------- */
.page-hero { background: var(--color-ink); color: #fff; padding: var(--section-pad-y) 0; }
.page-hero__inner { max-width: 48rem; }
.page-hero__title { font-size: var(--text-4xl); color: #fff; margin-bottom: 1.5rem; }
.page-hero__lead { font-size: var(--text-lg); color: var(--color-subtle); }

/* ----------  Buttons  ---------- */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-align: center;
  border: 2px solid transparent;
}
.btn--primary { background: var(--color-ink); color: #fff; }
.btn--primary:hover { background: var(--color-ink-hover); }
.btn--on-dark { background: #fff; color: var(--color-ink); }
.btn--on-dark:hover { background: #F3F4F6; }
.btn--outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.1); }
.btn--sm { padding: 0.75rem 1.5rem; }

/* ----------  Footer  ---------- */
.site-footer { background: var(--color-ink); color: #fff; padding: 3rem 0; margin-top: auto; }
.site-footer__disclaimer {
  font-size: var(--text-sm); color: var(--color-subtle);
  max-width: 64rem; padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-footer-divider);
  margin-bottom: 2rem; line-height: 1.6;
}
.site-footer__disclaimer strong { color: #D1D5DB; font-weight: var(--font-weight-semibold); }
.site-footer__grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem;
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer__col-title { color: #fff; font-size: var(--text-base); font-weight: var(--font-weight-semibold); margin-bottom: 1rem; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li { margin-bottom: 0.5rem; }
.site-footer__col a { font-size: var(--text-sm); color: var(--color-subtle); transition: color 0.15s; }
.site-footer__col a:hover { color: #fff; }
.site-footer__col p { font-size: var(--text-sm); color: var(--color-subtle); margin-bottom: 0.5rem; }
.site-footer__copyright {
  padding-top: 2rem;
  border-top: 1px solid var(--color-footer-divider);
  text-align: center; font-size: var(--text-sm); color: var(--color-subtle);
}

/* ----------  Prose (Privacy, Accessibility)  ---------- */
.prose { max-width: 48rem; margin: 0 auto; padding: var(--section-pad-y) 0; }
.prose h2 { font-size: var(--text-2xl); font-weight: var(--font-weight-semibold); margin: 2.5rem 0 1rem; }
.prose h2:first-of-type { margin-top: 0; }
.prose p { font-size: var(--text-base); color: var(--color-body); line-height: 1.7; margin-bottom: 1rem; }
.prose ul { font-size: var(--text-base); color: var(--color-body); line-height: 1.7; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.5rem; }
.prose a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 2px; }
.prose__updated { font-size: var(--text-sm); color: var(--color-muted); margin-bottom: 2rem; }

/* ============================================================
   PAGE-SPECIFIC STYLES (Phase B)
   ============================================================ */

/* ----------  Home: hero (full viewport)  ---------- */
.home-hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; }
.home-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
}
.home-hero__inner { position: relative; height: 100%; display: flex; align-items: center; }
.home-hero__content { max-width: 48rem; color: #fff; }
.home-hero__title {
  font-size: var(--text-hero-mobile);
  color: #fff;
  font-weight: var(--font-weight-bold);
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .home-hero__title { font-size: var(--text-hero-tablet); } }
@media (min-width: 1024px) { .home-hero__title { font-size: var(--text-hero-desktop); } }
.home-hero__lead {
  font-size: var(--text-lg);
  color: #E5E7EB;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .home-hero__lead { font-size: var(--text-xl); } }
.home-hero__ctas { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .home-hero__ctas { flex-direction: row; } }

/* ----------  Home: value props  ---------- */
.value-props { padding: var(--section-pad-y) 0; background: var(--color-surface); }
.value-props__head { text-align: center; max-width: 48rem; margin: 0 auto 4rem; }
.value-props__title { font-size: var(--text-3xl); margin-bottom: 1rem; }
.value-props__lead { font-size: var(--text-md); color: var(--color-body); }
.value-props__grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 768px) { .value-props__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .value-props__grid { grid-template-columns: repeat(4, 1fr); } }
.value-prop { text-align: center; }
.value-prop__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 4rem; height: 4rem;
  background: var(--color-ink); color: #fff;
  border-radius: 9999px;
  margin-bottom: 1rem;
}
.value-prop__icon svg { width: 2rem; height: 2rem; }
.value-prop__title { font-size: var(--text-lg); font-weight: var(--font-weight-semibold); margin-bottom: 0.5rem; }
.value-prop__body { color: var(--color-body); }

/* ----------  Home: philosophy + gallery  ---------- */
.philosophy { padding: var(--section-pad-y) 0; background: var(--color-surface-alt); }
.philosophy__grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
}
@media (min-width: 1024px) { .philosophy__grid { grid-template-columns: repeat(2, 1fr); } }
.philosophy__title { font-size: var(--text-3xl); margin-bottom: 1.5rem; }
.philosophy__body { font-size: var(--text-md); color: var(--color-body); margin-bottom: 1.5rem; line-height: 1.7; }
.philosophy__body:last-of-type { margin-bottom: 2rem; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.gallery__col { display: flex; flex-direction: column; gap: 1rem; }
.gallery__col--offset { padding-top: 2rem; }
.gallery img { width: 100%; border-radius: var(--radius); }
.gallery__img--cover { object-fit: cover; }
.gallery__img--sm { height: 12rem; }
.gallery__img--md { height: 16rem; }
.gallery__img--logo { height: 20rem; object-fit: contain; background: #000; }

/* ----------  Home: CTA banner  ---------- */
.cta-banner { padding: var(--section-pad-y) 0; background: var(--color-ink); text-align: center; }
.cta-banner__title { font-size: var(--text-3xl); color: #fff; margin-bottom: 1rem; }
.cta-banner__body { font-size: var(--text-lg); color: #D1D5DB; max-width: 36rem; margin: 0 auto 2rem; }

/* ----------  Team: members section  ---------- */
.team-members { padding: var(--section-pad-y) 0; }
.team-members__list { display: flex; flex-direction: column; gap: 5rem; }
.team-exec { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .team-exec { grid-template-columns: repeat(2, 1fr); } }
.team-exec__bios { display: flex; flex-direction: column; gap: 7rem; }
.team-exec__photo img { width: 100%; border-radius: var(--radius); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

.team-member { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .team-member { grid-template-columns: repeat(2, 1fr); } }
.team-member__photo { width: 100%; border-radius: var(--radius); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.team-member__photo--cover { height: 24rem; object-fit: cover; }
.team-member__photo--cover-top { height: 24rem; object-fit: cover; object-position: top; }
.team-member__photo--contain-lg { height: 24rem; object-fit: contain; background: #F3F4F6; }
.team-member__photo--contain-md { height: 24rem; object-fit: contain; background: #F3F4F6; }
@media (min-width: 1024px) {
  .team-member--reverse > div:first-child { order: 2; }
  .team-member--reverse > div:last-child { order: 1; }
}
.team-member__name { font-size: var(--text-2xl); margin-bottom: 0.5rem; }
.team-member__title { font-size: var(--text-lg); color: var(--color-body); margin-bottom: 1.5rem; }
.team-member__bio { color: #374151; line-height: 1.7; }

/* ----------  Team: values cards  ---------- */
.team-values { padding: var(--section-pad-y) 0; background: var(--color-surface-alt); }
.team-values__head { text-align: center; max-width: 48rem; margin: 0 auto 3rem; }
.team-values__title { font-size: var(--text-3xl); margin-bottom: 1rem; }
.team-values__lead { font-size: var(--text-md); color: var(--color-body); }
.team-values__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .team-values__grid { grid-template-columns: repeat(3, 1fr); } }
.value-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.value-card__title { font-size: var(--text-lg); font-weight: var(--font-weight-semibold); margin-bottom: 0.75rem; }
.value-card__body { color: var(--color-body); line-height: 1.6; }

/* ----------  Contact: grid + info + form  ---------- */
.contact-main { padding: var(--section-pad-y) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 2fr; } }

.contact-info__title { font-size: var(--text-xl); font-weight: var(--font-weight-bold); margin-bottom: 1.5rem; }
.contact-info__lead { color: var(--color-body); margin-bottom: 2rem; }
.contact-info__items { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.contact-info__item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info__icon {
  flex-shrink: 0;
  width: 3rem; height: 3rem;
  background: var(--color-ink); color: #fff;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
}
.contact-info__icon svg { width: 1.5rem; height: 1.5rem; }
.contact-info__label { font-weight: var(--font-weight-semibold); color: var(--color-ink); margin-bottom: 0.25rem; }
.contact-info__value { color: var(--color-body); }
.contact-info__value a:hover { color: var(--color-ink); text-decoration: underline; text-underline-offset: 2px; }
.contact-info__hours-title { font-weight: var(--font-weight-semibold); color: var(--color-ink); margin-bottom: 0.75rem; }
.contact-info__hours p { color: var(--color-body); margin-bottom: 0.5rem; }

.contact-form-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border: 1px solid var(--color-border);
}
.contact-form-card__title { font-size: var(--text-xl); font-weight: var(--font-weight-bold); margin-bottom: 1.5rem; }

.form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .form-row { grid-template-columns: repeat(2, 1fr); } }
.form-field { display: flex; flex-direction: column; }
.form-field label {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: #374151;
  margin-bottom: 0.5rem;
}
.form-field label .required { color: #DC2626; margin-left: 0.125rem; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font: inherit;
  color: var(--color-ink);
  background: #fff;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-ink);
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.15);
}
.form-field textarea { resize: vertical; min-height: 8rem; }
.form-required-note { font-size: var(--text-sm); color: var(--color-muted); }
.form-honey { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }

.form-status { padding: 1.5rem; border-radius: var(--radius); border: 1px solid; }
.form-status p { margin-bottom: 0.5rem; }
.form-status p:last-child { margin-bottom: 0; }
.form-status--success {
  background: var(--color-success-bg);
  border-color: var(--color-success-border);
  color: var(--color-success-text);
}
.form-status--error {
  background: var(--color-error-bg);
  border-color: var(--color-error-border);
  color: var(--color-error-text);
}

.contact-family-photo { padding: var(--section-pad-y) 0; background: var(--color-surface-alt); }
.contact-family-photo img {
  width: 100%; height: 24rem; object-fit: cover; object-position: top;
  border-radius: var(--radius); box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* ----------  Home: assets carousel  ---------- */
.assets { padding: var(--section-pad-y) 0; background: var(--color-surface-alt); }
.assets__title {
  font-size: var(--text-3xl);
  text-align: center;
  margin-bottom: 3rem;
}

.carousel {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.carousel__viewport {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.carousel__track {
  display: flex;
  transition: transform 0.4s ease;
}
.carousel__slide {
  flex: 0 0 100%;
  margin: 0;
  min-width: 0;
}
.carousel__img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  display: block;
}
.carousel__img--logo {
  object-fit: contain;
  background: #000;
}
.carousel__caption {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-ink);
  text-align: center;
  padding: 1rem;
}
.carousel__btn {
  background: var(--color-ink);
  color: #fff;
  border: none;
  border-radius: 9999px;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.carousel__btn:hover { background: var(--color-ink-hover); }
.carousel__btn svg { width: 1.25rem; height: 1.25rem; }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.carousel__dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  background: var(--color-border-strong);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s;
}
.carousel__dot[data-active] { background: var(--color-ink); }
.carousel__dot:hover { background: var(--color-muted); }

@media (max-width: 639px) {
  .carousel__btn { width: 2.25rem; height: 2.25rem; }
  .carousel__img { height: 18rem; }
  .carousel__caption { font-size: var(--text-base); }
}

/* ----------  Home: assets horizontal scroller  ---------- */
.assets { padding: var(--section-pad-y) 0; background: var(--color-surface-alt); }
.assets__title {
  font-size: var(--text-3xl);
  text-align: center;
  margin-bottom: 3rem;
}
.assets__scroller {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.assets__scroller[data-dragging="true"] { cursor: grabbing; user-select: none; }
.assets__scroller:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 4px; border-radius: var(--radius-sm); }

.assets__row {
  display: flex;
  gap: 1.5rem;
  padding: 0.5rem var(--container-pad) 0.5rem;
  width: max-content;
  margin-inline: auto; /* centers the row when it's narrower than the viewport */
}
.asset-card {
  flex: 0 0 20rem;
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  margin: 0;
  transition: transform 0.15s, box-shadow 0.15s;
}
.asset-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.asset-card__img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  display: block;
  pointer-events: none; /* prevents native image drag from breaking scroll-drag */
}
.asset-card__img--logo {
  object-fit: contain;
  background: #000;
}
.asset-card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-ink);
  padding: 1.25rem;
  text-align: center;
  margin: 0;
}

/* Custom horizontal scrollbar */
.assets__scroller::-webkit-scrollbar { height: 8px; }
.assets__scroller::-webkit-scrollbar-track { background: transparent; }
.assets__scroller::-webkit-scrollbar-thumb {
  background: var(--color-border-strong);
  border-radius: 4px;
}
.assets__scroller::-webkit-scrollbar-thumb:hover { background: var(--color-ink); }

/* Mobile: stack cards vertically */
@media (max-width: 639px) {
  .assets__scroller {
    overflow: visible;
    scroll-snap-type: none;
    cursor: default;
    padding-bottom: 0;
  }
  .assets__row {
    flex-direction: column;
    width: auto;
    padding: 0 var(--container-pad);
  }
  .asset-card { flex: 0 0 auto; }
  .asset-card__img { height: 14rem; }
}

/* ----------  Home hero: scroll-down hint  ---------- */
.hero-scroll-hint {
  position: absolute;
  bottom: 6rem;
  left: 50%;
  color: rgba(255, 255, 255, 0.9);
  animation: hero-scroll-bounce 2s ease-in-out infinite;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 3;
  will-change: opacity;
}
.hero-scroll-hint[data-hidden] {
  opacity: 0 !important;
  animation-play-state: paused;
}
.hero-scroll-hint svg {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

@keyframes hero-scroll-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, 10px); }
  60% { transform: translate(-50%, 5px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-hint {
    animation: none;
    transform: translateX(-50%);
  }
}

/* ----------  Team page: mobile order + dividers  ---------- */
/* On mobile, put the Jim+Brenda shared photo above their bios */
.team-exec__photo { order: -1; }
@media (min-width: 1024px) {
  .team-exec__photo { order: 0; }
}

/* Divider line between team members (and between exec block and first member) */
.team-members__list { gap: 0; }
.team-members__list > * + * {
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid var(--color-border);
}

/* Soft black vignette-style frame around Jim + Brenda joint portrait.
   Uses an inset box-shadow on a ::after pseudo-element so the frame edges blur
   inward (a solid CSS border on an <img> can't be blurred). */
.team-exec__photo { position: relative; }
.team-exec__photo img {
  border: none;
  border-radius: var(--radius);
}
.team-exec__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 28px 22px rgba(0, 0, 0, 1);
  pointer-events: none;
}
