/* ==========================================================================
   Content & info pages — about, contact, FAQ, blog, sell, policies, credits, utility pages.
   Builds on the template classes in webflow.css; globals live in site.css.
   ========================================================================== */

/* ---------- Shared bits ---------- */
button.primary-btn, button.cta-btn { font-family: inherit; cursor: pointer; }
.primary-btn { text-align: center; }
.secondary-btn .arrow { transition: transform .25s ease; }
.secondary-btn:hover .arrow { transform: translateX(4px); }
.empty-note { color: var(--muted); }

/* Rich text blocks coming from settings.content (about / sell) */
.about-rich p { margin-bottom: 14px; }
.about-rich p:last-child { margin-bottom: 0; }
.about-rich strong { color: var(--ink); font-weight: 600; }
.section-image.about-photo { aspect-ratio: 4 / 3; height: auto; display: block; }

/* ---------- FAQ accordion (template .faq-info / .que / .ans, behaviour: site.js data-accordion) ---------- */
.faq-data { width: 100%; }
.faq-info .que {
  width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
  font-family: inherit; color: inherit;
}
.faq-info .que:focus-visible { outline-offset: 6px; }
.faq-info .que .arrow { flex: none; transition: transform .3s ease; }
.faq-info.is-open .que .arrow { transform: rotate(90deg); }
.faq-info .que-text { white-space: normal; transition: color .2s; }
.faq-info .que:hover .que-text { color: var(--brass-dark); }
.faq-info .ans {
  max-height: 0; visibility: hidden;
  transition: max-height .35s ease, visibility 0s linear .35s;
}
.faq-info.is-open .ans { visibility: visible; transition: max-height .35s ease, visibility 0s linear 0s; }
.faq-info p.ans-text { white-space: pre-line; }
.ans-rich p { margin-bottom: 8px; }
.ans-rich p:last-child { margin-bottom: 0; }
.faq-img { overflow: hidden; }
.faq-img .faq-image { display: block; width: 100%; aspect-ratio: 15 / 16; object-fit: cover; }
.faq-block .faq-right { grid-row-gap: 50px; }

/* ---------- About: story ---------- */
.story-wrap { height: clamp(320px, 42vw, 640px); }
.story-text { margin-bottom: 40px; }
.story-right { min-width: 0; }
.about-right { overflow: hidden; }
.marquee { display: flex; width: max-content; animation: patina-marquee 38s linear infinite; }
.marquee .story-btm { flex: none; padding-right: 30px; white-space: nowrap; }
.marquee .story-btm img { width: 14px; height: 15px; opacity: .7; }
@keyframes patina-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }
.story-info > div:last-child { max-width: 170px; }

