/* Protecta V17 — page-local presentation styles.
 * Services, portfolio and workshop only; the approved homepage is unchanged.
 * Content grows naturally at text zoom and on narrow screens.
 */
body.pd-v17-public .v17-public-main {
  --v17-line: #dce5ec;
  --v17-muted: #5c7182;
  --v17-ink: #15334c;
  --v17-soft: #f3f6f8;
  padding-bottom: 36px;
  color: var(--v17-ink);
}
body.pd-v17-public .v17-public-main :is(h1, h2, h3, p, figure) {
  margin: 0;
}
body.pd-v17-public .v17-public-main :is(a, button, summary):focus-visible {
  outline: 3px solid #e96d22;
  outline-offset: 4px;
}
body.pd-v17-public .v17-public-main .breadcrumb {
  margin: 0 0 22px;
  font-size: 14px;
  gap: 10px;
  flex-wrap: wrap;
}
body.pd-v17-public .v17-page-top {
  padding-block: 22px 24px;
}
body.pd-v17-public .v17-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
body.pd-v17-public .v17-intro > div {
  min-width: 0;
  max-width: 720px;
}
body.pd-v17-public .v17-public-main .v17-eyebrow {
  margin-bottom: 9px;
  color: #aa4616;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.1em;
}
body.pd-v17-public .v17-public-main h1 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  text-wrap: balance;
}
body.pd-v17-public .v17-intro p:not(.v17-eyebrow),
body.pd-v17-public .v17-workshop-intro p:not(.v17-eyebrow) {
  font-size: 16px;
  line-height: 1.65;
  color: var(--v17-muted);
}
body.pd-v17-public .v17-public-main .button {
  min-height: 46px;
  padding: 12px 18px;
  font-size: 14px;
  line-height: 1.45;
  white-space: normal;
  gap: 12px;
}
body.pd-v17-public .v17-intro > .button {
  flex-shrink: 0;
}
body.pd-v17-public .v17-service-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
body.pd-v17-public .v17-service-group {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--v17-line);
  border-radius: 16px;
  background: #fff;
}
body.pd-v17-public .v17-service-cover {
  display: block;
  overflow: hidden;
  background: var(--v17-soft);
}
body.pd-v17-public .v17-service-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.05;
  object-fit: cover;
  object-position: center;
  transition: transform 180ms ease;
}
body.pd-v17-public .v17-service-group:hover .v17-service-cover img {
  transform: scale(1.025);
}
body.pd-v17-public .v17-service-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}
body.pd-v17-public .v17-service-copy h2 {
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
body.pd-v17-public .v17-service-copy > p:not(.v17-eyebrow) {
  color: var(--v17-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}
body.pd-v17-public .v17-card-links {
  margin-top: auto;
  display: grid;
  border-top: 1px solid var(--v17-line);
  padding-top: 8px;
}
body.pd-v17-public :is(.v17-card-links a, .v17-text-link) {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 650;
  text-decoration: none;
}
body.pd-v17-public :is(.v17-card-links a, .v17-text-link):hover {
  color: #aa4616;
  text-decoration: underline;
  text-underline-offset: 4px;
}
body.pd-v17-public .v17-studio-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--v17-soft);
  border: 1px solid var(--v17-line);
}
body.pd-v17-public .v17-studio-symbol {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
  color: #b34913;
}
body.pd-v17-public .v17-studio-symbol svg {
  width: 32px;
  height: 32px;
}
body.pd-v17-public .v17-studio-banner > div:nth-child(2) {
  flex: 1;
}
body.pd-v17-public :is(.v17-studio-banner, .v17-workshop-finish) h2 {
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
body.pd-v17-public :is(.v17-studio-banner, .v17-workshop-finish) p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--v17-muted);
  max-width: 68ch;
}
body.pd-v17-public .v17-studio-banner .button {
  flex-shrink: 0;
  background: #fff;
}
body.pd-v17-public .v17-service-extras {
  margin-top: 22px;
}
body.pd-v17-public .v17-resource-details {
  border-top: 1px solid var(--v17-line);
  border-bottom: 1px solid var(--v17-line);
}
body.pd-v17-public .v17-resource-details > summary,
body.pd-v17-public .v17-tool-details > summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding-block: 10px;
  list-style: none;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 650;
}
body.pd-v17-public :is(.v17-resource-details, .v17-tool-details) > summary::-webkit-details-marker {
  display: none;
}
body.pd-v17-public :is(.v17-resource-details, .v17-tool-details) > summary > span {
  flex: 0 0 20px;
  font-size: 19px;
  text-align: center;
}
body.pd-v17-public :is(.v17-resource-details, .v17-tool-details)[open] > summary > span {
  transform: rotate(45deg);
}
body.pd-v17-public .v17-resource-body {
  padding-bottom: 16px;
}
body.pd-v17-public .v17-resource-body > p {
  color: var(--v17-muted);
  font-size: 14px;
  line-height: 1.6;
}
body.pd-v17-public .v17-resource-body > p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.pd-v17-public .v17-related-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  min-height: 48px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--v17-muted);
  padding-top: 10px;
}
body.pd-v17-public .v17-related-link strong {
  color: var(--v17-ink);
}
/* Published admin-managed guides and examples stay available on demand. */
body.pd-v17-public .v17-resource-body .content-v8-related {
  padding: 20px 0 0;
  background: transparent;
  border: 0;
}
body.pd-v17-public .v17-resource-body .content-v8-related > .container {
  width: 100%;
  padding: 0;
}
body.pd-v17-public .v17-resource-body .content-v8-heading {
  margin-bottom: 14px;
}
body.pd-v17-public .v17-resource-body .content-v8-heading h2 {
  font-size: 22px;
}
body.pd-v17-public .v17-resource-body .content-v8-heading > p,
body.pd-v17-public .v17-resource-body .content-v8-eyebrow {
  display: none;
}
body.pd-v17-public .v17-resource-body .content-v8-group + .content-v8-group {
  margin-top: 20px;
}
body.pd-v17-public .v17-resource-body .content-v8-project-image {
  aspect-ratio: 2;
}
body.pd-v17-public .v17-resource-body :is(.content-v8-project-copy, .content-v8-guide-card > div) {
  padding: 16px;
}
body.pd-v17-public .v17-resource-body :is(.content-v8-project-copy, .content-v8-guide-card) h3 {
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 8px;
}
body.pd-v17-public .v17-resource-body :is(.content-v8-project-copy, .content-v8-guide-card) p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}
/* Gallery: the first row of albums appears directly below a compact toolbar. */
body.pd-v17-public .v17-gallery .pd-gallery-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 0 14px;
  margin: 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--v17-line);
  border-radius: 0;
}
body.pd-v17-public .v17-gallery .pd-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  gap: 8px;
  overflow: visible;
}
body.pd-v17-public .v17-gallery .pd-filter-buttons > button {
  min-height: 44px;
  padding: 9px 14px;
  font-size: 14px;
  line-height: 1.5;
  white-space: normal;
  border-radius: 9px;
}
body.pd-v17-public .v17-gallery .pd-gallery-search {
  width: 260px;
  max-width: 100%;
  margin: 0;
  flex: 0 1 260px;
}
body.pd-v17-public .v17-gallery .pd-gallery-search > input {
  width: 100%;
  min-height: 44px;
  height: 44px;
  margin: 0;
  padding: 10px 13px;
  font-size: 16px;
  line-height: 1.4;
  border: 1px solid var(--v17-line);
  border-radius: 9px;
  background: #fff;
}
body.pd-v17-public .v17-gallery .pd-gallery-count {
  margin: 14px 0;
  font-size: 13px;
  line-height: 1.5;
}
body.pd-v17-public .v17-gallery .pd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
body.pd-v17-public .v17-gallery .pd-gallery-card {
  padding: 0 0 16px;
  background: #fff;
  border: 1px solid var(--v17-line);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}
