/* Cross-theme UX polish. The seven-design concept remains intentional. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.design-story {
  display: grid;
  grid-template-columns: minmax(140px,.35fr) minmax(0,1fr) auto;
  align-items: center;
  gap: clamp(20px,4vw,64px);
  padding-block: 24px;
  border-block: 1px solid var(--border);
}
.design-story p { margin: 0; max-width: 72ch; color: #59645e; font-size: 14px; line-height: 1.7; }
.design-story a { border-bottom: 1px solid currentColor; padding-bottom: 5px; font-size: 12px; font-weight: 800; white-space: nowrap; }

.contact-steps { display: grid; gap: 0; max-width: 430px; margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.contact-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--border); color: #59645e; font-size: 13px; line-height: 1.55; }
.contact-steps span { color: #7a867c; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
html:is([data-design="1"],[data-design="6"]) .contact-steps { max-width:none; grid-template-columns:repeat(3,minmax(0,1fr)); border-block:1px solid var(--border); }
html:is([data-design="1"],[data-design="6"]) .contact-steps li { grid-template-columns:1fr; align-content:start; gap:8px; padding:14px 14px 14px 0; border:0; border-right:1px solid var(--border); }
html:is([data-design="1"],[data-design="6"]) .contact-steps li+li { padding-left:14px; }
html:is([data-design="1"],[data-design="6"]) .contact-steps li:last-child { border-right:0; padding-right:0; }

.work-process { padding: clamp(76px,9vw,130px) 0; background: var(--gray); }
.work-process__head { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 8%; margin: 20px 0 55px; }
.work-process__head h2 { margin: 0; font-size: clamp(42px,5vw,74px); line-height: 1.1; letter-spacing: -.065em; }
.work-process__head p { max-width: 500px; margin: 0; color: #5e6a62; font-size: 14px; line-height: 1.8; }
.work-process__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0 0 42px; padding: 0; list-style: none; border-block: 1px solid #c9cec7; }
.work-process__grid li { min-width: 0; padding: 25px 22px 30px; border-right: 1px solid #c9cec7; }
.work-process__grid li:last-child { border-right: 0; }
.work-process__grid span { font-size: 10px; font-weight: 800; letter-spacing: .12em; color: #718076; }
.work-process__grid h3 { margin: 32px 0 12px; font-size: clamp(20px,2vw,29px); line-height: 1.2; letter-spacing: -.04em; }
.work-process__grid p { margin: 0; color: #606c64; font-size: 13px; line-height: 1.7; }

.form-errors:focus { outline: 3px solid #a53929; outline-offset: 4px; }
.demo-marker, .demo-notice { text-wrap: balance; }
.catalog-preview { padding-top: clamp(60px, 8vw, 110px); }
.catalog-preview__grid { align-items: start; }
.demo-direct-link { display: inline-flex; margin-top: 16px; color: inherit; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }
.demo-direct-link:hover { opacity: .65; }

@media (max-width: 1100px) {
}

@media (max-width: 820px) {
  .design-story { grid-template-columns: 1fr; gap: 10px; }
  .design-story a { justify-self: start; white-space: normal; }
  .work-process__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .work-process__grid li:nth-child(2) { border-right: 0; }
  .work-process__grid li:nth-child(-n+2) { border-bottom: 1px solid #c9cec7; }
}

@media (max-width: 620px) {
  .design-rail__caption { display: none; }
  .design-story { padding-block: 20px; }
  .design-story p { font-size: 15px; line-height: 1.6; }
  .contact-steps { margin-top: 24px; }
  .contact-steps li { font-size: 14px; }
  html:is([data-design="1"],[data-design="6"]) .contact-steps { grid-template-columns:1fr; }
  html:is([data-design="1"],[data-design="6"]) .contact-steps li,
  html:is([data-design="1"],[data-design="6"]) .contact-steps li+li { grid-template-columns:34px 1fr; padding:13px 0; border:0; border-bottom:1px solid var(--border); }
  html:is([data-design="1"],[data-design="6"]) .contact-steps li:last-child { border-bottom:0; }
  .form-field input, .form-field textarea, .form-field select { font-size: 16px; min-height: 44px; }
  .consent-field label { font-size: 12px; }
  .work-process__head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; }
  .work-process__head h2 { font-size: clamp(36px,10vw,49px); }
  .work-process__head p { font-size: 15px; line-height: 1.65; }
  .work-process__grid { grid-template-columns: 1fr; }
  .work-process__grid li, .work-process__grid li:nth-child(2) { padding: 22px 0; border-right: 0; border-bottom: 1px solid #c9cec7; }
  .work-process__grid li:last-child { border-bottom: 0; }
  .work-process__grid h3 { margin-top: 12px; }
  .work-process__grid p { font-size: 14px; }
  .pill-button, .inline-arrow, .text-link { font-size: 12px; }
  .lightbox-caption { white-space: normal; line-height: 1.3; }
}

@media (forced-colors: active) {
  :focus-visible { outline: 3px solid CanvasText !important; }
  [aria-pressed="true"], [aria-current="page"] { border: 2px solid CanvasText !important; }
  .status-dot, .accent-mark { forced-color-adjust: none; }
}

/* Final production audit corrections. */
html:is([data-design="3"],[data-design="7"]) { color-scheme: dark; }
html[data-design] :is(.legal-page h1,.case-header h1,.catalog-head h1,.page-hero h1,.contact-intro h1,.service-row h2,.d6-inspector > h2,.d6-catalog-entry strong,.d7-scene-info h3) {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}
html[data-design="7"] .d7-opening-title h1 {
  max-width: 24ch;
  font-size: clamp(64px,9vw,126px);
  line-height: .98;
}
.form-unavailable,.empty-profile { padding: 24px; border: 1px solid var(--border); background: color-mix(in srgb,var(--paper) 88%,transparent); }
.form-unavailable h2,.empty-profile h3 { margin: 0 0 8px; }
.form-unavailable p,.empty-profile p { margin: 0; }

@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero-lede,.page-hero > p,.contact-intro > p,.about-copy .prose,.service-row p,
  html[data-design="6"] :is(.d6-stage-copy p,.d6-inspector > p,.d6-preview-description p),
  html[data-design="7"] :is(.d7-opening-title p,.d7-scenes-heading p) { font-size: 16px; line-height: 1.65; }
  .hero h1,.page-hero h1,.contact-intro h1,html[data-design="7"] .d7-opening-title h1 {
    font-size: clamp(38px,12vw,52px);
    line-height: 1.04;
  }
  .design-rail,.has-design-switch .design-rail { min-height: 52px; height: auto; padding: 4px 0; }
  .design-rail__caption,.design-rail__progress { display: none; }
  .design-rail__numbers {
    display: grid;
    grid-template-columns: repeat(6,44px);
    justify-content: center;
    gap: 0;
    width: 264px;
    max-width: 100%;
    overflow: visible;
    padding: 0;
  }
  .design-rail button { width: 44px; min-width: 44px; height: 44px; }
}

/* Keep artwork labels in their own space instead of laying text over previews. */
.classic-home .hero-art { margin-bottom: 30px; }
.classic-home .hero-art .art-index {
  right: 0;
  bottom: -30px;
  z-index: 5;
  max-width: 100%;
  padding-top: 8px;
  background: var(--paper);
  white-space: normal;
  text-align: right;
}

