@media (max-width: 700px) {
  :root {
    --proposal-title: clamp(30px, 9.4vw, 64px);
    --proposal-image-height: clamp(150px, 46vw, 200px);
  }
  .technical-mark.steps-mark > span { width: 32px; height: 48px; }
  .technical-mark.steps-mark > span:nth-child(2) { height: 64px; }
  .technical-mark.steps-mark > span:nth-child(3) { height: 80px; }
  .manifesto-inner { display: flex; flex-direction: column; }
  .manifesto-title { margin-bottom: var(--s6); }
  .manifesto-bottom { display: contents; }
  .manifesto-bottom .sprint-mark { order: -1; align-self: flex-start; margin-bottom: var(--s6); }
  .steps { grid-template-columns: 1fr; gap: var(--s6); }
  .steps li { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: var(--s3); }
  .steps h3 { margin: 0; }
  .steps p { grid-column: 1 / -1; }
  .service-bottom { align-items: center; text-align: center; padding-top: var(--s8); }
  .service-copy .text-link { border-bottom: 0; }
  .service-bottom .text-link { gap: var(--s3); }
  .intro > div:first-child { flex-direction: column; align-items: flex-start; }
  .intro .eyebrow { margin-bottom: var(--s6); }
  .hero-title-line { gap: var(--s2); }
  .hero-title-line .sprint-mark { width: clamp(48px, 16vw, 64px); translate: 12px 0; }
  .hero-proposal-areas { row-gap: var(--s6); }
  .form-grid :is(input, select, textarea) { font-size: 16px; }
  .form-grid textarea { min-height: 144px; }
  .contact-links strong { overflow-wrap: anywhere; }
  .footer-top { display: grid; grid-template-columns: 72px minmax(0, 1fr) 44px; gap: var(--s3); align-items: center; }
  .footer-top .brand img { width: 72px; height: auto; }
  .footer-top > .brand { grid-column: 1; grid-row: 1; }
  .footer-top > p { grid-column: 2; grid-row: 1; margin-left: var(--s1); }
  .footer-top > .back-top { grid-column: 3; grid-row: 1; width: auto; margin-left: 0; justify-self: end; }
  .footer-wordmark { font-size: 56px; justify-content: flex-start; gap: var(--s4); }
  .footer-beyond { width: clamp(56px, 16vw, 112px); margin-left: 0; }
}
@media (max-width: 359px) {
  .steps { grid-template-columns: 1fr; gap: var(--s6); }
  #contact-form { padding: var(--s5); }
  .principle h3 { font-size: 30px; }
}

html:has(.mobile-drawer[open]) { overflow: hidden; }
.mobile-drawer {
  inset: 0 0 0 auto;
  margin: 0;
  width: min(380px, calc(100% - 24px));
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: max(var(--s6), env(safe-area-inset-top)) var(--s6) max(var(--s6), env(safe-area-inset-bottom));
  border: 0;
  border-radius: var(--s6) 0 0 var(--s6);
  background: var(--white);
  color: var(--ink);
  box-shadow: -8px 0 40px rgb(0 0 0 / .12);
}
.mobile-drawer[open] { display: flex; flex-direction: column; gap: var(--s5); }
.mobile-drawer::backdrop { background: rgb(32 35 33 / .38); }
.mobile-drawer-top { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; padding-bottom: var(--s6); border-bottom: 1px solid #e5e5e5; }
.mobile-drawer-top img { object-fit: contain; }
.mobile-drawer-close { display: grid; place-items: center; min-height: 44px; padding: var(--s3) var(--s4); border: 1px solid var(--muted); border-radius: var(--s6); background: transparent; color: var(--ink); cursor: pointer; }
.mobile-drawer-links { display: flex; flex-direction: column; gap: var(--s2); flex: 1; min-height: 0; overflow-y: auto; }
.mobile-drawer-links a { display: flex; align-items: center; min-height: 52px; padding-block: var(--s3); font-size: var(--lead); }
.mobile-drawer-links a:hover { color: var(--orange-dark); }
.mobile-drawer-cta { flex-shrink: 0; justify-content: center; height: 56px; min-height: 56px; padding: var(--s3) var(--s5); border: 0; border-radius: var(--s8); background: var(--orange); color: var(--ink); font-size: var(--small); }
.mobile-drawer-cta:hover { background: var(--ink); color: var(--white); }
@keyframes mobile-drawer-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: no-preference) { .mobile-drawer[open] { animation: mobile-drawer-enter 260ms cubic-bezier(.22,1,.36,1); } }

:root { --menu-control-border: #b8b8b8; }
.header-light .menu-toggle,
.mobile-drawer-close { border-color: var(--menu-control-border); }
