/* Protecta V4 — final layout layer. Keep this after the existing page styles.
   Content remains in normal flow; no document-level overflow hiding or scaling. */
:root {
  --pd-content-width: 1360px;
  --pd-header-height: 72px;
  --pd-page-gutter: clamp(20px, 3.2vw, 48px);
}
html {
  scroll-padding-top: calc(var(--pd-header-height) + 20px);
}
body {
  min-width: 0;
}
.container {
  width: calc(100% - var(--pd-page-gutter) * 2);
  max-width: var(--pd-content-width);
}
main,
section,
article,
aside,
form,
fieldset,
.container > *,
.hero-grid > *,
.pc-hero-grid > *,
.shop-product-layout > *,
.pd-custom-grid > *,
.pc-account-layout > *,
.footer-grid > * {
  min-width: 0;
}
fieldset {
  max-width: 100%;
}
img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}
iframe {
  width: 100%;
}
input,
select,
textarea {
  max-width: 100%;
}
p,
h1,
h2,
h3,
h4,
label,
.pd-note,
.pc-notice,
.shop-demo-note {
  overflow-wrap: break-word;
}
a[href^='mailto:'],
.pc-secure-link,
.pc-payment-box {
  overflow-wrap: anywhere;
}
.button,
.btn {
  white-space: normal;
  text-align: center;
}
.button > .icon,
.button > svg {
  flex-shrink: 0;
}

/* Navigation fits small laptops, while all touch actions keep usable targets. */
.topbar .container {
  min-height: 28px;
  gap: 16px;
  font-size: 11px;
  line-height: 1.4;
  padding-block: 4px;
}
.header-inner {
  height: var(--pd-header-height);
  gap: 20px;
}
.site-header .brand {
  gap: 9px;
}
.site-header .official-mark {
  width: 40px !important;
  height: 40px !important;
}
.site-header .brand strong {
  font-size: 16px !important;
  line-height: 1.2;
}
.site-header .brand small {
  font-size: 7px !important;
  line-height: 1.4;
  margin-top: 5px;
}
.site-header .brand-dot {
  font-size: 9px;
  letter-spacing: 1.5px;
}
.desktop-nav {
  gap: clamp(14px, 1.6vw, 24px);
}
.desktop-nav > a {
  font-size: 12px;
  line-height: 1.4;
  padding: 26px 0;
}
.desktop-nav > a::after {
  bottom: 15px;
}
.header-actions {
  gap: 3px;
  flex-shrink: 0;
}
.pd-header-action,
.menu-toggle {
  width: 40px;
  height: 44px;
  flex-shrink: 0;
}
.pd-header-action svg {
  width: 21px;
  height: 21px;
}
.menu-toggle {
  align-items: center;
  justify-content: center;
}
.pd-demo-bar {
  padding: 6px var(--pd-page-gutter);
  font-size: 11px;
  line-height: 1.55;
}
.mobile-nav {
  max-height: calc(100dvh - var(--pd-header-height));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-nav a {
  min-height: 44px;
}

/* Home: remove the inherited 590px minimum that pushed the CTA below laptops. */
.home-hero {
  padding: clamp(28px, 5svh, 48px) 0 32px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 64px);
  min-height: 0;
  align-items: center;
}
.hero-copy {
  padding: 0;
}
.hero-copy .eyebrow {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 1.4px;
  margin-bottom: 18px;
}
.hero-copy h1 {
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.07;
  letter-spacing: -0.052em;
  margin-bottom: 21px;
}
.hero-description {
  font-size: 17px;
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 23px;
}
.hero-actions {
  gap: 12px 18px;
}
.hero-actions .button {
  font-size: 13px;
  min-height: 46px;
  padding: 11px 18px;
  gap: 10px;
}
.hero-actions .button--text {
  padding-inline: 0;
}
.hero-footnote {
  margin-top: 21px;
  font-size: 11px;
  letter-spacing: 0.4px;
}
.hero-art {
  height: clamp(300px, 46svh, 480px);
  aspect-ratio: auto;
  border-radius: 10px 10px 34px 10px;
}
.hero-art > img {
  min-height: 0;
  height: 100%;
  object-fit: cover;
}
.hero-image-caption {
  left: 24px;
  bottom: 23px;
  right: 24px;
}
.hero-image-caption > strong {
  font-size: clamp(19px, 1.8vw, 25px);
}
.hero-selector {
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 8px;
}
.hero-selector > button {
  min-height: 40px;
  font-size: 12px;
}
.hero-selector > button > span {
  font-size: 10px;
}
.hero-demo-label {
  font-size: 9px;
}
.pd-home-strip > .container {
  min-height: 58px;
  flex-wrap: wrap;
  padding-block: 12px;
  gap: 8px 20px;
}