/* Long editorial labels must wrap inside their columns, never cross media. */
html[data-design] :is(.section-kicker,.eyebrow,.tiny-label,.meta-line,.results-bar,
  .case-cover__label,.gallery-item figcaption,.direction-top,.direction-bottom,
  .d6-panel-top,.d6-stage-foot,.d7-opening-bottom,.d7-scene-count,.d7-scene-kind) {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

html[data-design] :is(.hero-copy,.section-heading>div,.project-card__info>div,
  .case-header__body>div,.service-row>div,.d6-stage-copy,.d6-inspector,
  .d7-opening-title,.d7-scene-info) {
  min-width: 0;
}


/* 2026 portfolio refresh: shared editorial surfaces for every page except the catalog. */
body[data-page="about"], body[data-page="services"], body[data-page="contacts"], body[data-page="privacy"], body[data-page="project_detail"] { background: #f4f3ed; }
body[data-page="about"] #main, body[data-page="services"] #main, body[data-page="contacts"] #main, body[data-page="privacy"] #main, body[data-page="project_detail"] #main { position: relative; }
body[data-page="about"] #main::before, body[data-page="services"] #main::before, body[data-page="contacts"] #main::before, body[data-page="privacy"] #main::before, body[data-page="project_detail"] #main::before { content: ""; display: block; height: 1px; margin: 0 auto; max-width: 1320px; background: #c8cec5; }
.page-hero { padding-top: clamp(76px, 11vw, 156px); padding-bottom: clamp(58px, 8vw, 110px); }
.page-hero h1, .about-head h1, .contact-intro h1 { max-width: 13ch; font-size: clamp(54px, 8vw, 116px); line-height: .94; letter-spacing: -.075em; }
.page-hero > p { max-width: 580px; margin-top: 28px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; color: #5c685f; }
.services-list { border-top: 1px solid #c8cec5; }
.service-row { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; gap: clamp(20px, 4vw, 64px); align-items: start; padding: 34px 0; border-bottom: 1px solid #c8cec5; }
.service-row h2 { margin: 0 0 12px; font-size: clamp(28px, 3.3vw, 52px); letter-spacing: -.055em; }
.service-row p { max-width: 620px; margin: 0; color: #5c685f; line-height: 1.7; }
.service-end { display: grid; gap: 14px; justify-items: end; padding-top: 5px; }
.service-end a { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; }
.about-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(34px, 8vw, 120px); padding-bottom: clamp(80px, 12vw, 170px); }
.about-visual { min-height: 540px; background: #17211c; }
.about-typographic { display: grid; align-content: space-between; min-width:0; min-height: 540px; padding: clamp(24px, 4vw, 56px); color: #f4f3ed; container-type:inline-size; }
.about-typographic :is(span,small) { max-width:100%; overflow-wrap:anywhere; text-wrap:pretty; }
.about-typographic strong { max-width:100%; font-size:clamp(22px,4vw,52px); font-size:clamp(22px,12cqw,64px); line-height:.98; letter-spacing:-.06em; text-wrap:balance; overflow-wrap:normal; word-break:normal; hyphens:manual; }
.about-copy { align-self: center; }
.about-copy h2 { margin: 14px 0 24px; font-size: clamp(38px, 5vw, 72px); letter-spacing: -.07em; }
.about-fact { margin-top: 28px; padding-top: 16px; border-top: 1px solid #c8cec5; }
.about-fact > span { font-size: 10px; font-weight: 800; letter-spacing: .12em; color: #758179; }
.about-fact p { margin: 10px 0 0; color: #5c685f; line-height: 1.65; }
.contact-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(36px, 8vw, 120px); padding-top: clamp(76px, 11vw, 156px); padding-bottom: clamp(80px, 12vw, 170px); }
.contact-form-panel { padding: clamp(24px, 4vw, 52px); background: #e8ebe3; border: 1px solid #c8cec5; }
.form-top { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid #bfc7be; color: #758179; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.legal-page { max-width: 880px; padding-top: clamp(76px, 11vw, 156px); padding-bottom: 140px; }
.legal-page h1 { max-width: 24ch; margin: 18px 0 48px; font-size: clamp(48px, 7vw, 92px); line-height: .95; letter-spacing: -.07em; }
.legal-page .prose { font-size: 17px; line-height: 1.8; color: #4d5b52; }
.case-header { padding-top: clamp(60px, 9vw, 120px); padding-bottom: 44px; }
.case-header h1 { max-width: 24ch; font-size: clamp(48px, 7vw, 100px); line-height: .94; letter-spacing: -.07em; }
.case-header__body { align-items: end; }
.case-cover { margin-top: 12px; }
.case-body { padding-top: clamp(72px, 10vw, 140px); padding-bottom: 80px; }
.case-copy h2 { font-size: clamp(32px, 4vw, 60px); letter-spacing: -.06em; }
.next-work { margin-top: 40px; background: #17211c; color: #f4f3ed; }
.next-work__link { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.8fr); gap: 48px; align-items: center; padding: clamp(34px, 6vw, 80px) 0; }
.next-work__link h2 { margin: 12px 0; font-size: clamp(38px, 5vw, 76px); letter-spacing: -.07em; }
.next-work__link p { max-width: 520px; color: #c8d0c5; line-height: 1.6; }
@media (max-width: 760px) {
  .page-hero h1, .about-head h1, .contact-intro h1, .case-header h1 { font-size: clamp(42px, 13vw, 64px); }
  .service-row, .about-layout, .contact-layout, .next-work__link { grid-template-columns: 1fr; }
  .service-number { grid-column: 1; }
  .service-end { justify-items: start; grid-template-columns: repeat(2, max-content); }
  .about-visual, .about-typographic { min-height: 360px; }
  .contact-layout { padding-top: 62px; }
  .contact-form-panel { padding: 20px; }
  .form-top { flex-direction: column; gap: 8px; }
  .next-work__image { order: -1; }
}


/* Homepage live QA fixes. */
html, body { overflow-x: clip; }
.classic-home .featured-grid, .classic-home .catalog-preview__grid { align-items: stretch; }
.classic-home .project-card { min-width: 0; }
.classic-home .project-card__info h3, .classic-home .project-card__info p { overflow-wrap: anywhere; }
.classic-home .catalog-preview__grid .project-card--wide { grid-column: span 2; }
@media (max-width: 820px) {
  .classic-home .catalog-preview__grid .project-card--wide { grid-column: auto; }
  .classic-home .project-card__info { gap: 14px; }
  .classic-home .project-card__info h3 { font-size: clamp(24px, 8vw, 38px); line-height: 1.02; }
  .classic-home .project-card__info p { font-size: 15px; line-height: 1.55; }
}


/* Featured work refinement across all homepage designs. */
.classic-home .featured-section { padding-top: clamp(70px, 9vw, 132px); }
.classic-home .featured-grid { grid-auto-rows: minmax(0, 1fr); gap: clamp(22px, 3vw, 48px); }
.classic-home .project-card { display: flex; flex-direction: column; min-height: 100%; background: color-mix(in srgb, var(--paper) 92%, #dfe5dc); border: 1px solid var(--border); }
.classic-home .project-card__visual { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #dfe5dc; }
.classic-home .project-card__image { height: 100%; }
.classic-home .project-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.classic-home .project-card:hover .project-card__image img { transform: scale(1.025); }
.classic-home .project-card__info { flex: 1; display: flex; justify-content: space-between; gap: 18px; padding: 22px 24px 24px; }
.classic-home .project-card__info > div { min-width: 0; }
.classic-home .project-card__info h3 { margin: 10px 0 8px; font-size: clamp(24px, 2.4vw, 40px); line-height: 1.02; letter-spacing: -.055em; }
.classic-home .project-card__info p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0; color: #59645e; line-height: 1.55; }
.classic-home .project-card .meta-line { flex-wrap: wrap; row-gap: 6px; }
.classic-home .project-card .round-arrow { flex: 0 0 auto; }
.classic-home .featured-grid .project-card--wide { grid-column: span 2; }
.d6-home .d6-stage-image, .d7-home .d7-first-shot, .d7-home .d7-scene-image { background: #dfe5dc; }
.d6-home .d6-stage-image img, .d7-home .d7-first-shot img, .d7-home .d7-scene-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.d6-home .d6-worklist { max-height: min(540px,calc(100vh - 300px)); min-height:220px; overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; scrollbar-width:thin; }
html[data-design="6"] .d6-workspace { gap:14px; background:transparent; border:0; box-shadow:none; }
html[data-design="6"] .d6-workspace > :is(.d6-stage,.d6-inspector) { border:1px solid var(--ws-line); border-radius:10px; box-shadow:0 8px 24px #1639250a; }
html[data-design="6"] .d6-stage-image { margin:16px 18px; min-height:0; border-radius:6px; }
.d6-home .d6-work-item { min-width: 0; }
.d6-home .d6-work-item > span:nth-child(2) { min-width:0; overflow-wrap:anywhere; white-space:normal; line-height:1.45; }
.d7-home .d7-scene-info p { max-width: 48ch; }
.d7-home .d7-scene-image { overflow: hidden; }
.d7-home .d7-scene-image img { transition: transform .5s ease; }
.d7-home .d7-scene-image:hover img { transform: scale(1.02); }
@media (max-width: 820px) {
  .classic-home .featured-grid { gap: 18px; }
  .classic-home .featured-grid .project-card--wide { grid-column: auto; }
  .classic-home .project-card__info { padding: 18px; }
  .classic-home .project-card__info h3 { font-size: clamp(25px, 8vw, 38px); }
  .classic-home .project-card__info p { -webkit-line-clamp: 4; }
  .d6-home .d6-worklist { max-height: none; min-height:0; overflow:visible; scrollbar-gutter:auto; }
}

/* CRM dashboards: frame dense interfaces as product screens. */
.project-card--crm .project-card__image { background: radial-gradient(ellipse at 50% 0%, #4a6254 0%, #2a3b32 54%, #1b2822 100%); }
.project-card--crm .project-card__image img { inset:12px; width:calc(100% - 24px); height:calc(100% - 24px); border:1px solid #718678; border-radius:8px; background:#f7f8f6; box-shadow:0 16px 34px #09120dcc; }
.project-card--crm .project-card__visual:hover .project-card__image img { transform:translateY(-2px) scale(1.01); }
.case-cover--crm { background:radial-gradient(ellipse at 50% 0%, #41564a 0%, #26362e 62%, #1a241f 100%); }
.case-cover--crm .case-cover__inner { background:#17231d; border:1px solid #53685a; border-radius:12px; padding:clamp(8px, 1.4vw, 18px); box-shadow:0 30px 70px #09110c80; }
.case-cover--crm .case-cover__inner > img { border:1px solid #718678; border-radius:5px; box-shadow:0 8px 26px #07100b70; }
.case[data-project-kind="crm"] .gallery-open { padding:clamp(12px, 2vw, 28px); background:radial-gradient(ellipse at 50% 0%, #41564a 0%, #26362e 62%, #1a241f 100%); }
.case[data-project-kind="crm"] .gallery-open img { border:1px solid #718678; border-radius:5px; background:#f7f8f6; box-shadow:0 14px 34px #09120dcc; }
html[data-design="6"] .d6-stage-image.is-crm, html[data-design="6"] .d6-preview-image.is-crm, html[data-design="7"] .d7-scene--crm .d7-scene-image { padding:clamp(10px, 1.7vw, 22px); border:1px solid #53685a; border-radius:10px; background:radial-gradient(ellipse at 50% 0%, #41564a 0%, #26362e 62%, #1a241f 100%); box-shadow:0 18px 42px #09120d80; }
html[data-design="6"] :is(.d6-stage-image.is-crm, .d6-preview-image.is-crm) img, html[data-design="7"] .d7-scene--crm .d7-scene-image img { border:1px solid #718678; border-radius:5px; background:#f7f8f6; box-shadow:0 10px 26px #09120d80; object-fit:contain!important; }
@media(max-width:620px) {
  .project-card--crm .project-card__image img { inset:8px; width:calc(100% - 16px); height:calc(100% - 16px); border-radius:5px; }
  .case[data-project-kind="crm"] .gallery-open { padding:9px; }
}


/* CRM previews on the homepage: keep full dashboards legible inside a consistent frame. */
.classic-home .hero-crm {
  padding: 7px;
  border-color: #53685a;
  border-radius: 9px;
  background: #17231d;
  box-shadow: 0 20px 44px #09120dcc;
}
.classic-home .hero-crm .browser-top {
  height: 25px;
  padding-inline: 10px;
  border: 0;
  border-radius: 4px 4px 0 0;
  background: #26362e;
  color: #d5dfd6;
}
.classic-home .hero-crm > img {
  height: calc(100% - 25px);
  border: 1px solid #718678;
  border-radius: 0 0 4px 4px;
  background: #f7f8f6;
}
.classic-home .direction-card--crm .direction-image {
  padding: 14px;
  border: 1px solid #53685a;
  border-radius: 8px;
  background: radial-gradient(ellipse at 50% 0%, #41564a 0%, #26362e 62%, #1a241f 100%);
  box-shadow: 0 16px 34px #09120d70;
}
.classic-home .direction-card--crm .direction-image img {
  border: 1px solid #718678;
  border-radius: 4px;
  background: #f7f8f6;
}
html[data-design="7"] .d7-first-shot--crm {
  padding: clamp(12px, 2vw, 26px);
  border: 1px solid #53685a;
  border-radius: 10px;
  background: radial-gradient(ellipse at 50% 0%, #41564a 0%, #26362e 62%, #1a241f 100%);
  box-shadow: 0 22px 50px #09120d99;
}
html[data-design="7"] .d7-first-shot--crm img {
  border: 1px solid #718678;
  border-radius: 5px;
  background: #f7f8f6;
  box-shadow: 0 10px 26px #09120d80;
  object-fit: contain !important;
}
@media(max-width:620px) {
  .classic-home .hero-crm { padding: 5px; }
  .classic-home .hero-crm .browser-top { height: 22px; }
  .classic-home .hero-crm > img { height: calc(100% - 22px); }
  .classic-home .direction-card--crm .direction-image { padding: 8px; }
  html[data-design="7"] .d7-first-shot--crm { padding: 8px; }
}


/* Homepage audit: natural card heights, balanced work samples, complete CRM frames. */
html:is([data-design="1"],[data-design="2"],[data-design="3"],[data-design="4"],[data-design="5"]) .classic-home .featured-grid {
  grid-auto-rows: auto;
  align-items: start;
}
html:is([data-design="1"],[data-design="2"],[data-design="3"],[data-design="4"],[data-design="5"]) .classic-home .project-card {
  min-height: 0;
}
html:is([data-design="1"],[data-design="2"],[data-design="3"],[data-design="4"],[data-design="5"]) .classic-home .project-card__info {
  flex: 0 0 auto;
}
@media (min-width: 1101px) {
  html[data-design="6"] #main { box-sizing: border-box; padding-right: 58px; }
}
html[data-design="6"] .d6-home .d6-stage-image.is-crm {
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: visible;
}
html[data-design="6"] .d6-home .d6-stage-image.is-crm img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain !important;
}
html[data-design="7"] .d7-home .d7-scene--crm .d7-scene-image {
  aspect-ratio: 4 / 3;
}
html[data-design="7"] .d7-home .d7-scene--crm .d7-scene-image img,
html[data-design="7"] .d7-home .d7-first-shot--crm img {
  background: transparent;
}
@media (max-width: 820px) {
  html[data-design="6"] #main { padding-right: 0; }
}


/* Default portfolio refresh: one clear project preview and calm mobile rhythm. */
html[data-design="1"] .classic-home .hero {
  min-height: 0;
  padding-block: clamp(54px, 7vw, 88px);
  gap: clamp(34px, 5vw, 76px);
}
html[data-design="1"] .classic-home .hero h1 {
  max-width: 11ch;
  margin-top: 25px;
  font-size: clamp(42px, 5.2vw, 74px);
  line-height: 1.02;
}
html[data-design="1"] .classic-home .hero-art--featured {
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 20px 0 20px 20px;
  isolation: isolate;
}
html[data-design="1"] .classic-home .hero-art--featured .hero-art__grid {
  inset: 0 0 0 20px;
  background-size: 34px 34px;
  opacity: .65;
}
html[data-design="1"] .classic-home .hero-art--featured .hero-browser {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  transform: none;
  border-radius: 8px;
  box-shadow: 0 24px 60px #18231c20;
}
html[data-design="1"] .classic-home .hero-art--featured .hero-browser:hover {
  transform: translateY(-4px);
}
html[data-design="1"] .classic-home .hero-art--featured .hero-browser > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-position: top;
  background: #eef0eb;
}
html[data-design="1"] .classic-home .hero-art__meta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 18px;
  padding: 16px 18px;
  border-top: 1px solid var(--border);
  background: #fbfbf8;
}
html[data-design="1"] .classic-home .hero-art__meta > span:first-child {
  grid-column: 1 / -1;
  color: #68736c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}
html[data-design="1"] .classic-home .hero-art__meta strong {
  font-size: clamp(17px, 1.7vw, 23px);
  line-height: 1.2;
}
html[data-design="1"] .classic-home .hero-art__meta > span:last-child {
  color: #415147;
  font-size: 11px;
  font-weight: 700;
}
html[data-design="1"] .classic-home .stats-inner {
  min-height: 118px;
  gap: 18px;
}
html[data-design="1"] .classic-home .section {
  padding-block: clamp(72px, 8vw, 112px);
}
html[data-design="1"] .classic-home .featured-section {
  padding-top: clamp(72px, 8vw, 112px);
}
html[data-design="1"] .classic-home .featured-grid {
  gap: 34px 22px;
}
html[data-design="1"] .classic-home .project-card__visual {
  border-radius: 7px;
}
html[data-design="1"] .classic-home .project-card__info {
  padding: 17px 18px 19px;
}
html[data-design="1"] .classic-home .project-card__info h3 {
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.1;
}
html[data-design="1"] .classic-home .directions {
  padding-block: clamp(72px, 8vw, 108px);
}
html[data-design="1"] .classic-home .direction-card {
  min-height: 0;
  border-radius: 7px;
  padding-top: 26px;
}
html[data-design="1"] .classic-home .direction-image {
  height: clamp(160px, 19vw, 230px);
}
html[data-design="1"] .classic-home .closing {
  padding-block: clamp(70px, 8vw, 110px);
}

@media (max-width: 620px) {
  /* The style picker is a single quiet row above the header, not a floating overlay. */
  .has-design-switch .design-rail {
    position: relative;
    inset: auto;
    transform: none;
    z-index: 3;
    width: 100%;
    min-height: 0;
    height: auto;
    flex-direction: row;
    justify-content: center;
    padding: 5px 8px;
    gap: 8px;
    border: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: none;
  }
  .design-rail__numbers {
    flex-direction: row;
    gap: 4px;
  }
  .design-rail button {
    width: 34px;
    min-width: 34px;
    height: 34px;
    border-radius: 50%;
  }
  html[data-design="1"] .classic-home .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 27px;
    padding-block: 40px 48px;
  }
  html[data-design="1"] .classic-home .hero-copy {
    display: contents;
  }
  html[data-design="1"] .classic-home .hero .eyebrow { order: 0; }
  html[data-design="1"] .classic-home .hero h1 {
    order: 1;
    max-width: 24ch;
    margin: 0;
    font-size: clamp(36px, 11vw, 46px);
    line-height: 1.02;
  }
  html[data-design="1"] .classic-home .hero-lede {
    order: 2;
    font-size: 15px;
    line-height: 1.6;
  }
  html[data-design="1"] .classic-home .hero-actions {
    order: 3;
    width: 100%;
    margin-top: 0;
    gap: 12px 20px;
  }
  html[data-design="1"] .classic-home .hero-art--featured {
    order: 4;
    max-width: none;
    padding: 12px 0 8px 8px;
    margin: 0;
  }
  html[data-design="1"] .classic-home .hero-art--featured .hero-art__grid {
    inset: 0 0 0 8px;
  }
  html[data-design="1"] .classic-home .hero-art__meta {
    grid-template-columns: minmax(0,1fr);
    padding: 13px;
    gap: 6px;
  }
  html[data-design="1"] .classic-home .hero-art__meta > span:first-child { grid-column: 1; }
  html[data-design="1"] .classic-home .hero-art__meta > span:last-child { display: none; }
  html[data-design="1"] .classic-home .hero-footnote {
    display: flex;
    order: 5;
    padding-top: 5px;
    margin-top: 0;
    font-size: 9px;
  }
  html[data-design="1"] .classic-home .stats-inner {
    grid-template-columns: repeat(3,minmax(0,1fr));
    min-height: 0;
    padding-block: 22px;
    gap: 10px;
  }
  html[data-design="1"] .classic-home .stats-inner > div {
    gap: 7px;
    border: 0;
  }
  html[data-design="1"] .classic-home .stats strong { font-size: 32px; }
  html[data-design="1"] .classic-home .stats-inner > div > span {
    font-size: 10px;
    line-height: 1.35;
  }
  html[data-design="1"] .classic-home .section-heading {
    display: block;
    margin-bottom: 27px;
  }
  html[data-design="1"] .classic-home .section-heading h2,
  html[data-design="1"] .classic-home .directions h2,
  html[data-design="1"] .classic-home .closing h2 {
    font-size: clamp(32px, 9vw, 42px);
    line-height: 1.08;
  }
  html[data-design="1"] .classic-home .section-heading__aside {
    max-width: none;
    padding-top: 16px;
  }
  html[data-design="1"] .classic-home .featured-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 25px;
  }
  html[data-design="1"] .classic-home .featured-grid .project-card--wide {
    grid-column: auto;
  }
  html[data-design="1"] .classic-home .project-card__visual {
    aspect-ratio: 16 / 10;
  }
  html[data-design="1"] .classic-home .project-card__info {
    gap: 10px;
    padding: 15px 13px;
  }
  html[data-design="1"] .classic-home .project-card__info h3 {
    font-size: clamp(22px, 7vw, 27px);
  }
  html[data-design="1"] .classic-home .project-card__info p {
    -webkit-line-clamp: 3;
    font-size: 14px;
  }
  html[data-design="1"] .classic-home .direction-cards {
    grid-template-columns: minmax(0,1fr);
    gap: 14px;
  }
  html[data-design="1"] .classic-home .direction-card {
    padding: 22px 20px 0;
  }
  html[data-design="1"] .classic-home .direction-card h3 {
    margin: 22px 0 12px;
    font-size: 34px;
  }
  html[data-design="1"] .classic-home .direction-image {
    height: 175px;
    margin: 23px -20px 0 16px;
  }
  html[data-design="1"] .classic-home .direction-bottom { padding-block: 18px; }
  html[data-design="1"] .classic-home .closing > div {
    display: grid;
    gap: 18px;
  }
}


/* Style 1 — editorial portfolio, coordinated from home through the catalog. */
html[data-design="1"] {
  --paper:#f6f5ef; --white:#fffefa; --ink:#17211d; --muted:#66716a;
  --border:#d7dbd3; --lime:#cce87b; --deep:#173128; --gray:#e9ece4;
}
html[data-design="1"] body { background:var(--paper); color:var(--ink); }
html[data-design="1"] .site-header { background:var(--paper); border-bottom:1px solid #e3e5df; }
html[data-design="1"] .header-inner { min-height:72px; }
html[data-design="1"] .brand-symbol { border-radius:50%; background:var(--deep); color:#f7f6ef; }
html[data-design="1"] .nav-contact { border-color:var(--deep); border-radius:3px; }
html[data-design="1"] .pill-dark { background:var(--deep); }
html[data-design="1"] .pill-dark:hover { background:#284c3e; }

/* Keep the design picker in the page flow instead of floating over project images. */
html[data-design="1"] .design-rail {
  position:relative; inset:auto; transform:none; z-index:3; width:100%; min-height:42px; height:auto;
  flex-direction:row; justify-content:flex-end; padding:4px max(22px,calc((100vw - 1320px)/2));
  gap:8px; border:0; border-bottom:1px solid var(--border); box-shadow:none; background:transparent;
}
html[data-design="1"] .design-rail__caption, html[data-design="1"] .design-rail__progress { display:none; }
html[data-design="1"] .design-rail__numbers { flex-direction:row; gap:4px; }
html[data-design="1"] .design-rail button { width:29px; min-width:29px; height:29px; border-radius:50%; color:#68736c; }
html[data-design="1"] .design-rail button[aria-pressed="true"] { background:var(--deep); border-color:var(--deep); color:#fff; }

/* Calm split hero: one real project preview with a useful caption. */
html[data-design="1"] .classic-home .hero {
  grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr); min-height:0;
  padding-block:clamp(72px,8vw,116px); gap:clamp(44px,7vw,110px);
}
html[data-design="1"] .classic-home .hero-copy { justify-content:center; }
html[data-design="1"] .classic-home .hero .eyebrow { color:#52665a; font-size:10px; letter-spacing:.13em; }
html[data-design="1"] .classic-home .hero h1 { max-width:10ch; margin:28px 0 20px; font:400 clamp(50px,5.3vw,76px)/.99 Georgia,"Times New Roman",serif; letter-spacing:-.055em; }
html[data-design="1"] .classic-home .hero-lede { max-width:43ch; color:#59665e; font-size:16px; line-height:1.7; }
html[data-design="1"] .classic-home .hero-actions { gap:22px; margin-top:28px; }
html[data-design="1"] .classic-home .hero-art--featured { width:100%; height:auto; min-height:0; padding:0; isolation:isolate; }
html[data-design="1"] .classic-home .hero-art--featured .hero-art__grid {
  inset:22px -22px -22px 22px; background-size:38px 38px; opacity:.45;
}
html[data-design="1"] .classic-home .hero-art--featured .hero-browser {
  position:relative; inset:auto; display:block; width:100%; height:auto; transform:none;
  overflow:hidden; border:1px solid #d6d9d1; border-radius:7px; background:#fefefb;
  box-shadow:0 22px 58px #14251d1a;
}
html[data-design="1"] .classic-home .hero-art--featured .hero-browser:hover { transform:translateY(-3px); }
html[data-design="1"] .classic-home .hero-art--featured .browser-top { height:31px; background:#ebece6; color:#57645c; }
html[data-design="1"] .classic-home .hero-art--featured .hero-browser > img {
  display:block; width:100%; height:auto; aspect-ratio:16/10; object-position:top; background:#e9ebe5;
}
html[data-design="1"] .classic-home .hero-art__meta {
  display:grid; grid-template-columns:1fr auto; align-items:center; gap:6px 18px;
  padding:15px 18px; border-top:1px solid var(--border); background:#fffefa;
}
html[data-design="1"] .classic-home .hero-art__meta > span:first-child {
  grid-column:1/-1; color:#617065; font-size:9px; font-weight:800; letter-spacing:.13em;
}
html[data-design="1"] .classic-home .hero-art__meta strong { font-size:19px; line-height:1.2; }
html[data-design="1"] .classic-home .hero-art__meta > span:last-child { color:#3e594a; font-size:11px; font-weight:700; }
html[data-design="1"] .classic-home .design-story { display:none; }
html[data-design="1"] .classic-home .stats { background:var(--deep); }
html[data-design="1"] .classic-home .stats-inner { min-height:122px; gap:22px; }
html[data-design="1"] .classic-home .stats-inner > div { border-color:#355044; }
html[data-design="1"] .classic-home .stats-inner > div > span,
html[data-design="1"] .classic-home .stats-aside { color:#c0cdc3; }

/* Expressive editorial titles, with steady card sizing and generous separation. */
html[data-design="1"] .classic-home .section { padding-block:clamp(92px,10vw,142px); }
html[data-design="1"] .classic-home .featured-section { padding-top:clamp(88px,9vw,128px); }
html[data-design="1"] .classic-home .section-heading {
  display:grid; grid-template-columns:minmax(0,1.1fr) minmax(250px,.55fr);
  align-items:end; gap:38px; margin-bottom:50px;
}
html[data-design="1"] .classic-home .section-heading h2,
html[data-design="1"] .classic-home .directions h2,
html[data-design="1"] .classic-home .closing h2 {
  font-family:Georgia,"Times New Roman",serif; font-weight:400;
  font-size:clamp(48px,5.1vw,76px); line-height:.99; letter-spacing:-.055em;
}
html[data-design="1"] .classic-home :is(.section-heading h2,.directions h2,.closing h2) em { color:#87928a; }
html[data-design="1"] .classic-home .section-heading__aside { max-width:350px; padding:0 0 7px; }
html[data-design="1"] .classic-home .section-heading__aside p { color:#68746b; font-size:14px; line-height:1.65; }
html[data-design="1"] .classic-home .featured-grid {
  grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:auto; align-items:start;
  gap:clamp(38px,5vw,68px) clamp(24px,4vw,58px);
}
html[data-design="1"] .classic-home .featured-grid .project-card { min-width:0; min-height:0; border:0; background:transparent; }
html[data-design="1"] .classic-home .featured-grid .project-card--wide {
  display:grid; grid-column:1/-1; grid-template-columns:minmax(0,1.3fr) minmax(250px,.7fr);
  align-items:center; gap:clamp(28px,5vw,76px);
}
html[data-design="1"] .classic-home .featured-grid .project-card__visual,
html[data-design="1"] body[data-page="projects"] .catalog-grid .project-card__visual {
  aspect-ratio:16/10; border:1px solid #d4d8d0; border-radius:4px; background:#e9ebe6;
  box-shadow:0 14px 34px #19271e12;
}
html[data-design="1"] .classic-home .featured-grid .project-card__image,
html[data-design="1"] body[data-page="projects"] .catalog-grid .project-card__image { height:100%; padding:0; }
html[data-design="1"] .classic-home .featured-grid .project-card--wide .project-card__visual { grid-column:1; grid-row:1; }
html[data-design="1"] .classic-home .featured-grid .project-card--wide .project-card__info {
  grid-column:2; grid-row:1; align-self:center; display:block; flex:initial; margin:0; padding:0; border:0;
}
html[data-design="1"] .classic-home .featured-grid .project-card:not(.project-card--wide) .project-card__info {
  display:flex; flex:initial; min-height:118px; align-items:flex-start; margin:13px 0 0;
  padding:16px 0 0; border-top:1px solid var(--border);
}
html[data-design="1"] .classic-home .featured-grid .project-card__info h3 {
  margin:10px 0 9px; font-size:clamp(23px,2.4vw,35px); line-height:1.05; letter-spacing:-.05em;
}
html[data-design="1"] .classic-home .featured-grid .project-card--wide .project-card__info h3 {
  font-family:Georgia,"Times New Roman",serif; font-size:clamp(34px,4vw,57px); font-weight:400; line-height:1;
}
html[data-design="1"] .classic-home .featured-grid .project-card__info p {
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
  margin:0; color:#667169; font-size:14px; line-height:1.65;
}
html[data-design="1"] .classic-home .featured-grid .project-card .meta-line { color:#6d786f; font-size:9px; letter-spacing:.11em; }
html[data-design="1"] .classic-home .featured-grid .project-card .tag-list { display:none; }
html[data-design="1"] .classic-home .featured-grid .project-card .round-arrow {
  flex:0 0 35px; margin-left:auto; border-color:#adb8ad; color:var(--deep);
}
html[data-design="1"] .classic-home .more-work { margin-top:62px; padding-top:19px; border-top:1px solid var(--border); }

/* Two compact service panels, paired image and copy rather than tall empty cards. */
html[data-design="1"] .classic-home .directions { padding-block:clamp(86px,9vw,126px); background:#ecefe7; }
html[data-design="1"] .classic-home .directions-intro { display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,.65fr); align-items:end; gap:36px; margin-bottom:38px; }
html[data-design="1"] .classic-home .directions-intro h2 { max-width:none; margin:12px 0 0; }
html[data-design="1"] .classic-home .directions-intro > p { max-width:38ch; align-self:center; margin:0; color:#657269; font-size:14px; line-height:1.7; }
html[data-design="1"] .classic-home .direction-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
html[data-design="1"] .classic-home .direction-card {
  display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); grid-template-rows:auto auto 1fr auto;
  gap:12px 24px; height:350px; min-height:350px; padding:26px; border:1px solid #d4dbd0; border-radius:5px; background:#f8f8f3;
}
html[data-design="1"] .classic-home .direction-card--crm { background:var(--deep); border-color:var(--deep); }
html[data-design="1"] .classic-home .direction-top { grid-column:1; grid-row:1; color:#66756b; }
html[data-design="1"] .classic-home .direction-card--crm .direction-top { color:#d4e0d7; }
html[data-design="1"] .classic-home .direction-card h3 {
  grid-column:1; grid-row:2; align-self:start; margin:10px 0 0;
  font:400 clamp(32px,3.2vw,47px)/1 Georgia,"Times New Roman",serif; letter-spacing:-.05em;
}
html[data-design="1"] .classic-home .direction-card > p { grid-column:1; grid-row:3; align-self:start; font-size:13px; line-height:1.6; }
html[data-design="1"] .classic-home .direction-card--crm > p { color:#c2d0c6; }
html[data-design="1"] .classic-home .direction-card .direction-image {
  grid-column:2; grid-row:1/5; width:100%; height:100%; min-height:0; max-height:296px; margin:0;
  overflow:hidden; border:1px solid #d5dad3; border-radius:4px; background:#e8ebe5; box-shadow:none;
}
html[data-design="1"] .classic-home .direction-card--crm .direction-image { margin:0; padding:10px; border-color:#52685a; background:#243a30; }
html[data-design="1"] .classic-home .direction-image img { display:block; width:100%; height:100%; background:transparent; }
html[data-design="1"] .classic-home .direction-bottom {
  grid-column:1; grid-row:4; align-self:end; justify-content:flex-start;
  padding:14px 0 0; border-top:1px solid var(--border); font-size:11px;
}
html[data-design="1"] .classic-home .direction-card--crm .direction-bottom { border-color:#52685a; }
html[data-design="1"] .classic-home .closing {
  display:grid; grid-template-columns:100px minmax(0,1fr); gap:30px; align-items:center;
  padding-block:clamp(86px,10vw,138px);
}
html[data-design="1"] .classic-home .closing > span { align-self:start; padding-top:12px; }
html[data-design="1"] .classic-home .closing > div { display:flex; justify-content:space-between; align-items:end; gap:30px; }
html[data-design="1"] .classic-home .closing h2 { margin:0; }
html[data-design="1"] .classic-home .closing .pill-button { flex:0 0 auto; }

/* The all-projects page shares the same type, colors and image framing. */
html[data-design="1"] body[data-page="projects"] { background:var(--paper); }
html[data-design="1"] body[data-page="projects"] .catalog-intro { padding-block:clamp(68px,8vw,112px) 48px; }
html[data-design="1"] body[data-page="projects"] .catalog-intro > .section-kicker { color:#607266; }
html[data-design="1"] body[data-page="projects"] .catalog-head h1 {
  font:400 clamp(54px,7vw,92px)/.98 Georgia,"Times New Roman",serif; letter-spacing:-.055em;
}
html[data-design="1"] body[data-page="projects"] .catalog-head > p { max-width:56ch; color:#647168; line-height:1.7; }
html[data-design="1"] body[data-page="projects"] .filters { padding:20px 0; border-block:1px solid var(--border); border-radius:0; background:transparent; }
html[data-design="1"] body[data-page="projects"] .filter-pill span { border-color:#c9d1c8; border-radius:3px; background:#fbfbf7; color:#4c5a50; }
html[data-design="1"] body[data-page="projects"] .filter-pill input:checked + span { border-color:var(--deep); background:var(--deep); color:#fff; }
html[data-design="1"] body[data-page="projects"] .filter-submit { border-color:var(--deep); border-radius:3px; background:var(--deep); color:#fff; }
html[data-design="1"] body[data-page="projects"] .results-bar { padding-block:21px; color:#69756c; }
html[data-design="1"] body[data-page="projects"] .catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:42px 28px; }
html[data-design="1"] body[data-page="projects"] .catalog-grid .project-card {
  min-width:0; padding:0 0 19px; border-bottom:1px solid var(--border); background:transparent;
}
html[data-design="1"] body[data-page="projects"] .catalog-grid .project-card__info { flex:initial; min-height:0; padding:17px 2px 0; }
html[data-design="1"] body[data-page="projects"] .catalog-grid .project-card__info h3 { font-size:clamp(22px,2.5vw,34px); line-height:1.05; }
html[data-design="1"] body[data-page="projects"] .catalog-grid .project-card__info p { color:#667169; font-size:14px; line-height:1.6; }
html[data-design="1"] body[data-page="projects"] .pagination a { color:var(--deep); }
html[data-design="1"] body[data-page="projects"] .pagination a:hover { background:#e5e9e1; }

@media (max-width:820px) {
  html[data-design="1"] .classic-home .hero { grid-template-columns:minmax(0,1fr); gap:36px; }
  html[data-design="1"] .classic-home .hero-copy { max-width:680px; }
  html[data-design="1"] .classic-home .hero h1 { max-width:24ch; font-size:clamp(44px,8vw,64px); }
  html[data-design="1"] .classic-home .hero-art--featured { max-width:760px; margin-inline:auto; }
  html[data-design="1"] .classic-home .featured-grid .project-card--wide { grid-template-columns:minmax(0,1.15fr) minmax(210px,.85fr); gap:27px; }
  html[data-design="1"] .classic-home .direction-card { height:350px; min-height:350px; padding:20px; gap:10px 18px; }
  html[data-design="1"] .classic-home .direction-card h3 { font-size:clamp(28px,4vw,39px); }
  html[data-design="1"] .classic-home .closing { grid-template-columns:70px minmax(0,1fr); }
}
@media (max-width:620px) {
  html[data-design="1"] .design-rail { justify-content:center; }
  html[data-design="1"] .design-rail button { width:27px; min-width:27px; height:27px; }
  html[data-design="1"] .classic-home .hero { display:flex; flex-direction:column; align-items:stretch; gap:24px; padding-block:42px 54px; }
  html[data-design="1"] .classic-home .hero-copy { display:contents; }
  html[data-design="1"] .classic-home .hero .eyebrow { order:0; }
  html[data-design="1"] .classic-home .hero h1 { order:1; max-width:24ch; margin:0; font-size:clamp(37px,11vw,48px); line-height:1.01; }
  html[data-design="1"] .classic-home .hero-lede { order:2; font-size:15px; line-height:1.6; }
  html[data-design="1"] .classic-home .hero-actions { order:3; width:100%; margin:0; gap:14px 20px; }
  html[data-design="1"] .classic-home .hero-art--featured { order:4; padding:0; }
  html[data-design="1"] .classic-home .hero-art--featured .hero-art__grid { inset:10px -8px -8px 8px; }
  html[data-design="1"] .classic-home .hero-art__meta { grid-template-columns:minmax(0,1fr); padding:12px 14px; }
  html[data-design="1"] .classic-home .hero-art__meta > span:first-child { grid-column:1; }
  html[data-design="1"] .classic-home .hero-art__meta > span:last-child { display:none; }
  html[data-design="1"] .classic-home .hero-footnote { display:none; }
  html[data-design="1"] .classic-home .stats-inner { grid-template-columns:repeat(3,minmax(0,1fr)); min-height:0; padding-block:21px; gap:9px; }
  html[data-design="1"] .classic-home .stats-inner > div { gap:7px; border:0; }
  html[data-design="1"] .classic-home .stats strong { font-size:31px; }
  html[data-design="1"] .classic-home .stats-inner > div > span { font-size:10px; line-height:1.3; }
  html[data-design="1"] .classic-home .section { padding-block:74px; }
  html[data-design="1"] .classic-home .section-heading { display:block; margin-bottom:26px; }
  html[data-design="1"] .classic-home :is(.section-heading h2,.directions h2,.closing h2) { font-size:clamp(38px,10vw,50px); line-height:1.02; }
  html[data-design="1"] .classic-home .section-heading__aside { max-width:none; padding-top:17px; }
  html[data-design="1"] .classic-home .featured-grid { grid-template-columns:minmax(0,1fr); gap:36px; }
  html[data-design="1"] .classic-home .featured-grid .project-card--wide { grid-column:auto; grid-template-columns:minmax(0,1fr); gap:0; }
  html[data-design="1"] .classic-home .featured-grid .project-card--wide .project-card__visual,
  html[data-design="1"] .classic-home .featured-grid .project-card--wide .project-card__info { grid-column:1; grid-row:auto; }
  html[data-design="1"] .classic-home .featured-grid .project-card--wide .project-card__info { padding-top:18px; }
  html[data-design="1"] .classic-home .featured-grid .project-card:not(.project-card--wide) .project-card__info { min-height:0; }
  html[data-design="1"] .classic-home .featured-grid .project-card__visual { aspect-ratio:16/10; }
  html[data-design="1"] .classic-home .featured-grid .project-card__info h3 { font-size:26px; }
  html[data-design="1"] .classic-home .directions-intro { grid-template-columns:minmax(0,1fr); gap:12px; }
  html[data-design="1"] .classic-home .direction-cards { grid-template-columns:minmax(0,1fr); gap:14px; }
  html[data-design="1"] .classic-home .direction-card { height:auto; min-height:0; grid-template-columns:minmax(0,1fr); grid-template-rows:auto; gap:12px; padding:20px; }
  html[data-design="1"] .classic-home .direction-top,
  html[data-design="1"] .classic-home .direction-card h3,
  html[data-design="1"] .classic-home .direction-card > p,
  html[data-design="1"] .classic-home .direction-card .direction-image,
  html[data-design="1"] .classic-home .direction-bottom { grid-column:1; grid-row:auto; }
  html[data-design="1"] .classic-home .direction-card .direction-image { min-height:185px; max-height:none; height:185px; margin-top:8px; }
  html[data-design="1"] .classic-home .direction-card h3 { margin:5px 0 0; font-size:37px; }
  html[data-design="1"] .classic-home .direction-bottom { padding-top:14px; }
  html[data-design="1"] .classic-home .closing { display:block; padding-block:72px; }
  html[data-design="1"] .classic-home .closing > div { display:grid; gap:18px; margin-top:15px; }
  html[data-design="1"] body[data-page="projects"] .catalog-intro { padding-block:46px 28px; }
  html[data-design="1"] body[data-page="projects"] .catalog-head { grid-template-columns:minmax(0,1fr); gap:15px; }
  html[data-design="1"] body[data-page="projects"] .catalog-head h1 { font-size:54px; }
  html[data-design="1"] body[data-page="projects"] .catalog-grid { grid-template-columns:minmax(0,1fr); gap:28px; }
}


/* Design 1: restore the numbered selector as a fixed side control like the other themes. */
html[data-design="1"] .design-rail {
  position:fixed; inset:50% clamp(8px,1vw,18px) auto auto; transform:translateY(-50%);
  z-index:65; display:flex; width:46px; min-height:0; height:auto; flex-direction:column;
  justify-content:flex-start; align-items:center; gap:11px; padding:15px 3px 18px;
  border:1px solid var(--border); background:var(--paper); color:var(--ink);
  box-shadow:0 8px 26px #0002; isolation:isolate;
}
html[data-design="1"] .design-rail__caption { display:block; writing-mode:vertical-rl; white-space:nowrap; }
html[data-design="1"] .design-rail__numbers { display:flex; flex-direction:column; gap:1px; }
html[data-design="1"] .design-rail button {
  width:38px; min-width:38px; height:42px; border:1px solid transparent; border-radius:0;
  background:var(--paper); color:var(--ink); font:800 12px/1 system-ui,sans-serif;
}
html[data-design="1"] .design-rail button[aria-pressed="true"] { border-color:var(--ink); background:var(--ink); color:var(--paper); }
html[data-design="1"] .design-rail__progress {
  position:absolute; top:0; right:0; bottom:auto; left:auto; width:3px;
  height:var(--scroll-progress,0%); background:var(--lime);
}

/* Design 1: a clear editorial heading and a consistent project gallery. */
html[data-design="1"] .classic-home .featured-section {
  padding-block:clamp(76px,9vw,124px);
}
html[data-design="1"] .classic-home .featured-section .section-heading {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(250px,.48fr);
  align-items:end; gap:40px; margin:0 0 clamp(28px,4vw,52px);
  padding-bottom:26px; border-bottom:1px solid var(--border);
}
html[data-design="1"] .classic-home .featured-section .section-kicker {
  display:inline-flex; align-items:center; gap:10px; color:#637266;
  font:800 10px/1.2 system-ui,sans-serif; letter-spacing:.14em;
}
html[data-design="1"] .classic-home .featured-section .section-kicker::before {
  content:""; width:7px; height:7px; border-radius:50%; background:#b8d66b;
}
html[data-design="1"] .classic-home .featured-section .section-heading h2 {
  max-width:11ch; margin:16px 0 0; color:var(--ink);
  font:600 clamp(48px,6.2vw,82px)/.94 system-ui,-apple-system,"Segoe UI",sans-serif;
  letter-spacing:-.075em;
}
html[data-design="1"] .classic-home .featured-section .section-heading h2 em {
  color:#7b887f; font-style:normal;
}
html[data-design="1"] .classic-home .featured-section .section-heading__aside {
  max-width:360px; padding:0 0 6px;
}
html[data-design="1"] .classic-home .featured-section .section-heading__aside p {
  margin:0 0 20px; color:#626e65; font-size:15px; line-height:1.7;
}
html[data-design="1"] .classic-home .featured-grid {
  display:grid; grid-template-columns:repeat(6,minmax(0,1fr));
  align-items:start; gap:clamp(26px,3vw,42px) clamp(16px,2vw,28px);
}
html[data-design="1"] .classic-home .featured-grid .project-card {
  grid-column:span 2; display:flex; min-width:0; min-height:0; flex-direction:column;
  border:0; background:transparent;
}
html[data-design="1"] .classic-home .featured-grid .project-card--wide {
  grid-column:1/-1; display:grid; grid-template-columns:minmax(0,1.45fr) minmax(260px,.75fr);
  align-items:stretch; gap:clamp(24px,4vw,60px); padding-bottom:clamp(8px,1vw,16px);
  border-bottom:1px solid var(--border);
}
html[data-design="1"] .classic-home .featured-grid .project-card__visual {
  aspect-ratio:16/9; border:1px solid #d4d9d1; border-radius:4px;
  background:#e7eae3; box-shadow:0 16px 38px #19271e13;
}
html[data-design="1"] .classic-home .featured-grid .project-card--wide .project-card__visual {
  grid-column:1; grid-row:1; height:100%;
}
html[data-design="1"] .classic-home .featured-grid .project-card__info {
  min-height:0; flex:1; display:flex; justify-content:space-between; gap:16px;
  margin:12px 0 0; padding:14px 0 0; border-top:1px solid var(--border);
}
html[data-design="1"] .classic-home .featured-grid .project-card--wide .project-card__info {
  grid-column:2; grid-row:1; align-self:center; display:flex; flex-direction:column;
  justify-content:center; margin:0; padding:0; border:0;
}
html[data-design="1"] .classic-home .featured-grid .project-card__info h3 {
  margin:10px 0 8px; font-size:clamp(21px,2vw,29px); line-height:1.08; letter-spacing:-.045em;
}
html[data-design="1"] .classic-home .featured-grid .project-card--wide .project-card__info h3 {
  margin-block:14px; font:500 clamp(32px,3.6vw,52px)/1.02 system-ui,-apple-system,"Segoe UI",sans-serif;
}
html[data-design="1"] .classic-home .featured-grid .project-card__info p {
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
  margin:0; color:#67736a; font-size:13px; line-height:1.65;
}
html[data-design="1"] .classic-home .featured-grid .project-card .meta-line {
  display:flex; flex-wrap:wrap; gap:7px 12px; color:#728076; font-size:9px; letter-spacing:.1em;
}
html[data-design="1"] .classic-home .featured-grid .project-card .tag-list { display:none; }
html[data-design="1"] .classic-home .featured-grid .project-card .round-arrow {
  flex:0 0 34px; margin:0 0 0 auto; border-color:#bbc3ba; color:var(--deep);
}
html[data-design="1"] .classic-home .featured-grid .project-card__image img {
  display:block; width:100%; height:100%; object-fit:cover; transition:transform .45s ease;
}
html[data-design="1"] .classic-home .featured-grid .project-card__visual:hover .project-card__image img {
  transform:scale(1.025);
}
html[data-design="1"] .classic-home .more-work {
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  margin-top:clamp(34px,5vw,60px); padding-top:18px; border-top:1px solid var(--border);
}
html[data-design="1"] .classic-home .more-work > span {
  color:#748077; font-size:10px; font-weight:800; letter-spacing:.12em;
}
@media (max-width:1000px) {
  html[data-design="1"] .classic-home .featured-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html[data-design="1"] .classic-home .featured-grid .project-card { grid-column:auto; }
  html[data-design="1"] .classic-home .featured-grid .project-card--wide {
    grid-column:1/-1; grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr);
  }
}
@media (max-width:620px) {
  html[data-design="1"] .design-rail {
    position:sticky; inset:auto; transform:none; width:100%; min-height:52px; height:auto;
    flex-direction:row; justify-content:center; padding:4px 0; gap:0;
    border:0; border-bottom:1px solid var(--border); box-shadow:none; background:var(--paper);
  }
  html[data-design="1"] .design-rail__caption, html[data-design="1"] .design-rail__progress { display:none; }
  html[data-design="1"] .design-rail__numbers { flex-direction:row; gap:0; }
  html[data-design="1"] .design-rail button { width:40px; min-width:40px; height:42px; }
  html[data-design="1"] .classic-home .featured-section { padding-block:64px; }
  html[data-design="1"] .classic-home .featured-section .section-heading {
    grid-template-columns:minmax(0,1fr); gap:14px; margin-bottom:25px; padding-bottom:20px;
  }
  html[data-design="1"] .classic-home .featured-section .section-heading h2 { margin-top:12px; font-size:clamp(42px,11vw,56px); }
  html[data-design="1"] .classic-home .featured-section .section-heading__aside { max-width:none; padding:0; }
  html[data-design="1"] .classic-home .featured-section .section-heading__aside p { margin-bottom:12px; }
  html[data-design="1"] .classic-home .featured-grid { grid-template-columns:minmax(0,1fr); gap:28px; }
  html[data-design="1"] .classic-home .featured-grid .project-card,
  html[data-design="1"] .classic-home .featured-grid .project-card--wide { grid-column:1; grid-template-columns:minmax(0,1fr); gap:0; }
  html[data-design="1"] .classic-home .featured-grid .project-card--wide .project-card__visual,
  html[data-design="1"] .classic-home .featured-grid .project-card--wide .project-card__info { grid-column:1; grid-row:auto; }
  html[data-design="1"] .classic-home .featured-grid .project-card--wide .project-card__info { margin-top:16px; }
  html[data-design="1"] .classic-home .more-work { align-items:flex-start; flex-direction:column; }
}

/* Homepage catalog controls and the information sections now live on the one-page portfolio. */
html[data-design="1"] .home-project-filters {
  display:grid; grid-template-columns:auto minmax(0,1fr); gap:18px 28px; align-items:center;
  margin:0 0 24px; padding:18px 20px; border:1px solid var(--border);
  border-radius:4px; background:#eeefe8;
}
html[data-design="1"] .home-project-filters .type-filter { border:0; padding:0; }
html[data-design="1"] .home-project-filters .filter-row { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:end; gap:10px 14px; }
html[data-design="1"] .home-project-filters .field-inline { color:#68746b; font-size:11px; }
html[data-design="1"] .home-project-filters :is(select,input[type="search"]) {
  min-height:40px; padding:8px 11px; border:1px solid #ccd3c9; border-radius:3px;
  background:#fffefa; color:#17211d;
}
html[data-design="1"] .home-project-filters .filter-submit { min-height:40px; border-radius:3px; background:var(--deep); color:#fff; }
html[data-design="1"] .classic-home .home-project-catalog .results-bar {
  display:flex; justify-content:space-between; margin:0 0 22px; color:#748077;
  font-size:10px; letter-spacing:.1em;
}
html[data-design="1"] .home-information__heading {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,.55fr);
  align-items:end; gap:24px; padding:clamp(72px,9vw,120px) 0 28px;
  border-bottom:1px solid var(--border);
}
html[data-design="1"] .home-information__heading .section-kicker { grid-column:1/-1; }
html[data-design="1"] .home-information__heading h2 { margin:0; font-size:clamp(40px,5vw,68px); line-height:.98; letter-spacing:-.065em; }
html[data-design="1"] .home-information__heading h2 em { color:#839087; font-style:normal; }
html[data-design="1"] .home-information__heading > p { max-width:38ch; margin:0; color:#647168; line-height:1.65; }
html[data-design="1"] .home-services .service-row h2 { margin:0 0 10px; font-size:clamp(22px,2.6vw,34px); }
html[data-design="1"] .home-about { padding-top:clamp(70px,9vw,120px); }
@media (max-width:760px) {
  html[data-design="1"] .home-project-filters { grid-template-columns:minmax(0,1fr); gap:14px; padding:14px; }
  html[data-design="1"] .home-project-filters .filter-row { justify-content:stretch; }
  html[data-design="1"] .home-project-filters .field-inline { flex:1 1 140px; }
  html[data-design="1"] .home-project-filters .filter-submit { align-self:end; }
  html[data-design="1"] .home-information__heading { grid-template-columns:minmax(0,1fr); gap:12px; padding-top:62px; }
}

@media (max-width:620px) {
  html[data-design="1"] .classic-home .featured-grid { grid-template-columns:minmax(0,1fr); gap:28px; }
  html[data-design="1"] .classic-home .featured-grid > .project-card,
  html[data-design="1"] .classic-home .featured-grid > .project-card--wide { grid-column:1; }
}

html[data-design="6"] .d6-worklist .home-project-filters {
  padding:10px; margin:12px 0 18px;
}
html[data-design="6"] .d6-worklist .home-project-filters .type-filter {
  display:flex; flex-wrap:wrap; gap:5px; margin:0 0 8px;
}
html[data-design="6"] .d6-worklist .home-project-filters .filter-pill span {
  min-height:28px; padding:6px 7px; font-size:9px;
}
html[data-design="6"] .d6-worklist .home-project-filters .filter-row { display:grid; gap:8px; }
html[data-design="6"] .d6-worklist .home-project-filters .field-inline { display:grid; gap:4px; font-size:10px; }
html[data-design="6"] .d6-worklist .home-project-filters :is(select,input[type="search"]) { min-height:34px; width:100%; padding:6px 8px; font-size:11px; }
html[data-design="6"] .d6-worklist .home-project-filters .filter-submit { width:100%; min-height:34px; }

html[data-design="1"] .home-information .home-final {
  display:grid; grid-template-columns:100px minmax(0,1fr); gap:30px; align-items:center;
  padding-block:clamp(76px,9vw,124px);
}
html[data-design="1"] .home-information .home-final > span { align-self:start; padding-top:10px; }
html[data-design="1"] .home-information .home-final > div {
  display:flex; justify-content:space-between; align-items:end; gap:28px;
}
html[data-design="1"] .home-information .home-final h2 { margin:0; font-size:clamp(38px,5vw,68px); line-height:1; letter-spacing:-.06em; }
@media (max-width:620px) {
  html[data-design="1"] .home-information .home-final { display:block; padding-block:64px; }
  html[data-design="1"] .home-information .home-final > div { display:grid; gap:16px; margin-top:14px; }
}



/* Homepage catalog spacing and filters stay in normal flow in every theme. */
body[data-page="home"] .classic-home .home-project-catalog {
  width:var(--shell); max-width:none; margin-inline:auto; box-sizing:border-box;
}
body[data-page="home"] .classic-home .home-project-catalog .home-project-filters {
  display:grid; position:static!important; inset:auto!important; top:auto!important; z-index:auto!important;
  grid-column:1/-1; float:none; clear:both; transform:none!important;
  width:100%; max-width:none; box-sizing:border-box; margin:24px 0 8px; padding:18px;
  gap:14px; border:1px solid var(--border); border-radius:4px; background:var(--paper);
}
body[data-page="home"] .classic-home .home-project-catalog .home-project-filters .type-filter {
  display:flex!important; flex-direction:row!important; flex-wrap:wrap; gap:8px;
  width:100%; margin:0; padding:0; border:0;
}
body[data-page="home"] .classic-home .home-project-catalog .home-project-filters .filter-row {
  display:grid!important; grid-template-columns:minmax(130px,.8fr) minmax(150px,.9fr) minmax(190px,1.4fr) auto;
  align-items:end; gap:12px; width:100%; margin:0;
}
body[data-page="home"] .classic-home .home-project-catalog .home-project-filters .field-inline {
  display:grid; gap:6px; width:100%; min-width:0; margin:0;
}
body[data-page="home"] .classic-home .home-project-catalog .home-project-filters :is(select,input[type="search"]) {
  width:100%; min-width:0; box-sizing:border-box;
}
body[data-page="home"] .classic-home .home-project-catalog .results-bar {
  position:relative; clear:both; margin:0; padding:12px 0 20px; width:100%; box-sizing:border-box;
}
body[data-page="home"] .classic-home .home-project-catalog .featured-grid {
  position:relative; clear:both; z-index:auto; width:100%; min-width:0; margin:0;
  grid-auto-rows:auto; align-items:start; gap:clamp(34px,4.2vw,64px) clamp(18px,2.4vw,32px);
}
body[data-page="home"] .classic-home .home-project-catalog .project-card,
body[data-page="home"] .classic-home .home-project-catalog .project-card__visual,
body[data-page="home"] .classic-home .home-project-catalog .project-card__info { min-width:0; }
body[data-page="home"] .classic-home .home-project-catalog .project-card h3 {
  max-width:24ch; overflow-wrap:anywhere; text-wrap:balance;
}
body[data-page="home"] .classic-home .home-project-catalog .project-card__info p {
  max-width:62ch; overflow-wrap:anywhere; hyphens:auto; line-height:1.7;
}
@media(max-width:900px) {
  body[data-page="home"] .classic-home .home-project-catalog { width:var(--shell); }
  body[data-page="home"] .classic-home .home-project-catalog .home-project-filters .filter-row {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body[data-page="home"] .classic-home .home-project-catalog .home-project-filters .filter-search { grid-column:1/-1; }
  body[data-page="home"] .classic-home .home-project-catalog .home-project-filters .filter-submit { grid-column:1/-1; width:100%; }
}
@media(max-width:620px) {
  body[data-page="home"] .classic-home .home-project-catalog { width:var(--shell); }
  body[data-page="home"] .classic-home .home-project-catalog .home-project-filters { margin:18px 0 20px; padding:14px; }
  body[data-page="home"] .classic-home .home-project-catalog .home-project-filters .filter-row { grid-template-columns:minmax(0,1fr); }
  body[data-page="home"] .classic-home .home-project-catalog .home-project-filters :is(.filter-search,.filter-submit) { grid-column:auto; }
}

/* One measured service layout across the seven homepage styles. */
html[data-design] .home-services {
  display:block!important; width:var(--shell); max-width:none;
  margin-inline:auto; padding:clamp(64px,8vw,104px) 0; border:0; box-sizing:border-box;
}
html[data-design] .home-services .home-information__heading {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(240px,.62fr);
  align-items:end; gap:12px 40px; margin:0 0 26px; padding:0 0 24px;
  border-bottom:1px solid var(--border);
}
html[data-design] .home-services .home-information__heading .section-kicker { grid-column:1/-1; }
html[data-design] .home-services .home-information__heading h2 {
  max-width:15ch; margin:0; font-size:clamp(36px,5vw,62px); line-height:1.02; letter-spacing:-.055em;
}
html[data-design] .home-services .home-information__heading h2 em { color:var(--muted); font-style:normal; }
html[data-design] .home-services .home-information__heading>p {
  max-width:42ch; margin:0; color:var(--muted); font-size:14px; line-height:1.7;
}
html[data-design] .home-services .service-row {
  display:grid!important; grid-column:1/-1!important;
  grid-template-columns:48px minmax(0,1fr) minmax(145px,.34fr)!important;
  align-items:start; gap:12px clamp(18px,3vw,36px); min-height:0!important;
  margin:0!important; padding:24px 0!important; border:0!important;
  border-bottom:1px solid var(--border)!important; border-radius:0!important;
  background:transparent!important; box-shadow:none!important; transform:none!important;
  transition:none!important; box-sizing:border-box; min-width:0;
}
html[data-design] .home-services .service-row:first-of-type { border-top:1px solid var(--border)!important; }
html[data-design] .home-services .service-row:hover { padding-left:0!important; background:transparent!important; }
html[data-design] .home-services .service-number {
  align-self:start; margin:4px 0 0; padding:0; color:var(--muted); font-size:12px;
}
html[data-design] .home-services .service-row>div:first-of-type { min-width:0; }
html[data-design] .home-services .service-row h2 {
  max-width:26ch; margin:0 0 8px; font-size:clamp(21px,2.5vw,30px); line-height:1.2;
  letter-spacing:-.035em; overflow-wrap:anywhere; text-wrap:balance;
}
html[data-design] .home-services .service-row p {
  max-width:64ch; margin:0; color:var(--muted); font-size:14px; line-height:1.7;
  overflow-wrap:anywhere; hyphens:auto;
}
html[data-design] .home-services .service-tasks {
  display:block; max-width:64ch; margin-top:9px; color:var(--muted);
  font-size:12px; line-height:1.6; overflow-wrap:anywhere;
}
html[data-design] .home-services .service-end {
  display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:flex-start;
  gap:10px 16px; min-width:0; padding:3px 0 0;
}
html[data-design] .home-services .service-end a {
  color:var(--ink); font-size:12px; line-height:1.5; text-underline-offset:4px;
}
html[data-design] .home-services .home-process {
  margin:clamp(42px,6vw,72px) 0 0; padding:24px;
  border:1px solid var(--border); background:var(--gray); box-sizing:border-box;
}
html[data-design] .home-services .home-process>.section-kicker { display:block; margin-bottom:20px; }
html[data-design] .home-services .work-process__grid {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0;
  list-style:none; margin:0; padding:0;
}
html[data-design] .home-services .work-process__grid li {
  min-width:0; padding:14px 18px; border-left:1px solid var(--border);
}
html[data-design] .home-services .work-process__grid li:first-child { padding-left:0; border-left:0; }
html[data-design] .home-services .work-process__grid li>span { color:var(--muted); font-size:11px; }
html[data-design] .home-services .work-process__grid h3 { margin:10px 0 5px; font-size:16px; }
html[data-design] .home-services .work-process__grid p { margin:0; color:var(--muted); font-size:13px; line-height:1.6; }
@media(max-width:900px) {
  html[data-design] .home-services { width:var(--shell); }
  html[data-design] .home-services .service-row {
    grid-template-columns:36px minmax(0,1fr)!important; gap:8px 16px;
  }
  html[data-design] .home-services .service-end { grid-column:2; justify-content:flex-start; padding:0; }
  html[data-design] .home-services .work-process__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html[data-design] .home-services .work-process__grid li:nth-child(odd) { padding-left:0; border-left:0; }
}
@media(max-width:620px) {
  html[data-design] .home-services { width:var(--shell); padding:58px 0; }
  html[data-design] .home-services .home-information__heading { grid-template-columns:minmax(0,1fr); gap:12px; }
  html[data-design] .home-services .home-information__heading h2 { font-size:clamp(34px,9vw,48px); }
  html[data-design] .home-services .home-information__heading>p { font-size:13px; }
  html[data-design] .home-services .service-row {
    grid-template-columns:30px minmax(0,1fr)!important; gap:8px 12px; padding:20px 0!important;
  }
  html[data-design] .home-services .service-number { font-size:10px; }
  html[data-design] .home-services .service-row h2 { font-size:21px; }
  html[data-design] .home-services .service-row p { font-size:13px; }
  html[data-design] .home-services .service-end { grid-column:2; }
  html[data-design] .home-services .home-process { padding:16px; }
}
@media(max-width:420px) {
  html[data-design] .home-services .work-process__grid { grid-template-columns:minmax(0,1fr); }
  html[data-design] .home-services .work-process__grid li {
    padding:14px 0; border-left:0; border-top:1px solid var(--border);
  }
  html[data-design] .home-services .work-process__grid li:first-child { border-top:0; }
}

/* Keep business systems and websites on one visual system and image frame. */
html[data-design] .classic-home .direction-card--crm {
  margin-top:0!important; color:var(--ink)!important; border-color:var(--border)!important;
}
html[data-design="1"] .classic-home .direction-card--crm { background:var(--paper)!important; }
html[data-design="2"] .classic-home .direction-card--crm { background:#f7f3eb!important; }
html[data-design="3"] .classic-home .direction-card--crm {
  grid-column:span 5!important; background:#202b35!important; border:1px solid var(--border)!important;
}
html[data-design="4"] .classic-home .direction-card--crm {
  background:#fafafa!important; border:2px solid var(--ink)!important;
}
html[data-design="5"] .classic-home .direction-card--crm { background:#e2ddee!important; }
html[data-design] .classic-home .direction-card--crm>p { color:var(--muted)!important; }
html[data-design] .classic-home .direction-card--crm .direction-top,
html[data-design] .classic-home .direction-card--crm .direction-bottom { border-color:var(--border)!important; }
html[data-design] .classic-home .direction-image {
  padding:0!important; border:0!important; border-radius:0!important;
  background:#fff!important; box-shadow:none!important;
}
html[data-design] .classic-home .direction-image img {
  border:0!important; border-radius:0!important; box-shadow:none!important; object-fit:cover!important; object-position:center!important;
}
html[data-design] .classic-home .direction-card--crm .direction-image {
  margin:40px -33px 0 38px!important;
}
@media(max-width:620px) {
  html[data-design] .classic-home .direction-card--crm .direction-image {
    margin:34px -22px 0 18px!important;
  }
}


/* Home designs 2 and 4: filters occupy a dedicated row before project cards. */
@media (min-width:621px) {
  body[data-page="home"][data-design="2"] .classic-home .home-project-catalog,
  body[data-page="home"][data-design="4"] .classic-home .home-project-catalog {
    display:flex!important; flex-direction:column!important; align-items:stretch!important;
    gap:0!important; position:relative!important; isolation:isolate; overflow:visible!important;
  }
  body[data-page="home"][data-design="2"] .classic-home .home-project-catalog > .home-project-filters,
  body[data-page="home"][data-design="4"] .classic-home .home-project-catalog > .home-project-filters {
    order:0; position:relative!important; inset:auto!important; float:none!important;
    grid-column:auto!important; align-self:stretch; flex:none; width:100%!important;
    margin:24px 0 20px!important; transform:none!important; z-index:auto!important;
  }
  body[data-page="home"][data-design="2"] .classic-home .home-project-catalog > .results-bar,
  body[data-page="home"][data-design="4"] .classic-home .home-project-catalog > .results-bar {
    order:1; position:relative!important; inset:auto!important; float:none!important;
    flex:none; width:100%; margin:0 0 18px!important; padding:0!important;
  }
  body[data-page="home"][data-design="2"] .classic-home .home-project-catalog > .featured-grid,
  body[data-page="home"][data-design="4"] .classic-home .home-project-catalog > .featured-grid {
    order:2; position:relative!important; inset:auto!important; float:none!important;
    grid-column:auto!important; clear:both; flex:none; width:100%!important; min-width:0;
    margin:0!important; z-index:auto!important; transform:none!important;
  }
  body[data-page="home"][data-design="4"] .classic-home .home-project-catalog > .featured-grid {
    display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:auto; align-items:start; gap:clamp(34px,4.2vw,64px) clamp(18px,2.4vw,32px)!important;
  }
}
@media (max-width:620px) {
  body[data-page="home"][data-design="2"] .classic-home .home-project-catalog,
  body[data-page="home"][data-design="4"] .classic-home .home-project-catalog {
    display:flex!important; flex-direction:column!important; gap:0!important;
  }
  body[data-page="home"][data-design="2"] .classic-home .home-project-catalog > .home-project-filters,
  body[data-page="home"][data-design="4"] .classic-home .home-project-catalog > .home-project-filters {
    order:0; position:relative!important; inset:auto!important; margin:18px 0 16px!important;
  }
  body[data-page="home"][data-design="2"] .classic-home .home-project-catalog > .featured-grid,
  body[data-page="home"][data-design="4"] .classic-home .home-project-catalog > .featured-grid {
    order:2; display:grid!important; grid-template-columns:minmax(0,1fr)!important;
    width:100%!important; margin:0!important; transform:none!important;
  }
}


/* Homepage geometry and image labels */
body[data-page="home"] .home-project-catalog { scroll-margin-top:24px; }
body[data-page="home"] .home-project-catalog .home-project-filters,
body[data-page="home"] .home-project-catalog .results-bar,
body[data-page="home"] .home-project-catalog .featured-grid { position:relative; inset:auto; float:none; transform:none; }
body[data-page="home"] .home-project-catalog .home-project-filters { margin-bottom:18px; }
body[data-page="home"] .home-project-catalog .results-bar { margin-bottom:18px; }
body[data-page="home"] .home-project-catalog .project-card__kind,
body[data-page="home"] .home-project-catalog .demo-marker { display:none; }
body[data-page="home"] .home-project-catalog .meta-line { display:flex; flex-wrap:wrap; gap:6px 12px; align-items:center; }
body[data-page="home"] .home-project-catalog .meta-line span { font-size:11px; line-height:1.45; }
body[data-page="home"] .home-project-catalog .project-card h3 { font-size:clamp(19px,2vw,27px); line-height:1.16; }
body[data-page="home"] .home-project-catalog .project-card__info p { font-size:14px; line-height:1.65; }
body[data-page="home"] .home-project-catalog .featured-grid { row-gap:clamp(32px,4vw,58px); }
.d6-home .d6-worklist .d6-work-item { grid-template-columns:26px minmax(0,1fr) 14px; }
.d6-home .d6-worklist .d6-work-item .d6-work-thumb {
  display:block; grid-column:2/4; grid-row:2; width:100%; max-width:150px;
  aspect-ratio:16/10; margin:7px 0 2px; overflow:hidden; background:#e5e9e4;
}
.d6-home .d6-worklist .d6-work-item .d6-work-thumb picture,
.d6-home .d6-worklist .d6-work-item .d6-work-thumb img { display:block; width:100%; height:100%; }
.d6-home .d6-worklist .d6-work-item .d6-work-thumb img { object-fit:cover; }
.d6-home .d6-worklist .d6-work-item { align-items:start; }
.d7-home .d7-scene-info { top:78px; }
.d7-home .d7-scene { padding:46px 0 68px; }
.design-rail { right:0; }
.design-rail__selected { max-width:88px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
@media(max-width:620px) {
  .design-rail { display:grid; grid-template-columns:minmax(0,1fr); justify-items:center; gap:3px; }
  .design-rail__caption { display:none; }
  .design-rail__selected { display:block; max-width:100%; writing-mode:horizontal-tb; font-size:10px; letter-spacing:.04em; }
  body[data-page="home"] .home-project-catalog { scroll-margin-top:14px; }
}


/* Compact, aligned sections across the seven home presentations */
body[data-page="home"] .classic-home .directions-intro,
body[data-page="home"] .classic-home .home-project-catalog .section-heading,
body[data-page="home"] .home-services .home-information__heading {
  align-items:center;
}
body[data-page="home"] .classic-home .directions-intro h2,
body[data-page="home"] .classic-home .home-project-catalog .section-heading h2,
body[data-page="home"] .home-services .home-information__heading h2 {
  max-width:none;
}
body[data-page="home"] .classic-home .directions-intro > p,
body[data-page="home"] .classic-home .home-project-catalog .section-heading__aside,
body[data-page="home"] .home-services .home-information__heading > p {
  align-self:center;
}
body[data-page="home"] .classic-home .directions-intro {
  grid-template-columns:minmax(0,1.15fr) minmax(220px,.85fr);
}
body[data-page="home"] .classic-home .directions-intro > p { margin:0; }

/* The two direction cards share a grid, footprint and image placement.
   Their colors and typography remain part of each selected design. */
body[data-page="home"] .classic-home .directions .direction-cards {
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:clamp(16px,2vw,26px);
}
body[data-page="home"] .classic-home .directions .direction-card,
body[data-page="home"] .classic-home .directions .direction-card--crm,
body[data-page="home"] .classic-home .directions .direction-card--site {
  grid-column:auto!important;
  align-self:stretch;
  width:100%;
  height:auto!important;
  min-height:clamp(360px,32vw,440px)!important;
  margin:0!important;
  box-sizing:border-box;
}
body[data-page="home"] .classic-home .directions .direction-card--crm .direction-image {
  margin:0!important;
}
@media(max-width:760px) {
  body[data-page="home"] .classic-home .directions .direction-cards {
    grid-template-columns:minmax(0,1fr)!important;
  }
  body[data-page="home"] .classic-home .directions .direction-card,
  body[data-page="home"] .classic-home .directions .direction-card--crm,
  body[data-page="home"] .classic-home .directions .direction-card--site {
    min-height:0!important;
  }
}

/* Move the home catalogue metadata into a quiet, readable image label. */
.project-card__image-meta { display:none; }
html[data-design="1"] body[data-page="home"] .classic-home .home-project-catalog .project-card__visual {
  isolation:isolate;
}
html[data-design="1"] body[data-page="home"] .classic-home .home-project-catalog .project-card__image-meta {
  position:absolute;
  z-index:2;
  top:12px;
  left:12px;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  max-width:calc(100% - 24px);
  pointer-events:none;
}
html[data-design="1"] body[data-page="home"] .classic-home .home-project-catalog .project-card__image-meta span {
  display:inline-flex;
  align-items:center;
  min-height:26px;
  max-width:100%;
  padding:5px 8px;
  border:1px solid #d8ded5;
  border-radius:3px;
  background:rgba(250,250,246,.94);
  color:#34433a;
  font:700 9px/1.25 system-ui,sans-serif;
  letter-spacing:.06em;
  text-transform:uppercase;
  overflow-wrap:anywhere;
}
html[data-design="1"] body[data-page="home"] .classic-home .home-project-catalog .project-card__info .meta-line {
  display:none;
}

/* Bring the homepage sections closer together without flattening each theme. */
@media(min-width:621px) {
  body[data-page="home"] .classic-home .hero { padding-block:clamp(36px,5vw,68px); }
}
body[data-page="home"] .classic-home .featured-section,
body[data-page="home"] .classic-home .directions,
body[data-page="home"] .home-information .home-services,
body[data-page="home"] .home-information .home-about,
body[data-page="home"] .home-information .home-final,
body[data-page="home"] .home-contact {
  padding-block:clamp(42px,6vw,78px);
}
body[data-page="home"] .home-contact { scroll-margin-top:24px; }
@media(max-width:620px) {
  body[data-page="home"] .classic-home .featured-section,
  body[data-page="home"] .classic-home .directions,
  body[data-page="home"] .home-information .home-services,
  body[data-page="home"] .home-information .home-about,
  body[data-page="home"] .home-information .home-final,
  body[data-page="home"] .home-contact {
    padding-block:clamp(34px,9vw,54px);
  }
}

/* Give the first design's filter controls an explicit, symmetric two-row layout. */
html[data-design="1"] body[data-page="home"] .classic-home .home-project-catalog .home-project-filters {
  grid-template-columns:minmax(0,1fr)!important;
  align-items:stretch;
}
html[data-design="1"] body[data-page="home"] .classic-home .home-project-catalog .home-project-filters > .type-filter,
html[data-design="1"] body[data-page="home"] .classic-home .home-project-catalog .home-project-filters > .filter-row {
  grid-column:1/-1!important;
}
html[data-design="1"] body[data-page="home"] .classic-home .home-project-catalog .home-project-filters > .type-filter {
  justify-content:flex-start;
}
html[data-design="1"] body[data-page="home"] .classic-home .home-project-catalog .home-project-filters > .filter-row {
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.25fr) auto;
  align-items:end;
  gap:12px;
}
html[data-design="1"] body[data-page="home"] .classic-home .home-project-catalog .home-project-filters .field-inline {
  min-height:64px;
  align-content:space-between;
  font-size:11px;
  line-height:1.3;
}
html[data-design="1"] body[data-page="home"] .classic-home .home-project-catalog .home-project-filters :is(select,input[type="search"],.filter-submit) {
  min-height:44px;
}
@media(max-width:900px) {
  html[data-design="1"] body[data-page="home"] .classic-home .home-project-catalog .home-project-filters > .filter-row {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:620px) {
  html[data-design="1"] body[data-page="home"] .classic-home .home-project-catalog .home-project-filters > .filter-row {
    grid-template-columns:minmax(0,1fr);
  }
}

/* Reduced spacing overrides earlier editorial padding in the base themes. */
html[data-design="1"] .classic-home .featured-section,
html[data-design="1"] .classic-home .directions,
html[data-design="1"] .home-information .home-services,
html[data-design="1"] .home-information .home-about,
html[data-design="1"] .home-information .home-final {
  padding-block:clamp(42px,6vw,78px);
}
@media(max-width:620px) {
  html[data-design="1"] .classic-home .featured-section,
  html[data-design="1"] .classic-home .directions,
  html[data-design="1"] .home-information .home-services,
  html[data-design="1"] .home-information .home-about,
  html[data-design="1"] .home-information .home-final {
    padding-block:clamp(34px,9vw,54px);
  }
}
html[data-design="1"] .classic-home .home-project-catalog .section-heading h2 { max-width:none; }
html[data-design="1"] .classic-home .directions-intro > p,
html[data-design="1"] .classic-home .home-project-catalog .section-heading__aside,
html[data-design="1"] .home-services .home-information__heading > p { align-self:center; }

/* Let project cards appear immediately while their lazy-loaded previews arrive. */
body[data-page="home"] .project-card.reveal {
  opacity:1;
  transform:none;
  transition:none;
}

/* Keep every homepage section and theme shell aligned to one shared width token. */
body[data-page="home"] { --shell:min(1320px,calc(100% - 104px)); }
@media(max-width:620px) {
  body[data-page="home"] { --shell:calc(100% - 34px); }
}

/* Give the homepage catalog visible in-place feedback while results are updating. */
body.home-catalog-loading [data-home-catalog-region] {
  opacity:.62;
  pointer-events:none;
  transition:opacity .16s ease;
}


/* Keep the sixth numbered style selector visible in the cinema presentation. */
@media (min-width:821px) {
  html[data-design="7"] .design-rail {
    position:fixed; top:50%; right:8px; bottom:auto; left:auto; z-index:65;
    display:flex; transform:translateY(-50%);
  }
}


/* Sixth numbered presentation (Cinema): keep project captions anchored to their frames. */
html[data-design="7"] .d7-scene-info {
  position:static;
  align-self:start;
}
html[data-design="7"] .d7-scene-line { margin-block:16px 28px; }
html[data-design="7"] .d7-scene { padding-block:clamp(42px,5vw,72px) clamp(56px,7vw,96px); }
html[data-design="7"] .d7-scenes-heading { padding-block:clamp(54px,7vw,88px); }
@media (max-width:820px) {
  html[data-design="7"] .d7-scene-layout,
  html[data-design="7"] .d7-scene:nth-child(odd) .d7-scene-layout {
    grid-template-columns:minmax(0,1fr);
  }
  html[data-design="7"] .d7-scene:nth-child(odd) .d7-scene-info,
  html[data-design="7"] .d7-scene:nth-child(odd) .d7-scene-image {
    grid-column:1;
    grid-row:auto;
  }
  html[data-design="7"] .d7-scene-info { max-width:64ch; }
  html[data-design="7"] .d7-scene-line { margin-block:12px 20px; }
}


/* Workspace presentation: strengthen the selected work and reduce dashboard chrome. */
html[data-design="6"] .d6-workspace {
  grid-template-columns:minmax(0,1.72fr) minmax(290px,.92fr);
  gap:12px;
  min-height:0;
  border:0;
  background:transparent;
  box-shadow:none;
  align-items:stretch;
}
html[data-design="6"] .d6-stage,
html[data-design="6"] .d6-inspector {
  border:1px solid #dce3dc;
  background:#fff;
}
html[data-design="6"] .d6-stage { box-shadow:0 12px 30px #2033290a; }
html[data-design="6"] .d6-inspector { padding-bottom:0; }
html[data-design="6"] .d6-inspector > .d6-panel-top { background:#f7f9f6; }
html[data-design="6"] .d6-inspector-actions { padding-inline:18px; }
html[data-design="6"] .d6-worklist { padding-inline:18px; }
html[data-design="6"] .d6-work-item {
  grid-template-columns:30px minmax(0,1fr) 14px;
  gap:8px;
  padding:13px 8px;
  border-radius:4px;
  line-height:1.4;
}
html[data-design="6"] .d6-work-item.is-selected {
  box-shadow:inset 3px 0 #218066;
  background:#edf5ef;
}
html[data-design="6"] .d6-work-item .d6-work-thumb { max-width:190px; }
html[data-design="6"] .d6-home-cta { display:none; }

html[data-design="6"] .home-services .empty-panel {
  max-width:68ch;
  margin:0 0 22px;
  padding:20px 24px;
  border:0;
  border-left:3px solid #218066;
  background:#f3f6f2;
  color:#45564b;
  font-size:15px;
  line-height:1.7;
  text-align:left;
}
html[data-design="6"] .home-services .home-process {
  margin-top:24px;
  padding:20px 22px;
  background:#f6f8f5;
}
html[data-design="6"] .home-services .work-process__grid li { padding-block:12px; }

html[data-design="6"] .about-layout { gap:0; align-items:stretch; }
html[data-design="6"] .about-visual,
html[data-design="6"] .about-typographic,
html[data-design="6"] .about-copy { min-height:0; }
html[data-design="6"] .about-typographic { min-height:420px; }
html[data-design="6"] .about-copy {
  align-self:stretch;
  padding:clamp(28px,4vw,54px);
  background:#fff;
}
html[data-design="6"] .contact-layout:has(.form-unavailable) .contact-form-panel {
  display:grid;
  align-content:center;
  min-height:0;
  padding:clamp(24px,4vw,44px);
  background:#f5f7f4;
}
html[data-design="6"] .contact-layout:has(.form-unavailable) .form-unavailable {
  margin:0;
  padding:0;
  border:0;
  background:transparent;
}
html[data-design="6"] .contact-layout:has(.form-unavailable) .form-unavailable h2 {
  font-size:clamp(22px,2.4vw,32px);
  line-height:1.2;
}
@media (max-width:1100px) {
  html[data-design="6"] .d6-workspace {
    grid-template-columns:minmax(0,1.65fr) minmax(260px,.9fr);
  }
}
@media (max-width:820px) {
  html[data-design="6"] .d6-workspace { grid-template-columns:minmax(0,1fr); gap:10px; }
  html[data-design="6"] .d6-inspector { grid-column:auto; }
  html[data-design="6"] .about-typographic { min-height:320px; }
  html[data-design="6"] .contact-layout:has(.form-unavailable) { grid-template-columns:minmax(0,1fr); }
}


/* Workspace sidebar: preserve its original sticky placement, remove green active fills. */
html[data-design="6"] body { background:#f7f8f6; }
html[data-design="6"] .ws-shell-sidebar {
  position:sticky;
  top:0;
  align-self:start;
  height:calc(100vh - 58px);
  min-height:420px;
  max-height:none;
  overflow-y:auto;
  background:#e8eee8;
  border-right:1px solid #cfd9d1;
}
html[data-design="6"] .ws-shell-sidebar nav { gap:4px; }
html[data-design="6"] .ws-shell-sidebar nav a {
  min-height:40px;
  padding:9px 12px;
  border:0;
  border-radius:5px;
  background:transparent!important;
  color:#46534a;
}
html[data-design="6"] .ws-shell-sidebar nav a[aria-current="page"] {
  background:transparent!important;
  color:#303a33;
  font-weight:750;
}
html[data-design="6"] .ws-shell-sidebar nav a:hover:not([aria-current="page"]) {
  background:#dfe5df!important;
  color:#303a33;
}
html[data-design="6"] .ws-shell-sidebar nav a:focus-visible {
  outline:2px solid #59665d;
  outline-offset:2px;
}
html[data-design="6"] .ws-shell-sidebar__bottom { color:#748078; }

html[data-design="6"] .d6-workspace {
  background:transparent;
  border:0;
  box-shadow:none;
  gap:16px;
}
html[data-design="6"] .d6-stage,
html[data-design="6"] .d6-inspector {
  border:1px solid #e0e4df;
  border-radius:4px;
  background:#fff;
  box-shadow:none;
}
html[data-design="6"] .d6-stage-image { background:#f2f4f1; border-color:#e0e4df; }
html[data-design="6"] .d6-inspector>.d6-panel-top { background:#fafbf9; }
html[data-design="6"] .d6-worklist { border-top-color:#e5e8e4; }
html[data-design="6"] .d6-worklist .home-project-filters { background:transparent; }
html[data-design="6"] .d6-work-item { background:transparent; }
html[data-design="6"] .d6-work-item.is-selected {
  background:#f2f3f1;
  box-shadow:inset 2px 0 #7b847d;
}
html[data-design="6"] .d6-work-item:hover:not(.is-selected) { background:#f8f9f7; }
html[data-design="6"] .d6-home-bottom { margin-top:28px; gap:12px; }
html[data-design="6"] .d6-home-bottom>div,
html[data-design="6"] .d6-home-bottom>a {
  padding:22px;
  border-color:#e0e4df;
  border-radius:4px;
  background:#fff;
}
html[data-design="6"] .d6-home-bottom>a:hover {
  border-color:#c8d3cb;
  background:#f7f9f7;
}

html[data-design="6"] .home-information .home-services,
html[data-design="6"] .home-information .home-about,
html[data-design="6"] .home-information .home-final,
html[data-design="6"] .home-contact {
  padding-block:clamp(34px,4vw,58px);
}
html[data-design="6"] .home-services .empty-panel {
  max-width:70ch;
  margin:0 0 22px;
  padding:18px 0;
  border:0;
  border-top:1px solid #dfe4df;
  border-bottom:1px solid #dfe4df;
  background:transparent;
  color:#536158;
  font-size:15px;
  line-height:1.7;
  text-align:left;
}
html[data-design="6"] .home-services .home-process {
  margin-top:24px;
  padding:18px 0;
  border:0;
  border-top:1px solid #dfe4df;
  border-bottom:1px solid #dfe4df;
  border-radius:0;
  background:transparent;
}
html[data-design="6"] .about-layout { gap:0; }
html[data-design="6"] .about-visual { min-height:0; background:#e8ece8; }
html[data-design="6"] .about-typographic { min-height:400px; background:#e8ece8; color:#202923; }
html[data-design="6"] .about-copy {
  align-self:stretch;
  min-height:0;
  padding:clamp(28px,4vw,52px);
  background:#fff;
}
html[data-design="6"] .contact-layout:has(.form-unavailable) .contact-form-panel {
  min-height:0;
  align-content:center;
  padding:clamp(22px,3vw,36px);
  border:1px solid #e0e4df;
  border-radius:4px;
  background:#fff;
}
html[data-design="6"] .contact-layout:has(.form-unavailable) .form-unavailable {
  margin:0;
  padding:0;
  border:0;
  background:transparent;
}
html[data-design="6"] .contact-layout:has(.form-unavailable) .form-unavailable h2 {
  margin-bottom:10px;
  font-size:clamp(22px,2.4vw,30px);
}
@media (min-width:1101px) {
  html[data-design="6"] body { grid-template-columns:minmax(0,196px) minmax(0,1fr); }
}
@media (max-width:820px) {
  html[data-design="6"] .ws-shell-sidebar {
    position:relative;
    top:auto;
    height:auto;
    min-height:0;
    max-height:none;
    overflow:visible;
    background:#e8eee8;
  }
  html[data-design="6"] .d6-workspace { gap:10px; }
  html[data-design="6"] .home-information .home-services,
  html[data-design="6"] .home-information .home-about,
  html[data-design="6"] .home-information .home-final,
  html[data-design="6"] .home-contact { padding-block:32px; }
}
