/* UI brand-v1: info pages (about, terms, privacy, packaging, branding, videos). Solid colours only. Roll back: UI_VERSION=classic */
.dp { padding-bottom: 80px; }
.dp-hero { padding: 48px 0 40px; border-bottom: 1px solid var(--line); background: var(--paper); }
.dp-crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.dp-crumbs a { color: var(--muted); border-bottom: 1px solid transparent; }
.dp-crumbs a:hover { color: var(--accent); border-color: currentColor; }
.dp-h1 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.03em; color: var(--ink); max-width: 20ch; }
.dp-h1 .dh-em { font-size: 1.08em; color: var(--accent); }
.dp-updated { margin-top: 14px !important; color: var(--muted); font-size: 14px; }
.dp-hero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.dp-hero-split .dh-lead { margin-top: 20px; }
.dp-hero-media img { border-radius: 18px; width: 100%; height: auto; object-fit: cover; }
.dp-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.dp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.dp-stats > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.dp-stats b { display: block; font-family: var(--display); font-size: 30px; font-weight: 600; letter-spacing: -.02em; color: var(--accent); }
.dp-stats span { color: var(--muted); font-size: 14px; }

.dp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; margin-top: 40px; align-items: start; }

/* prose */
.dp-prose { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 4vw, 48px); font-size: 17px; line-height: 1.7; color: #2B251F; min-width: 0; }
.dp-prose > :first-child { margin-top: 0; }
.dp-prose h2 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.02em; line-height: 1.15; color: var(--ink); margin: 44px 0 14px; }
.dp-prose h3 { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--ink); margin: 28px 0 8px; }
.dp-prose h4 { font-weight: 600; font-size: 17px; margin: 22px 0 6px; color: var(--ink); }
.dp-prose p, .dp-prose ul, .dp-prose ol, .dp-prose table { margin: 0 0 16px; }
.dp-prose ul, .dp-prose ol { padding-left: 22px; }
.dp-prose ul { list-style: disc; }
.dp-prose ol:not(.dp-steps) { list-style: decimal; }
.dp-prose li { margin-bottom: 6px; }
.dp-prose li::marker { color: var(--accent); }
.dp-prose a { color: var(--accent-ink); border-bottom: 1px solid currentColor; }
.dp-prose a:hover { color: var(--accent); }
.dp-prose strong, .dp-prose b { color: var(--ink); }
.dp-prose .lead { font-size: 19px; color: var(--ink); line-height: 1.6; }
.dp-prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.dp-prose th, .dp-prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.dp-prose th { background: var(--cream); color: var(--ink); font-weight: 600; }
.dp-prose img { border-radius: 12px; height: auto; }
.dp-prose details { border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; background: var(--paper); }
.dp-prose summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
.dp-prose summary::-webkit-details-marker { display: none; }
.dp-prose summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 22px; color: var(--accent); }
.dp-prose details[open] summary::after { content: "\2212"; }
.dp-prose details > p { margin-bottom: 14px; }

.dp-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.dp-prose .dp-service { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--paper); color: inherit; transition: border-color .2s; }
.dp-prose .dp-service:hover { border-color: var(--accent); color: inherit; }
.dp-service b { display: block; margin-bottom: 4px; }
.dp-service span { font-size: 15px; color: var(--muted); line-height: 1.5; }
.dp-steps { counter-reset: s; list-style: none; padding-left: 0 !important; }
.dp-steps li { counter-increment: s; position: relative; padding-left: 48px; margin-bottom: 14px; }
.dp-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; display: grid; place-items: center; }

/* videos */
.de-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0 0 16px; }
.de-videos figure { margin: 0; }
.de-videos iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; background: var(--tile); display: block; }
.de-videos figcaption { font-weight: 600; font-size: 15px; color: var(--ink); margin-top: 8px; }

