/* /about-us-2/ — page-specific rules. Shared rules are in /assets/site.css.
   Values were measured from production's computed styles at 1440 and 390. */

/* hero (no overlay on this page) */
.hero--about {
  background-image: url("/wp-content/uploads/2026/09/about-hero.jpg");
}
.hero--about::before { content: none; }

/* the family: photo left, copy right */
.about-family { padding: 3% 0 6.5%; background: var(--c-cream); }
.about-family__grid { display: flex; }
.about-family__col { position: relative; z-index: 2; display: flex; width: 50%; min-height: 1px; }
.about-family__panel { width: 100%; }
.about-family__col--photo .about-family__panel { padding: 0 0 0 6.5%; }
.about-family__col--text .about-family__panel { padding: 100px 6.5% 0 13%; }
.about-family__photo { margin: 0 0 3.25%; text-align: center; }
.about-family__photo img {
  display: block;
  width: 72%;
  margin: 0 auto;
  box-shadow: 0 60px 60px -20px rgba(0, 0, 0, .1);
}
.about-family h2 {
  margin: 0 0 20px;
  font-family: var(--font-script);
  font-size: 34px;
  line-height: 1em;
  text-transform: none;
}
.about-family__copy p, .timeline__card p { margin: 0 0 1.6em; }

/* history heading */
.about-history { padding: 6% 6.5% 6.5%; text-align: center; }
.about-history h2 { margin: 0; padding-bottom: 4%; font-size: 100px; line-height: 1em; }
@media (max-width: 921px) { .about-history h2 { font-size: 70px; } }
@media (max-width: 544px) { .about-history h2 { font-size: 40px; } }

/* timeline: cards alternate left/right of a centre line, date on the far side */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { line-height: inherit; }
.timeline__item { position: relative; display: flex; align-items: center; }
.timeline__item:not(:last-child) { margin-bottom: 10px; }
.timeline__item:nth-child(even) { flex-direction: row-reverse; }
.timeline__item::after { content: ""; flex: 1 1 50%; }              /* the empty date column */
.timeline__item::before {                                           /* the line, one piece per item */
  content: "";
  position: absolute;
  top: 0; bottom: -10px; left: 50%;
  width: 2px;
  margin-left: -1px;
  background: var(--c-line);
}
.timeline__item:first-child::before { top: calc(50% - 6.5px); }
.timeline__item:last-child::before { bottom: calc(50% - 6.5px); }
.timeline__marker {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: 12px; height: 13px;
  margin: 0 20px;
}
.timeline__marker::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c-grey); }
.timeline__body { flex: 1 1 50%; max-width: 100%; }
.timeline__item:nth-child(odd) .timeline__body { padding-right: 12px; }
.timeline__item:nth-child(even) .timeline__body { padding-left: 12px; }
.timeline__card { position: relative; padding: 25px; background: var(--c-white); text-align: left; }
.timeline__item:nth-child(odd) .timeline__card { text-align: right; }
.timeline__card::after {                                            /* white notch pointing at the marker */
  content: "";
  position: absolute;
  top: 50%;
  width: 0; height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  transform: translateY(-50%);
}
.timeline__item:nth-child(odd) .timeline__card::after { right: -12px; border-left: 13px solid var(--c-white); }
.timeline__item:nth-child(even) .timeline__card::after { left: -12px; border-right: 13px solid var(--c-white); }
.timeline__card h3 {
  margin: 0 0 10px;
  font-family: var(--font-script);
  font-size: 34px;
  line-height: 1em;
  color: #54595f;
}
.timeline__card p { font-family: var(--font-serif); }
.timeline__card .timeline__date {
  position: absolute;
  top: 50%;
  margin: -18.5714px 0 0;   /* half its 37.14px line box, so it sits on the marker's centre line */
  font-size: 20px;
  white-space: nowrap;
}
.timeline__item:nth-child(odd) .timeline__date { left: calc(100% + 74px); }
.timeline__item:nth-child(even) .timeline__date { right: calc(100% + 74px); }
.timeline__item:hover .timeline__date { color: var(--c-black); }

@media (max-width: 1024px) {
  /* timeline collapses to one column: marker, then card with the date inside */
  .timeline__item, .timeline__item:nth-child(even) { flex-direction: row; }
  .timeline__item::after { display: none; }
  .timeline__item::before { left: 20px; }
  .timeline__marker { order: -1; margin: 0 20px 0 0; }
  .timeline__body, .timeline__item:nth-child(odd) .timeline__body, .timeline__item:nth-child(even) .timeline__body {
    flex: 1 1 auto; width: 100%; margin-left: 16px; padding: 0;
  }
  .timeline__item:nth-child(odd) .timeline__card { text-align: left; }
  .timeline__item:nth-child(odd) .timeline__card::after,
  .timeline__item:nth-child(even) .timeline__card::after { right: auto; border-left: 0; border-right: 13px solid var(--c-white); }
  .timeline__item:nth-child(odd) .timeline__card::after { left: -13px; }
  .timeline__item:nth-child(even) .timeline__card::after { left: -12px; }
  .timeline__card .timeline__date { position: static; margin: 0; white-space: normal; }
}
@media (max-width: 921px) { .about-family h2, .timeline__card h3 { font-size: 23px; } }
@media (max-width: 767px) {
  .hero--about .hero__kicker { font-size: 41px; }
  .about-family__grid { flex-wrap: wrap; }
  .about-family__col { width: 100%; }
  .about-family__col--photo .about-family__panel { padding: 6.5% 6.5% 0; }
  .about-family__photo img { width: 98%; }
  .about-family__col--text .about-family__panel { padding: calc(6.5% + 10px) 6.5% 6.5%; }
  .about-family h2 { font-size: 32px; }
  .about-history { padding: 0 6.5% 6.5%; }
  .timeline__card { padding: 20px; }
}
@media (max-width: 544px) { .timeline__card h3 { font-size: 20px; } }
