@media (max-width: 900px) {
  :root {
    --mobile-app-size: min(18vw, 80px);
    --mobile-dock-icon-size: min(18vw, 78px);
    --mobile-grid-gap-x: clamp(8px, 2.4vw, 12px);
    --mobile-grid-gap-y: clamp(12px, 3vw, 18px);
    --mobile-grid-cell: calc(var(--mobile-app-size) + 30px);
  }

  html,
  body {
    min-height: 100svh;
    overflow: hidden;
  }

  body {
    background: #000;
  }

  .hero-header,
  .hero-copy,
  .hero-badge,
  .desktop-stage {
    display: none !important;
  }

  .hero-background,
  .hero-shader {
    position: fixed;
    inset: 0;
  }

  .hero-shader {
    display: block !important;
  }

  .mobile-home {
    position: relative;
    z-index: 40;
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    padding:
      calc(12px + env(safe-area-inset-top, 0px))
      calc(14px + env(safe-area-inset-right, 0px))
      calc(10px + env(safe-area-inset-bottom, 0px))
      calc(14px + env(safe-area-inset-left, 0px));
    color: #fff;
  }

  .mobile-home::before,
  .mobile-home::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
  }

  .mobile-home::before {
    background:
      radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.1), transparent 24%),
      radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.08), transparent 22%);
    mix-blend-mode: screen;
  }

  .mobile-home::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 16%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.28), transparent 22%);
  }

  .mobile-home__statusbar,
  .mobile-home__grid,
  .mobile-home__pager,
  .mobile-home__dock {
    position: relative;
    z-index: 1;
  }

  .mobile-home__statusbar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 2px 6px 8px;
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.42);
  }

  .mobile-home__island {
    display: none;
  }

  .mobile-weather-top {
    position: relative;
    z-index: 1;
    width: 91%;
    margin-bottom: 24px;
	margin-left: 20px;
  }

  .mobile-weather-top__widget {
    position: relative;
    width: 100%;
    color: #fff;
    overflow: hidden;
    border-radius: 20px;
    padding: 24px;
    background:
      linear-gradient(135deg, rgba(95, 92, 182, 0.92) 0%, rgba(68, 64, 150, 0.94) 42%, rgba(34, 40, 102, 0.96) 100%);
    backdrop-filter: blur(18px) saturate(1.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.14),
      0 20px 36px rgba(0, 0, 0, 0.2);
  }

  .mobile-weather-top__widget::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    animation: mobile-weather-shimmer 15s linear infinite;
    pointer-events: none;
    z-index: 1;
  }

  @keyframes mobile-weather-shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .mobile-weather-top__content {
    position: relative;
    z-index: 2;
  }

  .mobile-weather-top__clouds {
    pointer-events: none;
    position: absolute;
    top: 50%;
    right: 18px;
    width: 144px;
    height: 144px;
    z-index: 3;
    overflow: hidden;
    border-top-right-radius: 24px;
    transform: translateY(-50%);
  }

  .mobile-weather-top__cloud-layer {
    position: absolute;
    border-radius: 999px;
    background:
      radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.95), rgba(240, 248, 255, 0.88) 58%, rgba(217, 230, 255, 0.72) 100%);
    filter: drop-shadow(0 0 12px rgba(220, 220, 255, 0.45));
    animation: mobile-weather-floating 3.5s ease-in-out infinite;
  }

  .mobile-weather-top__cloud-layer::before,
  .mobile-weather-top__cloud-layer::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: inherit;
  }

  .mobile-weather-top__cloud-layer--back {
    top: 45px;
    right: 34px;
    width: 58px;
    height: 34px;
    opacity: 0.92;
  }

  .mobile-weather-top__cloud-layer--back::before {
    width: 28px;
    height: 28px;
    left: 6px;
    top: -10px;
  }

  .mobile-weather-top__cloud-layer--back::after {
    width: 34px;
    height: 34px;
    right: 4px;
    top: -14px;
  }

  .mobile-weather-top__cloud-layer--front {
    top: 75px;
    right: 10px;
    width: 80px;
    height: 42px;
    animation-delay: -1.4s;
  }

  .mobile-weather-top__cloud-layer--front::before {
    width: 34px;
    height: 34px;
    left: 8px;
    top: -14px;
  }

  .mobile-weather-top__cloud-layer--front::after {
    width: 42px;
    height: 42px;
    right: 6px;
    top: -18px;
  }

  @keyframes mobile-weather-floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
  }

  .mobile-weather-top__datetime {
    margin-bottom: 6px;
    font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.04em;
    opacity: 0.8;
  }

  .mobile-weather-top__current {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
  }

  .mobile-weather-top__icon {
    margin-right: 12px;
    font-size: 48px;
    line-height: 1;
    filter: drop-shadow(0 0 12px rgba(220, 220, 255, 0.5));
    animation: mobile-weather-floating 3.5s ease-in-out infinite;
  }

  .mobile-weather-top__temp span {
    font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 52px;
    font-weight: 600;
    line-height: 1;
    background: linear-gradient(90deg, #ffffff, #cbd5e1);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
  }

  .mobile-weather-top__location {
    margin-bottom: 10px;
    font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.04em;
    opacity: 0.9;
  }


  .mobile-home__status-icons {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-home__signal {
    display: flex;
    align-items: end;
    gap: 2px;
    height: 12px;
  }

  .mobile-home__signal i {
    display: block;
    width: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
  }

  .mobile-home__signal i:nth-child(1) { height: 4px; opacity: 0.55; }
  .mobile-home__signal i:nth-child(2) { height: 6px; opacity: 0.7; }
  .mobile-home__signal i:nth-child(3) { height: 8px; opacity: 0.84; }
  .mobile-home__signal i:nth-child(4) { height: 10px; }

  .mobile-home__wifi {
    position: relative;
    width: 15px;
    height: 11px;
  }

  .mobile-home__wifi i {
    position: absolute;
    left: 50%;
    border: 1.75px solid rgba(255, 255, 255, 0.95);
    border-top: 0;
    border-left-color: transparent;
    border-right-color: transparent;
    border-bottom-left-radius: 999px;
    border-bottom-right-radius: 999px;
    transform: translateX(-50%);
  }

  .mobile-home__wifi i:nth-child(1) { bottom: 0; width: 4px; height: 3px; }
  .mobile-home__wifi i:nth-child(2) { bottom: 2px; width: 9px; height: 6px; opacity: 0.82; }
  .mobile-home__wifi i:nth-child(3) { bottom: 5px; width: 15px; height: 9px; opacity: 0.6; }

  .mobile-home__battery {
    position: relative;
    width: 25px;
    height: 12px;
    border: 1.6px solid rgba(255, 255, 255, 0.95);
    border-radius: 4px;
  }

  .mobile-home__battery::after {
    content: "";
    position: absolute;
    top: 3px;
    right: -3px;
    width: 2px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.95);
  }

  .mobile-home__battery-level {
    position: absolute;
    top: 1.5px;
    left: 1.5px;
    right: 4.5px;
    bottom: 1.5px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.95);
  }

  .mobile-home__grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: var(--mobile-grid-cell);
    grid-template-areas:
      "calendarclock calendarclock dribbble linkedin"
      "calendarclock calendarclock facebook instagram"
      "twitter pinterest resume finder";
    column-gap: var(--mobile-grid-gap-x);
    row-gap: var(--mobile-grid-gap-y);
    padding: 6px 2px 0;
    align-content: start;
    align-items: start;
    justify-items: stretch;
  }

  .mobile-widget,
  .mobile-app {
    min-width: 0;
  }

  .mobile-widget {
    position: relative;
    overflow: hidden;
    border-radius: 29px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
      rgba(18, 26, 54, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(22px) saturate(1.15);
    box-shadow:
      0 18px 38px rgba(0, 0, 0, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }

  .mobile-widget::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 38%);
    pointer-events: none;
  }

  .mobile-widget--calendarclock {
    grid-area: calendarclock;
    min-height: 0;
    height: calc(var(--mobile-grid-cell) * 2 + var(--mobile-grid-gap-y));
    width: 83%;
	height: 96%;
    margin-left: 20px;
    padding: 16px;
    border-radius: 20px;
    color: #334155;
    background: #e2e8f0;
    border: 1px solid rgba(203, 213, 225, 0.95);
    box-shadow: 0 10px 20px rgba(148, 163, 184, 0.18);
    align-self: stretch;
    justify-self: stretch;
  }

  .mobile-widget--calendarclock::before {
    background: none;
  }

  .mobile-calendarclock__header,
  .mobile-calendarclock__body,
  .mobile-calendarclock__footer {
    position: relative;
    z-index: 1;
  }

  .mobile-calendarclock__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
  }

  .mobile-calendarclock__label,
  .mobile-calendarclock__today-label,
  .mobile-calendarclock__weekdays span {
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.18em;
  }

  .mobile-calendarclock__label {
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
  }

  .mobile-calendarclock__monthyear {
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    color: #64748b;
    letter-spacing: -0.01em;
  }

  .mobile-calendarclock__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 104px;
  }

  .mobile-calendarclock__today {
    flex: 1;
    min-width: 0;
  }

  .mobile-calendarclock__today-label {
    margin: 0;
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
    line-height: 1;
  }

  .mobile-calendarclock__bigdate {
    margin: 6px 0 0;
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(2.85rem, 10vw, 3.5rem);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.08em;
    color: #0f172a;
  }

  .mobile-calendarclock__dayname {
    margin: 5px 0 0;
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    color: #64748b;
    letter-spacing: -0.01em;
  }

  .mobile-calendarclock__clockface {
    position: relative;
    flex: 0 0 auto;
    width: 78px;
    height: 78px;
    border-radius: 999px;
    border: 1px solid rgba(203, 213, 225, 0.52);
    background: #e2e8f0;
    box-shadow:
      inset 4px 4px 8px rgba(148, 163, 184, 0.3),
      inset -4px -4px 8px rgba(255, 255, 255, 0.74);
    overflow: hidden;
  }

  .mobile-calendarclock__markers {
    position: absolute;
    inset: 0;
  }

  .mobile-calendarclock__marker {
    position: absolute;
    width: 1px;
    height: 4px;
    background: #94a3b8;
    left: 50%;
    top: 50%;
    transform-origin: 50% 37px;
    margin-left: -0.5px;
    margin-top: -37px;
  }

  .mobile-calendarclock__marker--major {
    height: 7px;
  }

  .mobile-calendarclock__pin {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 7px;
    height: 7px;
    margin-left: -3.5px;
    margin-top: -3.5px;
    border-radius: 50%;
    background: #94a3b8;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.18);
  }

  .mobile-calendarclock__hand {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 999px;
    transform-origin: 50% calc(100% - 4px);
    transition: transform 0.5s cubic-bezier(0.4, 2.3, 0.6, 1);
  }

  .mobile-calendarclock__hand--hour {
    z-index: 1;
    width: 2px;
    height: 21px;
    margin-left: -1px;
    margin-top: -17px;
    background: #334155;
  }

  .mobile-calendarclock__hand--minute {
    z-index: 1;
    width: 2px;
    height: 28px;
    margin-left: -1px;
    margin-top: -24px;
    background: #64748b;
  }

  .mobile-calendarclock__hand--second {
    z-index: 2;
    width: 1px;
    height: 31px;
    margin-left: -0.5px;
    margin-top: -27px;
    background: #ef4444;
  }

  .mobile-calendarclock__footer {
    margin-top: 12px;
    padding-top: 8px;
  }

  .mobile-calendarclock__weekdays,
  .mobile-calendarclock__weekdates {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    text-align: center;
  }

  .mobile-calendarclock__weekdays {
    margin-bottom: 4px;
  }

  .mobile-calendarclock__weekdays span {
    position: relative;
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
  }

  .mobile-calendarclock__weekdays span.is-today,
  .mobile-calendarclock__weekdates span.is-today {
    color: #ef4444;
  }

  .mobile-calendarclock__weekdays span.is-today::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ef4444;
    transform: translateX(-50%);
  }

  .mobile-calendarclock__weekdates span {
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
  }

  .mobile-calendarclock__weekdates span.is-today {
    font-weight: 700;
  }

  .mobile-widget--weather {
    grid-area: weather;
    min-height: calc(var(--mobile-app-size) * 2 + 56px);
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
      radial-gradient(circle at 78% 18%, rgba(255, 220, 127, 0.3), transparent 15%),
      radial-gradient(circle at 20% 100%, rgba(95, 152, 255, 0.32), transparent 34%),
      linear-gradient(180deg, rgba(57, 72, 103, 0.98) 0%, rgba(54, 69, 102, 0.94) 32%, rgba(52, 76, 116, 0.9) 100%);
  }

  .mobile-widget--weather::after {
    content: "";
    position: absolute;
    inset: auto -8px -24px auto;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background:
      radial-gradient(circle, rgba(122, 212, 255, 0.25) 0%, rgba(122, 212, 255, 0.08) 38%, rgba(122, 212, 255, 0) 70%);
    filter: blur(14px);
    pointer-events: none;
  }

  .mobile-widget--weather[data-period="night"] {
    background:
      radial-gradient(circle at 78% 18%, rgba(215, 228, 255, 0.24), transparent 13%),
      radial-gradient(circle at 20% 100%, rgba(75, 133, 236, 0.24), transparent 34%),
      linear-gradient(180deg, rgba(18, 28, 58, 0.98) 0%, rgba(15, 22, 48, 0.94) 32%, rgba(20, 34, 74, 0.92) 100%);
  }

  .mobile-widget--weather[data-period="night"]::before {
    background:
      radial-gradient(circle at 16% 24%, rgba(255, 255, 255, 0.22) 0 1px, transparent 2px),
      radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.18) 0 1px, transparent 2px),
      radial-gradient(circle at 38% 26%, rgba(255, 255, 255, 0.16) 0 1px, transparent 2px),
      linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 40%);
  }

  .mobile-widget--weather[data-period="night"] .mobile-widget__weather-sun {
    background: radial-gradient(circle at 38% 38%, #fdf3cc 0%, #dfe7ff 50%, #c9d2ff 100%);
    box-shadow:
      0 0 18px rgba(221, 230, 255, 0.42),
      0 0 36px rgba(126, 151, 255, 0.18);
  }

  .mobile-widget--weather[data-period="night"] .mobile-widget__weather-sun::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 9px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(18, 28, 58, 0.9);
    pointer-events: none;
  }

  .mobile-widget__weather-icon {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 74px;
    height: 54px;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.16));
  }

  .mobile-widget__weather-sun {
    position: absolute;
    top: 0;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffd85b 0%, #ffc940 62%, #ffb52e 100%);
    box-shadow:
      0 0 18px rgba(255, 204, 68, 0.7),
      0 0 34px rgba(255, 204, 68, 0.3);
  }

  .mobile-widget__weather-cloud {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(250, 252, 255, 0.98) 0%, rgba(219, 231, 248, 0.94) 100%);
    box-shadow: 0 12px 20px rgba(18, 26, 54, 0.18);
  }

  .mobile-widget__weather-cloud::before,
  .mobile-widget__weather-cloud::after {
    content: "";
    position: absolute;
    bottom: 6px;
    border-radius: 50%;
    background: inherit;
  }

  .mobile-widget__weather-cloud--back {
    width: 38px;
    right: 14px;
    opacity: 0.88;
  }

  .mobile-widget__weather-cloud--back::before {
    width: 16px;
    height: 16px;
    left: 4px;
  }

  .mobile-widget__weather-cloud--back::after {
    width: 18px;
    height: 18px;
    left: 14px;
  }

  .mobile-widget__weather-cloud--front {
    width: 46px;
    right: 2px;
  }

  .mobile-widget__weather-cloud--front::before {
    width: 19px;
    height: 19px;
    left: 5px;
  }

  .mobile-widget__weather-cloud--front::after {
    width: 22px;
    height: 22px;
    left: 18px;
  }

  .mobile-widget__eyebrow {
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.025em;
    position: relative;
    z-index: 1;
  }

  .mobile-widget__weather-temp {
    margin-top: 14px;
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(3.2rem, 11.8vw, 4.55rem);
    font-weight: 300;
    line-height: 0.92;
    letter-spacing: -0.072em;
    position: relative;
    z-index: 1;
  }

  .mobile-widget__weather-meta,
  .mobile-widget__weather-range {
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
  }

  .mobile-widget__weather-meta {
    margin-top: 4px;
  }

  .mobile-widget__weather-range {
    margin-top: 6px;
    opacity: 0.84;
  }

  .mobile-widget__weather-glow {
    position: absolute;
    width: 144px;
    height: 144px;
    right: -18px;
    top: -24px;
    border-radius: 999px;
    background:
      radial-gradient(circle, rgba(255, 217, 94, 0.26) 0%, rgba(255, 192, 94, 0.08) 34%, rgba(255, 255, 255, 0) 72%);
    filter: blur(5px);
    opacity: 1;
  }

  .mobile-widget--clock,
  .mobile-widget--calendar {
    min-height: calc(var(--mobile-app-size) + 18px);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-widget--clock {
    grid-area: clock;
    flex-direction: column;
    gap: 6px;
    padding: 12px 10px 10px;
    background:
      radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.22), transparent 18%),
      linear-gradient(180deg, rgba(76, 91, 112, 0.96), rgba(45, 58, 78, 0.92) 46%, rgba(35, 48, 68, 0.92) 100%);
  }

  .mobile-widget--clock::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
    box-shadow:
      inset 10px 10px 18px rgba(255, 255, 255, 0.08),
      inset -12px -12px 20px rgba(0, 0, 0, 0.18);
    pointer-events: none;
  }

  .mobile-widget--calendar { grid-area: calendar; }

  .mobile-analog-clock {
    position: relative;
    width: calc(var(--mobile-app-size) - 8px);
    height: calc(var(--mobile-app-size) - 8px);
    border-radius: 50%;
    background:
      radial-gradient(circle at 50% 40%, #ffffff 0%, #f7f7f9 62%, #d5dae5 100%);
    box-shadow:
      inset 0 0 0 1px rgba(19, 24, 39, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.76),
      0 10px 20px rgba(0, 0, 0, 0.14);
  }

  .mobile-analog-clock::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 1px solid rgba(20, 24, 38, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
    pointer-events: none;
  }

  .mobile-analog-clock::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    top: 8px;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0));
    filter: blur(1px);
    pointer-events: none;
  }

  .mobile-analog-clock__number {
    position: absolute;
    left: 50%;
    top: 50%;
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    color: rgba(36, 42, 54, 0.75);
    transform: translate(-50%, -50%);
  }

  .mobile-analog-clock__number.n12 { top: 12px; }
  .mobile-analog-clock__number.n3 { left: calc(100% - 12px); }
  .mobile-analog-clock__number.n6 { top: calc(100% - 12px); }
  .mobile-analog-clock__number.n9 { left: 12px; }

  .mobile-analog-clock__marker {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1.5px;
    height: 7px;
    margin-left: -0.75px;
    margin-top: calc(-50% + 5px);
    border-radius: 999px;
    background: rgba(15, 19, 31, 0.56);
    transform-origin: center calc(50% - 5px);
  }

  .mobile-analog-clock__marker.m1 { transform: rotate(30deg); }
  .mobile-analog-clock__marker.m2 { transform: rotate(60deg); }
  .mobile-analog-clock__marker.m3 { transform: rotate(90deg); height: 10px; }
  .mobile-analog-clock__marker.m4 { transform: rotate(120deg); }
  .mobile-analog-clock__marker.m5 { transform: rotate(150deg); }
  .mobile-analog-clock__marker.m6 { transform: rotate(180deg); height: 10px; }
  .mobile-analog-clock__marker.m7 { transform: rotate(210deg); }
  .mobile-analog-clock__marker.m8 { transform: rotate(240deg); }
  .mobile-analog-clock__marker.m9 { transform: rotate(270deg); height: 10px; }
  .mobile-analog-clock__marker.m10 { transform: rotate(300deg); }
  .mobile-analog-clock__marker.m11 { transform: rotate(330deg); }
  .mobile-analog-clock__marker.m12 { transform: rotate(0deg); height: 10px; }

  .mobile-analog-clock__hand {
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform-origin: center calc(100% - 5px);
    border-radius: 999px;
    box-shadow: 0 0 0.5px rgba(0, 0, 0, 0.22);
  }

  .mobile-analog-clock__hand--hour {
    width: 4px;
    height: 19px;
    margin-left: -2px;
    background: linear-gradient(180deg, #1a1e29 0%, #0d1118 100%);
  }

  .mobile-analog-clock__hand--minute {
    width: 3px;
    height: 27px;
    margin-left: -1.5px;
    background: linear-gradient(180deg, #1a1e29 0%, #0d1118 100%);
  }

  .mobile-analog-clock__hand--second {
    width: 2px;
    height: 29px;
    margin-left: -0.75px;
    background: linear-gradient(180deg, #ff7849 0%, #f04a42 100%);
  }

  .mobile-analog-clock__pin {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    margin-left: -4px;
    margin-top: -4px;
    border-radius: 50%;
    background: #10131d;
    box-shadow: 0 0 0 2px #fff;
  }

  .mobile-widget__clock-meta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: -2px;
    text-align: center;
  }

  .mobile-widget__clock-date,
  .mobile-widget__clock-city {
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .mobile-widget__clock-date {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.74);
    text-transform: uppercase;
  }

  .mobile-widget__clock-city {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
  }

  .mobile-widget--calendar {
    padding: 0;
    text-align: center;
    background:
      linear-gradient(180deg, rgba(255, 98, 90, 0.96) 0%, rgba(255, 98, 90, 0.96) 27%, rgba(255, 255, 255, 0.98) 27%, rgba(246, 246, 248, 0.96) 100%);
    color: #111;
    box-shadow:
      0 14px 28px rgba(0, 0, 0, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }

  .mobile-widget__calendar-shadow {
    position: absolute;
    inset: auto 16px 12px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
    filter: blur(8px);
    pointer-events: none;
  }

  .mobile-widget__calendar-month {
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.96);
  }

  .mobile-widget__calendar-day {
    margin-top: 11px;
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(17, 17, 17, 0.5);
  }

  .mobile-widget__calendar-date {
    margin-top: 2px;
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.05em;
  }

  .mobile-app {
    position: relative;
    justify-self: stretch;
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    width: 100%;
    min-height: var(--mobile-grid-cell);
    padding-top: 0;
    text-decoration: none;
    color: inherit;
  }

  .mobile-app--dribbble { grid-area: dribbble; }
  .mobile-app--linkedin { grid-area: linkedin; }
  .mobile-app--facebook { grid-area: facebook; }
  .mobile-app--instagram { grid-area: instagram; }
  .mobile-app--twitter { grid-area: twitter; }
  .mobile-app--pinterest { grid-area: pinterest; }
  .mobile-app--resume { grid-area: resume; }
  .mobile-app--finder { grid-area: finder; }

  .mobile-app__icon {
    width: var(--mobile-app-size);
    height: var(--mobile-app-size);
    margin-inline: auto;
    object-fit: contain;
    filter:
      drop-shadow(0 9px 16px rgba(0, 0, 0, 0.22))
      drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  }

  .mobile-app__label {
    width: min(100%, calc(var(--mobile-app-size) + 6px));
    min-height: 2.05em;
    margin-inline: auto;
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.01em;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.32);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: keep-all;
    hyphens: none;
  }

  .mobile-home__pager {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 0 16px;
  }

  .mobile-home__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.34);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
  }

  .mobile-home__dot--active {
    background: rgba(255, 255, 255, 0.9);
  }

  .mobile-home__dock {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
    padding: 18px 14px calc(12px + env(safe-area-inset-bottom, 0px));
    border-radius: 34px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.1)),
      rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
      0 18px 38px rgba(0, 0, 0, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(30px) saturate(1.18);
  }

  .mobile-home__dock .mobile-app {
    gap: 0;
    min-height: auto;
  }

  .mobile-home__dock .mobile-app__icon {
    width: var(--mobile-dock-icon-size);
    height: var(--mobile-dock-icon-size);
    filter:
      drop-shadow(0 10px 18px rgba(0, 0, 0, 0.2))
      drop-shadow(0 2px 5px rgba(0, 0, 0, 0.14));
  }

  .mobile-home__dock .mobile-app__label {
    display: none;
  }

  .mobile-app:active .mobile-app__icon {
    transform: scale(0.94);
  }
}

@media (max-width: 560px) {
  :root {
    --mobile-app-size: min(17.6vw, 76px);
    --mobile-dock-icon-size: min(17.2vw, 72px);
    --mobile-grid-cell: calc(var(--mobile-app-size) + 28px);
  }

  .mobile-home {
    padding-left: calc(12px + env(safe-area-inset-left, 0px));
    padding-right: calc(12px + env(safe-area-inset-right, 0px));
  }

  .mobile-home__grid {
    row-gap: 15px;
  }

  .mobile-widget--weather {
    min-height: calc(var(--mobile-app-size) * 2 + 46px);
  }

  .mobile-widget__weather-temp {
    font-size: clamp(2.8rem, 10vw, 3.8rem);
  }
}

@media (max-width: 390px) {
  :root {
    --mobile-app-size: min(16.8vw, 68px);
    --mobile-dock-icon-size: min(16.4vw, 66px);
    --mobile-grid-cell: calc(var(--mobile-app-size) + 26px);
  }

  .mobile-home__grid {
    grid-template-areas:
      "calendarclock calendarclock dribbble linkedin"
      "calendarclock calendarclock facebook instagram"
      "twitter pinterest resume finder";
  }

  .mobile-home__dock {
    gap: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }
}
