/* Heritage Section - Rum History & Panama Heritage */

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: translateY(0) } }
@keyframes shimmer { 0%, 100% { opacity: .85 } 50% { opacity: 1 } }
@keyframes canalAnim { 0% { stroke-dashoffset: 180 } 100% { stroke-dashoffset: 0 } }
@keyframes grainDrift { 0% { background-position: 0 0 } 100% { background-position: 0 4px } }
@keyframes bungBreath { 0%, 100% { box-shadow: 0 0 10px 3px rgba(130,75,18,.25), inset 0 2px 8px rgba(0,0,0,.95) } 50% { box-shadow: 0 0 22px 8px rgba(160,90,20,.38), inset 0 2px 8px rgba(0,0,0,.95) } }
@keyframes drip { 0% { height: 0; opacity: 0; top: 41% } 10% { opacity: 1 } 55% { height: 28px; top: 41%; opacity: 1 } 70% { height: 30px; opacity: .9 } 100% { height: 0; opacity: 0; top: 71% } }
@keyframes dropFall { 0%, 65% { opacity: 0; transform: translateY(0) scale(.3) scaleY(1.4) } 67% { opacity: 1 } 80% { opacity: 1; transform: translateY(2px) scale(1.1) scaleY(.75) } 100% { opacity: 0; transform: translateY(18px) scale(.5) } }
@keyframes barrelGlow { 0%, 100% { opacity: .3 } 50% { opacity: .5 } }
@keyframes mapIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes markerPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(176,133,72,.4) } 50% { box-shadow: 0 0 0 8px rgba(176,133,72,0) } }

/* Heritage wrapper */
.heritage {
    background: #0b0906;
    color: #e8dcc8;
}

/* Divider */
.heritage__divider {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 56px;
    max-width: 960px;
    margin: 0 auto;
}

.heritage__divider-line {
    flex: 1;
    height: 1px;
    background: #1e1408;
}

.heritage__divider-logo {
    width: 36px;
    height: auto;
    flex-shrink: 0;
    opacity: .45;
    filter: brightness(1.3);
}

/* Part I - Atmospheric open */
.heritage__part1 {
    position: relative;
    background: #0b0906;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heritage__part1-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.heritage__part1-text {
    position: relative;
    z-index: 4;
    padding: 52px 48px 48px;
    max-width: 520px;
    align-self: flex-start;
    animation: fadeInUp 1s ease .6s both;
}

.heritage__part-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.heritage__part-label-line {
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.heritage__part-label-text {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .44em;
    text-transform: uppercase;
    color: var(--gold);
}

.heritage__part-number {
    font-family: var(--font-heading);
    font-size: 82px;
    font-weight: 700;
    color: #120b03;
    line-height: 1;
    display: block;
    margin-bottom: -8px;
    margin-left: -3px;
}

.heritage__part-heading {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 400;
    line-height: 1.1;
    color: #f2e6d0;
    margin-bottom: 18px;
}

.heritage__part-heading em {
    font-style: italic;
    color: var(--gold);
}

.heritage__part-desc {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.72;
    color: #8a7050;
    max-width: 420px;
}

.heritage__part-desc strong {
    font-weight: 500;
    color: #a88a58;
}

/* Timeline */
.heritage__timeline {
    max-width: 960px;
    margin: 0 auto;
    padding: 48px 56px 64px;
    position: relative;
}

.heritage__timeline::before {
    display: none;
}

/* Timeline track (vertical scroll line) */
.heritage__timeline-track {
    position: absolute;
    left: calc(56px + 110px + 24px + 5px);
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(176, 133, 72, 0.15);
    transform: translateX(-50%);
    z-index: 1;
}

.heritage__timeline-progress {
    width: 100%;
    height: 0%;
    background: var(--gold);
    transition: height 0.1s linear;
}

.heritage__timeline-row {
    display: grid;
    grid-template-columns: 110px 10px 1fr;
    gap: 0 24px;
    padding-bottom: 44px;
    position: relative;
}

.heritage__timeline-date {
    text-align: right;
    padding-top: 3px;
}

.heritage__timeline-year {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--gold);
    display: block;
    line-height: 1;
}

