/* ============================================================
   Wise Family Jewelers — Timeline Widget
   Scope: .wfj-timeline
   Paste into Punchmark Site Manager > Design/Theme Settings > Global CSS
   DO NOT paste into the page editor.
   ============================================================ */

.wfj-timeline {
  --wfj-gold: #C9A84C;
  --wfj-gold-light: #C9A84C;
  --wfj-cream: #F5F0E8;
  --wfj-muted: #a89f94;
  --wfj-dot-size: 12px;
  --wfj-line-color: rgba(201, 168, 76, 0.25);

  background: transparent;
  padding: 48px 20px;
  font-family: inherit;
  max-width: 860px;
  margin: 0 auto;
}

/* Header */
.wfj-timeline__header {
  text-align: center;
  margin-bottom: 48px;
}

.wfj-timeline__eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wfj-gold);
  margin-bottom: 12px;
}

.wfj-timeline__title {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 400;
  color: var(--wfj-cream);
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* Track */
.wfj-timeline__track {
  position: relative;
  padding-bottom: 8px;
}

.wfj-timeline__line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--wfj-line-color) 6%,
    var(--wfj-line-color) 94%,
    transparent
  );
  transform: translateX(-50%);
}

/* Items */
.wfj-timeline__item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 36px;
  position: relative;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.wfj-timeline__item.wfj-visible {
  opacity: 1;
  transform: translateY(0);
}

.wfj-timeline__item--left {
  flex-direction: row;
}

.wfj-timeline__item--right {
  flex-direction: row-reverse;
}

/* Node */
.wfj-timeline__node {
  flex: 0 0 50%;
  display: flex;
  align-items: center;
  position: relative;
}

.wfj-timeline__item--left .wfj-timeline__node {
  justify-content: flex-end;
  padding-right: 28px;
}

.wfj-timeline__item--right .wfj-timeline__node {
  justify-content: flex-start;
  padding-left: 28px;
}

.wfj-timeline__year {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--wfj-gold);
  font-weight: 500;
  text-transform: uppercase;
}

.wfj-timeline__dot {
  width: var(--wfj-dot-size);
  height: var(--wfj-dot-size);
  border-radius: 50%;
  background: var(--wfj-gold);
  border: 2px solid var(--wfj-gold-light);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.35);
  transition: box-shadow 0.3s ease;
}

.wfj-timeline__item--left .wfj-timeline__dot {
  right: -5px;
}

.wfj-timeline__item--right .wfj-timeline__dot {
  left: -5px;
}

.wfj-timeline__item:hover .wfj-timeline__dot {
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.7);
}

/* Card */
.wfj-timeline__card {
  flex: 0 0 50%;
}

.wfj-timeline__item--left .wfj-timeline__card {
  padding-left: 28px;
}

.wfj-timeline__item--right .wfj-timeline__card {
  padding-right: 28px;
}

.wfj-timeline__card-inner {
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 3px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.wfj-timeline__item:hover .wfj-timeline__card-inner {
  border-color: rgba(201, 168, 76, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.wfj-timeline__card-heading {
  font-size: 15px;
  font-weight: 500;
  color: var(--wfj-cream) !important;
  margin: 0 0 8px !important;
  letter-spacing: 0.03em;
}

.wfj-timeline__card-body {
  font-size: 13px;
  color: var(--wfj-muted) !important;
  line-height: 1.7;
  margin: 0 !important;
}

/* Image */
.wfj-timeline__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 16px;
}

.wfj-timeline__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(25%);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.wfj-timeline__item:hover .wfj-timeline__img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

/* Mobile */
@media (max-width: 580px) {
  .wfj-timeline__line {
    left: 16px;
  }

  .wfj-timeline__item--left,
  .wfj-timeline__item--right {
    flex-direction: column;
    padding-left: 40px;
  }

  .wfj-timeline__node {
    flex: none;
    width: 100%;
    justify-content: flex-start !important;
    padding: 0 !important;
    margin-bottom: 12px;
  }

  .wfj-timeline__dot {
    left: -31px !important;
    right: auto !important;
  }

  .wfj-timeline__card {
    flex: none;
    width: 100%;
    padding: 0 !important;
  }
}


/* ============================================================
   Wise Family Jewelers — Machinery Page
   Scope: .wfj-mach
   ============================================================ */

.wfj-mach {
  --wfj-gold: #C9A84C;
  --wfj-gold-light: #C9A84C;
  --wfj-cream: #F5F0E8;
  --wfj-muted: #a89f94;
  --wfj-dark: #1A2E27;
  --wfj-border: rgba(201, 168, 76, 0.2);

  background: transparent;
  color: var(--wfj-muted);
  font-family: inherit;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 60px;
}

/* ── Hero ── */
.wfj-mach__hero {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  margin-bottom: 64px;
}

.wfj-mach__hero-img-wrap {
  position: absolute;
  inset: 0;
}

.wfj-mach__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: grayscale(30%) brightness(0.55);
}

.wfj-mach__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(14, 13, 11, 0.85) 100%
  );
}

