/* Digital page controls use the site's type, wrap, spacing and CTA styles. */
.dp {
  --dp-ink: #0a0a0a;
  --dp-gold: #b9975b;
  color: var(--dp-ink);
}
.dp .wrap { max-width: 1120px; }
.dp-anchor { display: block; scroll-margin-top: 6rem; }
.dp [hidden] { display: none !important; }
.dp h2 { max-width: 21em; margin-bottom: clamp(1.2rem, 3vw, 2rem); }
.dp button, .dp select { font: inherit; color: inherit; }
.dp :is(button, select, label input):focus-visible, .dp summary:focus-visible {
  outline: 3px solid var(--dp-ink);
  outline-offset: 3px;
}
.dp button { cursor: pointer; }
.dp .dp-modes {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  margin-bottom: 1.1rem;
  border: 1px solid var(--line);
  background: var(--paper2);
  border-radius: 4px;
}
.dp-modes button {
  min-height: 44px; padding: .55rem 1.25rem; font-weight: 700;
  background: transparent; border: 0; border-radius: 2px;
}
.dp-modes button[aria-pressed="true"] { background: var(--dp-ink); color: white; }
[data-selector-lang] .dp-modes {
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  gap: .45rem; padding: 0; margin: 0 0 clamp(1rem,2vw,1.6rem); background: transparent;
}
[data-selector-lang] .dp-modes button {
  display: flex; align-items: center; gap: .55rem; min-height: 44px;
  padding: .55rem .78rem; border: 0; border-bottom: 2px solid transparent;
  border-radius: 3px 3px 0 0; background: transparent;
  font: 600 1rem/1.3 var(--body); color: var(--mode-text);
}
[data-selector-lang] :is([data-mode="drop-off"], th[data-col^="drop-off-"]) {
  --mode-surface: #f6eddd; --mode-text: #644b22;
}
[data-selector-lang] :is([data-mode="attended-digital"], th[data-col^="attended-digital-"]) {
  --mode-surface: #eaf1ed; --mode-text: #38584b;
}
[data-selector-lang] .dp-modes [data-mode="attended-digital"] { color: var(--dp-ink); }
[data-selector-lang] .dp-modes button[aria-pressed="true"] {
  color: var(--mode-text); background: var(--mode-surface);
  border-bottom-color: var(--dp-gold);
}
.dp-mode, .dp-card, .dp-compare, #digital-packages { scroll-margin-top: 6rem; }
.dp-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.dp-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(.8rem,2vw,1.25rem); align-items: stretch; }
.dp-card {
  min-width: 0; padding: clamp(1.1rem,2.7vw,1.8rem); border: 1px solid var(--line); border-radius: 3px;
  background: white; display: flex; flex-direction: column; align-items: flex-start;
}
.dp .dp-signature { background: #faf8f3; border-top: 3px solid var(--dp-gold); padding-top: calc(clamp(1.1rem,2.7vw,1.8rem) - 2px); }
.dp .dp-chosen { border-color: var(--dp-gold); box-shadow: inset 0 0 0 1px var(--dp-gold); }
.dp-card-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; width: 100%; column-gap: 1rem; }
.dp .dp-card h4, .dp .dp-estimate h3 { margin: 0; font-size: clamp(1.2rem,2.1vw,1.55rem); font-weight: 650; line-height: 1.2; }
.dp .dp-card .dp-duration { color: var(--soft); font-size: .96rem; margin: .27rem 0 .55rem; }
.dp .dp-price { display: block; font-size: clamp(1.9rem,3.6vw,2.8rem); font-weight: 600; line-height: 1; letter-spacing: -.055em; }
.dp-card [data-pick] { min-height: 44px; margin: .55rem 0 .45rem; padding: .35rem .8rem; background: white; border: 1px solid var(--dp-ink); border-radius: 2px; font-weight: 650; }
.dp-card [data-pick][aria-pressed="true"] { background: var(--dp-gold); border-color: var(--dp-gold); }
.dp .dp-card h5, .dp .dp-upgrades legend { font-size: .99rem; font-weight: 700; line-height: 1.4; }
.dp .dp-card h5 { margin: .8rem 0 .3rem; }
.dp .dp-benefits { margin: 0; padding-left: 1.15em; }
.dp .dp-benefits li { font-size: .96rem; line-height: 1.48; margin: .24rem 0; padding-left: .12rem; }
.dp .dp-benefits li::marker { color: var(--gold-ink); }
.dp .dp-upgrades {
  border: 0; padding: 0; margin: .85rem 0 0; min-width: 0;
}
.dp-upgrades legend { padding: 0; margin-bottom: .15rem; }
.dp-upgrades label { display: flex; gap: .4rem; align-items: center; min-height: 34px; font-size: .94rem; }
.dp-ready .dp-upgrades label { min-height: 44px; cursor: pointer; }
.dp-upgrades input { accent-color: var(--dp-ink); flex: 0 0 auto; width: 18px; height: 18px; margin: 0 .2rem 0 0; }
.dp-upgrades strong { white-space: nowrap; }
.dp .dp-static-link { margin-top: .8rem; }
.dp .dp-rate { margin: .9rem 0 .25rem; font-size: .97rem; }
.dp .dp-rate strong { display: inline-block; margin-right: .4rem; }
.dp .dp-note { margin: .2rem 0; color: var(--soft); font-size: .9rem; line-height: 1.5; }
.dp .dp-config {
  display: grid; grid-template-columns: 1fr minmax(0,1.05fr); gap: clamp(1rem,4vw,3rem);
  margin-top: 1.25rem; padding: clamp(1.1rem,2.4vw,1.75rem);
  background: var(--paper2); border: 1px solid var(--line); border-radius: 3px;
}
.dp .dp-config.dp-fixed { display: block; }
.dp .dp-fixed .dp-config-left { display: none; }
.dp .dp-fixed .dp-estimate { max-width: 38rem; }
.dp-hours-label { font-weight: 700; }
.dp-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); background: white; border-radius: 3px; margin-top: .35rem; }
.dp-stepper button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.35rem; }
.dp-stepper button:disabled { color: #888; cursor: default; }
.dp-stepper output { min-width: 2.5rem; padding: 0 .25rem; text-align: center; font-weight: 650; }
.dp [data-recommend] { margin-top: 1rem; border-left: 3px solid var(--dp-gold); padding-left: .8rem; max-width: 27em; }
.dp [data-recommend-copy] { margin: 0; font-size: .95rem; }
.dp [data-accept] { min-height: 44px; padding: .25rem 0; background: none; font-weight: 700; text-decoration: underline; border: 0; }
.dp .dp-estimate [data-summary-name] { margin: .25rem 0 .7rem; font-size: .97rem; color: var(--soft); }
.dp [data-invoice] { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; font-size: .95rem; margin: 0; }
.dp [data-invoice] dd { text-align: right; }
.dp .dp-total { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: .6rem; margin-top: .65rem; border-top: 1px solid var(--line); }
.dp .dp-total output { font-size: 1.7rem; line-height: 1.1; font-weight: 650; letter-spacing: -.04em; }
.dp .dp-estimate .btn { margin-top: .85rem; }
.dp .dp-compare {
  margin-top: 1.2rem; border-block: 1px solid var(--line); border-radius: 0;
  padding: 0; box-shadow: none; background: white;
}
.dp .dp-compare summary { padding: .85rem .15rem; min-height: 48px; font-size: 1.06rem; font-weight: 700; cursor: pointer; }
.dp .dp-compare-filters { display: flex; gap: .8rem; flex-wrap: wrap; align-items: flex-end; margin: .25rem 0 .9rem; }
.dp-compare-filters label { display: grid; gap: .2rem; font-size: .87rem; font-weight: 650; min-width: 0; }
.dp-compare-filters select { width: 100%; min-height: 44px; max-width: 100%; border-radius: 2px; padding: .4rem; background: white; border: 1px solid #787775; }
.dp .dp-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .95rem; margin: .8rem 0 1rem; }
.dp .dp-table :is(td,th) { border-bottom: 1px solid var(--line); text-align: left; padding: .6rem .5rem; vertical-align: top; line-height: 1.45; overflow-wrap: anywhere; }
.dp .dp-table th[scope="row"] { font-weight: 600; }
.dp .dp-table thead { background: var(--paper2); }
.dp .dp-table th[scope="col"] { font-size: .94rem; }
.dp .dp-table th[scope="col"] > span:first-child { display: block; font-weight: 500; color: var(--soft); }
.dp .dp-table .dp-current { display: block; font-size: .79rem; color: var(--gold-ink); margin-top: .2rem; }
[data-selector-lang] .dp-compare { margin-top: clamp(1.5rem, 4vw, 2.5rem); }
[data-selector-lang] .dp-compare summary {
  padding-block: 1.1rem; font: 650 clamp(1.1rem, 2vw, 1.35rem)/1.3 var(--display);
}
[data-selector-lang] .dp-compare-filters { gap: .8rem 1.1rem; margin: .3rem 0 1.4rem; }
[data-selector-lang] .dp-compare-filters label { color: var(--soft); font-weight: 550; gap: .4rem; }
[data-selector-lang] .dp-compare-filters select {
  color: var(--ink); border-color: #827d73; border-radius: .35rem;
  padding: .5rem .75rem; font-weight: 500;
}
[data-selector-lang] .dp-table { margin-block: 0 1.3rem; }
[data-selector-lang] .dp-table :is(th,td) { padding: .75rem .85rem; }
[data-selector-lang] .dp-table thead { background: white; }
[data-selector-lang] .dp-table thead th {
  font-weight: 680; font-size: 1.08rem; line-height: 1.3; vertical-align: top;
  padding-top: .95rem; padding-bottom: 1rem;
}
[data-selector-lang] .dp-table thead th:first-child {
  width: 25%; vertical-align: bottom; font-size: .9rem; color: var(--soft); font-weight: 550;
}
[data-selector-lang] .dp-table th[data-col] > span:first-child {
  margin-bottom: .25rem; font-size: .83rem; font-weight: 550; line-height: 1.3; color: var(--soft);
}
[data-selector-lang] .dp-table th[data-col^="drop-off-"] > span:first-child {
  color: #6d542d;
}
[data-selector-lang] .dp-table th[scope="row"] { font-weight: 600; }
[data-selector-lang] .dp-table td { font-weight: 450; }
[data-selector-lang] .dp-table tbody tr:first-child td {
  font-size: 1.12em; font-weight: 680; font-variant-numeric: tabular-nums;
}
[data-selector-lang] .dp-table thead .dp-current-column {
  background: #eddfc7;
  box-shadow: inset 0 3px var(--dp-gold);
}
[data-selector-lang] .dp-table tbody .dp-current-column {
  background: #f6f0e4; color: var(--dp-ink); border-bottom-color: #e3d8c7;
}
[data-selector-lang] .dp-table .dp-current {
  display: block; color: #644c29;
  margin-top: .35rem; font-size: .77rem; font-weight: 650; line-height: 1.35;
}
@media (prefers-reduced-motion: no-preference) {
  .dp-live-table [data-col] { transition: background-color .18s ease-out; }
}
@media (forced-colors: active) {
  [data-selector-lang] .dp-live-table .dp-current-column { border-inline: 2px solid Highlight; }
  [data-selector-lang] .dp-table .dp-current { text-decoration: underline; }
}
.dp:not([data-selector-lang]) .dp-different td { font-weight: 650; }
.dp .dp-nojs-compare { display: none; }

@media(max-width:760px) {
  .dp .dp-wide-filter { display: none; }
  .dp .dp-compare-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; }
  .dp .dp-compare-filters > label { overflow: hidden; min-inline-size: 0; grid-template-columns: minmax(0,1fr); }
  .dp .dp-compare-filters select { display: block; min-inline-size: 0; inline-size: 100%; max-inline-size: 100%; font-size: 16px; }
  .dp .dp-compare-filters select:focus-visible { outline-offset: -3px; }
  .dp:not(.dp-ready) .dp-live-table { display: none; }
  .dp:not(.dp-ready) .dp-nojs-compare { display: block; }
  .dp .dp-table { font-size: .88rem; }
  .dp .dp-table :is(td,th) { padding: .5rem .28rem; }
  [data-selector-lang] .dp-table :is(th,td) { padding: .65rem clamp(.28rem, 1.65vw, .7rem); }
  [data-selector-lang] .dp-table thead th { font-size: .98rem; }
  [data-selector-lang] .dp-table thead th:first-child { width: 34%; }
  [data-selector-lang] .dp-table th[scope="row"] { hyphens: auto; }
}
@media(max-width:680px) {
  .dp .dp-grid, .dp .dp-config { grid-template-columns: 1fr; }
  .dp .dp-config { gap: 1.1rem; }
  .dp .dp-modes { width: 100%; }
  .dp .dp-modes button { flex: 1; padding-inline: .5rem; }
  .dp .dp-card-head { flex-wrap: nowrap; }
  .dp .dp-benefits li { line-height: 1.42; }
}

@media(max-width:560px) {
  .dp .dp-compare-filters { grid-template-columns: minmax(0,1fr); }
}
@media(max-width:360px) {
  [data-selector-lang] .dp-table th[data-col] > span:first-child { font-size: .8rem; }
}

/* The card surface selects its tier. Its native radio keeps arrow-key navigation. */
.dp-card .ph-tier-label { display: inline-flex; align-items: center; position: relative; }
.dp-card .ph-tier-label:has(input:not([hidden])) { min-height: 44px; cursor: pointer; }
.dp-card .ph-tier-label input[type="radio"]:not([hidden]) {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer;
}
.dp-card:has(.ph-tier-label input:not([hidden])) { cursor: pointer; }
.dp-card.dp-chosen:has(.ph-tier-label input:checked) { transform: scale(1.012); }
.dp-card:has(.ph-tier-label input:focus-visible) { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .dp-card:has(.ph-tier-label input:not([hidden])) { transition: transform 160ms ease, border-color 160ms ease; }
}
@media (forced-colors: active) {
  .dp-card.dp-chosen { border-color: Highlight; }
}
