/* ===== American Coffin Company — Heritage Navy theme ===== */

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Reveal-on-load animation */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: reveal-in 0.7s ease-out forwards;
}
.reveal-delay {
  animation-delay: 0.15s;
}
@keyframes reveal-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Soft "faded flag" accent: a star + a soft red/white/blue bar.
   The star reads unmistakably American (no tricolore confusion). */
.stripe-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  vertical-align: middle;
}
.stripe-accent::before {
  content: "\2605"; /* ★ */
  color: #26303f;
  font-size: 14px;
  line-height: 1;
}
.stripe-accent::after {
  content: "";
  display: inline-block;
  height: 4px;
  width: 56px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 0.5px rgba(79, 100, 128, 0.18);
  background: linear-gradient(
    90deg,
    #b22234 0 33.33%,
    #ffffff 33.33% 66.66%,
    #4f6480 66.66% 100%
  );
}
/* On the dark navy section: light star, brighter bar */
.stripe-on-dark::before {
  color: #f4efe7;
}
.stripe-on-dark::after {
  box-shadow: none;
  background: linear-gradient(
    90deg,
    #c6303f 0 33.33%,
    #f4efe7 33.33% 66.66%,
    #7489a8 66.66% 100%
  );
}

/* ===== Brand mark: "ACC" badge + colored wordmark ===== */
.acc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  padding: 0 0.4rem;
  border-radius: 0.375rem;
  background: #26303f;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: 0.01em;
}
.acc-badge .r { color: #b22234; }
.acc-badge .w { color: #ffffff; }
.acc-badge .b { color: #8aa9d6; }

.brand-wm {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1;
  color: #26303f;
}
.brand-wm .r { color: #b22234; }
.brand-wm .w {
  color: #ffffff;
  text-shadow:
    -0.5px -0.5px 0 rgba(38, 48, 63, 0.4),
    0.5px -0.5px 0 rgba(38, 48, 63, 0.4),
    -0.5px 0.5px 0 rgba(38, 48, 63, 0.4),
    0.5px 0.5px 0 rgba(38, 48, 63, 0.4);
}
.brand-wm .b { color: #2f477f; }

/* Image frames with graceful "photo coming soon" placeholders */
.img-frame {
  position: relative;
  background: linear-gradient(135deg, #ece3d4 0%, #ddcdb4 100%);
}
.img-frame-dark {
  background: linear-gradient(135deg, #2f3a49 0%, #232c38 100%);
}
.img-frame .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #6f5137;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: "Inter", system-ui, sans-serif;
}
.img-frame .placeholder.placeholder-dark {
  color: rgba(244, 239, 231, 0.6);
}