.wfj-mach__hero-text {
  position: absolute;
  bottom: 48px;
  left: 48px;
  right: 48px;
}

.wfj-mach__eyebrow {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--wfj-gold);
  margin-bottom: 12px;
}

.wfj-mach__hero-title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 400;
  color: var(--wfj-cream);
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.wfj-mach__hero-sub {
  font-size: 15px;
  color: var(--wfj-muted);
  margin: 0;
  max-width: 480px;
  line-height: 1.6;
}

/* ── Intro / Pull Quote ── */
.wfj-mach__intro {
  padding: 0 48px 56px;
}

.wfj-mach__intro-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.wfj-mach__pull-quote {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 400;
  color: var(--wfj-cream);
  margin: 0 0 24px;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.wfj-mach__intro-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--wfj-muted);
  margin: 0;
}

/* ── Split Sections ── */
.wfj-mach__split {
  display: flex;
  align-items: stretch;
  margin-bottom: 4px;
}

.wfj-mach__split--img-left {
  flex-direction: row;
}

.wfj-mach__split--img-right {
  flex-direction: row-reverse;
}

.wfj-mach__split-img {
  flex: 0 0 48%;
  overflow: hidden;
}

.wfj-mach__split-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.5s ease, transform 0.5s ease;
  min-height: 360px;
}

.wfj-mach__split:hover .wfj-mach__split-photo {
  filter: grayscale(0%);
  transform: scale(1.02);
}

.wfj-mach__split-copy {
  flex: 0 0 52%;
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--wfj-border);
}

.wfj-mach__section-label {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wfj-gold);
  margin-bottom: 12px;
}

.wfj-mach__section-heading {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 400;
  color: var(--wfj-cream) !important;
  margin: 0 0 20px !important;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.wfj-mach__split-copy p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--wfj-muted) !important;
  margin: 0 0 14px !important;
}

.wfj-mach__split-copy p:last-child {
  margin-bottom: 0 !important;
}

/* ── Smithsonian Banner ── */
.wfj-mach__smithsonian {
  position: relative;
  height: 380px;
  overflow: hidden;
  margin: 4px 0;
}

.wfj-mach__smithsonian-img-wrap {
  position: absolute;
  inset: 0;
}

.wfj-mach__smithsonian-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(40%) brightness(0.45);
}

.wfj-mach__smithsonian-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 13, 11, 0.55);
}

.wfj-mach__smithsonian-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.wfj-mach__smithsonian-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wfj-gold);
  margin: 0 0 16px !important;
}

.wfj-mach__smithsonian-body {
  font-size: 17px;
  color: var(--wfj-cream) !important;
  max-width: 620px;
  line-height: 1.75;
  margin: 0 !important;
  font-weight: 300;
}

/* ── Archive Callout ── */
.wfj-mach__archive {
  padding: 56px 48px;
  border-top: 1px solid var(--wfj-border);
  border-bottom: 1px solid var(--wfj-border);
  margin: 4px 0 0;
}

.wfj-mach__archive-inner {
  display: flex;
  align-items: center;
  gap: 52px;
  max-width: 900px;
  margin: 0 auto;
}

.wfj-mach__archive-img-wrap {
  flex: 0 0 220px;
}

.wfj-mach__archive-img {
  width: 100%;
  display: block;
  border: 1px solid var(--wfj-border);
  filter: sepia(30%) brightness(0.85);
}

.wfj-mach__archive-copy {
  flex: 1;
}

.wfj-mach__archive-copy p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--wfj-muted) !important;
  margin: 0 !important;
}

/* ── Credit Line ── */
.wfj-mach__credit {
  text-align: center;
  padding: 32px 48px 0;
}

.wfj-mach__credit p {
  font-size: 11px !important;
  letter-spacing: 0.1em;
  color: rgba(154, 143, 130, 0.5) !important;
  text-transform: uppercase;
  margin: 0 !important;
}

/* ── Mobile ── */
@media (max-width: 700px) {
  .wfj-mach__hero {
    height: 380px;
  }

  .wfj-mach__hero-text {
    left: 24px;
    right: 24px;
    bottom: 28px;
  }

  .wfj-mach__intro {
    padding: 0 24px 40px;
  }

  .wfj-mach__split--img-left,
  .wfj-mach__split--img-right {
    flex-direction: column;
  }

  .wfj-mach__split-img {
    flex: none;
    height: 260px;
  }

  .wfj-mach__split-photo {
    min-height: 260px;
  }

  .wfj-mach__split-copy {
    flex: none;
    padding: 32px 24px;
  }

  .wfj-mach__smithsonian {
    height: 300px;
  }

  .wfj-mach__archive-inner {
    flex-direction: column;
    gap: 28px;
  }

  .wfj-mach__archive-img-wrap {
    flex: none;
    width: 180px;
    margin: 0 auto;
  }

  .wfj-mach__archive {
    padding: 40px 24px;
  }

  .wfj-mach__credit {
    padding: 24px 24px 0;
  }
}
