/* =========================================================================
   10 · Gold Price — Framer "GoldPriceHome" (light theme)
   ========================================================================= */
.gp-sec { position: relative; width: 100%; padding: 100px 80px; background: #FFFFFF; color: #0B1B3F; overflow: hidden; isolation: isolate; }
.gp-head { max-width: 1280px; margin: 0 auto 44px; }
.gp-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: #A8843F; margin-bottom: 22px; }
.gp-eyebrow i { width: 32px; height: 1px; background: #C8A96A; flex-shrink: 0; }
.gp-title { margin: 0; font-size: 48px; font-weight: 400; line-height: 1.08; letter-spacing: -.5px; }
.gp-title b { font-weight: inherit; color: #C8A96A; }
.gp-sub { margin: 24px 0 0; max-width: 760px; font-size: 15px; line-height: 1.6; }
.gp-disc { margin-top: 10px; max-width: 720px; font-size: 13px; line-height: 1.55; opacity: .82; }
.gp-left > .gp-table-note { margin: -6px 0 0; padding: 0 6px; max-width: 100%; font-size: 12.5px; line-height: 1.5; }
.gp-left > .gp-table-note.gp-disc { font-size: 13px; line-height: 1.55; opacity: .82; }
.gp-left > .gp-table-note .gp-disc-date { color: #C8A96A; font-weight: 700; }
.gp-sec.is-dark .gp-left > .gp-table-note.gp-disc { font-size: 14px; opacity: .85; }
.gp-sec.is-dark .gp-left > .gp-table-note .gp-disc-date { color: #C8A96A; }
.gp-table col.gp-col-chg { width: 4.5rem; }
.gp-table th:last-child,
.gp-table td.gp-chg {
  text-align: right;
  vertical-align: middle;
  width: 4.5rem;
  padding-right: 18px;
  padding-left: 8px;
}
.gp-table .gp-chg-ico {
  display: block;
  width: 100%;
  text-align: right;
  line-height: 1;
}
.gp-table .gp-chg-glyph {
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}
.gp-table .gp-up .gp-chg-glyph { color: #16a34a; }
.gp-table .gp-down .gp-chg-glyph { color: #dc2626; }
.gp-table .gp-eq .gp-chg-glyph,
.gp-table .gp-chg-flat { color: rgba(11, 27, 63, .45); font-weight: 600; }
.gp-sec.is-dark .gp-table .gp-up .gp-chg-glyph { color: #4ade80; }
.gp-sec.is-dark .gp-table .gp-down .gp-chg-glyph { color: #f87171; }
.gp-sec.is-dark .gp-table .gp-eq .gp-chg-glyph,
.gp-sec.is-dark .gp-table .gp-chg-flat { color: rgba(255, 255, 255, .5); }

/* rise in (replays each time the section scrolls back into view) */
.gp-sec [data-r] { opacity: 0; transform: translateY(28px); }
.gp-sec.is-on [data-r] { opacity: 1; transform: none; transition: opacity .8s ease var(--d), transform 1s cubic-bezier(0.22, 1, 0.36, 1) var(--d); }

.gp-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); gap: 24px; align-items: start; }
.gp-left { position: relative; display: grid; gap: 24px; min-width: 0; z-index: 1; }
.gp-left.is-open { z-index: 30; }
.gp-card {
  position: relative; border-radius: 18px; background: #FFFFFF; border: 1px solid rgba(11, 27, 63, .10);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 2px rgba(11, 27, 63, .04), 0 18px 40px -26px rgba(11, 27, 63, .22);
}

/* estimator */
.gp-est { padding: 24px 24px 22px; z-index: 2; }
.gp-est h3 { margin: 0 0 18px; font-size: 17px; font-weight: 600; }
.gp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gp-lbl { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: #A8843F; }
.gp-field {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(11, 27, 63, .16); background: #FFFFFF; color: #0B1B3F;
  font-family: inherit; font-size: 15px; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.gp-field:hover { border-color: rgba(200, 169, 106, .6); }
.gp-field:focus, .gp-pick.is-open .gp-field { border-color: #C8A96A; box-shadow: 0 0 0 3px rgba(200, 169, 106, .25); }
.gp-field::placeholder { color: rgba(11, 27, 63, .35); }
.gp-field::-webkit-outer-spin-button, .gp-field::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gp-field[type=number] { -moz-appearance: textfield; appearance: textfield; }
.gp-pick { position: relative; }
.gp-pick button.gp-field { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-right: 12px; text-align: left; cursor: pointer; }
.gp-pick button b { font-weight: 600; }
.gp-pick button svg { flex-shrink: 0; transition: transform .3s cubic-bezier(0.22, 1, 0.36, 1); }
.gp-pick.is-open button svg { transform: rotate(180deg); }
.gp-chip { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; font-size: 11px; font-weight: 600; letter-spacing: .4px; color: rgba(11, 27, 63, .55); border: 1px solid rgba(11, 27, 63, .10); }
.gp-chip.is-on { color: #A8843F; border-color: rgba(200, 169, 106, .55); background: rgba(200, 169, 106, .12); }
.gp-list {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; min-width: 230px; padding: 6px; border-radius: 14px; background: #FFFFFF; border: 1px solid rgba(11, 27, 63, .10);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .7), 0 2px 8px rgba(0, 0, 0, .25); z-index: 50; max-height: 300px; overflow-y: auto;
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top center; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .25s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear .25s;
}
.gp-pick.is-open .gp-list { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.gp-list-hint { padding: 8px 10px 6px; font-size: 10.5px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(11, 27, 63, .55); }
.gp-opt { display: flex; align-items: center; gap: 10px; padding: 11px 10px; border-radius: 10px; cursor: pointer; color: #0B1B3F; transition: background .15s ease; }
.gp-opt.is-hi { background: rgba(11, 27, 63, .05); }
.gp-opt.is-on { background: rgba(200, 169, 106, .14); }
.gp-opt .gp-tick { width: 16px; flex-shrink: 0; display: flex; justify-content: center; }
.gp-opt .gp-name { flex: 1; display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 14.5px; font-weight: 500; }
.gp-opt.is-on .gp-name { font-weight: 700; }
.gp-opt .gp-p { flex-shrink: 0; font-size: 12.5px; font-variant-numeric: tabular-nums; color: rgba(11, 27, 63, .55); white-space: nowrap; }
.gp-opt.is-on .gp-p { color: #A8843F; }
.gp-opt .gp-p span { opacity: .7; }
.gp-result { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 26px; }
.gp-rl { font-size: 11px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(11, 27, 63, .55); }
.gp-val { margin-top: 6px; font-size: 30px; font-weight: 600; letter-spacing: -.3px; color: #C8A96A; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gp-val small { font-size: .7em; margin-right: 6px; }
.gp-calc { margin-top: 4px; font-size: 12px; color: rgba(11, 27, 63, .55); }
.gp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 24px; border-radius: 999px; background: #C8A96A; color: #0B1B3F;
  font-size: 12.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; white-space: nowrap; flex-shrink: 0; cursor: pointer;
  transition: transform .25s ease, filter .25s ease, box-shadow .3s ease;
}
.gp-btn:hover { filter: brightness(1.06); box-shadow: 0 12px 26px -12px rgba(200, 169, 106, .7); }
.gp-btn:active { transform: scale(.98); }
.gp-btn svg { transition: transform .25s ease; }
.gp-btn:hover svg { transform: translateX(3px); }

/* table */
.gp-table-card { overflow: hidden; z-index: 1; }
.gp-scroll { overflow-x: auto; }
.gp-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.gp-table th, .gp-table td { padding: 16px; font-size: 14px; white-space: nowrap; text-align: right; }
.gp-table th { font-size: 12.5px; font-weight: 600; color: #A8843F; }
.gp-table th:first-child, .gp-table td:first-child { text-align: left; }
.gp-table thead tr { border-bottom: 1px solid rgba(11, 27, 63, .10); }
.gp-table tbody tr { cursor: pointer; transition: background .2s ease; }
.gp-table tbody tr + tr { border-top: 1px solid rgba(11, 27, 63, .10); }
.gp-table tbody tr:hover { background: rgba(11, 27, 63, .04); }
.gp-table tbody tr.is-on { background: rgba(200, 169, 106, .10); box-shadow: inset 3px 0 0 #C8A96A; }
.gp-table td:first-child { font-weight: 600; }
.gp-table td:first-child span { margin-left: 6px; color: rgba(11, 27, 63, .55); font-weight: 500; }
.gp-table tr.is-on td:first-child span { color: #A8843F; }
.gp-table .gp-cur { color: rgba(11, 27, 63, .55); }
.gp-table .gp-up { font-weight: 600; color: #4ADE80; }
.gp-table .gp-down { font-weight: 600; color: #F87171; }

/* trend */
.gp-trend { padding: 28px 28px 22px; display: flex; flex-direction: column; z-index: 1; }
.gp-trend h3 { margin: 0; font-size: 26px; font-weight: 600; color: #C8A96A; letter-spacing: -.2px; }
.gp-trend p { margin: 10px 0 0; font-size: 14px; line-height: 1.55; opacity: .85; max-width: 440px; }
.gp-now { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.gp-now-v { font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.gp-now-v small { font-size: .6em; margin-right: 5px; color: rgba(11, 27, 63, .55); font-weight: 600; }
.gp-now-v sub { font-size: .5em; margin-left: 3px; color: rgba(11, 27, 63, .55); vertical-align: baseline; }
.gp-badge { font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; color: #4ADE80; background: color-mix(in srgb, #4ADE80 14%, transparent); }
.gp-badge.is-down { color: #F87171; background: color-mix(in srgb, #F87171 14%, transparent); }
.gp-chart { position: relative; width: 100%; height: 230px; margin-top: 14px; touch-action: pan-y; outline: none; cursor: crosshair; }
.gp-chart svg { display: block; overflow: visible; }
.gp-chart:focus-visible { box-shadow: 0 0 0 2px rgba(200, 169, 106, .6); border-radius: 8px; }
.gp-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.gp-sec.is-on .gp-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s cubic-bezier(0.65, 0, 0.35, 1) .4s; }
.gp-area, .gp-last { opacity: 0; }
.gp-sec.is-on .gp-area { opacity: 1; transition: opacity 1.2s ease .9s; }
.gp-sec.is-on .gp-last { opacity: 1; transition: opacity .4s ease 2.1s; }
.gp-tip {
  position: absolute; transform: translate(-50%, -100%); padding: 8px 12px; border-radius: 10px; background: rgba(8, 14, 30, .92); border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); pointer-events: none; white-space: nowrap; text-align: center; display: none;
}
.gp-tip b { display: block; font-size: 14px; font-weight: 700; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.gp-tip span { display: block; margin-top: 2px; font-size: 11px; color: rgba(255, 255, 255, .65); }

@media (max-width: 899.98px) {
  .gp-sec { padding: 80px 24px; }
  .gp-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767.98px) {
  .gp-sec { padding: 64px 20px; }
  .gp-head { margin-bottom: 36px; }
  .gp-eyebrow { margin-bottom: 16px; }
  .gp-title { font-size: 34px; }
  .gp-sub { margin-top: 18px; font-size: 14px; }
  .gp-est { padding: 20px 18px; }
  .gp-fields { grid-template-columns: 1fr; }
  .gp-result { flex-direction: column; align-items: stretch; }
  .gp-val { font-size: 26px; }
  .gp-table th, .gp-table td { padding: 14px 10px; font-size: 12.5px; }
  .gp-table th { font-size: 11px; }
  .gp-trend { padding: 22px 16px 18px; }
  .gp-trend h3 { font-size: 22px; }
  .gp-now-v { font-size: 24px; }
  .gp-chart { height: 200px; }
}

/* =========================================================================
   Dark / glass variant (Gold Price page banner): <div class="gp-sec is-dark" data-dark data-gold-price>
   ========================================================================= */
.gp-sec.is-dark { background: transparent; color: #fff; padding: 0; overflow: visible; }
.gp-sec.is-dark .gp-head { margin: 0 auto 36px; }
.gp-sec.is-dark .gp-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: #fff; margin-bottom: 22px; }
.gp-sec.is-dark .gp-eyebrow i { display: none; }
.gp-sec.is-dark .gp-title { font-family: 'Tenor Sans', 'Noto Sans SC', sans-serif; font-size: 64px; line-height: 1.08; color: #fff; }
.gp-sec.is-dark .gp-sub { margin-top: 24px; max-width: 560px; font-size: 17px; opacity: .88; }
.gp-sec.is-dark .gp-disc { font-size: 14px; opacity: .85; }
.gp-sec.is-dark .gp-card { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .6); }
.gp-sec.is-dark .gp-field { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }
.gp-sec.is-dark .gp-field::placeholder { color: rgba(255, 255, 255, .35); }
.gp-sec.is-dark .gp-chip { color: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .12); }
.gp-sec.is-dark .gp-chip.is-on { color: #C8A96A; }
.gp-sec.is-dark .gp-list { background: rgba(10, 18, 38, .96); border-color: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.gp-sec.is-dark .gp-list-hint, .gp-sec.is-dark .gp-opt .gp-p { color: rgba(255, 255, 255, .6); }
.gp-sec.is-dark .gp-opt { color: #fff; }
.gp-sec.is-dark .gp-opt.is-hi { background: rgba(255, 255, 255, .06); }
.gp-sec.is-dark .gp-opt.is-on { background: rgba(200, 169, 106, .14); }
.gp-sec.is-dark .gp-opt.is-on .gp-p { color: #C8A96A; }
.gp-sec.is-dark .gp-est h3 { color: #fff; }
.gp-sec.is-dark .gp-rl, .gp-sec.is-dark .gp-calc { color: rgba(255, 255, 255, .6); }
.gp-sec.is-dark .gp-lbl { color: #C8A96A; }
.gp-sec.is-dark .gp-table { color: #fff; }
.gp-sec.is-dark .gp-table th { color: #C8A96A; }
.gp-sec.is-dark .gp-table thead tr { border-bottom-color: rgba(255, 255, 255, .16); }
.gp-sec.is-dark .gp-table tbody tr + tr { border-top-color: rgba(255, 255, 255, .16); }
.gp-sec.is-dark .gp-table tbody tr:hover { background: rgba(255, 255, 255, .05); }
.gp-sec.is-dark .gp-table tbody tr.is-on { background: rgba(200, 169, 106, .10); }
.gp-sec.is-dark .gp-table td:first-child span, .gp-sec.is-dark .gp-table .gp-cur { color: rgba(255, 255, 255, .6); }
.gp-sec.is-dark .gp-table tr.is-on td:first-child span { color: #C8A96A; }
.gp-sec.is-dark .gp-now-v { color: #fff; }
.gp-sec.is-dark .gp-now-v small, .gp-sec.is-dark .gp-now-v sub { color: rgba(255, 255, 255, .6); }
.gp-sec.is-dark .gp-trend p { color: #fff; }
@media (max-width: 899.98px) { .gp-sec.is-dark .gp-title { font-size: 52px; } }
@media (max-width: 767.98px) { .gp-sec.is-dark .gp-title { font-size: 44px; } .gp-sec.is-dark .gp-sub { font-size: 15px; } .gp-sec.is-dark .gp-head { margin-bottom: 36px; } }

/* page banner wrapper */
.gpb { position: relative; width: 100%; box-sizing: border-box; overflow: hidden; isolation: isolate; background: #050B18; color: #fff; padding: 130px 80px 100px; font-family: 'DM Sans', 'Noto Sans SC', sans-serif; }
.gpb-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.gpb::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(5, 11, 24, .72); }
.gpb-in { max-width: 1280px; margin: 0 auto; }
.gpb .ph-crumbs { padding: 0; margin-bottom: 22px; }
@media (max-width: 899.98px) { .gpb { padding: 120px 24px 80px; } }
@media (max-width: 767.98px) { .gpb { padding: 110px 20px 64px; } }

/* =========================================================================
   SPLIT LAYOUT (opt-in): title + description on the left, estimator + price table on the right,
   30-day trend hidden.
   TO UNDO: remove the `is-split` class from the <div class="gp-sec is-dark ..."> in gold-price.html
   (the original stacked layout with the 30-day trend comes straight back). Nothing above is modified.
   ========================================================================= */
.gp-sec.is-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.gp-sec.is-split .gp-head { margin: 0; max-width: none; }
.gp-sec.is-split .gp-title { font-size: 56px; }
.gp-sec.is-split .gp-grid { max-width: none; margin: 0; grid-template-columns: minmax(0, 1fr); }
.gp-sec.is-split .gp-trend { display: none; }
@media (max-width: 1099.98px) { .gp-sec.is-split { gap: 36px; } .gp-sec.is-split .gp-title { font-size: 46px; } }
@media (max-width: 899.98px) { .gp-sec.is-split { grid-template-columns: minmax(0, 1fr); gap: 36px; } .gp-sec.is-split .gp-title { font-size: 44px; } }
@media (max-width: 767.98px) { .gp-sec.is-split .gp-title { font-size: 38px; } }
/* split layout: align text to top, hide the estimated buyback value (button stays) */
.gp-sec.is-split { align-items: start; }
.gp-sec.is-split .gp-result { justify-content: stretch; margin-top: 22px; }
.gp-sec.is-split .gp-result .gp-btn { width: 100%; justify-content: center; }

/* split layout on the light home-page section: keep the content within the 1280px column like the original grid */
.gp-sec.is-split:not(.is-dark) { padding-left: max(80px, calc((100% - 1280px) / 2)); padding-right: max(80px, calc((100% - 1280px) / 2)); }
@media (max-width: 899.98px) { .gp-sec.is-split:not(.is-dark) { padding-left: 24px; padding-right: 24px; } }
@media (max-width: 767.98px) { .gp-sec.is-split:not(.is-dark) { padding-left: 20px; padding-right: 20px; } }