.heritage__timeline-era {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #9a8058;
    display: block;
    margin-top: 4px;
}

.heritage__timeline-node {
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    z-index: 2;
    margin-top: 8px;
    justify-self: center;
}

.heritage__timeline-content {
    padding-left: 0;
}

.heritage__timeline-heading {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    color: #e0d0b0;
    margin-bottom: 10px;
    line-height: 1.3;
}

.heritage__timeline-heading em {
    font-style: italic;
    color: var(--gold);
}

.heritage__timeline-body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.85;
    color: #a89070;
}

.heritage__timeline-body strong {
    color: #a88a58;
    font-weight: 500;
}

/* Barrel strip */
.heritage__barrel-strip {
    position: relative;
    height: 300px;
    background: #050302;
    overflow: hidden;
    border-top: 1px solid #1a1208;
    border-bottom: 1px solid #1a1208;
}

.heritage__barrel-overlay-tb {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #050302 0%, transparent 22%, transparent 68%, #050302 100%);
    z-index: 2;
    pointer-events: none;
}

.heritage__barrel-overlay-lr {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #050302 0%, transparent 12%, transparent 88%, #050302 100%);
    z-index: 2;
    pointer-events: none;
}

.heritage__barrel-quote {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 40px;
}

.heritage__barrel-quote p {
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.4vw, 26px);
    font-weight: 400;
    font-style: italic;
    color: #c8a060;
    line-height: 1.5;
    text-shadow: 0 2px 24px rgba(0,0,0,1);
}

.heritage__barrel-quote em {
    font-style: normal;
    color: #e4c080;
}

/* Photo barrel strip variant */
.heritage__barrel-strip--photo {
    background: #050302;
}

.heritage__barrel-strip--photo .heritage__barrel-quote {
    z-index: 4;
}

/* Horizontal Chapters Timeline */
.heritage__chapters-wrap {
    background: #f5f0e8;
    padding: 80px 56px 180px;
}

.heritage__chapters-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.heritage__chapters-overline {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 16px;
}

.heritage__chapters-title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 400;
    color: #1a1208;
    line-height: 1.25;
}

.heritage__chapters-title em {
    font-style: italic;
    color: var(--gold);
}

.heritage__chapters-track-wrap {
    position: relative;
    margin-bottom: 40px;
    padding: 0 20px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.heritage__chapters-track {
    height: 1px;
    background: rgba(176, 133, 72, 0.25);
    position: relative;
}

.heritage__chapters-progress {
    height: 100%;
    width: 0%;
    background: var(--gold);
    transition: width 0.3s ease;
}

.heritage__chapters-dots {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

.heritage__chapters-dot {
    width: 10px;
    height: 10px;
    background: rgba(176, 133, 72, 0.2);
    border-radius: 50%;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.heritage__chapters-dot.is-active {
    background: var(--gold);
    box-shadow: 0 0 8px rgba(176, 133, 72, 0.4);
}

.heritage__chapters-scroll {
    overflow: visible;
}

.heritage__chapters-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.heritage__chapter-card {
    background: #fff;
    padding: 40px 36px 48px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border-radius: 4px;
}

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

.heritage__chapter-card .heritage__chapter-tag {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 6px;
}

.heritage__chapter-card .heritage__chapter-yr {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 400;
    color: #d8ccb8;
    display: block;
    margin-bottom: 20px;
    line-height: 1;
}

.heritage__chapter-card .heritage__chapter-hd {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    color: #1a1208;
    line-height: 1.3;
    margin-bottom: 14px;
}

.heritage__chapter-card .heritage__chapter-hd em {
    font-style: italic;
    color: #8a6830;
}

.heritage__chapter-card .heritage__chapter-tx {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.75;
    color: rgba(42, 34, 28, 0.7);
}

.heritage__chapter-card .heritage__chapter-tx strong {
    color: #1a1208;
    font-weight: 600;
}

.heritage__chapter-quote {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 400;
    font-style: italic;
    color: #b09060;
    line-height: 1.55;
    margin-bottom: 20px;
}

.heritage__chapter-quote em {
    font-style: normal;
    color: #d4a840;
}

/* Part II - Split layout (text + map) */
.heritage__part2 {
    display: flex;
    flex-direction: row;
    min-height: 560px;
    border-top: 1px solid #1a1208;
}

.heritage__part2-text {
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    width: 36%;
    min-width: 240px;
    background: #0d0a06;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 40px;
    border-right: 1px solid #2a1a0a;
}

.heritage__part2-map {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #0b0906;
}

/* Panama Heritage Section — new layout */
.heritage__panama-section {
    background: #0b0906;
    padding: 80px 0 60px;
}

.heritage__panama-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
    padding: 0 40px;
}

.heritage__panama-header-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}
.heritage__panama-header-rule span {
    display: none;
}

.heritage__panama-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 400;
    color: #f2e6d0;
    letter-spacing: .02em;
    margin-bottom: 16px;
}

