
@media (max-width: 700px) {
  /* One readable experiment per row instead of two tiny moving thumbnails. */
  .garden-grid { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 16px; }
  .garden-tile, .garden-tile:nth-last-child(2), .garden-tile:last-child { grid-column: 1; }
  .garden-tile__handle { width: 44px; height: 44px; }
  .desktop-card--preferences .control-options { height: 44px; padding: 2px; }
  .desktop-card--preferences .control-options button { height: 40px; }
  .contact-footer__bottom > nav { gap: 0 20px; }
}

/* A board without a surrounding panel. Floating cards use a document-level layer. */
:root .garden-grid { padding: 0; border: 0; border-radius: 0; background: transparent; isolation: auto; }
.garden-floating-layer { position: absolute; z-index: 55; top: 0; left: 0; width: 100%; height: 0; pointer-events: none; }
.garden-floating-layer > .garden-tile { position: absolute; margin: 0; pointer-events: auto; }
.garden-placeholder { grid-column: span 2; min-width: 0; visibility: hidden; }
/* A white extruded clock body, matching the object in the sharing image. */
:root .desktop-card--clock { position: relative; padding: 0; border: 0; background: none; box-shadow: none; overflow: visible; backdrop-filter: none; }
.clock-object { position: absolute; inset: 0; border-radius: 30px; background: linear-gradient(145deg,#fff,#e9edf6); border: 1px solid #fff; transform: perspective(700px) rotateX(9deg) rotateY(-16deg); transform-style: preserve-3d; box-shadow: 1px 1px #d7deeb,2px 2px #cbd4e4,3px 3px #c6cfde,4px 4px #c1cbdc,5px 5px #b9c5d9,6px 6px #b2bfd5,7px 7px #aebbd1,8px 8px #a8b6cb,14px 20px 24px #4e658b2b; }
.clock-object::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 2px 2px 2px #fff,inset -2px -2px 3px #adb9d22b; pointer-events: none; }
.desktop-card--clock .clock-face { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; }
.desktop-card--clock .clock-face > .clock-svg { inset: 8%; width: 84%; height: 84%; }
/* An ink canvas replaces text entry and email delivery. */
.drawing-pad { position: relative; flex: 1; min-height: 0; margin: 0 12px; }
.drawing-pad canvas { display: block; width: 100%; height: 100%; position: absolute; inset: 0; touch-action: none; cursor: crosshair; }
.drawing-idle { display: grid; place-items: center; position: absolute; inset: 0; pointer-events: none; opacity: .16; color: #725514; transition: opacity 150ms; }
.drawing-idle .ui-icon { width: 36px; height: 36px; }
.drawing-pad:hover .drawing-idle, .drawing-pad.has-ink .drawing-idle { opacity: 0; }
.drawing-tools { display: flex; justify-content: flex-end; flex: 0 0 38px; gap: 2px; padding: 0 8px 3px; }
.drawing-tools button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #735921; }
.drawing-tools button:hover { background: #b68a1618; }
.drawing-tools button:disabled { opacity: .3; cursor: default; }
@media (max-width: 700px) {
  .garden-placeholder, .garden-placeholder:last-child { grid-column: 1; }
  .clock-object { border-radius: 26px; }
  .drawing-tools { flex-basis: 38px; }.drawing-tools button { width: 38px; height: 34px; }
}
.playground__heading { position: relative; }
@media (forced-colors: active) { .desktop-card, .garden-tile, .clock-object { border: 1px solid CanvasText; } }

/* Keep the original circle, with a closer crop of the selected photograph. */
.hero-avatar img { transform: translateY(5px) scale(1.3); transform-origin: 50% 48%; object-position: 50% 30%; }
.dock { opacity: 0; transform: translate(-50%,calc(100% + 28px)); pointer-events: none; transition: opacity 180ms,transform 240ms cubic-bezier(.2,.7,.2,1); }
.dock.is-dock-visible, .dock:has(:focus-visible) { opacity: 1; transform: translate(-50%,0); pointer-events: auto; }
@media (max-width: 700px) {
  .desktop-stage { position: relative; top: auto; padding-block: 16px; }
  .desktop-surface { gap: 24px; padding: 24px 16px 28px; border-radius: 24px; }
  .hero-footer { padding: 0; }
  .hero-footer h1 { font-size: clamp(27px,7.8vw,34px); line-height: 1.08; letter-spacing: -.055em; }
  .desktop-grid--toys { position: relative; top: auto; left: auto; transform: none; height: auto; width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: clamp(230px,65vw,280px) 172px clamp(120px,calc((100vw - 78px)/2),190px) 160px; gap: 16px 12px; }
  .desktop-grid--toys > .desktop-card { transform: none !important; translate: none !important; min-width: 0; }
  .desktop-card--sculpture { display: none; }
  .desktop-grid--toys [data-window-handle] { touch-action: pan-y; cursor: default; }
  :root .desktop-card--note { grid-column: 1 / -1; grid-row: 1; width: 100%; height: 100%; }
  :root .desktop-card--note .window-bar { height: 32px; font-size: 10px; padding-inline: 10px; }
  :root .desktop-card--preferences { grid-column: 2; grid-row: 2; width: 100%; height: 100%; padding: 8px 10px; grid-template-rows: 1fr 1fr; gap: 4px; border-radius: 22px; }
  .preference-row { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 4px; }
  .preference-row + .preference-row::before { display: none; }
  .preference-label { min-height: 20px; height: 20px; font-size: 10px; padding: 0; }
  .desktop-card--preferences .control-options { width: 100%; max-width: none; height: 40px; padding: 2px; align-self: flex-start; }
  .desktop-card--preferences .control-options button { height: 36px; font-size: 10px; }
  :root .desktop-card--mood { grid-column: 1; grid-row: 2; width: 100%; height: 100%; padding: 10px; border-radius: 22px; }
  .desktop-card--mood .control-top { min-height: 28px; height: 28px; }.desktop-card--mood .widget-handle { min-height: 28px; height: 28px; font-size: 11px; }
  .desktop-card--mood .mood-options { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px 0; height: auto; margin: auto 0; }
  .desktop-card--mood .mood-options button { grid-column: span 2; width: 100%; max-width: none; height: 44px; }
  .desktop-card--mood .mood-options button:nth-child(4) { grid-column: 2 / span 2; }
  .desktop-card--mood .mood-options i { width: clamp(30px,8vw,36px); height: clamp(30px,8vw,36px); }
  :root .desktop-card--calendar { grid-column: 1; grid-row: 3; width: 100%; height: 100%; padding: 8px; border-radius: 22px; }
  .calendar-month { min-height: 22px; height: 22px; font-size: 11px; }.calendar-table { font-size: 10px; }
  :root .desktop-card--clock { grid-column: 2; grid-row: 3; width: 100%; height: 100%; }
  .clock-object { inset: 4px 7px 9px 3px; transform: perspective(500px) rotateX(14deg) rotateY(-20deg) rotateZ(3deg); border-radius: 24px; box-shadow: 1px 1px #e0e6ef,2px 2px #d3dce9,3px 3px #cbd5e4,4px 4px #c3cfdf,5px 5px #bac8da,6px 6px #b0bfd3,7px 7px #a4b5cd,8px 8px #96a9c3,10px 13px 14px #435d852b; }
  :root .desktop-card--weather, :root .desktop-card--weather[data-night] { grid-column: 1 / -1; grid-row: 4; width: 100%; height: 100%; padding: 12px 14px; border-radius: 22px; }
  .drawing-pad { margin-inline: 8px; }.drawing-tools { flex-basis: 32px; padding-bottom: 0; }.drawing-tools button { width: 32px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) { .dock { transition: none; } }

/* A compact two-line signature, with a larger portrait on desktop. */
.hero-bio { padding: 0; }
@media (min-width: 701px) {
}

@media (min-width:701px) and (max-width:1100px) { :root .desktop-card--weather[data-night] { grid-column: 1 / -1; grid-row: 5; } }

/* The sticky note moves in document space, above section clipping boundaries. */
.note-floating-layer { position: absolute; inset: 0 0 auto; height: 0; z-index: 56; pointer-events: none; }
:root .note-floating-layer > .desktop-card--note { position: absolute; margin: 0; pointer-events: auto; transform: none !important; translate: none !important; transition: box-shadow 180ms; }
.note-placeholder { visibility: hidden; pointer-events: none; }
:root .desktop-card--note [data-window-handle] { touch-action: none; cursor: grab; }
:root .desktop-card--note.is-note-dragging [data-window-handle] { cursor: grabbing; }
.desktop-card--note .is-pointer-focused:focus { outline: none; }

/* Compact tablet arrangement, without a sculpture slot. */
@media (max-width:1024px) { .desktop-card--sculpture { display: none; } }
@media (min-width:701px) and (max-width:1024px) {
 .desktop-surface { padding: 76px 28px 36px; gap: 44px; }
 .desktop-grid--toys { width: min(100%,800px); grid-template-columns: repeat(4,minmax(0,1fr)); grid-template-rows: 132px 132px 184px; gap: 24px; }
 .desktop-grid--toys > .desktop-card { transform: none !important; min-width: 0; }
 :root .desktop-card--note { grid-column: 1 / 3; grid-row: 1 / 3; width: min(100%,300px); height: 100%; justify-self: center; }
 :root .desktop-card--mood { grid-column: 3 / 5; grid-row: 1; width: min(100%,288px); height: 132px; padding: 12px 16px; justify-self: center; }
 .desktop-card--mood .mood-options { gap: 4px; }
 .desktop-card--mood .mood-options i { width: 30px; height: 30px; }
 :root .desktop-card--preferences { grid-column: 3 / 5; grid-row: 2; width: min(100%,288px); height: 132px; padding: 10px 16px; grid-template-rows: repeat(2,48px); gap: 12px; align-content: center; justify-self: center; }
 .desktop-card--preferences .preference-row { grid-template-columns: minmax(0,1fr) 104px; gap: 8px; }
 .desktop-card--preferences .control-options { height: 48px; }
 .desktop-card--preferences .control-options button { height: 42px; }
 :root .desktop-card--calendar { grid-column: 1; grid-row: 3; width: min(100%,176px); height: auto; aspect-ratio: 1; align-self: center; }
 :root .desktop-card--clock { grid-column: 2; grid-row: 3; width: min(100%,176px); height: auto; aspect-ratio: 1; padding: 0; background: none; box-shadow: none; border: 0; align-self: center; }
 :root .desktop-card--weather,:root .desktop-card--weather[data-night] { grid-column: 3 / 5; grid-row: 3; width: min(100%,380px); height: 180px; }
}
@media (min-width:1025px) and (max-width:1100px) {
 .desktop-surface { padding: 84px 28px 36px; gap: 44px; }
 .desktop-grid--toys { width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: 260px 132px 204px 180px; gap: 24px; }
 .desktop-grid--toys > .desktop-card { transform: none !important; min-width: 0; }
 :root .desktop-card--note { grid-column: 1; grid-row: 1; width: min(100%,300px); height: 100%; justify-self: center; }
 .desktop-card--sculpture { grid-column: 2; grid-row: 1; }
 :root .desktop-card--mood { grid-column: 1; grid-row: 2; width: min(100%,288px); height: 132px; padding: 12px 16px; justify-self: center; }
 :root .desktop-card--preferences { grid-column: 2; grid-row: 2; width: min(100%,288px); height: 132px; padding: 10px 16px; grid-template-rows: repeat(2,48px); gap: 12px; align-content: center; }
 .desktop-card--preferences .preference-row { grid-template-columns: minmax(0,1fr) 104px; gap: 8px; }
 :root .desktop-card--calendar { grid-column: 1; grid-row: 3; width: 204px; height: 204px; }
 :root .desktop-card--clock { grid-column: 2; grid-row: 3; width: 204px; height: 204px; padding: 0; background: none; box-shadow: none; border: 0; }
 :root .desktop-card--weather,:root .desktop-card--weather[data-night] { grid-column: 1 / -1; grid-row: 4; width: min(100%,420px); height: 180px; }
}
@media(max-width:700px) {
 .desktop-card--preferences .control-options { height: 48px; }
 .desktop-card--preferences .control-options button { height: 44px; }
 .desktop-card--mood .control-top { height: 44px; min-height: 44px; }
 .desktop-card--mood .control-reset { width: 44px; height: 44px; flex-basis: 44px; }
 .drawing-tools { flex-basis: 44px; }
 .drawing-tools button { width: 44px; height: 44px; }
}

@media (min-width:701px) and (max-width:1100px) {
 .desktop-card--preferences .preference-row + .preference-row::before { display: none; }
 .desktop-card--preferences .control-options { height: 48px; }
 .desktop-card--preferences .control-options button { height: 42px; }
}

/* Match the tablet spacing in the desktop preferences widget. */
@media (min-width:1101px) {
 :root .desktop-card--preferences { height: 132px; padding: 10px 16px; grid-template-rows: repeat(2,48px); gap: 12px; align-content: center; }
 .desktop-card--preferences .preference-row + .preference-row::before { display: none; }
 .desktop-card--preferences .control-options { height: 48px; }
 .desktop-card--preferences .control-options button { height: 42px; }
}


/* New website case covers */
.bento--adler { background: linear-gradient(145deg,#fff,#f6e7ea); }
.bento--neumann { background: linear-gradient(145deg,#eef0f6,#e5e8f2); }
.bento--roggentin { background: linear-gradient(145deg,#fff,#fae9e6); }
.bento--scanhaus { background: linear-gradient(145deg,#eef3fb,#e4edfb); }
[data-theme="dark"] .bento--adler { background: #352830; }
[data-theme="dark"] .bento--neumann { background: #272c3c; }
[data-theme="dark"] .bento--roggentin { background: #35292a; }
[data-theme="dark"] .bento--scanhaus { background: #232d3f; }

/* Phones: no sticky note in the hero */
@media (max-width: 700px) { .desktop-card--note { display: none !important; } }
