/* MÜRO: expressive objects, concise copy and details on demand. */
.prototype-home {
  --bg: #f5f5f0;
  --paper: #fff;
  --ink: #172e29;
  --muted: #566760;
  --mint: #176c54;
  --mint-dark: #10513f;
  --mint-light: #e0f3e9;
  --line: #d6dfd8;
  --dark: #163f33;
  --max: 1240px;
  --studio-pop: #c4f1d5;
  background: var(--bg);
}
.prototype-home .site-header { background: rgba(245,245,240,.96); border-bottom-color: var(--line); box-shadow: none; }
.prototype-home .btn { min-height: 48px; height: auto; padding: 12px 24px; border-radius: var(--button-radius); font-family: inherit; font-weight: 600; line-height: 1.4; box-shadow: none; transition: background 160ms ease, border-color 160ms ease; }
.prototype-home .btn:hover, .prototype-home .btn:focus-visible { transform: none; box-shadow: none; }
.prototype-home .btn[data-contact-trigger], .prototype-home .contact-actions .btn-outline { min-width: 0; height: auto; padding: 12px 24px; font-weight: 600; line-height: 1.4; white-space: normal; }
.prototype-home .site-header .header-quote { min-width: 0; white-space: nowrap; font-size: .875rem; }
.prototype-main > section { padding-block: 64px; }
.prototype-main .eyebrow { font-size: .7rem; letter-spacing: .12em; font-weight: 600; margin-bottom: 16px; }
.prototype-main .hero { padding-block: 36px 48px; }
.prototype-main .hero-grid { gap: 36px; align-items: center; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.prototype-main .hero h1 { font-size: clamp(3.8rem,6.5vw,6.2rem); font-weight: 600; line-height: .99; letter-spacing: -.065em; text-wrap: initial; overflow-wrap: normal; }
.prototype-main .hero h1 em { font-style: normal; color: var(--mint); font-weight: inherit; }
.prototype-main .hero-description { max-width: 420px; margin-top: 26px; font-size: 1.025rem; line-height: 1.7; }
.prototype-main .hero-actions { gap: 12px 20px; margin-top: 28px; }
.studio-text-action { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; background: transparent; color: var(--ink); border: 0; border-radius: var(--button-radius); font: inherit; font-size: .875rem; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #9bac9f; cursor: pointer; }
.studio-text-action:hover { color: var(--mint-dark); text-decoration-color: currentColor; }
.studio-text-action:focus-visible { outline: 3px solid var(--mint); outline-offset: 5px; }
.hero-project { min-width: 0; }
.prototype-main .hero-media { position: relative; isolation: isolate; overflow: clip; height: auto; aspect-ratio: 4/3; border-radius: 0; border: 0; box-shadow: none; background: transparent; }
.prototype-main .hero-media::before, .prototype-main .hero-media::after { display: none; }
.prototype-main .hero-media muro-hero { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.prototype-main .hero-media .editable-media { position: relative; }
.prototype-main .hero-media .editable-media img { object-fit: contain; padding: 0; filter: none; transform: none; }
.prototype-main .section-title,.prototype-main .section-title h2,.prototype-main .contact-card h2 { font-size: clamp(2.1rem,4.2vw,3.8rem); font-weight: 500; letter-spacing: -.055em; line-height: 1.1; }
.prototype-main .section-copy { font-size: .975rem; line-height: 1.7; max-width: 400px; }
.prototype-main .text-link { font-weight: 500; font-size: .875rem; text-decoration: underline; text-underline-offset: 6px; }
.prototype-main #portfolio { background: white; }
.prototype-main .portfolio-header { margin-bottom: 30px; }
.prototype-main .portfolio-grid { grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: auto; grid-auto-rows: auto; align-items: stretch; gap: 22px; margin: 0 0 20px; }
.prototype-main .project { display: flex; flex-direction: column; border-radius: 20px; background: transparent; overflow: visible; box-shadow: none; min-width: 0; margin: 0; }
.prototype-main .project-large { grid-row: auto; }
.prototype-main .project-image { isolation: isolate; overflow: hidden; border-radius: 20px; background: #e7ece7; }
.prototype-main .project img { display: block; height: auto; aspect-ratio: 1.12; object-fit: contain; padding: 18px; background: transparent; mix-blend-mode: multiply; border-radius: 0; transition: transform 220ms ease; }
.prototype-main .project:nth-child(2) .project-image { background: #f0eae2; }
.prototype-main .project:nth-child(3) .project-image { background: #e8ebf3; }
.prototype-main .project:hover img,.prototype-main .project:focus-visible img { transform: translateY(-4px); }
.prototype-main .project-overlay { position: static; display: flex; align-items: start; justify-content: space-between; gap: 12px; width: 100%; background: white; border-radius: 0; padding: 15px 2px 0; box-shadow: none; backdrop-filter: none; max-width: none; }
.prototype-main .project-overlay strong { font-weight: 500; font-size: .9rem; line-height: 1.45; }
.prototype-main .services { position: relative; background: var(--bg); }
.section-anchor { position: absolute; top: 0; scroll-margin-top: var(--scroll-offset,90px); }
.prototype-main .section-split { align-items: end; gap: 40px; }
.prototype-main .services-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; margin-top: 38px; }
.prototype-main .service { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr) minmax(0,1fr); gap: 34px; padding: 40px; border: 0; border-radius: 24px; background: var(--paper); min-width: 0; min-height: 0; box-shadow: none; }
.prototype-main .service:hover { transform: none; }
.service-overview,.service-scope-copy,.service-offer { min-width: 0; }
.service-symbol { display: block; width: 144px; height: 126px; object-fit: contain; margin: 0 0 22px; }
.prototype-main .service h3 { margin: 0; font-size: clamp(1.7rem,2.4vw,2.1rem); line-height: 1.15; letter-spacing: -.045em; font-weight: 500; }
.prototype-main .service h3 strong { font-weight: inherit; }
.prototype-main .service-tagline { color: var(--muted); font-size: .9rem; font-weight: 400; line-height: 1.65; margin: 14px 0 0; max-width: 270px; }
.service-scope-copy { align-self: center; font-size: .95rem; line-height: 1.65; }
.prototype-main .service-scope-copy p,.prototype-main .service-scope-copy li { font-size: .95rem; line-height: 1.65; color: var(--ink); }
.service-scope-copy ul { margin: 0; padding-left: 18px; }
.service-scope-copy li { padding-left: 4px; margin-block: 8px; }
.service-scope-copy li::marker { color: var(--mint); }
.service-scope-copy li p { margin: 0; }
.service-scope-copy > div + div { margin-top: 18px; }
.prototype-main .service-scope-copy > div + div p { color: var(--muted); font-size: .85rem; margin: 0; }
.service-scope-copy a { text-decoration: underline; text-underline-offset: 3px; }
.service-offer { align-self: center; }
.service-price { display: block; color: var(--mint-dark); font-size: clamp(1.25rem,1.9vw,1.6rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.3; }
.prototype-main .service .service-price-note { color: var(--muted); font-size: .8rem; line-height: 1.5; margin: 10px 0 24px; }
.prototype-home .service-enquiry.btn { width: 100%; border-color: #a9c2b5; }
.prototype-home .service-enquiry.btn:hover { background: #dcecdf; border-color: var(--mint); }
.studio-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 44px; padding-block: 10px; list-style: none; cursor: pointer; font-size: .875rem; font-weight: 500; color: var(--mint-dark); }
.studio-disclosure > summary::-webkit-details-marker { display: none; }
.studio-disclosure > summary::after { content: ''; flex: 0 0 24px; width: 24px; height: 24px; background: linear-gradient(currentColor,currentColor) center/12px 1px no-repeat,linear-gradient(currentColor,currentColor) center/1px 12px no-repeat; }
.studio-disclosure[open] > summary::after { background: linear-gradient(currentColor,currentColor) center/12px 1px no-repeat; }
.studio-disclosure > summary:hover { color: var(--ink); }
.studio-disclosure > summary:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; border-radius: 6px; }
.studio-disclosure[open] > summary { margin-bottom: 10px; }
.service-details { margin-top: 14px; }
[data-service-dialog-ready] > summary { justify-content: flex-start; text-decoration: underline; text-underline-offset: 5px; }
[data-service-dialog-ready] > summary::after { display: none; }
.prototype-main .service-print { background: var(--dark); color: #fff; }
.service-print .service-symbol { width: 160px; height: 140px; }
.prototype-main .service-print h3 { font-size: clamp(2rem,3vw,2.8rem); line-height: 1.05; }
.prototype-main .service-print .service-tagline { color: #d1e2d6; }
.prototype-main .service-print .service-scope-copy :is(p,li),.prototype-main .service-print .service-price-note { color: #d1e2d6; }
.service-print .service-scope-copy li::marker { color: var(--studio-pop); }
.service-print .service-scope-copy a { color: var(--studio-pop); }
.service-print .service-price { color: #fff; font-size: clamp(1.7rem,2.5vw,2.1rem); }
.prototype-main .service-print .btn { width: 100%; background: var(--studio-pop); color: var(--dark); }
.prototype-main .service-print .btn:hover { background: #e4ffe8; }
.prototype-main .service-print .btn:focus-visible { outline-color: var(--studio-pop); }
.service-print .studio-disclosure > summary { color: #d1e2d6; }
.service-print .studio-disclosure > summary:hover { color: #fff; }
.service-print .studio-disclosure > summary:focus-visible { outline-color: var(--studio-pop); }
.prototype-main .service-print [data-service-dialog-content] :is(p,li,h3,h4,strong) { color: #e1eee7; }
.prototype-main .service-print [data-service-dialog-content] a { color: var(--studio-pop); text-decoration: underline; }
.services-footer { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 28px 80px; margin-top: 32px; }
.services-price-note { color: var(--muted); max-width: 460px; font-size: .9rem; line-height: 1.65; }
.services-price-note p { margin: 0; }
.service-delivery strong { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 10px; }
.prototype-main .service-note { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.7; }
.service-note p { margin: 0; }
/* The native print-example fallback stays readable without JavaScript. */
.prototype-main .service .pricing-example-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.prototype-main .service .pricing-example { display: block; padding: 16px; border: 1px solid currentColor; border-radius: 12px; }
.prototype-main .service .pricing-example h4 { margin: 0 0 10px; font-size: 1rem; }
.prototype-main .pricing-example-number { display: none; }
@media (min-width: 651px) and (max-width: 1050px) {
  .prototype-main .service { grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); gap: 24px 32px; }
  .service-offer { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .service-offer .service-price-note { grid-column: 1; margin-bottom: 0; }
  .service-offer > :is(button,.btn) { grid-column: 2; grid-row: 1/3; align-self: center; }
  .service-offer .service-examples { grid-column: 2; }
}
/* Service details use the shared dialog and keep the homepage cards steady. */
.service-dialog { width: min(860px,95vw); }
.service-dialog-title { margin: 0 0 22px; padding-right: 28px; font-size: clamp(1.75rem,3vw,2.5rem); line-height: 1.15; letter-spacing: -.04em; font-weight: 600; }
.service-dialog-subtitle { margin: 28px 0 12px; font-size: 1.1rem; font-weight: 600; }
.service-dialog-body { min-width: 0; font-size: .975rem; line-height: 1.7; }
.service-dialog-body > :first-child { margin-top: 0; }
.service-dialog-body p { margin: 0 0 16px; }
.service-dialog-body ul { padding-left: 22px; margin: 0 0 20px; }
.service-dialog-body li { margin-block: 7px; }
.service-dialog-body li p { margin: 0; }
.service-dialog .pricing-examples { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.service-dialog .pricing-examples h3 { margin: 0 0 10px; font-size: 1.25rem; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; }
.service-dialog .pricing-examples-heading p { font-size: .875rem; }
.service-dialog .pricing-example-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 20px; border: 0; }
.service-dialog .pricing-example { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 20px; border: 1px solid #d7e5db; border-radius: 16px; background: #edf5ef; }
.service-dialog .pricing-example + .pricing-example { border-left: 1px solid #d7e5db; }
.service-dialog .pricing-example-number { display: none; }
.service-dialog .pricing-example h4 { min-height: 0; margin: 0; font-size: 1rem; line-height: 1.45; font-weight: 500; }
.service-dialog .pricing-example strong { margin-top: auto; font-size: 1.65rem; line-height: 1.25; letter-spacing: -.035em; font-weight: 600; color: var(--mint-dark); }
.service-dialog .pricing-example p { margin: 0; font-size: .8rem; line-height: 1.6; }
.service-dialog .pricing-examples-note { margin: 18px 0 0; font-size: .8rem; line-height: 1.6; }
/* Semantic use-case lists stay editable; the document slug supplies styling. */
.prototype-home #subpage-modal[data-subpage-slug="filament-pricing"] .subpage-modal { width: min(960px,95vw); }
.prototype-home #subpage-modal[data-subpage-slug="filament-pricing"] .subpage-modal-body { overflow-x: visible; }
.prototype-home #subpage-modal[data-subpage-slug="filament-pricing"] .subpage-modal-body > h3 { margin-top: 16px; color: var(--ink); font-size: 1.15rem; line-height: 1.4; }
.prototype-home #subpage-modal[data-subpage-slug="filament-pricing"] table { table-layout: fixed; font-size: .875rem; }
.prototype-home #subpage-modal[data-subpage-slug="filament-pricing"] :is(th,td) { padding: 12px; vertical-align: top; border: 0; border-bottom: 1px solid var(--line); }
.prototype-home #subpage-modal[data-subpage-slug="filament-pricing"] th { color: var(--ink); background: #eef4ef; font-size: .78rem; font-weight: 600; }
.prototype-home #subpage-modal[data-subpage-slug="filament-pricing"] :is(th,td):first-child { width: 26%; }
.prototype-home #subpage-modal[data-subpage-slug="filament-pricing"] :is(th,td):nth-child(2) { width: 19%; font-variant-numeric: tabular-nums; }
.prototype-home #subpage-modal[data-subpage-slug="filament-pricing"] td:nth-child(2) { white-space: nowrap; color: var(--ink); }
.prototype-home #subpage-modal[data-subpage-slug="filament-pricing"] td strong { font-weight: 600; color: var(--ink); }
.prototype-home #subpage-modal[data-subpage-slug="filament-pricing"] td > p + p { margin-top: 5px; font-size: .75rem; line-height: 1.4; }
.prototype-home #subpage-modal[data-subpage-slug="filament-pricing"] td em { font-style: normal; }
.prototype-home #subpage-modal[data-subpage-slug="filament-pricing"] td ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.prototype-home #subpage-modal[data-subpage-slug="filament-pricing"] td li { min-width: 0; max-width: 100%; margin: 0; padding: 5px 9px; border-radius: 999px; background: #e6f2e9; color: #245641; font-size: .75rem; line-height: 1.35; }
.prototype-home #subpage-modal[data-subpage-slug="filament-pricing"] td li p { margin: 0; font: inherit; }
@media (max-width: 550px) {
  .prototype-home #subpage-modal[data-subpage-slug="filament-pricing"] :is(th,td) { padding: 10px 6px; font-size: .78rem; }
  .prototype-home #subpage-modal[data-subpage-slug="filament-pricing"] :is(th,td):first-child { width: 27%; }
  .prototype-home #subpage-modal[data-subpage-slug="filament-pricing"] :is(th,td):nth-child(2) { width: 24%; }
  .prototype-home #subpage-modal[data-subpage-slug="filament-pricing"] th { font-size: .72rem; }
  .prototype-home #subpage-modal[data-subpage-slug="filament-pricing"] td li { padding: 5px 7px; font-size: .7rem; border-radius: 12px; }
}
/* A separate, compact process band. An ordered list also works without CSS/JS. */
.prototype-main .order-process { padding-block: 42px; background: #e0ece3; border-top: 1px solid #ceded0; }
.order-process-layout { display: grid; grid-template-columns: .75fr 2.8fr; align-items: center; gap: 36px; }
.prototype-main .order-process .eyebrow { margin-bottom: 8px; font-size: .62rem; }
.order-process-heading h2 { margin: 0; font-size: 1.4rem; line-height: 1.25; font-weight: 500; letter-spacing: -.035em; max-width: 250px; }
.prototype-main .workflow {
  --workflow-gap: 28px;
  --workflow-marker: 34px;
  --workflow-step-duration: 1600ms;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: var(--workflow-gap);
  overflow: visible;
}
.prototype-main .flow,
.prototype-main .flow + .flow,
.prototype-main .flow:nth-of-type(3),
.prototype-main .flow:nth-of-type(4) {
  position: relative;
  padding: 0;
  border: 0;
  margin: 0;
}
.prototype-main .flow:not(:last-child)::before,
.prototype-main .flow:not(:last-child)::after {
  content: '';
  position: absolute;
  top: calc(var(--workflow-marker) / 2);
  left: calc(var(--workflow-marker) / 2);
  width: calc(100% + var(--workflow-gap));
  height: 2px;
  background: #b6cdbc;
  transform-origin: left center;
  pointer-events: none;
}
.prototype-main .flow:not(:last-child)::after {
  background: var(--mint-dark);
  transform: scaleX(0);
}
.prototype-main .flow-number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--workflow-marker);
  height: var(--workflow-marker);
  margin: 0 0 12px;
  border: 1px solid #9cbdab;
  border-radius: 50%;
  background: #e0ece3;
  color: var(--mint-dark);
  font-size: .72rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.prototype-main .flow-number::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 13px;
  top: 7px;
  left: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg) scale(.5);
}
.prototype-main .flow strong { display: block; font-weight: 500; font-size: .9rem; line-height: 1.4; margin-bottom: 5px; }
.prototype-main .flow small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.prototype-main .flow-complete .flow-number {
  background: var(--mint-dark);
  border-color: var(--mint-dark);
  border-radius: 50%;
  color: transparent;
}
.prototype-main .flow-complete .flow-number::after { opacity: 1; transform: rotate(45deg) scale(1); }
.prototype-main .flow-complete:not(:last-child)::after { transform: scaleX(1); }
.prototype-main .flow-active:not(:last-child)::after { animation: workflow-connect var(--workflow-step-duration) ease-in-out both; }
.prototype-main .flow-active .flow-number { animation: workflow-milestone var(--workflow-step-duration) cubic-bezier(.22,.7,.32,1) both; }
.prototype-main .flow-active .flow-number::after { animation: workflow-check var(--workflow-step-duration) ease-out both; }
.prototype-main .workflow-motion-paused .flow::after,
.prototype-main .workflow-motion-paused .flow-number,
.prototype-main .workflow-motion-paused .flow-number::after { animation-play-state: paused; }
/* Read the number, pop, show a check in the same circle, then connect onward. */
@keyframes workflow-milestone {
  0%,28% { transform: scale(1); border-radius: 50%; background: #e0ece3; border-color: #9cbdab; color: var(--mint-dark); }
  43% { transform: scale(1.24); border-radius: 50%; background: #e0ece3; border-color: var(--mint-dark); color: var(--mint-dark); }
  56% { transform: scale(.94); border-radius: 50%; background: var(--mint-dark); border-color: var(--mint-dark); color: transparent; }
  68%,100% { transform: scale(1); border-radius: 50%; background: var(--mint-dark); border-color: var(--mint-dark); color: transparent; }
}
@keyframes workflow-check {
  0%,56% { opacity: 0; transform: rotate(45deg) scale(.5); }
  72%,100% { opacity: 1; transform: rotate(45deg) scale(1); }
}
@keyframes workflow-connect { 0%,76% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
@keyframes workflow-connect-vertical { 0%,76% { transform: scaleY(0); } 100% { transform: scaleY(1); } }
@media (max-width: 650px) {
  .prototype-main .workflow { grid-template-columns: 1fr; --workflow-gap: 26px; }
  .prototype-main .flow { display: grid; grid-template-columns: var(--workflow-marker) minmax(0,1fr); column-gap: 18px; align-content: start; }
  .prototype-main .flow-number { grid-column: 1; grid-row: 1 / 3; margin: 0; }
  .prototype-main .flow strong, .prototype-main .flow small { grid-column: 2; }
  .prototype-main .flow strong { padding-top: 5px; }
  .prototype-main .flow:not(:last-child)::before,
  .prototype-main .flow:not(:last-child)::after { width: 2px; height: calc(100% + var(--workflow-gap)); transform-origin: center top; }
  .prototype-main .flow:not(:last-child)::after { transform: scaleY(0); }
  .prototype-main .flow-complete:not(:last-child)::after { transform: scaleY(1); }
  .prototype-main .flow-active:not(:last-child)::after { animation-name: workflow-connect-vertical; }
}
@media (prefers-reduced-motion: reduce) {
  .prototype-main .flow::after, .prototype-main .flow-number, .prototype-main .flow-number::after { animation: none !important; }
}
.prototype-main .contact { background: var(--dark); padding-block: 54px; color: white; }
.prototype-main .contact-card { padding: 0; background: transparent; color: white; border-radius: 0; gap: 48px; overflow: visible; }
.prototype-main .contact-card h2 { color: white; font-size: clamp(2.3rem,5vw,4.5rem); }
.prototype-main .contact-card .eyebrow { color: var(--studio-pop); }
.prototype-main .contact-card p { color: #d1e2d6; max-width: 480px; font-size: .95rem; }
.prototype-main .contact-actions { gap: 12px; }
.prototype-main .contact-actions .btn { background: var(--studio-pop); color: #163f33; }
.prototype-main .contact-actions .btn-outline { color: #ecf8ef; background: transparent; border-color: #779b86; }
.prototype-main .contact-actions .btn:focus-visible { outline-color: var(--studio-pop); }
.prototype-home .site-footer { border-top: 1px solid var(--line); background: var(--bg); }
@media (min-width: 981px) {
  .prototype-home .container,.prototype-home .site-footer > .container { width: min(calc(100% - 96px),var(--max)); }
  .prototype-main .hero-grid { gap: 44px; }
}
@media (max-width: 980px) {
  .prototype-main > section { padding-block: 48px; }
  .prototype-main .hero { padding-top: 28px; padding-bottom: 36px; }
  .prototype-main .hero-grid { gap: 24px; }
  .prototype-main .hero h1 { font-size: clamp(2.75rem,6vw,4rem); }
  .prototype-main .hero-description { font-size: .925rem; margin-top: 20px; }
  .prototype-main .hero-actions { gap: 6px 16px; }
  .prototype-main .section-split { display: block; }
  .order-process-layout { grid-template-columns: 1fr; gap: 22px; }
  .order-process-heading h2 { max-width: none; }
  .prototype-main .contact-card { grid-template-columns: 1fr auto; align-items: center; }
  .prototype-main .contact-actions { flex-direction: column; }
}
@media (max-width: 650px) {
  .prototype-main .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .prototype-main .hero h1 { font-size: clamp(2.7rem,11.8vw,4.5rem); }
  .prototype-main .hero-description { max-width: 430px; }
  .prototype-main .portfolio-header { display: block; margin-bottom: 24px; }
  .prototype-main .portfolio-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 0; }
  .prototype-main .project img { aspect-ratio: 4/3; padding: 18px; }
  .prototype-main .project-overlay { padding-top: 10px; gap: 8px; align-items: start; }
  .prototype-main .project-overlay strong { font-size: .9rem; }
  .service-dialog .pricing-example-grid { grid-template-columns: 1fr; }
  .service-dialog .pricing-example { padding: 18px; }

  .prototype-main .order-process { padding-block: 28px; }
  .prototype-main .contact-card { grid-template-columns: 1fr; gap: 26px; }
  .prototype-main .contact-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: 12px; width: 100%; }
  .prototype-main .contact-actions .btn { width: 100%; min-width: 0; text-align: center; }
}
@media (max-width: 480px) {
  .prototype-main .contact-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce), (hover: none) {
  .prototype-main .project:hover img,.prototype-main .project:focus-visible img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .prototype-home .btn,.prototype-main .project img { transition: none; }
}
@media (max-width: 650px) {
  .prototype-main .services-grid { margin-top: 28px; }
  .prototype-main .service { grid-template-columns: 1fr; gap: 24px; padding: 26px 24px; }
  .service-overview { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 0 20px; align-items: center; }
  .service-symbol,.service-print .service-symbol { grid-row: 1/3; width: 96px; height: 84px; margin: 0; }
  .prototype-main .service h3,.prototype-main .service-print h3 { font-size: 1.8rem; }
  .prototype-main .service-tagline { grid-column: 2; margin-top: 10px; }
  .prototype-main .service-scope-copy p,.prototype-main .service-scope-copy li { font-size: .9rem; }
  .service-price { font-size: 1.5rem; }
  .prototype-main .service .service-price-note { margin-bottom: 18px; }
  .services-footer { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 420px) {
  .service-overview { grid-template-columns: 80px minmax(0,1fr); gap: 0 14px; }
  .service-symbol,.service-print .service-symbol { width: 80px; height: 70px; }
  .prototype-main .service h3,.prototype-main .service-print h3 { font-size: 1.55rem; }
}

/* One invitation after the portfolio, without a trailing project divider. */
.prototype-portfolio .site-footer > .container { border-top: 0; }
.portfolio-contact .contact-email { grid-column: 1 / -1; }
.prototype-portfolio .site-footer { border-top: 0; }
.prototype-main .contact .contact-card {
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
}
.prototype-main .contact .contact-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  gap: 12px;
}
.prototype-main .contact .contact-actions .btn {
  min-height: 52px;
  width: 100%;
  text-align: center;
}
@media (max-width: 760px) {
  .prototype-main .contact .contact-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .prototype-main .contact .contact-actions {
    max-width: none;
    gap: 14px;
  }
  .prototype-main .contact .contact-actions .btn {
    min-height: 56px;
    padding: 16px 24px;
  }
  .prototype-main .contact .contact-actions .contact-email {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin-top: 8px;
    padding: 20px 12px 4px;
    border-top: 1px solid rgba(196, 241, 213, .22);
    color: #d1e2d6;
    font-size: .95rem;
    text-underline-offset: 5px;
    text-decoration-color: rgba(196, 241, 213, .5);
  }
  .prototype-main .contact .contact-actions .contact-email:is(:hover, :focus-visible) {
    color: white;
    text-decoration-color: currentColor;
  }
}
/* Always-visible service navigation, with a quiet current-section marker. */
.services-navigation { display: flex; align-items: center; gap: 24px; }
.services-navigation-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.prototype-home .site-nav .services-navigation a { display: inline-flex; align-items: center; min-height: 40px; white-space: normal; font-size: .8rem; }
.prototype-home .site-nav .services-navigation-heading { font-weight: 600; flex-shrink: 0; }
.prototype-home .site-nav [data-nav-section].is-current {
  color: var(--mint-dark); text-decoration: underline; text-decoration-color: var(--mint);
  text-decoration-thickness: 2px; text-underline-offset: 7px;
}
.services-grid > .service { scroll-margin-top: calc(var(--scroll-offset, 90px) + 16px); }
/* Desktop items keep their natural width; they never compete as 100%-wide links. */
@media (min-width: 1400px) {
  .prototype-home .site-header .container {
    display: flex; width: min(calc(100% - 40px), 1600px);
    gap: 16px; padding: 0; min-height: 72px;
  }
  .prototype-home .site-header .brand { flex: 0 0 132px; width: 132px; margin-right: auto; }
  .prototype-home .site-header .brand img { width: 132px; height: auto; }
  .prototype-home .site-header .menu-group { flex: 0 0 auto; min-width: max-content; }
  .prototype-home .site-header .site-nav {
    display: flex; flex-flow: row nowrap; align-items: center; justify-content: flex-start; gap: 12px;
    width: max-content; min-width: max-content; max-width: none; padding-block: 6px;
    overflow: visible;
  }
  .prototype-home .services-navigation,
  .prototype-home .services-navigation-links { display: contents; }
  .prototype-home .site-header .site-nav a {
    flex: 0 0 auto; width: auto; min-width: max-content; white-space: nowrap;
    font-size: 13px; line-height: 1.35;
  }
  .prototype-home .site-header .header-quote { flex: 0 0 auto; width: auto; min-width: 0; padding-inline: 18px; font-size: 13px; }
}
@media (max-width: 1399px) {
  .prototype-home .site-header .container {
    display: grid; grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-areas: "menu brand quote"; gap: 12px; min-height: 72px;
    position: relative;
  }
  .prototype-home .site-header .menu-group { grid-area: menu; position: static; order: 0; justify-self: start; }
  .prototype-home .site-header .brand { grid-area: brand; min-width: 0; width: auto; margin: 0; }
  .prototype-home .site-header .brand img { width: min(100%, 132px); height: auto; }
  .prototype-home .site-header .header-quote { grid-area: quote; }
  .prototype-home .site-header .header-languages { display: none; }
  .prototype-home .site-header .menu-toggle { display: block; width: 44px; height: 44px; }
  .prototype-home .site-header .menu-toggle span { width: 24px; left: 10px; }
  .prototype-home .site-header .menu-toggle span:first-child { top: 14px; }
  .prototype-home .site-header .menu-toggle span:last-child { bottom: 14px; }
  .prototype-home .site-header .site-nav {
    display: none; position: absolute; top: calc(100% + 4px); left: 0; right: auto;
    flex-direction: column; align-items: stretch; gap: 6px;
    width: min(400px, calc(100vw - 40px)); min-width: 0; max-width: none;
    max-height: calc(100dvh - 90px); overflow-y: auto; padding: 16px;
    border: 1px solid var(--line); border-radius: 22px;
    background: var(--paper); box-shadow: 0 16px 40px rgba(23, 46, 41, .14);
    overscroll-behavior: contain;
  }
  .prototype-home .site-header .site-nav.open { display: flex; visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
  .services-navigation { display: block; width: 100%; }
  .services-navigation-links { display: flex; flex-direction: column; gap: 6px; margin: 6px 0 0; padding: 0; border: 0; }
  .prototype-home .site-header .site-nav > a,
  .prototype-home .site-header .site-nav .services-navigation a {
    display: flex; align-items: center; width: 100%; min-height: 56px;
    padding: 14px 16px; border-radius: 12px; font-size: 16px; line-height: 1.4;
    white-space: normal; text-decoration: none;
  }
  .prototype-home .site-header .site-nav .services-navigation-links a {
    padding-left: 24px; background: #f5f7f3; font-size: 15px;
  }
  .prototype-home .site-header .site-nav [data-nav-section].is-current {
    background: var(--mint-light); color: var(--mint-dark); font-weight: 600; text-decoration: none;
  }
  .prototype-home .site-header .site-nav a:active { background: var(--mint-light); }
  .prototype-home .site-header .site-nav .language-list { align-self: center; margin-top: 12px; }
  .prototype-home .site-header .site-nav .language-list a {
    width: 48px; min-width: 48px; height: 48px; min-height: 48px; flex: 0 0 48px; font-size: 12px;
  }
}

/* A quiet resource band above a deliberately grouped studio signature. */
.prototype-home .site-footer { padding: 28px 0 36px; }
.prototype-home .site-footer .footer-content {
  display: flex; flex-direction: column; align-items: stretch; gap: 30px;
  padding: 0; border-top: 0;
}
.prototype-home .site-footer .footer-links {
  display: flex; flex-direction: row; flex-wrap: wrap; align-items: center;
  gap: 2px 26px; padding: 8px 20px; border: 1px solid var(--line);
  border-radius: 16px; background: #edf2ec;
}
.prototype-home .site-footer .footer-links [data-footer-pages] { display: contents; }
.prototype-home .site-footer .footer-links :is(a, button) {
  min-height: 44px; padding: 10px 0; font-size: .8125rem; font-weight: 500;
  line-height: 1.5; overflow-wrap: normal; text-align: left;
}
.prototype-home .site-footer .footer-identity {
  display: grid; grid-template-columns: 160px minmax(0, 1fr);
  align-items: center; gap: 24px 40px; padding: 0 4px;
}
.prototype-home .site-footer .footer-identity > img {
  width: 160px; max-width: 100%; height: auto; margin: 0;
}
.prototype-home .site-footer .footer-company {
  display: flex; flex-direction: column; gap: 5px; min-width: 0;
  align-items: flex-end; text-align: right;
}
.prototype-home .site-footer .footer-company span { line-height: 1.5; }
.prototype-home .site-footer .footer-company [data-i18n="footerCompanyName"] {
  color: var(--ink); font-size: .9375rem; font-weight: 600;
}
.prototype-home .site-footer .footer-company [data-i18n="footerCompanyRegistration"] {
  color: var(--muted); font-size: .75rem; font-weight: 400;
}
.prototype-home .site-footer :is(a, button):focus-visible {
  outline: 2px solid var(--mint); outline-offset: 5px; border-radius: 3px;
}
@media (max-width: 760px) {
  .prototype-home .site-footer { padding: 24px 0 28px; }
  .prototype-home .site-footer .footer-content { gap: 24px; }
  .prototype-home .site-footer .footer-links { padding: 8px 16px; gap: 0 20px; }
  .prototype-home .site-footer .footer-identity { grid-template-columns: 132px minmax(0, 1fr); gap: 20px 28px; }
}
@media (max-width: 420px) {
  .prototype-home .site-footer .footer-identity { grid-template-columns: 112px minmax(0, 1fr); column-gap: 20px; }
  .prototype-home .site-footer .footer-company [data-i18n="footerCompanyName"] { font-size: .8125rem; }
}
