/* A responsive extension of the original Pawpicco design, not a new visual system. */
html[data-page='home'] body { background: var(--paper); }
html[data-page='home'] .site { box-shadow: none; }
.wide-links, .wide-create { display: none; }
html[data-page='home'] .hero {
  background: var(--paper) url('/assets/ivory-paper-linen.png') center / cover no-repeat;
}
html[data-page='home'] .hero-orbit { background-color: #ccd1c2; }
html[data-page='home'] .comparison { background: #eef0e8; }
html[data-page='home'] .ai-discovery { background: var(--paper) url('/assets/ivory-paper-linen.png') center / cover no-repeat; }
html[data-page='home'] .product-details { background: #eef0e8; }
html[data-page='home'] .photo-reviews { background: var(--paper) url('/assets/ivory-paper-linen.png') center / cover no-repeat; }
html[data-page='home'] .final-cta { background-color: #eceee4; }

@media (min-width: 900px) {
  html[data-page='home'] { --wide-gutter: max(64px, calc((100vw - 1240px) / 2)); scroll-padding-top: 28px; }
  html[data-page='home'] .site { max-width: none; padding-bottom: 0; }
  html[data-page='home'] .navigation { height: 104px; padding: 28px var(--wide-gutter); gap: 32px; }
  html[data-page='home'] .brand { width: auto; gap: 10px; }
  html[data-page='home'] .brand img:first-child { width: 23px; height: auto; }
  html[data-page='home'] .brand img:last-child { width: 100px; height: auto; }
  html[data-page='home'] .wide-links { display: flex; gap: 30px; margin-left: auto; margin-right: auto; font-size: 14px; }
  html[data-page='home'] .wide-links a { padding: 10px 0; }
  html[data-page='home'] .wide-links a:hover { color: var(--rust); }
  html[data-page='home'] .nav-actions { gap: 12px; }
  html[data-page='home'] .market-button { font-size: 13px; }
  html[data-page='home'] .wide-create { display: flex; min-height: 44px; font-size: 14px; padding-inline: 22px; margin-left: 6px; }

  html[data-page='home'] .hero { display: grid; grid-template-columns: 1fr 1.05fr; grid-template-rows: auto auto auto auto; column-gap: 72px; align-content: center; height: auto; min-height: 704px; padding: 60px var(--wide-gutter) 72px; }
  .hero > h1 { grid-column: 1; grid-row: 1; font-size: clamp(60px, 5.4vw, 78px); line-height: 1.04; letter-spacing: -.035em; align-self: end; }
  .hero-description { grid-column: 1; grid-row: 2; max-width: 34ch; padding-top: 22px; font-size: 18px; line-height: 28px; }
  .hero-art { grid-column: 2; grid-row: 1 / 5; padding: 0; height: 530px; align-self: center; }
  .hero-orbit { transform: scale(1.5); }
  .hero-play-hint { grid-column: 2; grid-row: 4; top: auto; height: auto; padding: 0 12px 0 0; font-size: 12px; line-height: 18px; align-self: end; }
  .hero-offer { grid-column: 1; grid-row: 3; padding-top: 30px; gap: 28px; }
  .hero-offer .price-block { width: auto; }
  .hero-offer .price-block strong { font-size: 28px; }
  .hero-offer .price-block span { font-size: 11px; }
  .hero-offer .button { width: 200px; min-height: 56px; }
  .hero-specs { grid-column: 1; grid-row: 4; max-width: 410px; margin-top: 28px; padding-top: 16px; font-size: 13px; }

  html[data-page='home'] #home-page > .section { padding: 88px var(--wide-gutter); min-height: 0; }
  html[data-page='home'] #home-page h2 { font-size: clamp(44px, 3.8vw, 56px); line-height: 1.1; letter-spacing: -.03em; }
  html[data-page='home'] .intro { line-height: 27px; }
  .comparison { display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; }
  .comparison > .eyebrow, .comparison > h2, .comparison > .intro, .comparison > .comparison-note, .comparison > .text-link { grid-column: 1 / -1; }
  .comparison-row, .comparison-row.second { height: 320px; padding-top: 30px; border: 0; margin-top: 24px; grid-template-columns: 1fr 34px 1fr; gap: 18px; }
  .comparison-row .original, .comparison-row .result { height: 280px; }
  .comparison-print { width: 204px; height: 228px; padding: 10px 10px 30px; margin: 10px 0; }
  .comparison-print > img { width: 100%; height: 100%; object-fit: cover; }
  .comparison-row .comparison-badge { width: 210px !important; height: 240px !important; margin: 0; }
  .comparison-arrow { width: 30px; margin-top: 106px; }
  .comparison-row figcaption { font-size: 14px; padding-top: 12px; }
  .comparison-note { margin-top: 28px; }
  .comparison > .text-link { margin-top: 8px; }

  .ai-template-list { grid-template-columns: repeat(10, minmax(0, 1fr)); grid-template-rows: repeat(6, 65px); gap: 0 20px; margin: 36px 0 0; background-position: 22% 5%, 64% 95%, 94% 3%; }
  .ai-template-list > li:nth-child(1) { grid-area: 1 / 1 / 6 / 3; padding: 0; }
  .ai-template-list > li:nth-child(2) { grid-area: 2 / 3 / 7 / 5; padding: 0; }
  .ai-template-list > li:nth-child(3) { grid-area: 1 / 5 / 6 / 7; padding: 0; }
  .ai-template-list > li:nth-child(4) { grid-area: 2 / 7 / 7 / 9; padding: 0; }
  .ai-template-list > li:nth-child(5) { grid-area: 1 / 9 / 6 / 11; padding: 0; }
  .ai-template-list > li:nth-child(n) .ai-template-card { height: 100%; flex-direction: column; gap: 0; padding: 0; transform: none; }
  .ai-template-list > li:nth-child(n) .ai-template-art { width: 100%; height: auto; flex: 1; padding: 14px 6px 0; }
  .ai-template-list > li:nth-child(n) .ai-template-copy { flex-direction: column; align-items: center; gap: 5px; padding-top: 18px; text-align: center; }
  .ai-template-list > li:nth-child(n) .ai-template-copy strong { font-size: 20px; line-height: 24px; letter-spacing: -.4px; }
  .ai-template-list > li:nth-child(n) .ai-template-copy > span { display: block; white-space: normal; font-size: 12px; line-height: 18px; color: var(--muted); }
  .ai-template-list > li:nth-child(n) .ai-template-arrow { right: 2px; top: 4px; }

  .uses { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
  .uses > .eyebrow, .uses > h2, .uses > .intro, .uses > .text-link { grid-column: 1 / -1; }
  .uses > .use-card { margin-top: 36px; }
  .use-photo, .owner-photo { height: 380px; aspect-ratio: auto; }
  .collar-photo > img { position: static; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
  .use-card figcaption { margin-top: 20px; }
  .uses > .text-link { margin-top: 28px; justify-self: start; }

  .product-details { display: grid; grid-template-columns: .95fr 1.05fr; column-gap: 80px; align-items: start; }
  .product-details > .eyebrow { grid-column: 1; grid-row: 1; }
  .product-details > h2 { grid-column: 1; grid-row: 2; }
  .product-details > .intro { grid-column: 1; grid-row: 3; }
  .product-details > .dimension-stage { grid-column: 2; grid-row: 1 / 6; height: 410px; margin: 0; align-self: center; }
  .dimension-art { transform: scale(1.3); }
  .product-details > .spec-table { grid-column: 1; grid-row: 4; margin-top: 32px; max-width: 430px; }
  .product-details > .detail-note { grid-column: 1; grid-row: 5; margin-top: 24px; max-width: 50ch; }
  .spec-table dt { font-size: 26px; }
  .spec-table dd { font-size: 14px; }

  .anatomy-sticky { padding: 60px var(--wide-gutter); display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
  .anatomy-heading { padding: 0; }
  .anatomy-heading .intro { max-width: 30ch; }
  .anatomy-stage { margin: 0; width: 100%; height: 490px; aspect-ratio: auto; }
  .anatomy-callout { font-size: 13px; line-height: 18px; width: 100px; }
  .anatomy-callout small { font-size: 11px; line-height: 16px; }

  .process-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; margin-top: 42px; }
  .process-list li { grid-template-columns: 32px 1fr; align-items: start; padding: 22px 0 0; gap: 18px; }
  .process-image { grid-row: 1; grid-column: 1 / 3; width: 100%; height: 260px; margin-bottom: 4px; }
  .process-number { grid-row: 2; grid-column: 1; }
  .process-copy { grid-row: 2; grid-column: 2; }
  .process-copy h3 { font-size: 20px; line-height: 26px; }
  .process-copy p { font-size: 14px; line-height: 22px; }

  .product-gallery .gallery-sticky, .product-gallery[data-gallery-mode='scroll'] .gallery-sticky { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 44px; padding: 60px var(--wide-gutter); }
  .gallery-heading { padding: 0; align-self: center; }
  .product-gallery .gallery-stage, .product-gallery[data-gallery-mode='scroll'] .gallery-stage { grid-column: 2; margin: 0; padding: 0; height: 510px; flex: none; clip-path: inset(-80px -100vw -140px -24px); }
  .gallery-card figcaption { padding-top: 24px; }
  .gallery-card h3 { font-size: 30px; line-height: 36px; }
  .gallery-card figcaption p { font-size: 15px; line-height: 22px; }
  .gallery-category { font-size: 10px; }
  .product-gallery[data-gallery-mode='static'] .gallery-stage { clip-path: none; overflow-x: auto; }

  .review-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 42px; max-width: 1100px; margin: 50px auto 0; padding: 0 12px 48px; }
  .review-card { padding: 12px 12px 18px; }
  .review-words { padding: 18px 8px 0; }
  .review-words h3 { font-size: 24px; line-height: 28px; }
  .review-caption { font-size: 14px; line-height: 21px; }
  .reviews-signoff { font-size: 22px; line-height: 30px; }

  .faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
  .faq-list { margin-top: 0; }
  .faq summary { min-height: 64px; font-size: 17px; line-height: 26px; }
  .faq details > p { max-width: 55ch; font-size: 16px; line-height: 26px; padding-bottom: 20px; }
  .final-cta { display: grid; grid-template-columns: .8fr 1.2fr; column-gap: 100px; text-align: left; justify-items: start; }
  .final-cta > .final-badge { grid-column: 1; grid-row: 1 / 5; width: 310px; height: 357px; justify-self: center; }
  .final-cta > .eyebrow { grid-column: 2; grid-row: 1; margin-top: 0; }
  .final-cta > h2 { grid-column: 2; grid-row: 2; margin-top: 18px; }
  .final-cta > .button { grid-column: 2; grid-row: 3; width: 250px; margin-top: 30px; }
  .final-cta > .final-note { grid-column: 2; grid-row: 4; margin-top: 18px; }
  html[data-page='home'] .footer { padding: 36px var(--wide-gutter); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
  html[data-page='home'] .footer > * { margin: 0; }
}

/* Close-up construction: an inspectable object with connected, readable explanations. */
.badge-anatomy { background: #f4f1e9; }
.badge-anatomy .anatomy-sticky { padding: 38px 20px 30px; gap: 0; justify-content: flex-start; min-height: 0; }
.badge-anatomy .anatomy-heading { padding: 0; }
.badge-anatomy .anatomy-heading .intro { max-width: 32ch; }
.badge-anatomy .anatomy-stage { height: 270px; margin: 8px -12px 0; width: calc(100% + 24px); aspect-ratio: auto; }
.badge-anatomy .anatomy-model { touch-action: pan-y; cursor: grab; border-radius: 8px; }
.badge-anatomy .anatomy-model.is-dragging { cursor: grabbing; }
.badge-anatomy .anatomy-model:focus-visible { outline: 2px solid var(--rust); outline-offset: -4px; }
.badge-anatomy .anatomy-callout { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #f7f3eb; border: 1px solid #b5b9a9; color: #535f4b; font-size: 10px; line-height: 1; transition: background .2s, color .2s; }
.badge-anatomy .anatomy-callout::before { height: 15px; bottom: calc(100% + 3px); }
.badge-anatomy .anatomy-callout[data-active='true'] { background: var(--rust-dark); color: white; border-color: var(--rust-dark); }
.anatomy-explorer { width: 100%; }
.badge-anatomy:not(.anatomy-enhanced) .anatomy-tabs, .badge-anatomy:not(.anatomy-enhanced) .anatomy-controls { display: none; }
.badge-anatomy:not(.anatomy-enhanced) .anatomy-details > div + div { margin-top: 22px; }
.anatomy-prompt { font-size: 12px; line-height: 18px; color: var(--muted); margin: 0 0 8px; }
.anatomy-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-bottom: 1px solid #cbcbbd; }
.anatomy-tabs button { position: relative; min-width: 0; min-height: 62px; padding: 7px 3px 11px; background: transparent; color: #625f57; font-size: 11px; font-weight: 500; line-height: 15px; text-align: left; }
.anatomy-tabs button > span { display: block; color: #6e7767; font-size: 10px; margin-bottom: 3px; font-variant-numeric: tabular-nums; }
.anatomy-tabs button small { display: block; font-size: 9px; line-height: 11px; font-weight: 400; }
.anatomy-tabs button::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 10px; height: 2px; background: var(--rust-dark); transform: scaleX(0); transform-origin: left; transition: transform .28s cubic-bezier(.16,1,.3,1); }
.anatomy-tabs button[aria-selected='true'] { color: var(--rust-dark); }
.anatomy-tabs button[aria-selected='true']::after { transform: scaleX(1); }
.anatomy-tabs button:hover { color: var(--rust-dark); background: #b95d3c08; }
.anatomy-details { padding-top: 17px; min-height: 126px; }
.anatomy-details [hidden] { display: none; }
.anatomy-details h3 { font-size: 23px; line-height: 28px; letter-spacing: -.5px; }
.anatomy-details p { font-size: 13px; line-height: 20px; color: #57594f; margin-top: 8px; max-width: 42ch; }
.anatomy-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.anatomy-controls > p { display: flex; align-items: center; gap: 6px; font-size: 10px; line-height: 15px; color: #626657; }
.anatomy-controls svg { width: 18px; height: 18px; flex: none; }
.anatomy-controls > button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 9px 12px; border: 1px solid #b5baac; border-radius: 22px; color: #3f503d; background: #f7f3eb; font-size: 11px; line-height: 15px; white-space: nowrap; }
.anatomy-controls > button:hover { background: #e3e8dc; }
.badge-anatomy[data-anatomy-mode='scroll'] { height: calc(780px + 1250px); }
.badge-anatomy[data-anatomy-mode='scroll'] .anatomy-sticky { height: 780px; }
.badge-anatomy[data-anatomy-mode='static'] .anatomy-sticky { height: auto; }
.section-create { width: 100%; margin-top: 24px; min-height: 54px; background: var(--rust-dark); }
.section-create svg { width: 21px; height: 21px; }
.section-create:hover { background: #833d25; }
.comparison .section-create { justify-self: center; }
@media (min-width: 900px) {
  .badge-anatomy .anatomy-sticky { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.4fr); grid-template-rows: auto auto auto; align-content: center; gap: 0 58px; padding: 48px var(--wide-gutter); }
  .badge-anatomy .anatomy-heading { grid-column: 1; grid-row: 1; align-self: end; }
  .badge-anatomy .anatomy-stage { grid-column: 2; grid-row: 1 / 3; height: 470px; width: 100%; margin: 0; align-self: center; }
  .badge-anatomy .anatomy-explorer { grid-column: 1; grid-row: 2; align-self: start; margin-top: 36px; }
  .anatomy-prompt { font-size: 13px; }
  .anatomy-tabs button { font-size: 13px; line-height: 18px; min-height: 70px; }
  .anatomy-tabs button > span { font-size: 11px; }
  .anatomy-tabs button small { font-size: 10px; line-height: 14px; }
  .anatomy-details { min-height: 150px; padding-top: 24px; }
  .anatomy-details h3 { font-size: 28px; line-height: 33px; }
  .anatomy-details p { font-size: 15px; line-height: 24px; margin-top: 12px; }
  .badge-anatomy .anatomy-controls { grid-column: 2; grid-row: 3; align-self: start; margin-top: 24px; padding-inline: 12px; }
  .anatomy-controls > p { font-size: 12px; }
  .anatomy-controls > button { font-size: 12px; padding-inline: 18px; }
  .badge-anatomy .anatomy-callout { width: 28px; height: 28px; font-size: 11px; }
  .badge-anatomy[data-anatomy-mode='scroll'] { height: calc(740px + 1250px); }
  .badge-anatomy[data-anatomy-mode='scroll'] .anatomy-sticky { height: 740px; }
  .section-create { width: max-content; min-width: 220px; padding-inline: 28px; justify-self: start; grid-column: 1 / -1; }
}
@media (min-width: 900px) and (max-width: 1150px) {
  .badge-anatomy .anatomy-sticky { gap: 0 32px; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
  .badge-anatomy .anatomy-stage { height: 410px; }
  .anatomy-tabs button { font-size: 11px; }
  .anatomy-controls > p { max-width: 120px; }
}
@media (max-width: 350px) {
  .badge-anatomy .anatomy-sticky { padding-inline: 18px; }
  .badge-anatomy .anatomy-stage { height: 240px; }
  .anatomy-tabs button { font-size: 10px; }
  .anatomy-details h3 { font-size: 21px; line-height: 25px; }
  .anatomy-details { min-height: 137px; }
  .anatomy-controls { gap: 6px; }
  .anatomy-controls > p { max-width: 112px; }
}
@media (prefers-reduced-motion: reduce) { .anatomy-tabs button::after { transition: none; } }

@media (min-width: 900px) and (max-width: 1199px) {
  html[data-page='home'] { --wide-gutter: 48px; }
  .wide-links { gap: 18px; }
  html[data-page='home'] .wide-create { display: none; }
  html[data-page='home'] .hero { column-gap: 36px; min-height: 660px; }
  .hero-orbit { transform: scale(1.15); }
  .hero-art { height: 460px; }
  .hero-offer { gap: 18px; }
  .hero-offer .button { width: 172px; font-size: 16px; }
  .comparison { column-gap: 36px; }
  .comparison-row, .comparison-row.second { gap: 8px; grid-template-columns: 1fr 24px 1fr; height: 278px; }
  .comparison-print { width: 150px; height: 174px; padding: 8px 8px 26px; }
  .comparison-row .comparison-badge { width: 152px !important; height: 194px !important; }
  .comparison-row .original, .comparison-row .result { height: 240px; }
  .comparison-arrow { width: 22px; margin-top: 80px; }
  .ai-template-list { gap: 0 12px; grid-template-rows: repeat(6, 52px); }
  .ai-template-list > li:nth-child(n) .ai-template-copy strong { font-size: 17px; }
  .ai-template-list > li:nth-child(n) .ai-template-copy > span { font-size: 11px; }
  .use-photo, .owner-photo { height: 300px; }
  .product-details { column-gap: 40px; }
  .dimension-art { transform: scale(1.05); }
  .anatomy-stage { height: 420px; }
  .anatomy-callout { width: 82px; font-size: 12px; }
  .anatomy-callout small { font-size: 10px; }
  .process-list { gap: 24px; }
  .process-image { height: 210px; }
  .product-gallery .gallery-sticky, .product-gallery[data-gallery-mode='scroll'] .gallery-sticky { gap: 36px; }
  .review-wall { gap: 30px 24px; }
  .review-words h3 { font-size: 21px; }
  .final-cta { column-gap: 60px; }
  .final-cta > .final-badge { width: 260px; height: 300px; }
}
/* Customizer and AI editor: the same product, with room to work on larger screens. */
.ai-artboard { display: none; }
.custom-preview-panel { min-width: 0; }
.custom-preview-panel .preview-stage { height: 320px; margin-top: 0; background: #e2e5da; }
.custom-preview-panel .tag-model { inset: 20px 8px 32px; transform: none; width: auto; height: auto; }
.custom-preview-panel .tag-webgl { touch-action: pan-y; cursor: grab; }
.custom-preview-panel .tag-webgl.dragging { cursor: grabbing; }
.tag-webgl:focus-visible { outline: 2px solid var(--rust-dark); outline-offset: -5px; }
.custom-preview-panel .tag-finish-label { font-size: 11px; line-height: 18px; letter-spacing: 0; bottom: 12px; color: #505b47; }
.custom-preview-panel .live-label { min-height: 44px; font-size: 12px; background: #f7f3eb; backdrop-filter: none; border: 0; color: var(--ink); }
.custom-preview-panel .tag-view-switch { display: flex; gap: 6px; justify-content: center; margin: 10px auto 0; border: 0; padding: 0; }
.custom-preview-panel .tag-view-switch button { min-height: 44px; padding: 8px 12px; font-size: 12px; background: transparent; border-radius: 8px; color: var(--muted); }
.custom-preview-panel .tag-view-switch button[aria-pressed='true'] { background: #e2e5da; color: #394733; }
.custom-preview-panel .tag-view-switch button:hover { background: #eceee5; }
.start-example { padding: 0 0 20px; overflow: hidden; border-radius: 16px; }
.start-example > img { margin-top: 22px; }
.start-example .custom-preview-panel { width: 100%; }
.start-example .custom-preview-panel .preview-stage { border-radius: 16px 16px 0 0; background: transparent; }
.start-example.has-3d > img { display: none; }
.start-example .tag-view-switch { margin: 0 auto 8px; }
.start-example .sample-label { display: block; font-size: 12px; line-height: 18px; color: #515e49; }
.start-example strong { font-size: 22px; margin-top: 4px; }
.start-example:not(.has-3d) .custom-preview-panel { display: none; }
html[data-page='customize'] .customizer > h1 { letter-spacing: -.035em; }
.ai-dialog .button { background: var(--rust-dark); }
.ai-style-list { scrollbar-width: thin; scrollbar-color: #929b87 transparent; padding-bottom: 8px; }
.ai-style-list::-webkit-scrollbar { display: block; height: 5px; }
.ai-style-list::-webkit-scrollbar-thumb { background: #929b87; border-radius: 4px; }
.ai-style-card { flex-basis: 118px; }
.ai-header h2 { letter-spacing: -.035em; }
.ai-dialog { border: 0; border-radius: 16px; }
.ai-style-card[aria-pressed='true']::after { content: ''; width: 6px; height: 10px; border: solid #4f6046; border-width: 0 2px 2px 0; transform: rotate(45deg); right: 9px; top: 7px; }
@media (min-width: 760px) {
  .ai-dialog { width: calc(100% - 48px); max-width: 1120px; max-height: calc(100dvh - 40px); }
  .ai-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr); grid-template-rows: auto auto minmax(80px, 1fr) auto; height: min(760px, calc(100dvh - 40px)); }
  .ai-header { grid-column: 1 / -1; padding: 24px 28px 20px; border-bottom: 1px solid var(--line); }
  .ai-header h2 { font-size: 34px; line-height: 40px; }
  .ai-artboard { grid-column: 1; grid-row: 2 / 5; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; padding: 34px; background: #e8ebdf; gap: 18px; }
  .ai-artboard-image { width: 100%; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
  .ai-artboard-image img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
  .ai-artboard figcaption { flex: none; font-size: 13px; line-height: 20px; color: #515e49; }
  .ai-styles { grid-column: 2; grid-row: 2; padding: 20px 24px 14px; }
  .ai-style-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; overflow: visible; padding: 3px; margin: -3px; }
  .ai-style-card { width: auto; min-height: 102px; padding: 8px 3px; gap: 7px; }
  .ai-style-card img { width: 50px; height: 55px; }
  .ai-style-card span { font-size: 11px; line-height: 15px; white-space: normal; text-align: center; }
  .ai-chat-log { grid-column: 2; grid-row: 3; padding: 20px 24px; }
  .ai-footer { grid-column: 2; grid-row: 4; padding: 16px 24px 20px; }
  .ai-result-image { height: 100px; }
  .ai-upload-message img { width: 44px; height: 44px; }
  .ai-dialog textarea { max-height: 130px; }
  .tag-preview-dialog { max-width: 720px; }
  .tag-dialog-stage { aspect-ratio: 1.2; }
}
@media (min-width: 760px) {
  html[data-page='customize'] body { background: var(--paper); }
  html[data-page='customize'] .site { max-width: none; box-shadow: none; padding-bottom: 0; }
  html[data-page='customize'] .navigation { height: 96px; padding: 24px max(48px, calc((100vw - 1200px) / 2)); }
  html[data-page='customize'] .brand { width: 125px; }
  html[data-page='customize'] .brand img:first-child { width: 23px; height: auto; }
  html[data-page='customize'] .brand img:last-child { width: 95px; height: auto; }
  html[data-page='customize'] #custom-page { width: min(1200px, calc(100% - 96px)); margin: 0 auto; }
  html[data-page='customize'] .subpage-nav { padding: 0; }
  html[data-page='customize'] .customizer { padding: 26px 0 64px; }
  html[data-page='customize'] .customizer h1 { font-size: 52px; line-height: 1.08; margin-top: 0; }
  html[data-page='customize'] .customizer > .intro { font-size: 18px; margin-top: 14px; }
  .photo-start { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); column-gap: 64px; align-items: center; margin-top: 34px; }
  .start-example { grid-column: 1; grid-row: 1 / 4; min-height: 480px; justify-content: center; }
  .start-example > img { width: 300px; height: 340px; }
  .start-example .custom-preview-panel .preview-stage { height: 380px; }
  .start-upload { grid-column: 2; grid-row: 1; min-height: 190px; margin: 60px 0 0; align-self: end; }
  .start-upload > strong { font-size: 21px; line-height: 30px; }
  .start-upload > img { width: 30px; height: 30px; }
  #start-photo-help { grid-column: 2; grid-row: 2; align-self: start; max-width: 35ch; font-size: 14px; line-height: 22px; }
  #start-photo-error { grid-column: 2; grid-row: 3; align-self: start; }
  #front-step { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 64px; align-items: start; }
  #front-step > .custom-preview-panel { position: sticky; top: 24px; }
  #front-step .preview-stage { height: clamp(380px, 37vw, 520px); }
  .custom-fields { min-width: 0; }
  .custom-fields .photo-tools { margin-top: 0; }
  .custom-fields .name-field { margin-top: 26px; }
  #review-step { max-width: 660px; margin: 0 auto; }
  html[data-page='customize'] .footer { padding: 32px max(48px, calc((100vw - 1200px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  html[data-page='customize'] .footer > * { margin: 0; }
}
@media (min-width: 760px) and (max-height: 620px) {
  .ai-shell { grid-template-rows: auto auto minmax(40px,1fr) auto; }
  .ai-header { padding: 12px 20px; }
  .ai-header h2 { font-size: 27px; line-height: 32px; }
  .ai-styles { padding: 10px 16px; }
  .ai-style-card { min-height: 54px; gap: 4px; }
  .ai-style-card img { width: 25px; height: 28px; }
  .ai-style-card span { font-size: 10px; line-height: 13px; }
  .ai-footer { padding: 8px 16px; }
  .ai-artboard { padding: 20px; }
  .ai-dialog textarea { max-height: 78px; }
  .ai-result-actions { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .custom-preview-panel *, .ai-dialog * { scroll-behavior: auto; }
}

@media (max-width: 759px) {
  .start-example .custom-preview-panel .preview-stage { height: 270px; }
}
@media (min-width: 760px) and (max-width: 1100px) {
  .photo-start, #front-step { gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr); }
  html[data-page='customize'] .customizer h1 { font-size: 44px; }
}
@media (min-width: 760px) and (max-height: 480px) {
  .ai-header { padding: 8px 20px; }
  .ai-header #ai-close { width: 40px; height: 40px; }
  #ai-styles-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ai-style-card { min-height: 42px; padding: 4px 2px; }
  .ai-styles { padding: 8px 16px; }
}

/* Scroll stays native; the user requested no visible scrollbars in any refined view. */
html, body, body * { scrollbar-width: none !important; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar, body *::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
.custom-preview-panel { display: flex; flex-direction: column; align-items: center; width: 100%; }
.custom-preview-panel .preview-stage { width: 100%; }
.custom-preview-panel .tag-view-switch { align-self: center; width: max-content; max-width: 100%; margin-inline: auto; border: 0; border-radius: 0; }
.custom-preview-panel .tag-view-switch button { padding-inline: 10px; }
.start-actions { width: 100%; min-width: 0; }
.start-actions .start-upload { margin: 16px 0 0; }
.start-actions .field-help { max-width: 38ch; margin-inline: auto; text-align: center; }
@media (min-width: 760px) {
  .photo-start { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px, 4.4vw, 64px); }
  .start-example { grid-column: auto; grid-row: auto; }
  .start-actions { align-self: center; }
  .start-actions .start-upload { margin: 0; }
  html[data-page='customize'] #custom-page { width: min(1200px, calc(100% - clamp(40px, 7vw, 96px))); }
  #front-step { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px, 4.4vw, 64px); }
}
@media (max-width: 759px) {
  html[data-page='customize'] body { background: var(--paper); }
  html[data-page='customize'] .site { width: 100%; max-width: 600px; box-shadow: none; }
  html[data-page='customize'] .customizer { padding-inline: clamp(20px, 5vw, 32px); }
  html[data-page='customize'] .navigation, html[data-page='customize'] .subpage-nav { padding-inline: clamp(20px, 5vw, 32px); }
  .start-example .custom-preview-panel .preview-stage { height: clamp(270px, 65vw, 350px); }
}

/* Fluid intermediate layouts retain the original artwork and visual hierarchy. */
:root { --rust: #a44f31; --sage: #56664e; }
html[data-page='home'] .site { width: 100%; max-width: none; }
h1, h2 { letter-spacing: -.03em; }
.customizer h1, .final-cta h2 { letter-spacing: -.03em; }
.dim-label { font-size: 13px; letter-spacing: .02em; }
.mode-copy > span { font-size: 12px; line-height: 18px; }
.spec-table > div { padding-inline: 8px; }
.market-button, .footer nav button { min-height: 44px; }
.anatomy-controls > p { min-width: 0; font-size: 12px; line-height: 18px; }
.anatomy-controls > button { flex: none; font-size: 12px; }
.anatomy-tabs button { font-size: 12px; line-height: 18px; }
.anatomy-tabs button > span, .anatomy-tabs button small { font-size: 11px; line-height: 15px; }
.anatomy-details p { font-size: 14px; line-height: 22px; }
.badge-anatomy .anatomy-callout { font-size: 11px; }
.hero-play-hint, .price-block span, .gallery-category, .tagline { font-size: 12px; line-height: 18px; }
.price-block span { white-space: normal; }
.gallery-category, .tap-preview-bar > span, .tap-page .eyebrow, .nfc-review-card .eyebrow, #nfc-toggle-help, .ai-style-card span { font-size: 12px; line-height: 18px; }
.anatomy-tabs button > span { color: #56624f; }
.anatomy-tabs button small { color: var(--muted); }
.gallery-heading { pointer-events: auto; }
.ai-template-art::before { inset: 0; width: auto; height: auto; aspect-ratio: auto; border-radius: 0; background: radial-gradient(circle closest-side, var(--wash) 99%, transparent 100%); }
.process-copy, .custom-fields, .anatomy-heading, .anatomy-explorer { min-width: 0; }
.ai-dialog textarea { min-height: 58px; padding-right: 62px; }
#ai-send { width: 44px; height: 44px; }
html[data-page='nfc'] body { background: var(--paper); }
html[data-page='nfc'] .site { width: 100%; max-width: none; box-shadow: none; }
html[data-page='nfc'] #nfc-page { width: min(100%, 720px); margin-inline: auto; }
.nfc-fields h2 { font-size: 27px; line-height: 32px; letter-spacing: -.025em; }
.nfc-fields h2 + .field-help { margin-top: 6px; }
.tap-preview-note { font-size: 12px; }

@media (min-width: 760px) {
  .ai-style-card { flex-direction: column; min-width: 0; min-height: 60px; }
  .ai-style-card span { overflow-wrap: anywhere; }
  .ai-style-card img { flex: none; }
}
@media (min-width: 480px) and (max-width: 759px) {
  .ai-dialog { max-width: 560px; }
}

@media (max-width: 899px) {
  html[data-page='home'] { --page-gutter: clamp(20px, 4vw, 36px); }
  html[data-page='home'] .navigation { height: 88px; padding: 24px var(--page-gutter); }
  html[data-page='home'] .hero { height: auto; min-height: 0; padding: 24px var(--page-gutter) 44px; }
  html[data-page='home'] .hero-description { max-width: 40ch; }
  html[data-page='home'] .hero-art { height: 370px; padding: 28px 0; }
  html[data-page='home'] .hero-offer { max-width: 460px; }
  html[data-page='home'] .hero-specs { max-width: 460px; }
  html[data-page='home'] #home-page > .section { padding: 56px var(--page-gutter); min-height: 0; }
  html[data-page='home'] #home-page h2 { letter-spacing: -.03em; }
  .badge-anatomy .anatomy-sticky { padding: 40px var(--page-gutter); }
  .badge-anatomy .anatomy-stage { height: clamp(260px, 54vw, 390px); width: 100%; margin: 12px 0 0; }
  .badge-anatomy .anatomy-explorer { margin-top: 28px; }
  .badge-anatomy .anatomy-details { min-height: 0; }
  .badge-anatomy[data-anatomy-mode='scroll'] .anatomy-sticky { height: auto; }
  .gallery-heading { padding-inline: var(--page-gutter); }
  .gallery-stage { padding-inline: var(--page-gutter); }
  .faq details > p { max-width: 65ch; }
  .dimension-stage { overflow: hidden; }
  .footer { padding-inline: var(--page-gutter, 20px); }
}
@media (max-width: 374px) {
  html[data-page='home'] .hero-art { height: 310px; }
  .anatomy-controls { align-items: flex-start; flex-direction: column; gap: 12px; }
  .anatomy-controls > button { align-self: flex-end; }
  .anatomy-controls > p { max-width: none; }
}
@media (min-width: 600px) and (max-width: 899px) {
  html[data-page='home'] .hero-art { height: 410px; }
  .hero-orbit { transform: scale(1.12); }
  .comparison-row, .comparison-row.second { max-width: 460px; margin-inline: auto; }
  .ai-template-list { max-width: 560px; margin-inline: auto; grid-template-rows: repeat(8, 82px); }
  .uses { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 28px; }
  .uses > .eyebrow, .uses > h2, .uses > .intro, .uses > .text-link { grid-column: 1 / -1; }
  .use-photo, .owner-photo { height: 300px; }
  .collar-photo > img { position: static; width: 100%; height: 100%; object-fit: cover; }
  .dimension-stage, .spec-table, .detail-note { max-width: 540px; margin-inline: auto; }
  .process-list li { grid-template-columns: 36px minmax(0,1fr) 160px; gap: 24px; }
  .process-image { width: 160px; height: 150px; }
  .review-wall { max-width: 660px; margin-inline: auto; gap: 28px; }
  .final-cta > .button { max-width: 440px; }
  .anatomy-heading .intro { max-width: 50ch; }
  .anatomy-details h3 { font-size: 28px; line-height: 34px; }
  .anatomy-details p { max-width: 60ch; }
}
@media (min-width: 700px) and (max-width: 899px) {
  html[data-page='home'] .hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 28px; align-items: center; padding-block: 48px; }
  .hero > h1 { grid-column: 1; grid-row: 1; font-size: 48px; line-height: 1.05; }
  .hero-description { grid-column: 1; grid-row: 2; padding-top: 20px; }
  html[data-page='home'] .hero-art { grid-column: 2; grid-row: 1 / 4; height: 380px; padding: 0; }
  .hero-orbit { transform: scale(.9); }
  .hero-play-hint { grid-column: 2; grid-row: 4; height: auto; top: auto; align-self: start; }
  .hero-offer { grid-column: 1; grid-row: 3; flex-wrap: wrap; padding-top: 24px; gap: 16px; }
  .hero-offer .button { width: 100%; }
  .hero-specs { grid-column: 1; grid-row: 4; }
  .comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; }
  .comparison > .eyebrow, .comparison > h2, .comparison > .intro, .comparison > .comparison-note, .comparison > .text-link { grid-column: 1 / -1; }
  .comparison-row, .comparison-row.second { width: 100%; grid-template-columns: minmax(0,1fr) 20px minmax(0,1fr); gap: 8px; }
  .comparison-print { width: 118px; height: 146px; padding: 7px 7px 28px; }
  .comparison-print > img { width: 100%; height: 100%; }
  .comparison-row .comparison-badge { width: 126px !important; height: 154px !important; }
  .comparison-arrow { width: 20px; }
}
@media (max-height: 600px) {
  .badge-anatomy .anatomy-sticky { position: relative; }
}
@media (max-height: 420px) {
  .ai-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .ai-shell { height: calc(100dvh - 16px); overflow-y: auto; }
  .ai-header { padding: 4px 14px; align-items: center; }
  .ai-header h2 { font-size: 24px; line-height: 30px; margin-top: 0; }
  .ai-dialog .ai-header #ai-close { width: 44px; height: 44px; }
  #ai-styles-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ai-styles { padding: 4px 14px; }
  .ai-style-card { min-height: 44px; }
  .ai-chat-log { min-height: 40px; padding-block: 6px; }
  .ai-footer { padding: 6px 14px; }
  .ai-dialog textarea { max-height: 64px; }
  .ai-result-actions { margin-top: 8px; }
}