/* Public sections share a consistent content width and rhythm. */
.section,
.pd-section {
  padding-block: clamp(48px, 6vw, 78px);
}
.pd-section-heading {
  margin-bottom: 28px;
}
.pd-section-heading h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
}
.pd-page-intro {
  padding-top: 38px;
  padding-bottom: 26px;
}
.pd-page-intro h1 {
  font-size: clamp(38px, 4.5vw, 62px);
  letter-spacing: -0.045em;
  line-height: 1.12;
  margin: 17px 0 20px;
}
.page-hero {
  padding-top: 26px;
  padding-bottom: 42px;
}
.breadcrumb,
.shop-page .shop-breadcrumb {
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 24px;
  gap: 8px 11px;
}
.split-heading h1,
.services-hero .split-heading h1,
.service-hero-grid h1,
.quote-heading > h1 {
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}
.service-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 5%;
}
.service-hero-grid .lead {
  font-size: 16px;
  line-height: 1.75;
}
.service-hero-image > img {
  height: clamp(270px, 43svh, 420px);
  width: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}
.pd-atelier-hero {
  padding: 38px 0 44px;
}
.pd-atelier-hero > .container {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.pd-atelier-hero h1 {
  font-size: clamp(38px, 4.2vw, 58px);
  letter-spacing: -0.045em;
}
.pd-atelier-photo > img {
  height: clamp(300px, 44svh, 420px);
}
.pd-workshop-feature img {
  height: clamp(280px, 38vw, 390px);
}
.pd-work-dialog {
  max-height: calc(100dvh - 32px);
}
.pd-work-dialog-image {
  min-height: 0;
  height: min(65dvh, 580px);
}
.pd-work-dialog-image > img {
  max-height: 100%;
}
.pd-work-close {
  position: absolute;
}
.pd-service-tile > div {
  height: clamp(200px, 23vw, 280px);
}
.pd-legal {
  width: 100%;
  max-width: 850px;
}
.pd-legal h1 {
  font-size: clamp(30px, 4vw, 42px);
}
.pd-project-cta > .container {
  gap: 7%;
}
.pd-project-cta h2 {
  font-size: clamp(36px, 4.5vw, 58px);
}
.pd-custom-points {
  flex-wrap: wrap;
  gap: 12px 21px;
}
.pd-product-preview-copy > h3,
.pd-direction h3,
.shop-product-info h3 {
  overflow-wrap: break-word;
}
.pd-product-preview-image > img {
  object-fit: contain;
}

/* Service hero: keep the action close to the useful information. */
.pc-service-hero {
  padding: 24px 0 38px;
}
.pc-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
}
.pc-main .pc-hero-copy > h1 {
  font-size: clamp(42px, 4.8vw, 66px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin-bottom: 21px;
}
.pc-hero-copy .eyebrow {
  font-size: 11px;
  margin-bottom: 18px;
}
.pc-main .pc-lead {
  font-size: 16px;
  line-height: 1.75;
}
.pc-hero-copy > .pc-lead {
  margin-bottom: 24px;
}
.pc-hero-points {
  display: flex;
  font-size: 10px;
  margin-top: 23px;
  padding-top: 17px;
}
.pc-garage-art {
  border-radius: 12px 12px 34px 12px;
}
.pc-art-top {
  padding: 20px 23px 0;
}
.pc-garage-art > svg {
  height: clamp(210px, 34svh, 345px);
  margin: 0;
  width: 100%;
}
.pc-art-bottom {
  padding: 0 23px 20px;
}
.pc-booking-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
}
.pc-booking-aside,
.pc-account-sidebar,
.pc-order-layout > .pc-card:last-child {
  top: calc(var(--pd-header-height) + 24px);
}
.pc-booking-aside > h2 {
  font-size: clamp(32px, 3.4vw, 46px);
}
.pc-card {
  padding: clamp(20px, 2.4vw, 30px);
}
.pc-grid,
.pc-service-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pc-main .pc-service-option > span {
  min-width: 0;
}
.pc-account-heading {
  padding: 25px 0 29px;
}
.pc-main .pc-account-heading h1 {
  font-size: clamp(35px, 4vw, 54px);
}
.pc-account-user {
  flex-wrap: wrap;
}
.pc-record,
.pc-keyvalue > *,
.pc-order-item,
.pc-order-item > strong {
  overflow-wrap: anywhere;
}
.pc-record-bottom .pc-text-link {
  min-height: 40px;
}
.pc-account-nav > button,
.pc-account-nav > a {
  min-height: 44px;
}
.pc-slots {
  grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
}
.pc-order-layout > .pc-card:last-child {
  max-height: calc(100dvh - var(--pd-header-height) - 48px);
  overflow-y: auto;
}