/* About: why-us (template "innovation" dark band) */
.why-us { padding-top: 90px; padding-bottom: 90px; }
.why-head { margin-bottom: 50px; }
.why-head .sub-title, .sell-steps .sub-title { color: var(--muted); }
.why-head .section-heading, .sell-steps .section-heading { color: #fff; }
.innovation h3.innovation-title { font-size: 20px; line-height: 1.35; margin: 10px 0 10px; }
.innovation-block { align-self: center; width: 100%; }
.innovation-text { color: #b8ad9e; }
.why-img { grid-row: span 2; width: 100%; max-width: 380px; align-self: stretch; }
.why-img .innovation-img {
  display: block; width: 100%; height: 100%; min-height: 460px; max-height: 560px; object-fit: cover;
  border-radius: 999px 999px 0 0; border: 1px solid rgba(255, 255, 255, .12); padding: 10px;
}

/* About: commitment stats (bottom-aligned so the numbers line up when one label wraps) */
.empowerment-stats { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 30px 60px; }
.empowerment-btm > div:first-child { max-width: 220px; }
.empowerment-img { overflow: hidden; }
.empowerment-image { aspect-ratio: 5 / 4; display: block; }
.empowerment-text { font-size: 15px; }

/* About: services (template "team") */
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 35px; }
.services-intro { max-width: 520px; margin: 0; font-size: 15px; color: var(--ink-soft); }
.service-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.service-card .team-img { overflow: hidden; }
.service-card .team-image { display: block; transition: transform .6s cubic-bezier(.2, .6, .2, 1); }
.service-card:hover .team-image { transform: scale(1.04); }
.service-card .team-data { margin-top: 16px; display: flex; flex-direction: column; flex: 1; }
.service-card h3.team-name { font-family: var(--serif); font-size: 21px; line-height: 1.3; margin: 0 0 8px; color: var(--ink); }
.service-text { font-size: 14px; line-height: 1.6; margin-bottom: 14px; color: var(--ink-soft); }
.service-more { margin-top: auto; }

.features-block .features-icon { color: var(--ink); }

/* ---------- FAQ page ---------- */
.faq-page-wrap { align-items: flex-start; }
.faq-aside { width: 100%; max-width: 40%; position: sticky; top: 30px; display: flex; flex-direction: column; gap: 30px; }
.faq-aside .faq-img { max-width: 100%; }
.faq-aside .faq-image { aspect-ratio: 4 / 3; }
.faq-topics { display: flex; flex-direction: column; }
.faq-topics-title, .faq-help-title, .policy-aside-title, .policy-help-title {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.faq-topic {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0;
  border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 15px; transition: color .2s, padding .2s;
}
.faq-topic:hover { color: var(--brass-dark); padding-left: 6px; }
.faq-topic-count { font-size: 12px; color: var(--muted); }
.faq-help { background: var(--bg2); padding: 26px; }
.faq-help p { font-size: 14px; margin-bottom: 18px; }
.faq-help-links { display: flex; flex-wrap: wrap; gap: 10px; }
.faq-groups { max-width: 60%; grid-row-gap: 60px; }
.faq-group { width: 100%; scroll-margin-top: 30px; }
.faq-group-title { font-size: 28px; margin-bottom: 20px; }

/* ---------- Contact ---------- */
.contact-photo { display: block; aspect-ratio: 4 / 5; object-fit: cover; height: auto; }
.content-form .field-label { display: block; }
.field-optional { color: var(--muted); font-size: 12px; font-weight: 400; }
.form-cell { min-width: 0; }
.form-cell-full { grid-column: 1 / -1; }
.content-form .input, .content-form .textarea { font-size: 15px; font-family: inherit; border-radius: 0; }
.content-form .input.has-error, .content-form .textarea.has-error { border-bottom-color: var(--danger); }
.content-form .field-error { font-size: 13px; margin-top: 6px; }
.content-form .form-btm { gap: 30px; }
.content-form .form-btm > div:first-child { flex: 1; min-width: 0; }
.content-form .form-btm .primary-btn { flex: none; padding: 14px 28px; font-size: 13px; }
.content-form .w-form-fail.form-state {
  display: block; text-align: left; margin: 0 0 32px; padding: 14px 16px; font-size: 14px;
  background: #fbf0ee; border-left: 3px solid var(--danger); color: var(--ink);
}
.w-form-done.form-state { display: block; padding: 56px 40px; text-align: center; }
.w-form-done.form-state:focus { outline: none; }
.form-state-icon { width: 44px; height: 44px; margin-bottom: 18px; }
.form-state-title { font-family: var(--serif); font-size: 26px; line-height: 1.25; color: var(--ink); margin-bottom: 10px; }
.form-state-text { max-width: 460px; margin: 0 auto; font-size: 15px; }
.form-state-btn { display: inline-flex; margin-top: 26px; }

.consent-field { align-items: flex-start; gap: 10px; cursor: pointer; }
.consent-check {
  -webkit-appearance: none; appearance: none; flex: none; width: 16px; height: 16px; margin: 2px 0 0;
  border: 1px solid #3b332b; background: #fff; display: grid; place-content: center; cursor: pointer; border-radius: 0;
}
.consent-check::before {
  content: ''; width: 10px; height: 10px; transform: scale(0); transition: transform .15s ease; background: var(--ink);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.consent-check:checked::before { transform: scale(1); }
.consent-check[aria-invalid="true"] { border-color: var(--danger); }
.consent-field .checkbox-label { font-size: 13px; line-height: 1.5; }
.agree-link { text-decoration: underline; }

.contact-title { max-width: 130px; flex: none; width: 130px; }
.contact-right { flex: 1; max-width: none; }
.contact-block-top { align-items: flex-start; }
.contact-stack { display: flex; flex-direction: column; gap: 2px; }
.contact-map-link { display: inline-block; margin-top: 6px; color: var(--brass-dark); }
.address { max-width: none; }
.hours-list { margin: 0; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; }
.hours-row dt { font-weight: 400; color: var(--ink-soft); }
.hours-row dd { margin: 0; text-align: right; color: var(--ink); }
.contact-map { align-self: stretch; min-height: 460px; position: relative; }
.contact-map iframe { position: relative; z-index: 1; display: block; width: 100%; height: 100%; min-height: 460px; border: 0; filter: sepia(.25) saturate(.85); }
.map-fallback {
  position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--ink); text-decoration: none; font-size: 14px;
}
.map-fallback[hidden] { display: none; }
/* in flow (not absolute) so the box grows when the text needs more room than the map's min-height */
.map-consent { position: relative; inset: auto; min-height: inherit; height: 100%; padding: 40px 30px; text-align: center; }
.map-pin { width: 34px; height: 34px; color: var(--brass); }
.map-consent-title { font-family: var(--serif); font-size: 26px; line-height: 1.25; color: var(--ink); }
.map-consent-text { margin: 0; font-size: 15px; color: var(--ink); }
.map-consent-note { max-width: 420px; margin: 6px 0 10px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.map-consent-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 26px; }
.map-consent-actions .contact-map-link { margin-top: 0; }

/* ---------- Sell ---------- */
.sell-steps { padding-top: 90px; padding-bottom: 90px; }
.steps-wrap { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.steps-wrap .step-block { align-self: start; margin: 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .15); }
.buy-list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; }
.buy-list li { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-size: 15px; color: var(--ink); }
.buy-list img { flex: none; margin-top: 5px; opacity: .75; }
.buy-note { font-size: 14px; color: var(--ink-soft); padding: 16px 18px; background: var(--bg2); margin: 0; }

.sell-form-wrap { align-items: flex-start; }
.sell-form-img { position: sticky; top: 30px; background: none; }
.sell-form-img .contact-photo { aspect-ratio: 4 / 3; }
.sell-form-aside { background: var(--bg2); padding: 24px 26px; }
.sell-aside-title { font-family: var(--serif); font-size: 20px; color: var(--ink); margin-bottom: 10px; }
.sell-form-aside ul { margin: 0; padding-left: 18px; font-size: 14px; }
.sell-form-aside li { margin-bottom: 6px; }

.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 30px 20px; border: 1px dashed #b9ad9b; background: var(--paper); text-align: center; cursor: pointer;
  transition: border-color .2s, background-color .2s; font-weight: 400; margin: 6px 0 0;
}
.dropzone:hover, .dropzone.is-dragover { border-color: var(--brass); background: #f6efe4; }
.dropzone.has-error { border-color: var(--danger); }
.dropzone:focus-within { outline: 2px solid var(--brass); outline-offset: 2px; }
.dropzone-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.dropzone-icon { width: 34px; height: 34px; opacity: .65; margin-bottom: 4px; }
.dropzone-text { font-size: 15px; color: var(--ink); }
.dropzone-text strong { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dropzone-hint { font-size: 12px; color: var(--muted); }
.dropzone-previews { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.dropzone-previews:empty { display: none; }
.dz-item { position: relative; margin: 0; aspect-ratio: 1; background: var(--paper-2); overflow: hidden; }
.dz-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dz-remove {
  position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0;
  background: rgba(31, 26, 21, .78); color: #fff; font-size: 15px; line-height: 24px; cursor: pointer; padding: 0;
}
.dz-remove:hover { background: var(--danger); }
.dz-name {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 6px; font-size: 10px; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .6)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Blog ---------- */
.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.blog-filter-link {
  padding: 7px 18px; border: 1px solid var(--line); border-radius: 50px; font-size: 13px; text-decoration: none;
  color: var(--ink-soft); transition: border-color .2s, background-color .2s, color .2s;
}
.blog-filter-link:hover { border-color: var(--ink); color: var(--ink); }
.blog-filter-link.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.post-block { color: inherit; display: flex; flex-direction: column; }
.post-img { overflow: hidden; }
.post-image { display: block; transition: transform .6s cubic-bezier(.2, .6, .2, 1); }
.post-block:hover .post-image { transform: scale(1.04); }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; font-size: 12px; line-height: 150%; color: var(--muted); }
.post-meta .post-tag { margin: 0; color: var(--brass-dark); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; font-size: 11px; }
.post-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .7; }
.post-btm { display: flex; flex-direction: column; flex: 1; }
.post-data { flex: 1; }
.post-block .post-title { font-family: var(--serif); font-size: 22px; line-height: 1.3; font-weight: 400; color: var(--ink); margin: 0 0 10px; transition: color .2s; }
.post-block:hover .post-title { color: var(--brass-dark); }
.post-excerpt { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 16px; }
.post-author { flex-wrap: wrap; align-items: center; }
.post-read { margin-left: auto; color: var(--muted); }
.blog-index .pagination { margin-top: 70px; }
.empty-state { text-align: center; padding: 40px 0 20px; max-width: 520px; margin: 0 auto; }
.empty-state-title { font-size: 30px; }

/* Blog post */
.post-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; margin-bottom: 18px; color: #94897b; }
.post-crumbs a { color: #d8cfc1; text-decoration: none; }
.post-crumbs a:hover { color: #fff; text-decoration: underline; }
h1.post-main-title { font-size: 44px; line-height: 1.15; }
.post-info { flex-wrap: wrap; row-gap: 8px; }
.blog-tag img { width: 16px; height: 16px; }
.post-main-img { overflow: hidden; }
.preview-bar { background: var(--brass); color: #fff; text-align: center; padding: 10px 16px; font-size: 13px; font-weight: 600; }

.post-details { font-size: 17px; line-height: 1.75; color: var(--ink-soft); }
.post-details > *:first-child { margin-top: 0; }
.post-details p { margin: 0 0 22px; }
.post-details > p:first-child { font-size: 19px; color: var(--ink); }
.post-details h2 { font-size: 34px; margin: 56px 0 18px; line-height: 1.2; }
.post-details h3 { font-size: 27px; margin: 46px 0 14px; line-height: 1.25; }
.post-details h4 { font-size: 22px; margin: 36px 0 12px; }
.post-details h5, .post-details h6 { margin: 30px 0 10px; }
.post-details ul, .post-details ol { margin: 0 0 24px; padding-left: 24px; }
.post-details li { margin-bottom: 10px; padding-left: 4px; }
.post-details ul li::marker { color: var(--brass); }
.post-details a { color: var(--brass-dark); text-underline-offset: 3px; }
.post-details strong { color: var(--ink); font-weight: 600; }
.post-details blockquote { font-family: var(--serif); font-size: 22px; line-height: 1.5; color: var(--ink); margin: 40px 0; padding: 36px 40px; border-color: var(--line); }
.post-details figure { margin: 40px 0; max-width: 100%; }
.post-details img { width: 100%; height: auto; display: block; }
.post-details figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.post-details hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

.post-share {
  max-width: 900px; margin: 60px auto 0; padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.post-share-label { font-family: var(--serif); font-size: 20px; color: var(--ink); }
.post-share-links { display: flex; flex-wrap: wrap; gap: 8px; }
.share-link {
  display: inline-flex; align-items: center; padding: 8px 16px; border: 1px solid var(--line); background: #fff;
  font-family: inherit; font-size: 13px; color: var(--ink); text-decoration: none; cursor: pointer; border-radius: 50px;
  transition: border-color .2s, background-color .2s, color .2s;
}
.share-link:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.share-copy.is-copied { border-color: var(--success); background: var(--success); color: #fff; }
.post-back { max-width: 900px; margin: 34px auto 0; }

/* ---------- Policies ---------- */
.policy-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 80px; align-items: start; }
.policy-data { max-width: 860px; font-size: 16px; line-height: 1.75; }
.policy-data > *:first-child { margin-top: 0; }
.policy-data p { margin-bottom: 16px; }
.policy-data h2 { font-size: 30px; margin: 50px 0 14px; }
.policy-data h3 { font-size: 24px; margin: 50px 0 14px; line-height: 1.3; }
.policy-data h4 { font-size: 20px; margin: 36px 0 12px; }
.policy-data ul, .policy-data ol { padding-left: 22px; margin: 0 0 20px; }
.policy-data li { margin-bottom: 8px; }
.policy-data strong { color: var(--ink); font-weight: 600; }
.policy-data table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 14px; }
.policy-data th, .policy-data td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.policy-updated { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.policy-aside { position: sticky; top: 30px; display: flex; flex-direction: column; gap: 30px; }
.policy-nav { display: flex; flex-direction: column; }
.policy-nav-link {
  padding: 11px 0 11px 14px; border-left: 1px solid var(--line); text-decoration: none; color: var(--ink-soft); font-size: 15px;
  transition: color .2s, border-color .2s;
}
.policy-nav-link:hover { color: var(--ink); border-left-color: var(--muted); }
.policy-nav-link.is-active { color: var(--ink); border-left: 2px solid var(--brass); font-weight: 600; padding-left: 13px; }
.policy-help { background: var(--bg2); padding: 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.policy-help p { font-size: 14px; margin-bottom: 6px; }
.policy-help .contact-link { font-size: 14px; color: var(--ink); }
.policy-help .primary-btn { margin-top: 14px; }

/* ---------- Credits ---------- */
.credits { max-width: 1040px; }
.credits-intro { max-width: 760px; margin-bottom: 50px; font-size: 16px; }
.credits-intro a { color: var(--brass-dark); }
.credits-group { margin-bottom: 50px; }
.credits-group-title { font-size: 26px; display: flex; align-items: baseline; gap: 10px; }
.credits-count { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.credits-table { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
.credits-col-what { width: 50%; }
.credits-col-who { width: 28%; }
.credits-col-link { width: 22%; }
.credits-table th {
  text-align: left; font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  padding: 10px 14px 10px 0; border-bottom: 1px solid var(--ink);
}
.credits-table td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.credits-table td:first-child { color: var(--ink); }
.credits-table td { overflow-wrap: anywhere; }
.credits-table a { color: var(--ink); }
.credits-table a:hover { color: var(--brass-dark); }
.credits-user { color: var(--muted); font-size: 13px; }

/* ---------- Utility pages: 404 / error / unsubscribe (template utility-page-wrap) ---------- */
.content-utility { height: auto; min-height: 62vh; padding: 90px 20px 120px; }
.error-wrap-wide { max-width: 640px; }
.error-code {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--serif); font-weight: 700; font-size: 170px; line-height: .9; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px var(--ink); user-select: none;
}
.error-code-sm { font-size: 140px; }
.error-glass { display: inline-flex; width: 104px; height: 156px; color: var(--brass); }
.error-glass svg { width: 100%; height: 100%; animation: patina-turn 6s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes patina-turn { 0%, 80% { transform: rotate(0); } 90%, 100% { transform: rotate(180deg); } }
@media (prefers-reduced-motion: reduce) { .error-glass svg { animation: none; } }
.error-data { margin-top: 40px; }
.utility-title { font-size: 40px; line-height: 1.15; margin: 4px 0 14px; }
.content-utility .body-small { font-size: 16px; color: var(--ink-soft); max-width: 520px; margin: 0 auto; }
.content-utility .button-wrap { flex-wrap: wrap; gap: 12px; }
.error-search { display: flex; gap: 10px; max-width: 480px; margin: 34px auto 0; }
.error-search .input { flex: 1; margin: 0; height: auto; padding: 10px 2px; font-size: 15px; font-family: inherit; }
.error-search .primary-btn { flex: none; }
.utility-icon { color: var(--brass); }
.error-standalone .content-utility { min-height: 100vh; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media screen and (max-width: 991px) {
  .why-us, .sell-steps { padding-top: 60px; padding-bottom: 60px; }
  .why-head { margin-bottom: 36px; }
  .why-img { max-width: 300px; }
  .why-img .innovation-img { min-height: 380px; }
  .services-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .faq-aside { display: contents; }
  .faq-aside .faq-img { display: none; }
  .faq-topics { order: 0; width: 100%; }
  .faq-groups { order: 1; max-width: 100%; }
  .faq-help { order: 2; width: 100%; margin-top: 20px; }
  .contact-map, .contact-map iframe { min-height: 380px; }
  .contact-info-wrap { flex-direction: column; }
  .contact-info-wrap .contact-map { width: 100%; }
  .faq-img .faq-image { aspect-ratio: 16 / 11; }
  .steps-wrap { gap: 30px; }
  .sell-form-img { position: static; max-width: 100%; }
  .sell-form-img .contact-photo { display: none; }
  .policy-layout { grid-template-columns: 1fr; gap: 50px; }
  .policy-aside { position: static; }
  h1.post-main-title { font-size: 38px; }
  .post-details h2 { font-size: 30px; }
  .error-code { font-size: 150px; }
}

/* Tablet: the template puts the stat in a 28% column beside the intro — stack number over label so it fits,
   and size the gap so the intro lines up with the story text below (both 68%). */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .story-left { column-gap: 4%; }
  .story-info { flex-direction: column; align-items: flex-start; grid-row-gap: 8px; }
  .story-info > div:last-child { max-width: none; }
}

@media screen and (max-width: 767px) {
  .story-wrap { height: 300px; }
  .story-text { margin-bottom: 25px; }
  .why-img { display: none; }
  .steps-wrap { grid-template-columns: 1fr; gap: 26px; }
  .buy-list { grid-template-columns: 1fr; }
  .content-form .form-btm { flex-direction: column; align-items: stretch; }
  .content-form .form-btm .primary-btn { width: 100%; }
  .w-form-done.form-state { padding: 40px 22px; }
  .contact-photo, .sell-form-img .contact-photo { aspect-ratio: 16 / 10; }
  .contact-title { width: 110px; }
  .post-details { font-size: 16px; }
  .post-details > p:first-child { font-size: 17px; }
  .post-details h2 { font-size: 26px; margin-top: 40px; }
  .post-details h3 { font-size: 23px; margin-top: 36px; }
  .post-details blockquote { font-size: 19px; padding: 24px; margin: 30px 0; }
  .post-share { flex-direction: column; align-items: flex-start; margin-top: 44px; }
  h1.post-main-title { font-size: 32px; }
  .policy-data h3 { font-size: 21px; margin-top: 38px; }
  .credits-table thead { display: none; }
  .credits-table, .credits-table tbody, .credits-table tr, .credits-table td { display: block; width: 100%; }
  .credits-table tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .credits-table td, .credits-table td:first-child { width: 100%; border: 0; padding: 2px 0; }
  .credits-table td::before { content: attr(data-label) ': '; color: var(--muted); font-size: 12px; }
  .credits-table td:first-child::before { content: none; }
  .content-utility { padding: 60px 16px 90px; }
  .error-code { font-size: 110px; }
  .error-code-sm { font-size: 96px; }
  .error-glass { width: 64px; height: 96px; }
  .utility-title { font-size: 30px; }
}

@media screen and (max-width: 479px) {
  .story-wrap { height: 240px; }
  .story-info > div:last-child { max-width: none; }
  .why-us, .sell-steps { padding-top: 44px; padding-bottom: 44px; }
  .innovation-wrap { grid-row-gap: 26px; }
  .empowerment-stats { gap: 22px 40px; }
  .service-card h3.team-name { font-size: 18px; }
  .service-text { font-size: 13px; }
  .faq-group-title { font-size: 24px; }
  .contact-block { flex-direction: column; align-items: flex-start; gap: 6px; }
  .contact-title { width: auto; max-width: none; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
  .contact-right { width: 100%; }
  .contact-map, .contact-map iframe { min-height: 300px; }
  .map-consent { padding: 30px 20px; }
  .hours-row { flex-direction: column; gap: 0; padding: 4px 0; }
  .hours-row dd { text-align: left; }
  .blog-filter { flex-wrap: nowrap; overflow-x: auto; margin-right: -20px; padding-right: 20px; scrollbar-width: none; }
  .blog-filter-link { white-space: nowrap; }
  .post-block .post-title { font-size: 20px; }
  h1.post-main-title { font-size: 28px; }
  .error-search { flex-direction: column; }
  .error-code { font-size: 84px; gap: 4px; }
  .error-code-sm { font-size: 80px; }
  .error-glass { width: 50px; height: 76px; }
  .utility-title { font-size: 26px; }
}
