/* CAPU shared design system additions — same palette, used with intent. */

/* Signature device: a single contour line, like a golf green's elevation
   contours or a coastline chart. Used as the one recurring motif that ties
   every page back to the subject instead of a generic <hr>. */
.contour-divider {
    width: 100%;
    line-height: 0;
    color: #b12416;
    opacity: 0.35;
}

.contour-divider svg {
    width: 100%;
    height: 28px;
    display: block;
}

.contour-divider path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.25;
}

/* Emphasized word inside a headline — the one typographic accent repeated
   across every hero instead of a generic badge+headline+paragraph. */
.accent-italic {
    font-style: italic;
    color: #b12416;
}

/* Numbered eyebrow used only where content is genuinely a sequence. */
.index-mark {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-variant-numeric: tabular-nums;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #b12416;
}

/* Scroll reveal, respecting reduced motion. */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Golf scorecard rows — replaces the generic icon-badge card for the three
   courses with something a golfer would actually recognize. */
.scorecard {
    border-top: 1px solid rgba(27, 28, 28, 0.12);
}

.scorecard-row {
    display: grid;
    grid-template-columns: 3.5rem 1fr auto auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem 0;
    border-bottom: 1px dashed rgba(27, 28, 28, 0.18);
}

.scorecard-row:hover .scorecard-cta {
    color: #b12416;
}

.scorecard-stat {
    text-align: center;
    min-width: 3.5rem;
}

.scorecard-stat span {
    display: block;
    font-family: "EB Garamond", serif;
    font-size: 28px;
    line-height: 1;
    color: #1b1c1c;
}

.scorecard-stat label {
    display: block;
    margin-top: 4px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5f5e5e;
}

.scorecard-cta {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1b1c1c;
    white-space: nowrap;
    transition: color 0.3s ease;
}

@media (max-width: 767px) {
    .scorecard-row {
        grid-template-columns: 1fr;
        row-gap: 0.75rem;
        text-align: left;
    }

    .scorecard-row .index-mark {
        display: none;
    }

    .scorecard-row > div:nth-child(3) {
        display: flex;
        gap: 1.5rem;
    }
}