.heritage__panama-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 400;
    color: #a89070;
    line-height: 1.3;
    margin-bottom: 20px;
}
.heritage__panama-subtitle em {
    color: var(--gold);
    font-style: italic;
}

.heritage__panama-desc {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    color: #8a7858;
    max-width: 500px;
    margin: 0 auto;
}

/* Floating map */
.heritage__map-float {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.heritage__map-float-inner {
    position: relative;
    display: flex;
    justify-content: center;
}

.heritage__map-float-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    filter: sepia(.15) brightness(.8) contrast(1.1);
    mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, black 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, black 50%, transparent 100%);
    animation: mapIn 2s ease .3s both;
}

/* Warehouse pinpoint */
.heritage__map-pin {
    position: absolute;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.heritage__map-pin-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid #e8c060;
    box-shadow: 0 0 12px rgba(176,133,72,.5), 0 0 30px rgba(176,133,72,.2);
    animation: markerPulse 2.5s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.heritage__map-pin-line {
    width: 2px;
    height: 140px;
    background: linear-gradient(180deg, var(--gold) 0%, rgba(176,133,72,.6) 60%, rgba(176,133,72,.15) 100%);
    position: relative;
    z-index: 1;
}

/* Pinpoint label */
.heritage__map-pin-label {
    text-align: center;
    margin-top: 16px;
    padding-top: 20px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.heritage__map-pin-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.heritage__map-pin-address {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: #9a8568;
    letter-spacing: .02em;
    margin-bottom: 4px;
}

.heritage__map-pin-country {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-style: italic;
    color: #6a5838;
    letter-spacing: .05em;
}

/* Panama chapters */

.heritage__chapters {
    max-width: 960px;
    margin: 0 auto;
    padding: 56px 56px;
}

.heritage__chapter {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 0 48px;
    padding: 44px 0;
    border-top: 1px solid #d4c8b4;
    align-items: start;
}

.heritage__chapter:first-child {
    border-top: none;
}

.heritage__chapter:last-child {
    padding-bottom: 0;
}

.heritage__chapter-tag {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: #8a6830;
    display: block;
    margin-bottom: 6px;
}

.heritage__chapter-yr {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: #6a5030;
    line-height: 1;
    display: block;
}

.heritage__chapter-hd {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    color: #e0d0b0;
    margin-bottom: 14px;
    line-height: 1.25;
}

.heritage__chapter-hd em {
    font-style: italic;
    color: #8a6830;
}

.heritage__chapter-tx {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.88;
    color: #5a4a38;
}

.heritage__chapter-tx strong {
    color: #3a2a18;
    font-weight: 600;
}

.heritage__chapter-tx em {
    font-style: italic;
    color: #6a5030;
}

/* Cask strip */
.heritage__cask-strip {
    position: relative;
    height: 360px;
    background: #050302;
    overflow: hidden;
    border-top: 1px solid #1a1208;
    margin-top: 48px;
}

.heritage__cask-wood {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(89.2deg, transparent 0px, transparent 14px, rgba(50,28,6,.14) 14px, rgba(50,28,6,.14) 15px),
                repeating-linear-gradient(90.7deg, transparent 0px, transparent 7px, rgba(35,18,4,.09) 7px, rgba(35,18,4,.09) 8px),
                linear-gradient(180deg, #100804 0%, #221408 12%, #3a2210 24%, #301a08 38%, #3e2812 50%, #2a1808 62%, #201008 76%, #160c06 88%, #0e0804 100%);
    animation: grainDrift 12s ease-in-out alternate infinite;
}

.heritage__cask-stave {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(10,5,2,.5) 20%, rgba(10,5,2,.7) 50%, rgba(10,5,2,.5) 80%, transparent 100%);
}

.heritage__cask-hoop {
    position: absolute;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(5,3,1,0) 0%, rgba(30,20,8,.9) 50%, rgba(5,3,1,0) 100%);
    box-shadow: 0 2px 6px rgba(0,0,0,.7), 0 -2px 6px rgba(0,0,0,.7);
}

.heritage__cask-bung-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
}