/* Shop: product photographs fit the viewport instead of setting the page height. */
.shop-hero {
  padding-block: 24px 32px;
}
.shop-intro {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
}
.shop-intro h1,
.shop-order-hero h1 {
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}
.shop-hero-card {
  min-height: 225px;
}
.shop-product-section {
  padding-block: 23px 48px;
}
.shop-product-layout {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 55px);
}
.shop-product-gallery {
  position: sticky;
  top: calc(var(--pd-header-height) + 24px);
}
.shop-product-main-image {
  height: clamp(270px, 48svh, 440px);
  aspect-ratio: auto;
}
.shop-product-main-image > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  padding: 22px 22px 35px;
}
.shop-product-main-image > span {
  bottom: 13px;
  left: 15px;
}
.shop-product-thumbs {
  flex-wrap: wrap;
}
.shop-product-thumbs > button {
  width: 58px;
  height: 58px;
}
.shop-product-details > .eyebrow {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 10px;
}
.shop-product-details h1 {
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.shop-product-description {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 13px;
}
.shop-product-details > .shop-demo-note {
  margin-bottom: 15px;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.6;
}
.shop-product-pricing {
  margin: 16px 0 18px;
  padding-bottom: 17px;
  gap: 10px 18px;
  flex-wrap: wrap;
}
.shop-product-pricing strong {
  font-size: 29px;
}
.shop-field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.shop-product-form > .shop-field {
  margin-bottom: 16px;
}
.shop-size-table {
  margin-top: 13px;
}
.shop-size-row {
  grid-template-columns: minmax(0, 1fr) 80px 86px;
}
.shop-size-caption {
  margin-bottom: 16px;
}
.shop-personalization {
  margin-block: 18px;
}
.shop-product-actions .button {
  min-height: 48px;
}
.shop-summary {
  top: calc(var(--pd-header-height) + 24px);
}
.shop-product-visual img {
  object-fit: contain;
}
.shop-product-options {
  flex-wrap: wrap;
}
.shop-toolbar {
  flex-wrap: wrap;
}
.shop-search {
  min-width: 180px;
  flex: 1 1 220px;
}
.shop-sort {
  min-width: 140px;
  max-width: 100%;
}
.shop-product-go {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.shop-cart-item-price > strong,
.shop-mini-item > strong {
  white-space: normal;
}
.shop-checkout-account,
.shop-results-heading,
.shop-art-preview {
  flex-wrap: wrap;
}
.shop-checkout-layout > .shop-summary {
  max-height: calc(100dvh - var(--pd-header-height) - 48px);
  overflow-y: auto;
}
.shop-file-label input[type='file'] {
  max-width: 100%;
  width: 100%;
}

/* Simulator and quote forms follow the same page proportions. */
.studio-page,
.quote-page {
  padding-block: 26px 52px;
}
.studio-heading h1 {
  font-size: clamp(36px, 4vw, 56px);
}
.studio-heading > p,
.quote-heading > p {
  font-size: 15px;
}
.custom-studio {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}
.canvas-panel {
  top: calc(var(--pd-header-height) + 16px);
}
.canvas-toolbar {
  flex-wrap: wrap;
  gap: 12px;
}
.canvas-toolbar,
.canvas-footer {
  padding: 18px 22px;
}
.studio-controls {
  padding: 25px;
}
.canvas-panel canvas {
  width: 100%;
  height: auto;
}
.studio-secondary-actions {
  flex-wrap: wrap;
}
.wizard-progress {
  flex-wrap: wrap;
  gap: 12px;
}
.wizard-progress > li {
  white-space: normal;
}

/* Footer wraps long contact details without changing the page width. */
.site-footer {
  padding-top: 46px;
}
.footer-grid {
  gap: 30px;
  padding-bottom: 34px;
}
.footer-grid > div:not(.footer-brand) > a {
  font-size: 13px;
  line-height: 1.65;
}
.footer-grid .footer-contact > a.footer-phone {
  font-size: 22px;
}
.footer-bottom {
  padding-block: 20px;
}
.footer-legal {
  gap: 10px 17px;
}

/* Administration: bounded tables scroll locally; controls and forms stay visible. */
.admin-body .admin-main,
.admin-body #admin-content,
.admin-body .panel,
.admin-body .panel-body,
.admin-body .dashboard-grid > *,
.admin-body .settings-layout > *,
.admin-body .form-grid > *,
.admin-body .order-layout > *,
.admin-body .image-editor > * {
  min-width: 0;
}
.admin-body .admin-topbar {
  height: 66px;
  padding-inline: 28px;
}
.admin-body #admin-content {
  padding: 28px;
  max-width: 1440px;
}
.admin-body .table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.admin-body .table-wrap table {
  min-width: 620px;
}
.admin-body .table-wrap .editable-table {
  min-width: 760px;
}
.admin-body .dialog-head {
  padding: 20px 24px;
  gap: 16px;
}
.admin-body #dialog-body {
  padding: 24px;
}
.admin-body .dialog-head h2 {
  overflow-wrap: anywhere;
}
.admin-body .dialog-head .icon-btn {
  flex-shrink: 0;
}
.admin-body .detail-line strong,
.admin-body .order-item-head strong,
.admin-body .product-cell > div,
.admin-body .mini-item > *,
.admin-body .field small {
  overflow-wrap: anywhere;
  min-width: 0;
}
.admin-body .btn {
  min-height: 42px;
}
.admin-body .row-actions .btn.small {
  min-height: 36px;
}
.admin-body .admin-sidebar {
  overscroll-behavior: contain;
}
.admin-body .calendar-day {
  min-height: 75px;
}
.admin-body .image-editor {
  flex-wrap: wrap;
}
.admin-body .image-editor > div {
  flex: 1 1 160px;
}
.admin-body .inline-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 34px;
}
.admin-body .panel-head {
  flex-wrap: wrap;
}
.admin-body .calendar-head {
  min-width: 0;
}
.admin-body .auth-stage {
  min-height: 100svh;
}

