/* 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; }

.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; }
  .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: 12ch;
  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(7,44px);
    justify-content: center;
    gap: 0;
    width: 308px;
    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-height: 540px; padding: clamp(24px, 4vw, 56px); color: #f4f3ed; }
.about-typographic strong { font-size: clamp(54px, 8vw, 110px); line-height: .85; letter-spacing: -.08em; }
.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: 12ch; 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: 12ch; 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: 480px; overflow: auto; scrollbar-width: thin; }
.d6-home .d6-work-item { min-width: 0; }
.d6-home .d6-work-item > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.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; }
}

/* 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: 12ch;
    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:12ch; margin:12px 0 0; }
html[data-design="1"] .classic-home .directions-intro > p { max-width:38ch; margin:0 0 8px; 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:12ch; 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:12ch; 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; }
}