body.pd-v17-public .v17-gallery .pd-gallery-card:hover {
  transform: none;
  border-color: #91a7b9;
  box-shadow: 0 6px 20px #15334c0c;
}
body.pd-v17-public .v17-gallery .pd-gallery-card > div {
  aspect-ratio: 1.65;
  border-radius: 0;
  margin: 0;
}
body.pd-v17-public .v17-gallery .pd-gallery-card > div > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.pd-v17-public .v17-gallery .pd-gallery-card > div > span {
  font-size: 12px;
  line-height: 1.5;
  padding: 6px 10px;
}
body.pd-v17-public .v17-gallery .pd-gallery-card > small {
  display: block;
  padding: 0 16px;
  margin: 14px 0 6px;
  font-size: 12px;
  line-height: 1.5;
}
body.pd-v17-public .v17-gallery .pd-gallery-card > h2 {
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  padding: 0 16px;
  margin: 0;
}
body.pd-v17-public .v17-portfolio .pd-work-dialog {
  max-width: min(1120px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
body.pd-v17-public .v17-portfolio .pd-work-dialog-image {
  min-width: 0;
  min-height: 300px;
}
body.pd-v17-public .v17-portfolio .pd-work-dialog-copy {
  min-width: 0;
  padding: 32px 24px;
}
body.pd-v17-public .v17-portfolio .pd-work-dialog-copy > h2 {
  margin: 8px 0 14px;
  font-size: 28px;
}
body.pd-v17-public .v17-portfolio .pd-work-dialog-copy > p:not(.pd-eyebrow) {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 18px;
}
/* Workshop: one representative photograph and four consistent technology cards. */
body.pd-v17-public .v17-workshop-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
}
body.pd-v17-public .v17-workshop-intro h1 {
  max-width: 16ch;
}
body.pd-v17-public .v17-workshop-intro .v17-workshop-facts {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 15px;
  color: #aa4616;
}
body.pd-v17-public .v17-workshop-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--v17-soft);
}
body.pd-v17-public .v17-workshop-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  aspect-ratio: 1.9;
  object-fit: cover;
}
body.pd-v17-public .v17-workshop-photo figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: #ffffffed;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.5;
  padding: 7px 10px;
}
body.pd-v17-public .v17-technology {
  padding-top: 12px;
}
body.pd-v17-public .v17-section-heading {
  margin-bottom: 20px;
}
body.pd-v17-public .v17-section-heading h2 {
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}
body.pd-v17-public .v17-section-heading p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--v17-muted);
}
body.pd-v17-public .v17-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
body.pd-v17-public .v17-tool-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: start;
  padding: 18px;
  gap: 18px;
  border: 1px solid var(--v17-line);
  border-radius: 14px;
  background: #fff;
}
body.pd-v17-public .v17-tool-card > img {
  display: block;
  width: 128px;
  height: 128px;
  border-radius: 10px;
  object-fit: cover;
}
body.pd-v17-public .v17-tool-card h3 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
body.pd-v17-public .v17-tool-card p:not(.v17-eyebrow) {
  color: var(--v17-muted);
  font-size: 14px;
  line-height: 1.6;
}
body.pd-v17-public .v17-tool-details {
  border-top: 1px solid var(--v17-line);
  margin-top: 12px;
}
body.pd-v17-public .v17-tool-details > summary {
  min-height: 44px;
  font-size: 13px;
}
body.pd-v17-public .v17-tool-details > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 12px;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.pd-v17-public .v17-workshop-finish {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding: 22px 24px;
  border-radius: 14px;
  border: 1px solid var(--v17-line);
  background: var(--v17-soft);
}
body.pd-v17-public .v17-workshop-finish > .button {
  flex-shrink: 0;
}
@media (max-width: 1050px) {
  body.pd-v17-public .v17-service-groups {
    gap: 14px;
  }
  body.pd-v17-public .v17-service-copy {
    padding: 16px;
  }
  body.pd-v17-public .v17-service-copy h2 {
    font-size: 21px;
  }
  body.pd-v17-public .v17-studio-banner {
    flex-wrap: wrap;
  }
  body.pd-v17-public .v17-studio-banner > .button {
    margin-left: 72px;
  }
  body.pd-v17-public .v17-tool-card {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }
  body.pd-v17-public .v17-tool-card > img {
    width: 86px;
    height: 100px;
  }
  body.pd-v17-public .v17-gallery .pd-gallery-toolbar {
    align-items: stretch;
  }
  body.pd-v17-public .v17-gallery .pd-gallery-search {
    flex-basis: 220px;
  }
  body.pd-v17-public .v17-gallery .pd-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (max-width: 760px) {
  body.pd-v17-public .v17-page-top {
    padding-block: 20px;
  }
  body.pd-v17-public .v17-public-main .breadcrumb {
    margin-bottom: 18px;
  }
  body.pd-v17-public .v17-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  body.pd-v17-public .v17-service-groups {
    grid-template-columns: 1fr;
  }
  body.pd-v17-public .v17-service-group {
    display: grid;
    grid-template-columns: minmax(130px, 0.75fr) minmax(0, 1.25fr);
  }
  body.pd-v17-public .v17-service-cover img {
    height: 100%;
    aspect-ratio: auto;
  }
  body.pd-v17-public .v17-studio-banner {
    padding: 18px;
    gap: 14px;
  }
  body.pd-v17-public .v17-studio-symbol {
    display: none;
  }
  body.pd-v17-public .v17-studio-banner > div:nth-child(2) {
    flex-basis: 100%;
  }
  body.pd-v17-public .v17-studio-banner > .button {
    margin-left: 0;
  }
  body.pd-v17-public .v17-workshop-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  body.pd-v17-public .v17-workshop-intro h1 {
    max-width: 22ch;
  }
  body.pd-v17-public .v17-workshop-photo img {
    max-height: 270px;
  }
  body.pd-v17-public .v17-tools-grid {
    grid-template-columns: 1fr;
  }
  body.pd-v17-public .v17-tool-card {
    grid-template-columns: 110px minmax(0, 1fr);
  }
  body.pd-v17-public .v17-tool-card > img {
    width: 110px;
    height: 120px;
  }
  body.pd-v17-public .v17-workshop-finish {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }
  body.pd-v17-public .v17-gallery .pd-gallery-toolbar {
    flex-direction: column;
  }
  body.pd-v17-public .v17-gallery .pd-gallery-search {
    width: 100%;
    flex-basis: auto;
  }
  body.pd-v17-public .v17-gallery .pd-gallery-card > h2 {
    font-size: 19px;
  }
}
@media (max-width: 480px) {
  body.pd-v17-public .v17-service-group {
    display: flex;
  }
  body.pd-v17-public .v17-service-cover img {
    height: auto;
    aspect-ratio: 2.1;
  }
  body.pd-v17-public .v17-service-copy {
    padding: 18px;
  }
  body.pd-v17-public .v17-public-main .button {
    width: 100%;
    justify-content: center;
  }
  body.pd-v17-public .v17-gallery .pd-gallery-grid {
    grid-template-columns: 1fr;
  }
  body.pd-v17-public .v17-gallery .pd-gallery-card > div {
    aspect-ratio: 1.8;
  }
  body.pd-v17-public .v17-gallery .pd-filter-buttons > button {
    padding-inline: 12px;
    font-size: 13px;
  }
  body.pd-v17-public .v17-tool-card {
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 14px;
    gap: 12px;
  }
  body.pd-v17-public .v17-tool-card > img {
    width: 72px;
    height: 90px;
  }
  body.pd-v17-public .v17-tool-card h3 {
    font-size: 19px;
  }
  body.pd-v17-public .v17-tool-card .v17-eyebrow {
    font-size: 10px;
  }
  body.pd-v17-public .v17-portfolio .pd-work-dialog[open] {
    display: block;
  }
  body.pd-v17-public .v17-portfolio .pd-work-dialog-image {
    min-height: 0;
    height: 260px;
  }
  body.pd-v17-public .v17-portfolio .pd-work-dialog-copy {
    padding: 20px;
  }
  body.pd-v17-public .v17-portfolio .pd-work-dialog-copy > h2 {
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.pd-v17-public .v17-public-main * {
    transition: none;
    scroll-behavior: auto;
  }
}