.heritage__cask-bung-outer {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(145deg, #1e1208, #0a0604);
    border: 1px solid #2a1a08;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.95), inset 0 3px 10px rgba(0,0,0,.98);
    animation: bungBreath 5s ease-in-out infinite;
}

.heritage__cask-bung-inner {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: radial-gradient(ellipse at 38% 32%, #2e1e0a 0%, #180e04 45%, #080402 100%);
    border: 1px solid #1a1006;
    box-shadow: inset 0 2px 8px rgba(0,0,0,.98);
    display: flex;
    align-items: center;
    justify-content: center;
}

.heritage__cask-bung-center {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #060402;
    border: 1px solid #1a1006;
}

.heritage__cask-drip {
    position: absolute;
    left: calc(50% - 1px);
    width: 2px;
    background: linear-gradient(180deg, #c07820 0%, #a06010 60%, rgba(140,75,10,0) 100%);
    border-radius: 0 0 1px 1px;
    animation: drip 7s ease-in-out 1s infinite;
    z-index: 5;
}

.heritage__cask-drop {
    position: absolute;
    left: calc(50% - 5px);
    width: 10px;
    height: 13px;
    border-radius: 50% 50% 55% 55% / 45% 45% 55% 55%;
    background: radial-gradient(ellipse at 38% 32%, #e09830, #b06e18 55%, #8a5010);
    animation: dropFall 7s ease-in-out 1s infinite;
    top: 72%;
    z-index: 5;
}

.heritage__cask-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(130,72,16,.1) 0%, transparent 60%);
    z-index: 2;
    animation: bungBreath 5s ease-in-out infinite;
}

.heritage__cask-caption {
    position: absolute;
    z-index: 8;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 56px 36px;
    background: linear-gradient(to top, rgba(5,3,2,.92) 0%, transparent 100%);
}

.heritage__cask-caption-eyebrow {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .44em;
    text-transform: uppercase;
    color: #6a4c20;
    display: block;
    margin-bottom: 8px;
}

.heritage__cask-caption-text {
    font-family: var(--font-heading);
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 400;
    font-style: italic;
    color: #b89050;
    line-height: 1.45;
    max-width: 440px;
}

.heritage__cask-caption-text em {
    font-style: normal;
    color: #d4aa60;
}

/* Canal Cask close — cream background */
.heritage__close-wrap {
    background: #f5f0e8;
    border-bottom: none;
}

/* Vision section */
.heritage__vision {
    max-width: 960px;
    margin: 0 auto;
    padding: 96px 56px 80px;
    text-align: center;
}

.heritage__vision-overline {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 28px;
}

.heritage__vision-heading {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 400;
    color: #1a1208;
    line-height: 1.2;
    margin-bottom: 24px;
}

.heritage__vision-heading em {
    font-style: italic;
    color: #8a6830;
}

.heritage__vision-text {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
    color: rgba(42, 34, 28, 0.7);
    max-width: 600px;
    margin: 0 auto 48px;
}

.heritage__vision-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
}

.heritage__vision-point {
    background: #1a1208;
    padding: 40px 36px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.heritage__vision-point:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.heritage__vision-point:nth-child(even) {
    background: #0b0906;
}

.heritage__vision-point-label {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #e8dcc8;
    margin-bottom: 14px;
}

.heritage__vision-point-sep {
    display: none;
}

.heritage__vision-point-desc {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.75;
    color: #9a8568;
}

/* Finale */
.heritage__finale {
    background: #f5f0e8;
    padding: 96px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.heritage__finale::before {
    content: 'CANAL CASK';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 120px;
    font-weight: 700;
    color: rgba(42, 34, 28, .04);
    white-space: nowrap;
    letter-spacing: .12em;
    pointer-events: none;
}

.heritage__finale-inner {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.heritage__finale-pre {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    color: var(--gold);
    margin-bottom: 28px;
}

.heritage__finale-quote {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.8vw, 48px);
    font-weight: 400;
    line-height: 1.15;
    color: #1a1208;
    margin-bottom: 28px;
}

.heritage__finale-quote em {
    font-style: italic;
    color: #8a6830;
}

.heritage__finale-body {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 400;
    font-style: italic;
    color: rgba(42, 34, 28, 0.75);
    margin-bottom: 48px;
    line-height: 1.65;
}

.heritage__finale-rule {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 240px;
    margin: 0 auto;
}

.heritage__finale-rule span {
    flex: 1;
    height: 1px;
    background: #d4c8b4;
}

.heritage__finale-rule-text {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: rgba(42, 34, 28, 0.45);
}

/* Responsive */
@media (max-width: 768px) {
    .heritage__panama-section {
        padding: 60px 0 40px;
    }
    .heritage__panama-header {
        margin-bottom: 40px;
    }
    .heritage__map-float {
        padding: 0 20px;
    }
    .heritage__map-pin-line {
        height: 50px;
    }
    .heritage__vision {
        padding: 64px 24px 56px;
    }
    .heritage__vision-points {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .heritage__vision-point {
        padding: 32px 24px 28px;
    }
    .heritage__chapter {
        grid-template-columns: 1fr;
        gap: 10px 0;
    }
    .heritage__chapters-wrap {
        padding: 60px 24px 56px;
    }
    .heritage__chapters-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .heritage__timeline,
    .heritage__finale,
    .heritage__divider {
        padding-left: 24px;
        padding-right: 24px;
    }
    .heritage__timeline-track {
        left: calc(24px + 70px + 16px + 5px);
    }
    .heritage__part1-text {
        padding: 40px 24px;
    }
    .heritage__timeline-row {
        grid-template-columns: 70px 10px 1fr;
        gap: 0 16px;
    }
    .heritage__timeline-year {
        font-size: 18px;
    }
    .heritage__cask-caption {
        padding: 20px 24px 28px;
    }
    .heritage__map-pin-name {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .heritage__timeline-row {
        grid-template-columns: 10px 1fr;
        gap: 0 16px;
    }
    .heritage__timeline-date {
        text-align: left;
        grid-column: 2;
    }
    .heritage__timeline-node {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: start;
        margin-top: 4px;
    }
    .heritage__timeline-content {
        grid-column: 2;
        padding-left: 0;
    }
    .heritage__timeline-track {
        left: calc(24px + 5px);
    }
    .heritage__vision-points {
        grid-template-columns: 1fr;
    }
}