/* sidebar */
.dp-aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.dp-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.dp-aside-h { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink); margin-bottom: 12px !important; }
.dp-links { list-style: none; padding: 0; margin: 0; }
.dp-links a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 15px; }
.dp-links a:hover { background: var(--cream); color: var(--accent-ink); }
.dp-links a[aria-current="page"] { background: var(--peach); color: var(--accent-ink); font-weight: 600; }
.dp-cta { background: var(--ink); border-color: var(--ink); color: #E9E2D7; }
.dp-cta .dp-aside-h { color: #fff; }
.dp-cta p { font-size: 15px; line-height: 1.55; margin-bottom: 16px !important; }
.dp-cta .dh-btn { width: 100%; margin-top: 8px; }
.dp-cta .dh-btn-line { color: #fff; border-color: #5A5048; }
.dp-cta .dh-btn-line:hover { color: #fff; border-color: #fff; }

@media (max-width: 991px) {
    .dp-grid, .dp-hero-split { grid-template-columns: 1fr; }
    .dp-aside { position: static; }
    .dp-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .dp-hero { padding: 28px 0; }
    .dp-services, .de-videos { grid-template-columns: 1fr; }
    .dp-prose { font-size: 16px; }
}

/* build 55: team, reviews */
.dp-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 16px; }
.dp-person { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.dp-prose .dp-person img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 0; display: block; }
.dp-person figcaption { padding: 12px 14px 14px; line-height: 1.35; }
.dp-person b { font-size: 15px; color: var(--ink); }
.dp-cred { font-size: 12px; color: var(--accent-ink); font-weight: 600; margin-left: 4px; }
.dp-role { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.dp-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 10px; }
.dp-review { margin: 0; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.dp-review p { font-family: "Instrument Serif", serif; font-style: italic; font-size: 20px; line-height: 1.35; color: var(--ink); margin: 0 0 10px !important; }
.dp-review cite { font-style: normal; font-size: 13px; color: var(--muted); }
.dp-review-link { font-size: 15px; }
@media (max-width: 991px) { .dp-team { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dp-reviews { grid-template-columns: 1fr; } }

/* build 58: contact page */
.dp-contact-lead { max-width: 60ch; margin-top: 18px; }
.dp-contact-main { display: grid; gap: 20px; min-width: 0; }
.dp-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dp-way { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; color: var(--ink); transition: border-color .2s, transform .3s cubic-bezier(.2,.7,.2,1); min-width: 0; }
.dp-way:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-2px); }
.dp-way-ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--peach); color: var(--accent-ink); display: grid; place-items: center; font-size: 18px; }
.dp-way b { display: block; font-family: var(--display); font-weight: 600; font-size: 17px; }
.dp-way b + span { display: block; color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
.dp-form-card h2, .dp-contact-main .dp-prose h2 { margin-top: 0; }
.dp-form-sub { color: var(--muted); font-size: 15px; }
.dp-topics { border: 0; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.dp-topics legend { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; float: none; width: auto; }
.dp-chip { position: relative; cursor: pointer; margin: 0; }
.dp-chip input { position: absolute; opacity: 0; inset: 0; }
.dp-chip span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; background: var(--paper); color: var(--ink); transition: background .2s, border-color .2s; }
.dp-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.dp-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.dp-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dp-field { display: grid; gap: 6px; margin: 0; }
.dp-field-full { grid-column: 1 / -1; }
.dp-field > span { font-size: 15px; font-weight: 600; color: var(--ink); }
.dp-field input, .dp-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 16px; background: var(--paper); color: var(--ink); transition: border-color .2s, background .2s; }
.dp-field input:focus, .dp-field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.dp-err { color: #B42318; font-size: 14px; font-style: normal; }
.dp-send { margin-top: 18px; min-width: 200px; }
.dp-map { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--tile); }
.dp-map iframe { display: block; width: 100%; height: 340px; border: 0; }
@media (max-width: 575px) {
    .dp-ways, .dp-fields { grid-template-columns: 1fr; }
    .dp-send { width: 100%; }
    .dp-map iframe { height: 260px; }
}

/* build 58: review page */
.dr { padding: 40px 0 80px; background: var(--cream); }
.dr-wrap { max-width: 640px; }
.dr-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 5vw, 44px); text-align: center; }
.dr-h1 { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 4vw, 42px); letter-spacing: -.03em; line-height: 1.08; color: var(--ink); margin: 6px 0 10px; }
.dr-sub { color: var(--muted); font-size: 17px; line-height: 1.55; margin: 0 auto 10px; max-width: 46ch; }
.dr-stars { display: inline-flex; flex-direction: row-reverse; gap: 6px; border: 0; padding: 0; margin: 22px 0 4px; }
.dr-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dr-stars label { cursor: pointer; padding: 4px; border-radius: 12px; transition: transform .2s cubic-bezier(.2,.7,.2,1); }
.dr-stars svg { width: clamp(42px, 11vw, 54px); height: clamp(42px, 11vw, 54px); fill: #E6DED2; transition: fill .15s; }
.dr-stars label:hover, .dr-stars label:hover ~ label, .dr-stars input:checked ~ label { }
.dr-stars label:hover svg, .dr-stars label:hover ~ label svg, .dr-stars input:checked ~ label svg { fill: #F2A900; }
.dr-stars label:active { transform: scale(.9); }
.dr-stars input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.dr-rating-label { font-weight: 600; color: var(--ink); min-height: 24px; margin-bottom: 8px !important; }
.dr-more { text-align: left; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s ease, opacity .4s ease, margin .4s; }
.dr-rated .dr-more, .dr-more:focus-within { max-height: 900px; opacity: 1; margin-top: 18px; }
.dr-more em { font-style: normal; font-weight: 400; color: var(--muted); }
.dr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }
.dr-chip { border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 7px 13px; font-size: 14px; cursor: pointer; transition: background .2s, border-color .2s; }
.dr-chip:hover { border-color: var(--accent); }
.dr-chip.on { background: var(--peach); border-color: var(--peach); color: var(--accent-ink); }
.dr-go { width: 100%; margin-top: 18px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 52px; font-size: 16px; }
.dr-note { color: var(--muted); font-size: 14px; margin: 12px 0 0 !important; }
.dr-note a { color: var(--accent-ink); border-bottom: 1px solid currentColor; }
.dr-copy { text-align: left; background: var(--paper); border: 1px dashed var(--line); border-radius: 14px; padding: 16px 18px; margin: 18px 0 0; }
.dr-copy-h { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px !important; }
.dr-copy-text { color: var(--ink); font-size: 16px; line-height: 1.55; margin: 0; white-space: pre-line; }

/* build 61: review page redesign (two columns: brand panel + form card). Solid colours only. */
.dr2 { background: var(--cream); padding: 40px 0 80px; }
.dr2-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: stretch; max-width: 1080px; }
.dr2-side { background: var(--ink); color: #E9E2D7; border-radius: 24px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 22px; }
.dr2-brand { font-family: var(--display); font-weight: 500; font-size: 22px; color: #fff; letter-spacing: -.02em; align-self: flex-start; }
.dr2-brand span { color: var(--accent); }
.dr2-brand:hover { color: #fff; }
.dr2-h1 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4vw, 52px); line-height: 1.02; letter-spacing: -.03em; color: #fff; margin: 0; }
.dr2-lead { font-size: 17px; line-height: 1.6; color: #CFC6B9; margin: 0; max-width: 40ch; }
.dr2-steps { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; counter-reset: s; }
.dr2-steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid #3A332C; border-radius: 14px; color: #A99F92; }
.dr2-steps li::before { content: counter(s); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #2A241E; color: #CFC6B9; font-weight: 600; }
.dr2-steps li b { color: #E9E2D7; font-weight: 600; }
.dr2-steps li span { font-size: 13px; }
.dr2-steps li.on { border-color: var(--accent); background: #221C17; }
.dr2-steps li.on::before { background: var(--accent); color: #fff; }
.dr2-steps li.done::before { content: "\2713"; background: #1F7A45; color: #fff; }
.dr2-quote { margin: auto 0 0; padding-top: 20px; border-top: 1px solid #3A332C; }
.dr2-qstars { color: #F2A900; letter-spacing: 2px; font-size: 15px; margin-bottom: 8px; }
.dr2-quote blockquote { background: transparent; border: 0; padding: 0; font-family: "Instrument Serif", serif; font-style: italic; font-size: 22px; line-height: 1.35; color: #fff; margin: 0 0 8px; }
.dr2-quote figcaption { font-size: 13px; color: #A99F92; }
.dr2-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(26px, 4vw, 48px); min-width: 0; }
.dr2-kicker { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 6px !important; }
.dr2-h2 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.02em; color: var(--ink); margin: 0 0 8px; }
.dr2-sub { color: var(--muted); font-size: 16px; margin: 0 0 18px !important; }
.dr2-stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; width: fit-content; margin: 14px 0 4px -4px; }
.dr2-stars label { padding: 4px; }
.dr2-stars svg { width: clamp(44px, 9vw, 56px); height: clamp(44px, 9vw, 56px); }
.dr2-rating { text-align: left; color: var(--muted); font-weight: 500; }
.dr-rated .dr2-rating { color: var(--ink); font-weight: 600; }
.dr2-card .dr-more { text-align: left; }
.dr2-consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; font-size: 14px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.dr2-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.dr2-card .dr-go { margin-top: 22px; }
.dr2-privacy { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 13px; margin: 12px 0 0 !important; text-align: center; }
.dr2-how { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.dr2-how li { display: flex; gap: 12px; align-items: center; font-size: 16px; color: var(--ink); }
.dr2-how li span { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--peach); color: var(--accent-ink); font-weight: 600; font-size: 14px; display: grid; place-items: center; }
.dr2-g { display: inline-grid; place-items: center; width: 28px; height: 28px; background: #fff; border-radius: 50%; }
.dr2-back { text-align: center; font-size: 14px; margin: 10px 0 0 !important; }
.dr2-back a { color: var(--accent-ink); border-bottom: 1px solid currentColor; }
@media (max-width: 991px) {
    .dr2-grid { grid-template-columns: 1fr; }
    .dr2-side { gap: 16px; }
    .dr2-quote { display: none; }
}
@media (max-width: 575px) {
    .dr2 { padding: 16px 0 60px; }
    .dr2-side, .dr2-card { border-radius: 18px; }
    .dr2-steps { grid-template-columns: 1fr 1fr; }
    .dr2-steps li { grid-template-columns: 1fr; text-align: left; }
    .dr2-steps li::before { grid-row: auto; width: 28px; height: 28px; margin-bottom: 6px; }
}

/* Build 78: quote basket (/carts) */
.dq-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; margin-top: 40px; align-items: start; }
.dq-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dq-item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.dq-img { display: block; width: 96px; height: 96px; border-radius: 12px; background: var(--tile); overflow: hidden; }
.dq-img img { width: 100%; height: 100%; object-fit: cover; }
.dq-body { min-width: 0; }
.dq-name { display: block; font-weight: 600; font-size: 16px; line-height: 1.35; color: var(--ink); }
.dq-name:hover { color: var(--accent-ink); }
.dq-opts { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.dq-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 12px; }
.dq-qty { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.dq-qty button { width: 40px; border: 0; background: var(--paper); color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; }
.dq-qty button:hover:not(:disabled) { background: var(--cream); }
.dq-qty button:disabled { color: #B9AFA3; cursor: default; }
.dq-qty input { width: 84px; height: 40px; border: 0; border-inline: 1px solid var(--line); text-align: center; font-weight: 600; font-size: 15px; color: var(--ink); -moz-appearance: textfield; }
.dq-qty input::-webkit-outer-spin-button, .dq-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dq-qty :focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.dq-pcs { font-size: 14px; color: var(--muted); }
.dq-remove { margin-left: auto; border: 0; background: none; color: var(--muted); font-size: 14px; padding: 6px 4px; cursor: pointer; }
.dq-remove:hover { color: #B42318; }
.dq-side { position: sticky; top: 100px; display: grid; gap: 16px; }
.dq-totals { margin: 0 0 14px; display: grid; gap: 6px; }
.dq-totals div { display: flex; justify-content: space-between; font-size: 15px; }
.dq-totals dt { font-weight: 400; color: var(--muted); }
.dq-totals dd { margin: 0; font-weight: 600; color: var(--ink); }
.dq-note { font-size: 14px; line-height: 1.55; color: var(--muted); margin-bottom: 14px !important; }
.dq-btn { width: 100%; margin-top: 8px; }
.dq-tips ul { margin: 0; padding-left: 18px; list-style: disc; font-size: 14px; line-height: 1.55; color: var(--muted); }
.dq-tips li { margin-bottom: 6px; }
.dq-tips li::marker { color: var(--accent); }
.dq-empty { margin-top: 40px; max-width: 560px; }
.dq-empty p { color: var(--muted); }
@media (max-width: 991px) {
    .dq-grid { grid-template-columns: 1fr; }
    .dq-side { position: static; }
}
@media (max-width: 575px) {
    .dq-item { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 12px; }
    .dq-img { width: 72px; height: 72px; }
    .dq-remove { margin-left: 0; }
}
.dq-rq { padding-bottom: 0; }
.dq-rq + .quote-request-section { padding-top: 40px; }
