/* ================================================================
   BLOK. — Mobile Redesign
   Native-app feel, thumb-driven, brutalist warmth
   Activates at ≤768px and overrides structural.css mobile block
   ================================================================ */

/* ── Layer: override desktop mobile section ── */
@media (max-width: 768px) {

  /* ── Safe area variables (default in :root already) ──── */

  /* ── 1. BOTTOM TAB BAR ─────────────────────────────────── */
  .bottom-tabs {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 300;
    display: flex;
    align-items: stretch;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--surface);
    border-top: 2px solid var(--fg);
    transform: translateY(0);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -2px 20px rgba(0,0,0,0.06);
  }

  .bottom-tabs--hidden {
    transform: translateY(100%);
  }

  .bottom-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    position: relative;
    padding: 4px 0;
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
  }

  .bottom-tab i {
    font-size: 1.2rem;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .bottom-tab span {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .bottom-tab--active {
    color: var(--fg);
  }

  .bottom-tab--active i {
    transform: scale(1.15);
  }

  .bottom-tab::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transform: translateX(-50%);
    transition: width 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .bottom-tab--active::after {
    width: 24px;
  }

  .bottom-tab:active i {
    transform: scale(0.9);
  }

  /* ── 2. FLOATING FLOOR PILL ────────────────────────────── */
  .floor-pill {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    z-index: 230;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 12px;
    background: var(--fg);
    color: var(--surface);
    border: none;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  }

  .floor-pill--visible {
    opacity: 1;
  }

  .floor-pill i {
    font-size: 0.8rem;
  }

  .floor-pill__num {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
  }

  /* ── 3. BOTTOM SHEET MENU ──────────────────────────────── */
  .sheet-overlay {
    position: fixed;
    inset: 0;
    z-index: 250;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }

  .sheet-overlay--open {
    opacity: 1;
    pointer-events: auto;
  }

  .bottom-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 260;
    background: var(--bg);
    border-top: 2px solid var(--fg);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 70vh;
    overflow-y: auto;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .bottom-sheet--open {
    transform: translateY(0);
  }

  .bottom-sheet__handle {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: var(--border);
    margin: 10px auto 0;
  }

  .bottom-sheet__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 8px;
    border-bottom: 1px solid var(--border);
  }

  .bottom-sheet__title {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--steel);
  }

  .bottom-sheet__close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--border);
    color: var(--fg);
    cursor: pointer;
    font-size: 0.9rem;
  }

  .bottom-sheet__body {
    padding: 8px 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .bottom-sheet__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 12px;
    border: none;
    background: none;
    color: var(--muted);
    cursor: pointer;
    text-decoration: none;
    text-align: left;
    transition: all 0.2s;
    border-radius: 0;
  }

  .bottom-sheet__item:active {
    background: var(--surface);
  }

  .bottom-sheet__item--active {
    color: var(--fg);
    background: var(--surface);
    border: 1px solid var(--border);
  }

  .bottom-sheet__item-num {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--steel-light);
    width: 28px;
    text-align: right;
  }

  .bottom-sheet__item--active .bottom-sheet__item-num {
    color: var(--accent);
  }

  .bottom-sheet__item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .bottom-sheet__item-label {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
  }

  .bottom-sheet__item-sub {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--steel-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .bottom-sheet__item-arrow {
    font-size: 1rem;
    color: var(--border);
    transition: transform 0.2s;
  }

  .bottom-sheet__item--active .bottom-sheet__item-arrow {
    color: var(--fg);
    transform: translate(2px, -2px);
  }

  .bottom-sheet__foot {
    padding: 12px 20px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: center;
  }

  /* ── 4. HERO — Full-bleed brutalist ────────────────────── */
  body {
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 64px;
  }

  .structural-nav,
  .floor-indicator,
  .viz-toggle { display: none; }
  .mobile-bar { display: none !important; }
  .mobile-menu { display: none !important; }

  .hero {
    min-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle at 70% 30%, var(--accent-dim), transparent 70%);
    opacity: 0.12;
    pointer-events: none;
  }

  .hero__split {
    flex-direction: column;
    min-height: auto;
    justify-content: center;
  }

  .hero__copy {
    flex: none;
    padding: 32px 20px;
  }

  .hero__eyebrow { display: none; }

  .hero__title {
    font-size: clamp(60px, 18vw, 100px);
    margin-bottom: 0;
    line-height: 0.85;
    position: relative;
    display: inline-block;
  }

  .hero__title::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0.3);
    transform-origin: left;
    animation: heroUnderline 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.3s;
  }

  @keyframes heroUnderline {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
  }

  .hero__tagline {
    margin-top: 16px;
    font-size: 15px;
    max-width: 100%;
    line-height: 1.5;
    color: var(--muted);
  }

  .hero__tagline strong {
    color: var(--fg);
  }

  .hero__actions {
    margin-top: 28px;
    flex-direction: column;
    gap: 10px;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 0.72rem;
  }

  .hero__actions .btn--primary {
    background: var(--fg);
    color: var(--surface);
  }

  /* Animated scroll hint */
  .hero__scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 32px;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: 0;
    animation: fadeUp 0.6s ease forwards;
    animation-delay: 1s;
  }

  @keyframes fadeUp {
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 0.6; transform: translateY(0); }
  }

  .hero__scroll-hint__line {
    width: 1px;
    height: 24px;
    background: linear-gradient(to bottom, var(--steel), transparent);
    animation: scrollPulse 2s infinite;
  }

  .hero__discipline-blocks {
    display: flex;
    gap: 6px;
    padding: 0 20px 24px;
    flex-wrap: wrap;
    margin-top: -8px;
    opacity: 0;
    animation: fadeUp 0.5s ease forwards;
    animation-delay: 0.8s;
  }

  .hero__discipline-block {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 12px;
    border: 1px solid var(--border);
    color: var(--muted);
    transition: background 0.2s, color 0.2s;
  }

  .hero__discipline-block:active {
    background: var(--fg);
    color: var(--surface);
  }

  .hero__discipline-block:nth-child(1) { border-color: oklch(70% 0.14 28); color: oklch(55% 0.2 28); }
  .hero__discipline-block:nth-child(2) { border-color: oklch(72% 0.12 230); color: oklch(58% 0.14 230); }
  .hero__discipline-block:nth-child(3) { border-color: oklch(75% 0.12 120); color: oklch(65% 0.14 120); }
  .hero__discipline-block:nth-child(4) { border-color: oklch(70% 0.08 180); color: oklch(55% 0.1 180); }
  .hero__discipline-block:nth-child(5) { border-color: var(--border); color: var(--muted); }

  /* Staggered entrance for discipline blocks */
  .hero__discipline-block:nth-child(1) { animation: tagFadeIn 0.4s ease forwards; animation-delay: 0.9s; opacity: 0; }
  .hero__discipline-block:nth-child(2) { animation: tagFadeIn 0.4s ease forwards; animation-delay: 1.0s; opacity: 0; }
  .hero__discipline-block:nth-child(3) { animation: tagFadeIn 0.4s ease forwards; animation-delay: 1.1s; opacity: 0; }
  .hero__discipline-block:nth-child(4) { animation: tagFadeIn 0.4s ease forwards; animation-delay: 1.2s; opacity: 0; }
  .hero__discipline-block:nth-child(5) { animation: tagFadeIn 0.4s ease forwards; animation-delay: 1.3s; opacity: 0; }

  @keyframes tagFadeIn {
    0% { opacity: 0; transform: translateY(4px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
  }

  .scroll-indicator { display: none; }
  .hero__disciplines { display: none; }

  /* ── 5. SECTION LAYOUT — Native app style ──────────────── */
  .section {
    padding: 32px 0;
  }

  .container {
    padding: 0;
  }

  .section-header {
    margin-bottom: 20px;
    padding: 0 20px;
  }

  .section-header h2 {
    max-width: 100%;
    font-size: clamp(24px, 7vw, 34px);
  }

  .section-header .eyebrow {
    margin-bottom: 8px;
    font-size: 0.65rem;
  }

  /* ── 6. MARQUEE ────────────────────────────────────────── */
  .marquee-structural {
    padding: 10px 0;
  }

  .marquee-structural__track {
    animation-duration: 16s;
    gap: 24px;
  }

  .marquee-structural__track span {
    gap: 24px;
    font-size: 0.6rem;
  }

  .marquee-structural__track span::after {
    width: 4px;
    height: 4px;
  }

  /* ── 7. SERVICES — Horizontal snap carousel ────────────── */
  .structural-beam { display: none; }

  #serviceGrid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px 8px;
    margin: 0;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  #serviceGrid::-webkit-scrollbar { display: none; }

  /* Peek effect — show partial next card */
  .service-card {
    flex: 0 0 76%;
    scroll-snap-align: start;
    border: 2px solid var(--border);
    background: var(--surface);
    transition: border-color 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .service-card:active {
    transform: scale(0.98);
  }

  .service-card:first-child { margin-left: 0; }
  .service-card:last-child {
    margin-right: 0;
    /* Add right padding so last card can scroll into center */
    position: relative;
  }
  .service-card:last-child::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 0;
    bottom: 0;
    width: 1px;
    pointer-events: none;
  }

  .service-card__header {
    padding: 16px 14px;
    gap: 10px;
  }

  .service-card__header h3 {
    font-size: 15px;
  }

  .service-card__icon {
    font-size: 1.1rem;
  }

  .service-card__body-inner {
    padding: 0 14px 14px;
  }

  .service-card__body-inner p {
    font-size: 0.82rem;
    line-height: 1.6;
  }

  /* Snap dots */
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 4px 0 0;
  }

  .carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
  }

  .carousel-dot--active {
    background: var(--fg);
    transform: scale(1.4);
  }

  /* ── 8. STATS — Compact grid ───────────────────────────── */
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 0 20px;
  }

  .stat-block {
    padding: 20px 12px;
  }

  .stat-block__num {
    font-size: 1.8rem;
    margin-bottom: 2px;
  }

  .stat-block__label {
    font-size: 0.55rem;
  }

  .stat-block__annotation,
  .stat-block__meter { display: none; }

  /* ── 9. WORK — Full-width cards ────────────────────────── */
  .work-filters {
    margin: 0 20px 16px;
    width: auto;
    display: flex;
  }

  .work-filter {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    font-size: 0.55rem;
  }

  /* Simpler card animation on mobile — just fade, no slide */
  .work-item.filtering-out {
    transform: none;
  }
  .work-item.filtering-in {
    transform: none;
  }

  .work-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 20px;
  }

  .work-item {
    display: block;
    border: 2px solid var(--border);
    background: var(--surface);
    text-decoration: none;
    color: inherit;
  }

  .work-item:active {
    border-color: var(--fg);
  }

  .work-item__thumb {
    height: 160px;
  }

  .work-item__body {
    padding: 12px 14px;
  }

  .work-item__desc { display: none; }

  .work-item__title {
    font-size: 0.95rem;
    margin-bottom: 0;
    font-family: var(--font-display);
    font-weight: 600;
  }

  .work-item__tag {
    font-size: 0.55rem;
    margin-bottom: 4px;
    font-family: var(--font-mono);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--steel);
    display: block;
  }

  /* ── 10. PROCESS — Compact timeline ────────────────────── */
  .process-split {
    display: block;
  }

  .process-split__header {
    position: static;
    margin-bottom: 20px;
  }

  .process-timeline {
    padding-left: 36px;
    max-width: 100%;
    margin: 0 20px;
  }

  .process-step {
    padding-bottom: 24px;
  }

  .process-step__marker {
    left: -36px;
    width: 24px;
    height: 24px;
    font-size: 0.5rem;
  }

  .process-step__title {
    font-size: 0.95rem;
    font-family: var(--font-display);
    font-weight: 600;
  }

  .process-step__desc {
    display: none;
  }

  .process-step__meta {
    display: flex;
    gap: 12px;
    margin-top: 6px;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--steel-light);
  }

  .process-step__meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .process-step__meta i {
    font-size: 0.6rem;
  }

  /* ── 11. TESTIMONIALS — Horizontal scroll ──────────────── */
  .testimonial-wall {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px 8px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .testimonial-wall::-webkit-scrollbar { display: none; }

  .testimonial-block {
    flex: 0 0 72%;
    scroll-snap-align: start;
    padding: 16px 14px 14px;
    border: 2px solid var(--border);
    background: var(--surface);
    transition: border-color 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .testimonial-block:active {
    transform: scale(0.98);
  }

  .testimonial-block--featured {
    flex: 0 0 80%;
    background: var(--fg);
    color: var(--surface);
    border-color: var(--fg);
  }

  .testimonial-block--featured .testimonial-block__quote {
    color: var(--surface);
    font-style: italic;
  }

  .testimonial-block--featured .testimonial-block__name {
    color: rgba(255,255,255,0.7);
  }

  .testimonial-block--featured .testimonial-block__load {
    color: rgba(255,255,255,0.35);
  }

  .testimonial-block__tag,
  .testimonial-block__load {
    display: none;
  }

  .testimonial-block__quote {
    font-size: 0.85rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 10px;
    color: var(--fg);
  }

  .testimonial-block__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--muted);
  }

  .testimonial-block--featured .testimonial-block__footer {
    border-top-color: rgba(255,255,255,0.12);
  }

  .testimonial-block__author {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .testimonial-block__avatar {
    width: 22px;
    height: 22px;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-size: 0.45rem;
    font-weight: 600;
    color: var(--steel);
    flex-shrink: 0;
  }

  .testimonial-block--featured .testimonial-block__avatar {
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.6);
  }

  .testimonial-block__name {
    font-size: 0.5rem;
    color: var(--muted);
  }

  /* ── 12. CTA ───────────────────────────────────────────── */
  .cta-frame {
    padding: 28px 16px;
    margin: 0 20px;
  }

  .cta-frame h2 {
    font-size: clamp(22px, 6vw, 30px);
  }

  .cta-frame h2 br { display: none; }

  .cta-frame p {
    font-size: 0.82rem;
    margin-bottom: 20px;
  }

  .cta-actions {
    flex-direction: column;
    gap: 10px;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.7rem;
  }

  /* ── 13. CONTACT — Single column ───────────────────────── */
  .contact-structural {
    display: block;
  }

  .contact-info {
    padding: 0 20px 20px;
  }

  .contact-info__text {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .contact-info__detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--fg);
    margin-bottom: 10px;
  }

  .contact-info__detail i {
    color: var(--steel);
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
  }

  .contact-info__detail a {
    color: var(--fg);
    text-decoration: underline;
    text-decoration-color: var(--border);
    text-underline-offset: 3px;
  }

  .form-structural {
    margin: 0 20px 20px;
    padding: 16px;
    border: 2px solid var(--border);
    background: var(--surface);
  }

  .form-structural__header {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .form-structural__title {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg);
  }

  .form-structural__step {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--steel-light);
    border: 1px solid var(--border);
    padding: 2px 8px;
  }

  .form-structural .form-group { margin-bottom: 12px; }

  .form-structural label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
  }

  .form-structural label .required {
    color: var(--accent);
  }

  .form-structural input,
  .form-structural textarea,
  .form-structural select {
    width: 100%;
    font-family: var(--font-body);
    font-size: 16px;
    padding: 12px 14px;
    border: 2px solid var(--border);
    background: var(--surface);
    color: var(--fg);
    transition: border-color 0.2s;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
  }

  .form-structural input:focus,
  .form-structural textarea:focus,
  .form-structural select:focus {
    outline: none;
    border-color: var(--fg);
  }

  .form-structural textarea {
    min-height: 100px;
    resize: vertical;
  }

  .form-structural select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
  }

  .form-structural .form-row {
    display: block;
  }

  .form-structural .form-row .form-group:last-child {
    margin-bottom: 0;
  }

  .form-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .form-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--fg);
    cursor: pointer;
    padding: 8px 12px;
    border: 2px solid var(--border);
    background: var(--surface);
    transition: all 0.15s;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .form-checkbox:active {
    border-color: var(--fg);
  }

  .form-checkbox input[type="checkbox"] { display: none; }

  .form-checkbox input[type="checkbox"] + span::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid var(--border);
    margin-right: 4px;
    vertical-align: middle;
    transition: all 0.15s;
  }

  .form-checkbox input[type="checkbox"]:checked + span::before {
    background: var(--fg);
    border-color: var(--fg);
    content: '✓';
    color: var(--surface);
    font-size: 10px;
    text-align: center;
    line-height: 14px;
  }

  .form-field__error {
    display: none;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--accent);
    margin-top: 4px;
  }

  .form-field__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
  }

  .form-field__count {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--steel-light);
    margin-left: auto;
  }

  .form-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .form-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.72rem;
  }

  .form-success {
    border: 2px solid var(--border);
    padding: 32px 20px;
    background: var(--surface);
    text-align: center;
    margin: 0 20px;
  }

  .form-success__icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 12px;
  }

  .form-success__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: 8px;
  }

  .form-success__text {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0 auto 20px;
    max-width: 40ch;
  }

  .form-success__details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 300px;
    margin: 0 auto 20px;
    padding: 12px;
    border: 1px solid var(--border);
    background: var(--bg);
  }

  .form-success__detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--fg);
  }

  .form-success__detail i {
    color: var(--accent);
    font-size: 0.9rem;
  }

  .form-success .btn {
    display: inline-flex;
    width: auto;
  }

  /* ── 14. FOOTER ────────────────────────────────────────── */
  .footer-content {
    padding: 24px 20px 0;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-tagline { display: none; }

  .footer-brand {
    font-family: 'LOT Free', var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
  }

  .footer-brand .dot {
    color: var(--accent);
  }

  .footer-heading {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--steel);
    margin-bottom: 10px;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .footer-links a {
    font-size: 0.78rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-social {
    display: flex;
    gap: 10px;
    margin-top: 6px;
  }

  .footer-social a {
    color: var(--muted);
    font-size: 1rem;
    transition: color 0.2s;
  }

  .footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 14px;
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .footer-bottom__text {
    font-size: 0.6rem;
    color: var(--muted);
  }

  .footer-foundation {
    padding-bottom: 64px;
  }

  /* ── 18. SMALL PHONES ──────────────────────────────────── */
  @media (max-width: 480px) {
    .section { padding: 24px 0; }
    .section-header { margin-bottom: 14px; }

    .hero__copy { padding: 24px 16px; }
    .hero__title { font-size: clamp(44px, 15vw, 64px); }
    .hero__tagline { font-size: 14px; }

    .stats-grid { gap: 3px; }

    .service-card { flex: 0 0 88%; }

    .testimonial-block { flex: 0 0 84%; }
    .testimonial-block--featured { flex: 0 0 90%; }

    .footer-grid { grid-template-columns: 1fr; gap: 14px; }

    .work-filters { width: 100%; }
    .work-filter { flex: 1; text-align: center; padding: 8px 4px; font-size: 0.5rem; }

    .frame-corners { padding: 20px 14px; }
    .frame-corners::before { inset: -4px; }

    .bottom-tabs { height: 56px; }
    .bottom-tab i { font-size: 1.1rem; }
    .bottom-tab span { font-size: 0.45rem; }

    .floor-pill { bottom: 72px; font-size: 0.5rem; padding: 4px 12px 4px 10px; }

    .hero__discipline-blocks { padding: 0 16px 16px; gap: 4px; }
    .hero__discipline-block { font-size: 0.5rem; padding: 4px 10px; }
  }

  /* ── 16. SECTION REVEAL ON MOBILE ─────────────────────── */
  .reveal-stagger > * {
    transition-duration: 0.45s;
    transform: translateY(20px);
  }

  /* ── 17. TOUCH POLISH ──────────────────────────────────── */
  @media (hover: none) and (pointer: coarse) {
    .btn, .work-filter, .bottom-tab, .form-checkbox { cursor: default; }
    .form-checkbox { padding: 10px 14px; }
  }
}

  /* ── 19. REDUCED MOTION ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero__title::after { animation: none; transform: scaleX(1); }
  .hero__scroll-hint { animation: none; opacity: 0.6; }
  .bottom-sheet { transition: none; }
}
