@font-face {
  font-family: "Black Mango";
  src: url("/fonts/black-mango-black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #141414;
  --paper: #fafafa;
  --rule: #d4d4d4;
  --mute: #6b6b6b;
  --font: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --display: "Fraunces", Georgia, serif;
  --brand: "Black Mango", Georgia, serif;
}

* {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.wordmark {
  font-family: var(--brand);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.88;
  margin: 0;
}

/* —— Masthead: Bradd on top, then the big original photo —— */
.mast {
  text-align: center;
  padding: clamp(1.75rem, 5vh, 2.75rem) 1.25rem 1.75rem;
  border-bottom: 1px solid var(--rule);
  animation: fade-up 0.8s ease-out both;
}

.mast .wordmark {
  font-size: clamp(4.5rem, 18vw, 8.5rem);
}

.mast__lede {
  margin: 1rem auto 0;
  max-width: 28rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.55;
  color: color-mix(in srgb, var(--ink) 82%, transparent);
}

.mast__cta {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.65rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.mast__cta a {
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}

.mast__cta a:hover {
  opacity: 0.65;
}

.mast__cta span {
  color: var(--rule);
}

/* —— Original family photo, full-width and large —— */
.family-photo {
  margin: 0;
  background: #ececec;
  border-bottom: 1px solid var(--rule);
}

.family-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  animation: soft-zoom 1.2s ease-out both;
}

.kicker {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mute);
}

/* —— Stephen / Adin: logos + explainer copy —— */
.work {
  margin: 0 auto;
  max-width: 64rem;
  padding: 3.25rem 1.25rem;
}

.work--adin {
  max-width: none;
  border-top: 1px solid var(--rule);
  background: #f3f3f3;
}

.work--adin .work__intro,
.work--adin .work-grid {
  margin-left: auto;
  margin-right: auto;
  max-width: 64rem;
}

.work__intro h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.work__intro p:last-child {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  font-family: var(--serif);
  color: var(--mute);
}

.work-grid {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.work-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem;
  text-decoration: none;
  border: 1px solid var(--rule);
  background: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.work-card:hover {
  border-color: color-mix(in srgb, var(--ink) 35%, var(--rule));
  transform: translateY(-2px);
}

.work-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 8.5rem;
  width: 100%;
  background: #f7f7f7;
}

.work-card__logo img {
  max-height: 7.5rem;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  padding: 0.85rem 1rem;
}

.work-card__logo--braddcorp {
  background: #1e3a5f;
}

.braddcorp-mark {
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.work-card h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.work-card p {
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--mute);
}

.work-card__go {
  margin-top: 0.85rem !important;
  font-size: 0.8125rem !important;
  font-weight: 700;
  color: var(--ink) !important;
}

/* —— Family roster —— */
.family {
  margin: 0 auto;
  max-width: 42rem;
  padding: 3.5rem 1.25rem 4rem;
}

.family__head {
  margin-bottom: 2rem;
}

.family__head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.family__head p:last-child {
  margin: 0.65rem 0 0;
  font-family: var(--serif);
  color: var(--mute);
}

.roster {
  margin: 0;
  padding: 0;
  list-style: none;
}

.roster li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--rule);
}

.roster li:last-child {
  border-bottom: 1px solid var(--rule);
}

.roster img {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  border-radius: 50%;
  background: #eee;
  flex-shrink: 0;
}

.roster strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
}

.roster span,
.roster a {
  display: block;
  font-size: 0.88rem;
  color: var(--mute);
  text-decoration: none;
}

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

footer {
  padding: 2.5rem 1.25rem 3rem;
  border-top: 1px solid var(--rule);
  text-align: center;
  font-size: 0.9rem;
}

.wordmark--sm {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes soft-zoom {
  from {
    transform: scale(1.04);
    opacity: 0.85;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
