/* Moy's enamel price plates. Load after styles.css and brand.css.
   All lettering, prices and controls remain live HTML. No image assets needed. */

.pricing {
  background:
    radial-gradient(ellipse at 50% 54%, #25423742, transparent 67%),
    linear-gradient(115deg, #111c17, #16231c 50%, #111b16);
}

.pricing .price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(18px, 2vw, 28px);
  padding: 8px 3px 18px;
}

.pricing .price-card {
  --plate-enamel: #153f73;
  --plate-low: #0c284d;
  --plate-ink: #fff0cc;
  --plate-copy: #e7e3d5;
  --plate-muted: #d0d4d1;
  --plate-trim: #dfb573;
  --plate-rule: #e0bd7d55;
  --plate-button: #f1d9ab;
  --plate-button-ink: #162e49;
  --plate-shadow: #0000006b;
  --plate-highlight: #ffffff19;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 43px clamp(24px, 2.45vw, 36px) 32px;
  overflow: visible;
  color: var(--plate-ink);
  border: 6px solid #7b8068;
  border-radius: 9px;
  background:
    radial-gradient(ellipse at 14% 7%, #ffffff13, transparent 45%),
    linear-gradient(161deg, transparent 48%, #0000000d 74%, #0000001c),
    var(--plate-enamel);
  box-shadow:
    0 1px 0 1px #cbc8a0,
    0 0 0 2px #25332b,
    0 3px 0 3px #080f0b,
    0 19px 27px -12px #0000008c,
    inset 0 0 0 1px #f5e8b96b,
    inset 0 0 0 3px var(--plate-low),
    inset 0 0 0 4px var(--plate-trim),
    inset 0 0 0 7px var(--plate-low),
    inset 2px 3px 12px #00000045;
}

/* Worn frame and light glaze are confined to the material surface. */
.pricing .price-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -6px;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 39px 3px at 31% 1px, #dcc494c9 10%, #69533b88 45%, transparent 70%),
    radial-gradient(ellipse 2px 62px at 1px 72%, #bcc4a8d9 10%, #735e4477 50%, transparent 74%),
    radial-gradient(ellipse 2px 43px at calc(100% - 1px) 29%, #d3c091bd 12%, #5d513c88 48%, transparent 75%),
    radial-gradient(ellipse 42px 3px at 73% calc(100% - 1px), #a6b497ce 10%, #58452e77 47%, transparent 72%),
    linear-gradient(137deg, #f8e8bc13 0, transparent 30%, transparent 66%, #091a161a 100%);
  box-shadow: inset 1px 1px 1px #efe3bb4d, inset -1px -2px 2px #0e1c16cc;
}

/* Four slotted screw heads; these are hardware, not decorative glyphs. */
.pricing .price-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 11px;
  pointer-events: none;
  border-radius: 3px;
  background-image:
    linear-gradient(135deg, transparent 43%, #233e35 44%, #1e342e 55%, #b9c3a7 57%, transparent 59%),
    radial-gradient(circle, #bac2a4 12%, #949c7b 42%, #555e48 59%, #233c32 66%, #c8d0b16b 72%, transparent 77%),
    linear-gradient(45deg, transparent 43%, #233e35 44%, #1e342e 55%, #b9c3a7 57%, transparent 59%),
    radial-gradient(circle, #bac2a4 12%, #949c7b 42%, #555e48 59%, #233c32 66%, #c8d0b16b 72%, transparent 77%),
    linear-gradient(135deg, transparent 43%, #233e35 44%, #1e342e 55%, #b9c3a7 57%, transparent 59%),
    radial-gradient(circle, #bac2a4 12%, #949c7b 42%, #555e48 59%, #233c32 66%, #c8d0b16b 72%, transparent 77%),
    linear-gradient(45deg, transparent 43%, #233e35 44%, #1e342e 55%, #b9c3a7 57%, transparent 59%),
    radial-gradient(circle, #bac2a4 12%, #949c7b 42%, #555e48 59%, #233c32 66%, #c8d0b16b 72%, transparent 77%);
  background-size: 8px 8px, 12px 12px;
  background-position: 2px 2px, left top, calc(100% - 2px) 2px, right top, 2px calc(100% - 2px), left bottom, calc(100% - 2px) calc(100% - 2px), right bottom;
  background-repeat: no-repeat;
}

.pricing .price-card.consult {
  --plate-enamel: #f0e2c1;
  --plate-low: #d4c49f;
  --plate-ink: #1f4e43;
  --plate-copy: #294a40;
  --plate-muted: #4f5d48;
  --plate-trim: #93723f;
  --plate-rule: #5b715845;
  --plate-button: #1f4e43;
  --plate-button-ink: #fff0cc;
  --plate-shadow: #b5a37d80;
  --plate-highlight: #fffdf0dd;
  background:
    radial-gradient(ellipse at 18% 12%, #fffae655, transparent 55%),
    linear-gradient(157deg, #fff8e617, transparent 40%, #a8843a15),
    var(--plate-enamel);
}

.pricing .price-card.monthly {
  --plate-enamel: #174b3d;
  --plate-low: #10372d;
  --plate-ink: #f9e9bd;
  --plate-copy: #e4e5cf;
  --plate-muted: #ced4bf;
  --plate-trim: #d4b173;
  --plate-rule: #dfbd7b4d;
  --plate-button: #ead6a9;
  --plate-button-ink: #183d31;
}

.pricing .price-card > * {
  position: relative;
  z-index: 1;
}

.pricing .price-card .price-card-top {
  display: block;
  margin: 0 0 22px;
  padding: 0 0 14px;
  color: var(--plate-muted);
  border-bottom: 1px solid var(--plate-rule);
  box-shadow: 0 1px 0 var(--plate-highlight);
  text-align: center;
  font: 700 10px/1.5 var(--sans);
  letter-spacing: .15em;
}

.pricing .price-card-top > span[aria-hidden="true"],
.pricing .package-controls > button > span[aria-hidden="true"] {
  display: none;
}

.pricing .price-card-top > span:first-child {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

.pricing .price-card h3 {
  color: var(--plate-ink);
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(30px, 2.75vw, 42px);
  line-height: 1.07;
  letter-spacing: -.055em;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 1px 0 var(--plate-highlight), 0 2px 0 var(--plate-shadow);
}

.pricing .price-card .price-motto {
  min-height: 40px;
  margin: 13px 0 0;
  color: var(--plate-muted);
  font-family: var(--serif);
  font-size: clamp(14px, 1.18vw, 17px);
  line-height: 1.5;
  text-align: center;
}

.pricing .price-card .price {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 7px;
  margin: 25px 0 0;
  color: var(--plate-ink);
  line-height: 1;
  text-shadow: 0 1px 0 var(--plate-highlight), 0 2px 0 var(--plate-shadow);
}

.pricing .price-card .price > span:first-child {
  min-width: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 5.6vw, 82px);
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.07em;
  line-height: 1;
}

.pricing .price-card .currency {
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1;
}

.pricing .price-card .currency > small {
  display: block;
  margin: 7px 0 0;
  color: var(--plate-muted);
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
  text-shadow: none;
}

.pricing .price-card .billing-label {
  min-height: 38px;
  margin: 14px 0 20px;
  color: var(--plate-muted);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.pricing .price-card ul {
  flex: 1;
  margin: 0 0 26px;
  padding: 19px 0 0;
  border-top: 1px solid var(--plate-rule);
  box-shadow: inset 0 1px 0 var(--plate-highlight);
}

.pricing .price-card li {
  margin: 0;
  padding: 10px 0;
  color: var(--plate-copy);
  border-bottom: 1px solid var(--plate-rule);
  font-size: clamp(12px, .98vw, 14px);
  line-height: 1.55;
}

.pricing .price-card li::before {
  content: none;
  display: none;
}

.pricing .price-card .card-button {
  flex-shrink: 0;
  min-height: 51px;
  margin-top: auto;
  padding: 14px 16px;
  gap: 12px;
  color: var(--plate-button-ink);
  background: linear-gradient(180deg, #ffffff10, #00000008), var(--plate-button);
  border: 1px solid var(--plate-button);
  border-radius: 2px;
  box-shadow: 0 2px 0 #06180f4d, inset 0 1px 0 #ffffff35;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .01em;
  text-shadow: none;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.pricing .price-card .card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 0 #06180f4d, 0 8px 15px #07170d1f, inset 0 1px 0 #ffffff5e;
}

.pricing .price-card .card-button:active {
  transform: translateY(0);
  box-shadow: 0 1px 0 #06180f4d, inset 0 1px 3px #00000020;
}

.pricing .price-card .card-button:focus-visible {
  outline: 3px solid var(--plate-ink);
  outline-offset: 5px;
}

.pricing .package-description {
  margin-bottom: 34px;
  color: #bdc6b7;
  font-size: 13px;
  line-height: 1.65;
}

.pricing .price-notes {
  gap: 40px;
  margin-top: 20px;
  color: #bac4b5;
  font-size: 12px;
  line-height: 1.75;
}

@media (min-width: 701px) and (max-width: 1050px) {
  .pricing .price-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin-inline: auto;
    gap: 30px;
  }
  .pricing .price-card { padding: 42px 44px 34px; }
  .pricing .price-card h3 { font-size: 43px; }
  .pricing .price-card .price > span:first-child { font-size: 80px; }
  .pricing .price-card .price-motto { min-height: 0; font-size: 18px; }
  .pricing .price-card .billing-label { min-height: 0; font-size: 12px; }
  .pricing .price-card li { font-size: 15px; }
  .pricing .price-card .card-button { font-size: 14px; }
}

@media (max-width: 700px) {
  .pricing .price-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
    gap: 27px;
    padding: 5px 3px 14px;
  }
  .pricing .price-card { padding: 39px 25px 30px; border-width: 5px; }
  .pricing .price-card::before { inset: -5px; }
  .pricing .price-card::after { inset: 10px; }
  .pricing .price-card .price-card-top { margin-bottom: 23px; font-size: 10px; }
  .pricing .price-card h3 { font-size: clamp(34px, 8.5vw, 43px); }
  .pricing .price-card .price-motto { min-height: 0; font-size: 17px; }
  .pricing .price-card .price { margin-top: 28px; }
  .pricing .price-card .price > span:first-child { font-size: clamp(62px, 17vw, 80px); }
  .pricing .price-card .currency { font-size: 29px; }
  .pricing .price-card .currency > small { font-size: 11px; }
  .pricing .price-card .billing-label { min-height: 0; margin-bottom: 24px; font-size: 12px; }
  .pricing .price-card li { padding-block: 11px; font-size: 14px; }
  .pricing .price-card .card-button { min-height: 53px; font-size: 13px; }
  .pricing .package-description { margin-bottom: 27px; font-size: 13px; }
  .pricing .price-notes { grid-template-columns: 1fr; gap: 14px; margin-top: 20px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .pricing .price-card .card-button { transition: none; }
  .pricing .price-card .card-button:hover,
  .pricing .price-card .card-button:active { transform: none; }
}

@media (forced-colors: active) {
  .pricing .price-card { border: 2px solid CanvasText; box-shadow: none; }
  .pricing .price-card::before,
  .pricing .price-card::after { display: none; }
  .pricing .price-card h3,
  .pricing .price-card .price { text-shadow: none; }
  .pricing .price-card .card-button { border: 1px solid ButtonText; }
}