@media (min-width: 1081px) and (max-width: 1220px) {
  .site-header .brand small {
    letter-spacing: 0.6px !important;
  }
  .header-inner {
    gap: 12px;
  }
  .desktop-nav {
    gap: 12px;
  }
  .desktop-nav > a {
    font-size: 11px;
  }
  .pd-header-action {
    width: 36px;
  }
}
@media (max-width: 1080px) {
  :root {
    --pd-header-height: 68px;
  }
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .header-actions {
    margin-left: auto;
  }
  .hero-grid {
    gap: 28px;
  }
  .hero-copy h1 {
    font-size: clamp(42px, 5.5vw, 58px);
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-art {
    height: clamp(285px, 41svh, 390px);
  }
  .hero-footnote {
    font-size: 10px;
  }
  .pc-main .pc-hero-copy > h1 {
    font-size: clamp(38px, 5vw, 53px);
  }
  .pc-hero-grid {
    gap: 28px;
  }
  .pc-garage-art > svg {
    height: clamp(210px, 30svh, 300px);
  }
  .pc-art-top {
    font-size: 9px;
  }
  .pc-art-bottom {
    font-size: 11px;
  }
  .pc-art-bottom strong {
    font-size: 14px;
  }
  .pc-service-cards > article {
    gap: 18px;
    padding-block: 30px;
  }
  .shop-product-layout {
    gap: 26px;
  }
  .shop-product-main-image {
    height: clamp(260px, 43svh, 390px);
  }
  .shop-product-details h1 {
    font-size: 30px;
  }
  .pc-order-layout > .pc-card:last-child {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .pd-service-banner > .container {
    flex-wrap: wrap;
  }
}
@media (max-width: 850px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .hero-copy h1 {
    font-size: clamp(40px, 5.8vw, 50px);
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-art {
    height: 325px;
  }
  .hero-image-caption {
    left: 19px;
    right: 19px;
    bottom: 19px;
  }
  .hero-selector {
    gap: 8px 17px;
  }
  .hero-demo-label {
    display: none;
  }
  .pd-directions,
  .pd-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pd-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pd-gallery-toolbar {
    align-items: stretch;
  }
  .pd-gallery-search {
    min-width: 0;
  }
  .pd-service-banner .button {
    margin-left: 0;
  }
  .pd-atelier-hero > .container,
  .service-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pd-atelier-photo > img,
  .service-hero-image > img {
    height: 330px;
  }
  .pc-booking-layout {
    grid-template-columns: 1fr;
  }
  .pc-booking-aside {
    position: static;
  }
  .pc-hero-points {
    font-size: 9px;
  }
  .pc-service-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pc-account-sidebar {
    position: static;
  }
  .pc-order-layout > .pc-card:last-child {
    max-height: none;
    overflow: visible;
  }
  .pc-auth-layout {
    grid-template-columns: 1fr;
    max-width: 620px;
  }
  .pc-auth-note {
    padding: 28px;
  }
  .pc-auth-note h2 {
    max-width: none;
  }
  .shop-product-layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 23px;
  }
  .shop-product-details h1 {
    font-size: 27px;
  }
  .shop-product-main-image {
    height: 310px;
  }
  .shop-product-main-image > img {
    padding: 15px 15px 34px;
  }
  .shop-product-pricing strong {
    font-size: 26px;
  }
  .shop-size-row {
    grid-template-columns: minmax(0, 1fr) 60px 72px;
    gap: 7px;
    padding-inline: 10px;
  }
  .shop-checkout-layout > .shop-summary {
    grid-row: auto;
    max-height: none;
    overflow: visible;
  }
  .shop-summary {
    position: static;
  }
  .shop-checkout-layout > .shop-summary #checkout-item-list {
    grid-template-columns: 1fr;
  }
  .shop-field-grid {
    grid-template-columns: 1fr;
  }
  .custom-studio {
    display: flex;
    flex-direction: column;
  }
  .canvas-panel {
    position: relative;
    top: auto;
    width: 100%;
  }
  .studio-controls {
    width: 100%;
  }
  .canvas-panel canvas {
    max-height: 460px;
    object-fit: contain;
  }
}
@media (max-width: 700px) {
  :root {
    --pd-page-gutter: 20px;
    --pd-header-height: 64px;
  }
  .topbar .container {
    gap: 10px;
    min-height: 27px;
  }
  .topbar .container > span {
    font-size: 9px;
  }
  .topbar .container > a {
    font-size: 10px;
  }
  .site-header .brand strong {
    font-size: 14px !important;
  }
  .site-header .brand small {
    font-size: 6px !important;
    letter-spacing: 0.7px !important;
  }
  .site-header .brand-dot {
    display: inline-block;
    font-size: 8px;
    letter-spacing: 1px;
    margin: 0 0 0 5px;
  }
  .site-header .official-mark {
    width: 34px !important;
    height: 34px !important;
  }
  .site-header .brand {
    gap: 7px;
  }
  .header-inner {
    gap: 8px;
  }
  .header-actions {
    gap: 0;
  }
  .pd-header-action,
  .menu-toggle {
    width: 36px;
    height: 44px;
  }
  .pd-demo-bar {
    font-size: 10px;
    line-height: 1.5;
    padding-block: 5px;
  }
  .home-hero {
    padding: 28px 0;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .hero-copy h1 {
    font-size: clamp(43px, 8.5vw, 58px);
    margin-bottom: 18px;
    max-width: 570px;
  }
  .hero-copy .eyebrow {
    font-size: 10px;
    margin-bottom: 16px;
  }
  .hero-description {
    font-size: 16px;
    line-height: 1.65;
    max-width: 490px;
    margin-bottom: 21px;
  }
  .hero-actions {
    gap: 11px 17px;
  }
  .hero-actions .button {
    font-size: 13px;
    min-height: 46px;
    padding-inline: 16px;
  }
  .hero-actions .button--text {
    padding-inline: 0;
  }
  .hero-footnote {
    display: flex;
    flex-wrap: wrap;
    font-size: 10px;
    margin-top: 15px;
  }
  .hero-art {
    height: clamp(260px, 55vw, 365px);
  }
  .hero-selector > button {
    font-size: 12px;
    min-height: 44px;
  }
  .pc-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pc-main .pc-hero-copy > h1 {
    font-size: clamp(39px, 8.5vw, 55px);
  }
  .pc-hero-copy .eyebrow {
    font-size: 10px;
  }
  .pc-hero-points {
    font-size: 10px;
    margin-top: 19px;
    padding-top: 15px;
  }
  .pc-garage-art {
    max-width: 530px;
    width: 100%;
    margin-inline: auto;
  }
  .pc-garage-art > svg {
    height: clamp(215px, 48vw, 310px);
  }
  .pc-main .pc-actions .button {
    min-height: 46px;
    font-size: 13px;
  }
  .pc-service-end > .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 19px;
  }
  .pc-service-end h2 {
    font-size: 28px;
  }
  .shop-product-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .shop-product-gallery {
    position: static;
  }
  .shop-product-main-image {
    height: clamp(225px, 49vw, 340px);
  }
  .shop-product-main-image > img {
    padding: 16px 16px 34px;
  }
  .shop-product-thumbs > button {
    width: 52px;
    height: 52px;
  }
  .shop-product-details h1 {
    font-size: clamp(27px, 6vw, 34px);
  }
  .shop-product-details > .eyebrow {
    font-size: 10px;
  }
  .shop-product-pricing strong {
    font-size: 29px;
  }
  .shop-size-row {
    grid-template-columns: minmax(0, 1fr) 75px 85px;
    gap: 9px;
    padding: 11px 12px;
  }
  .shop-intro {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .shop-intro h1 {
    font-size: clamp(40px, 8.5vw, 54px);
  }
  .shop-hero-card {
    min-height: 205px;
  }
  .shop-cart-item {
    min-width: 0;
  }
  .pc-main .pc-account-heading h1 {
    font-size: 38px;
  }
  .pc-order-item {
    flex-wrap: wrap;
  }
  .pc-order-item > strong {
    margin-left: auto;
  }
  .pd-service-tiles {
    grid-template-columns: 1fr;
  }
  .pd-tech-grid {
    grid-template-columns: 1fr;
  }
  .pd-tech-card:first-child {
    grid-column: auto;
  }
  .pd-custom-grid {
    grid-template-columns: 1fr;
  }
  .pd-custom-art {
    max-width: 470px;
  }
  .pd-custom-copy h2,
  .pd-workshop-feature h2 {
    font-size: clamp(31px, 7vw, 42px);
  }
  .pd-workshop-feature > .container {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pd-home-works {
    grid-template-columns: 1fr;
  }
  .pd-project-cta > .container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .pd-project-cta h2 {
    font-size: 42px;
  }
  .pd-work-dialog[open] {
    grid-template-columns: 1fr;
  }
  .pd-work-dialog-image {
    height: 42dvh;
    min-height: 200px;
  }
  .pd-work-dialog-copy {
    padding: 26px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 22px;
  }
  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
  .footer-grid .footer-contact {
    display: block;
  }
  .footer-grid > div:not(.footer-brand) > a {
    font-size: 13px;
  }
  .footer-bottom {
    align-items: flex-start;
  }
  .pd-inline-actions .button {
    flex: 1 1 150px;
  }
  .admin-body #admin-content {
    padding: 22px 18px;
  }
  .admin-body .admin-topbar {
    padding-inline: 18px;
  }
  .admin-body .dialog-head {
    padding: 17px 18px;
  }
  .admin-body #dialog-body {
    padding: 19px 18px;
  }
  .admin-body .dialog-head h2 {
    font-size: 21px;
  }
  .admin-body .row-actions .btn.small {
    min-height: 40px;
  }
  .admin-body .btn {
    min-height: 44px;
  }
  .admin-body .calendar-grid {
    overflow-x: auto;
    grid-template-columns: repeat(7, minmax(48px, 1fr));
    padding-bottom: 5px;
  }
  .admin-body .auth-stage {
    padding: 20px;
  }
  .admin-body .admin-footer {
    flex-wrap: wrap;
  }
}
@media (max-width: 480px) {
  :root {
    --pd-page-gutter: 16px;
  }
  .site-header .brand-dot {
    display: block;
    margin: 3px 0 0;
    font-size: 8px;
    letter-spacing: 2px;
  }
  .site-header .brand small {
    display: none;
  }
  .site-header .brand strong {
    font-size: 13px !important;
  }
  .header-inner {
    gap: 5px;
  }
  .pd-header-action,
  .menu-toggle {
    width: 36px;
  }
  .topbar .container {
    flex-wrap: wrap;
    gap: 3px 12px;
  }
  .topbar .container > a {
    margin-left: auto;
  }
  .hero-copy h1 {
    font-size: clamp(40px, 10.6vw, 50px);
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-art {
    height: clamp(240px, 62vw, 295px);
  }
  .hero-image-caption > strong {
    font-size: 20px;
  }
  .hero-image-caption > span {
    font-size: 10px;
  }
  .hero-actions .button {
    font-size: 12px;
    padding-inline: 15px;
  }
  .hero-actions .button--text {
    padding-inline: 0;
  }
  .hero-selector {
    gap: 6px 18px;
  }
  .pd-home-strip > .container {
    font-size: 12px;
    align-items: flex-start;
  }
  .pd-home-strip > .container > a {
    font-size: 11px;
    max-width: none;
  }
  .pd-home-strip strong {
    display: inline;
  }
  .pd-direction h3 {
    font-size: 16px;
  }
  .pd-direction p {
    font-size: 12px;
    line-height: 1.65;
  }
  .pd-product-preview-copy > h3 {
    font-size: 15px;
  }
  .pd-gallery-grid {
    grid-template-columns: 1fr;
  }
  .pd-service-banner > .container {
    gap: 18px;
  }
  .pd-service-banner .button {
    flex: 1 1 100%;
    margin: 0;
  }
  .pd-mini-cta .button {
    width: 100%;
    justify-content: center;
  }
  .pd-page-intro h1,
  .pd-atelier-hero h1,
  .service-hero-grid h1,
  .split-heading h1,
  .quote-heading > h1 {
    font-size: clamp(34px, 9vw, 42px);
  }
  .pd-atelier-photo > img,
  .service-hero-image > img {
    height: 270px;
  }
  .pc-service-cards {
    grid-template-columns: 1fr;
  }
  .pc-service-cards > article,
  .pc-service-cards > article + article {
    padding: 26px 0;
    display: flex;
    border-left: 0;
  }
  .pc-service-cards > article + article {
    border-top: 1px solid #dce4ea;
  }
  .pc-booking-aside {
    display: block;
  }
  .pc-booking-aside > h2 {
    font-size: 35px;
  }
  .pc-booking-aside > .pc-help-box {
    margin-top: 22px;
  }
  .pc-grid,
  .pc-service-options {
    grid-template-columns: 1fr;
  }
  .pc-grid .pc-full {
    grid-column: auto;
  }
  .pc-main .pc-service-option {
    font-size: 14px;
    padding: 13px;
  }
  .pc-service-option small {
    font-size: 12px;
  }
  .pc-main .pc-service-option input {
    margin-top: 2px;
  }
  .pc-main input:not([type='checkbox']):not([type='radio']),
  .pc-main select,
  .pc-main textarea,
  .shop-page
    input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='file']),
  .shop-page select,
  .shop-page textarea,
  .admin-body input:not([type='checkbox']):not([type='radio']):not([type='file']),
  .admin-body select,
  .admin-body textarea {
    font-size: 16px;
  }
  .pc-keyvalue {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pc-keyvalue .pc-full {
    grid-column: auto;
  }
  .pc-manage-heading,
  .pc-panel-heading {
    flex-wrap: wrap;
  }
  .pc-auth-tabs {
    gap: 19px;
  }
  .pc-auth-tab {
    font-size: 15px;
  }
  .pc-account-user small {
    flex: 1 1 100%;
    max-width: none;
    margin-left: 0;
  }
  .pc-record {
    padding: 18px;
  }
  .shop-product-main-image {
    height: 235px;
  }
  .shop-product-description {
    font-size: 14px;
  }
  .shop-size-row {
    grid-template-columns: minmax(0, 1fr) 63px 75px;
    gap: 7px;
    padding-inline: 10px;
  }
  .shop-stock {
    font-size: 11px;
  }
  .shop-product-actions {
    align-items: stretch;
  }
  .shop-product-actions > .button {
    flex-basis: 100%;
  }
  .shop-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .shop-toolbar .shop-search {
    grid-column: 1 / -1;
    min-width: 0;
  }
  .shop-toolbar .shop-sort {
    min-width: 0;
  }
  .shop-product-info h3 {
    font-size: 14px;
    min-height: 0;
  }
  .shop-product-bottom {
    flex-wrap: wrap;
  }
  .shop-product-price {
    font-size: 17px;
  }
  .shop-cart-item-price {
    flex-wrap: wrap;
  }
  .shop-cart-item p,
  .shop-small-note {
    font-size: 12px;
  }
  .shop-checkout-consents .shop-check {
    font-size: 13px;
    line-height: 1.7;
  }
  .shop-form-panel {
    padding: 20px 17px;
  }
  .shop-summary {
    padding: 20px;
  }
  .shop-summary-line {
    font-size: 13px;
  }
  .shop-panel-heading h2 {
    font-size: 19px;
  }
  .shop-success dl {
    grid-template-columns: 1fr;
  }
  .shop-success dd {
    text-align: left;
    margin-bottom: 7px;
  }
  .studio-heading h1 {
    font-size: 38px;
  }
  .studio-controls {
    padding: 22px 18px;
  }
  .canvas-toolbar,
  .canvas-footer {
    padding: 16px;
  }
  .canvas-panel canvas {
    max-height: 350px;
  }
  .wizard-progress {
    padding: 17px 14px;
    gap: 12px 8px;
  }
  .wizard-progress > li {
    flex: 1 1 40%;
    font-size: 12px;
  }
  .pd-work-dialog {
    width: calc(100% - 20px);
  }
  .pd-work-dialog-copy {
    padding: 23px;
  }
  .pd-work-dialog-copy > h2 {
    font-size: 26px;
  }
  .admin-body .form-grid,
  .admin-body .form-grid.three {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-body .form-grid .full {
    grid-column: auto;
  }
  .admin-body #admin-content {
    padding-inline: 14px;
  }
  .admin-body .admin-topbar {
    padding-inline: 14px;
  }
  .admin-body .admin-sidebar {
    width: min(280px, calc(100vw - 46px));
  }
  .admin-body .calendar-head input {
    flex: 1 1 140px;
    max-width: 100%;
  }
  .admin-body .detail-line {
    flex-wrap: wrap;
    gap: 5px 14px;
  }
  .admin-body .detail-line strong {
    text-align: left;
  }
  .admin-body .inline-row {
    grid-template-columns: minmax(0, 1fr) 34px;
  }
  .admin-body .inline-row > :first-child {
    grid-column: 1 / -1;
  }
  .admin-body .toolbar select {
    min-width: 0;
  }
  .admin-body .calendar-day {
    min-height: 68px;
  }
  .admin-body .auth-card {
    padding: 27px 22px;
  }
}
/* A short/landscape viewport must not be filled by sticky decoration. */
@media (min-width: 701px) and (max-height: 760px) {
  .home-hero {
    padding-block: 24px;
  }
  .hero-copy h1 {
    font-size: clamp(43px, 4.6vw, 62px);
    margin-bottom: 17px;
  }
  .hero-copy .eyebrow {
    margin-bottom: 14px;
  }
  .hero-description {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 19px;
  }
  .hero-footnote {
    margin-top: 14px;
  }
  .hero-art {
    height: clamp(270px, 43svh, 355px);
  }
  .pc-service-hero {
    padding-block: 20px 30px;
  }
  .pc-main .pc-hero-copy > h1 {
    font-size: clamp(39px, 4.4vw, 57px);
    margin-bottom: 17px;
  }
  .pc-garage-art > svg {
    height: clamp(190px, 32svh, 260px);
  }
  .pc-hero-points {
    margin-top: 16px;
    padding-top: 12px;
  }
  .shop-product-main-image {
    height: clamp(250px, 45svh, 345px);
  }
  .pd-atelier-photo > img,
  .service-hero-image > img {
    height: 320px;
  }
}
@media (max-height: 540px) {
  .site-header {
    position: relative;
  }
  .shop-product-gallery,
  .shop-summary,
  .pc-booking-aside,
  .pc-account-sidebar,
  .pc-order-layout > .pc-card:last-child,
  .canvas-panel {
    position: static;
  }
  .shop-checkout-layout > .shop-summary,
  .pc-order-layout > .pc-card:last-child {
    max-height: none;
    overflow: visible;
  }
  .admin-body .admin-topbar {
    position: relative;
  }
  .admin-body dialog {
    max-height: calc(100dvh - 16px);
  }
  .admin-body .dialog-head {
    position: static;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

/* Product personalization palette and contact inbox controls. */
.admin-body .color-palette-row {
  grid-template-columns: minmax(0, 1fr) 120px 48px 40px;
  gap: 10px;
  padding-block: 5px;
}
.admin-body .color-palette-row > :first-child {
  grid-column: auto;
}
.admin-body .color-palette-row input[type='color'] {
  width: 48px;
  height: 44px;
  min-width: 0;
  padding: 4px;
  cursor: pointer;
}
.admin-body .color-palette-row > button {
  min-width: 0;
  padding-inline: 8px;
}
.admin-body #color-palette-editor .form-help {
  margin-block: 17px 12px;
}
.admin-body #color-label-wrap > .field {
  height: 100%;
}
.admin-body #color-free-help {
  margin-top: 18px;
}
.admin-body #contact-table td {
  max-width: 260px;
  overflow-wrap: anywhere;
}
.admin-body #contact-table .contact-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-width: 280px;
  white-space: normal;
}
.admin-body #contact-pagination {
  gap: 12px;
  justify-content: flex-end;
}
.admin-body #contact-pagination .result-text {
  margin: 0;
  width: auto;
}
.admin-body #manual-order-lines td:first-child {
  min-width: 260px;
}
.admin-body #manual-order-lines [data-manual='product'] {
  margin-top: 10px;
}
.admin-body .manual-color-fields {
  margin-top: 14px;
}
.admin-body .manual-color-fields label {
  display: block;
  font-size: 12px;
  margin-bottom: 7px;
}
.admin-body .manual-color-fields input[type='color'] {
  width: 48px;
  height: 44px;
  padding: 4px;
}
@media (max-width: 520px) {
  .admin-body .color-palette-row {
    grid-template-columns: minmax(0, 1fr) 48px 40px;
    gap: 9px;
  }
  .admin-body .color-palette-row > :first-child {
    grid-column: 1 / -1;
  }
  .admin-body .color-palette-row > input[data-palette='hex'] {
    grid-column: 1;
  }
  .admin-body #contact-pagination {
    justify-content: space-between;
  }
  .admin-body #contact-pagination .result-text {
    font-size: 10px;
  }
}
