/* ── FONTS ────────────────────────────────────────────── */
@font-face { font-family: 'Test Söhne'; src: url('fonts/test-soehne-extraleicht.woff2') format('woff2'); font-weight: 200; font-style: normal; }
@font-face { font-family: 'Test Söhne'; src: url('fonts/test-soehne-extraleicht-kursiv.woff2') format('woff2'); font-weight: 200; font-style: italic; }
@font-face { font-family: 'Test Söhne'; src: url('fonts/test-soehne-leicht.woff2') format('woff2'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'Test Söhne'; src: url('fonts/test-soehne-leicht-kursiv.woff2') format('woff2'); font-weight: 300; font-style: italic; }
@font-face { font-family: 'Test Söhne'; src: url('fonts/test-soehne-buch.woff2') format('woff2'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Test Söhne'; src: url('fonts/test-soehne-buch-kursiv.woff2') format('woff2'); font-weight: 400; font-style: italic; }
@font-face { font-family: 'Test Söhne'; src: url('fonts/test-soehne-kraftig.woff2') format('woff2'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'Test Söhne'; src: url('fonts/test-soehne-kraftig-kursiv.woff2') format('woff2'); font-weight: 500; font-style: italic; }
@font-face { font-family: 'Test Söhne'; src: url('fonts/test-soehne-halbfett.woff2') format('woff2'); font-weight: 600; font-style: normal; }
@font-face { font-family: 'Test Söhne'; src: url('fonts/test-soehne-halbfett-kursiv.woff2') format('woff2'); font-weight: 600; font-style: italic; }
@font-face { font-family: 'Test Söhne'; src: url('fonts/test-soehne-dreiviertelfett.woff2') format('woff2'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'Test Söhne'; src: url('fonts/test-soehne-dreiviertelfett-kursiv.woff2') format('woff2'); font-weight: 700; font-style: italic; }
@font-face { font-family: 'Test Söhne'; src: url('fonts/test-soehne-fett.woff2') format('woff2'); font-weight: 800; font-style: normal; }
@font-face { font-family: 'Test Söhne'; src: url('fonts/test-soehne-fett-kursiv.woff2') format('woff2'); font-weight: 800; font-style: italic; }
@font-face { font-family: 'Test Söhne'; src: url('fonts/test-soehne-extrafett.woff2') format('woff2'); font-weight: 900; font-style: normal; }
@font-face { font-family: 'Test Söhne'; src: url('fonts/test-soehne-extrafett-kursiv.woff2') format('woff2'); font-weight: 900; font-style: italic; }

/* ── RESET ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; }
body { width: 100%; overflow-x: clip; max-width: 100vw; }
body {
  font-family: 'Test Söhne', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #fff;
}
img { display: block; }

/* ── BLOBS ────────────────────────────────────────────── */
.blob { position: fixed; pointer-events: none; z-index: 0; overflow: hidden; will-change: transform; transform: translateZ(0); }

.blob-1 {
  left: 23%; top: 50vh;
  width: min(1095px, 80vw); height: 755px;
  background: radial-gradient(ellipse at center, rgba(218,255,149,.85) 0%, rgba(218,255,149,0) 70%);
  transform: rotate(-50.5deg);
  transform-origin: center center;
}
.blob-2 {
  left: 2%; top: 20vh;
  width: min(1097px, 80vw); height: 939px;
  background: radial-gradient(ellipse at center, rgba(255,193,149,.75) 0%, rgba(255,193,149,0) 70%);
}
.blob-3 {
  left: -30%; top: 30vh;
  width: min(2000px, 150vw); height: 757px;
  background: radial-gradient(ellipse at center, rgba(149,161,255,.6) 0%, rgba(149,161,255,0) 70%);
}

/* ── SITE WRAPPER ─────────────────────────────────────── */
.site-wrapper {
  position: relative;
  /* no z-index → no isolated stacking context, so mix-blend-mode on children blends against blobs */
  padding: 0 80px;
}

/* ── NAV ─────────────────────────────────────────────── */
.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 80px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.2px;
  line-height: 1.2;
  color: #131314;
  text-transform: capitalize;
}
.nav-top-name  { }
.nav-top-role  { text-align: center; }
.nav-top-location { text-align: right; }

/* ── HERO SECTION ─────────────────────────────────────── */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;           /* doubled from 32px — more breathing room between headline and badge */
  padding-top: 164px;
  padding-bottom: 0;
  text-align: center;
}

.headline-1 {
  font-size: 96px;
  line-height: 1.1;
  letter-spacing: -3px;
  text-align: center;
  color: #000;
  max-width: 1200px;
}
.hl-light { font-weight: 300; }
.hl-bold  { font-weight: 700; letter-spacing: -2px; white-space: nowrap; }  /* dreiviertelfett */
.hl-gray  { color: #b0b0b8; mix-blend-mode: multiply; }

/* Hero headline line wrappers — block so lines stack tightly, no br needed */
.hl-line-1,
.hl-line-2 {
  display: block;
  line-height: 1.2;
}

/* Line 2 words start slightly muted, brighten as they land */
.hl-line-2 .hl-word {
  color: #131314;
}

/* ── BADGE ────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  width: 310px; height: 84px;
  background: #000;
  border-radius: 20px;
  padding: 8px 8px 8px 28px;
  gap: 24px;
  filter: drop-shadow(0px 8.13px 4.435px rgba(179,179,179,.25));
}
.badge-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  text-align: left;
}
.badge-line1 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  text-align: left;
}
.badge-line2 {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  line-height: 1.2;
  text-align: left;
}
.badge-thumb {
  width: 108px; height: 68px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  transform: scaleY(-1) rotate(180deg);
}
.badge-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── PHONE SECTION ────────────────────────────────────── */
.phone-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 320px;
  overflow: clip;
}

/* LEFT COLUMN: currently-group + 0-1 using AI */
.ps-left {
  display: flex;
  flex-direction: column;
  gap: 96px;
  width: 292px;
  flex-shrink: 0;
  margin-right: -120px; /* overlap into phone area */
}

/* CURRENTLY GROUP */
.currently-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 259px;
}
.currently {
  display: flex;
  align-items: center;
  gap: 6px;
}
.currently-dot {
  display: block;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #FFA05C;
  flex-shrink: 0;
}
.currently-text {
  font-size: 16px;
  font-weight: 500; /* kräftig */
  letter-spacing: 0;
  color: #8d8d96;
  line-height: 1.2;
}

/* LEFT COPY (inside currently-group) */
.copy-left {
  width: 259px;
  font-size: 32px;
  font-weight: 400; /* buch */
  letter-spacing: -0.96px;
  line-height: 1.2;
  color: #131314;
}

/* PHONE GROUP: center element */
.phone-group {
  position: relative;
  z-index: 2;
  width: 700px;
  flex-shrink: 0;
  margin-right: -120px; /* right column overlaps into phone */
}

.phone-hand {
  width: 700px;
  height: auto;
  object-fit: contain;
}

/* Phone frame: absolute within phone-group.
   Hand image is 861×1024 natural, rendered at 700px wide → scale = 700/861 = 0.813
   Figma offsets of frame within group: left=204px, top=115px (at 1:1)
   Scaled: left=204*0.813=166px, top=115*0.813=94px
   Frame itself (362×780) also scaled by 0.813 via transform */
.phone-frame {
  position: absolute;
  left: 166px;
  top: 94px;
  width: 362px; height: 780px;
  background: #f8f6f4;
  border-radius: 41px;
  overflow: clip;
  transform: scale(0.813);
  transform-origin: top left;
}

/* All phone content uses absolute positions from Figma */
.phone-screen {
  position: relative;
  width: 362px; height: 780px;
  background: #f8f6f4;
  overflow: clip;
  font-family: 'Test Söhne', Helvetica, Arial, sans-serif;
}

/* Dynamic Island notch */
.pf-notch {
  position: absolute;
  left: 126px; top: 14px;
  width: 110px; height: 31px;
  background: #030203;
  border-radius: 200px;
}

/* Status bar time */
.pf-time {
  position: absolute;
  left: 32px; top: 17px;
  font-size: 15px; font-weight: 600;
  color: #010704; letter-spacing: -0.3px;
  line-height: 1;
}
.pf-status-icons {
  position: absolute;
  right: 18px; top: 17px;
  display: flex; align-items: center; gap: 5px;
}

/* Progress track */
.pf-prog-track {
  position: absolute;
  left: 134px; top: 62px;
  width: 92px; height: 6px;
  background: rgba(51,51,51,.16);
  border-radius: 36px;
}
.pf-prog-dot {
  position: absolute;
  left: 134px; top: 62px;
  width: 6px; height: 6px;
  background: #010704;
  border-radius: 50%;
}

/* Close button */
.pf-close {
  position: absolute;
  left: 302px; top: 42px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(122,120,117,.1);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* Title */
.pf-title {
  position: absolute;
  left: 23px; top: 177px;
  width: 314px;
  font-size: 46px; font-weight: 400;
  letter-spacing: -0.5px; line-height: 1;
  color: #010704;
}

/* Subtitle */
.pf-sub {
  position: absolute;
  left: 23px; top: 231px;
  width: 314px;
  font-size: 15px; font-weight: 500;
  color: #7a7875; line-height: 1.3;
}

/* Amount */
.pf-amount {
  position: absolute;
  left: 23px; top: 303px;
  width: 314px;
  font-size: 58px; font-weight: 600;
  font-family: 'Test Söhne', Helvetica, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px; line-height: 1;
  color: #010704;
}

/* Slider range */
.pf-range {
  position: absolute;
  left: 23px; top: 393px;
  width: 314px; height: 30px;
  -webkit-appearance: none; appearance: none;
  background: transparent;
  outline: none; cursor: pointer;
  margin: 0; padding: 0;
}
.pf-range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 66px;
  background: rgba(122,120,117,.2);
}
.pf-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #1ec677;
  border: 3px solid #fff;
  margin-top: -9px;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(0,0,0,.2);
}
.pf-range::-moz-range-track {
  height: 6px; border-radius: 66px;
  background: rgba(122,120,117,.2);
}
.pf-range::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%; background: #1ec677;
  border: 3px solid #fff; cursor: pointer;
  box-shadow: 0 1px 6px rgba(0,0,0,.2);
}
.pf-range::-moz-range-progress {
  height: 6px; border-radius: 66px;
  background: linear-gradient(90deg, #DAFF95, #1ec677);
}

/* Slider labels */
.pf-slider-labels {
  position: absolute;
  left: 23px; top: 440px;
  width: 314px;
  display: flex; justify-content: space-between;
  font-size: 13px; font-weight: 600;
  color: #7a7875;
}

/* Due row */
.pf-due-row {
  position: absolute;
  left: 23px; top: 494px;
  width: 314px; height: 23px;
  display: flex; align-items: center;
  justify-content: space-between;
  font-size: 15px; font-weight: 400;
  color: #010704;
}
.pf-edit-btn {
  background: none; border: none;
  padding: 0; cursor: pointer;
  display: flex; align-items: center;
  color: #7a7875; opacity: .8;
}

/* Divider */
.pf-divider {
  position: absolute;
  left: 23px; top: 540px;
  width: 314px; height: 1px;
  background: rgba(122,120,117,.2);
}

/* Auto-pay row */
.pf-autopay-row {
  position: absolute;
  left: 23px; top: 563px;
  width: 314px; height: 27px;
  display: flex; align-items: center;
  justify-content: space-between;
  font-size: 15px; font-weight: 400;
  color: #010704;
}

/* Toggle */
.pf-toggle {
  width: 72px; height: 27px;
  border-radius: 13.5px;
  background: rgba(122,120,117,.25);
  border: none; cursor: pointer;
  position: relative; flex-shrink: 0;
  transition: background .22s;
}
.pf-toggle.pf-toggle--on { background: #1ec677; }
.pf-toggle::after {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 42px; height: 21px;
  border-radius: 10.5px; background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
  transition: transform .22s;
}
.pf-toggle.pf-toggle--on::after { transform: translateX(24px); }

/* Footer */
.pf-footer {
  position: absolute;
  left: 0; top: 685px;
  width: 362px; height: 145px;
  background: linear-gradient(
    to bottom,
    rgba(248,246,244,0) 0%,
    rgba(248,246,244,1) 23px
  );
  display: flex;
  align-items: flex-start;
  padding: 23px 23px 24px;
  gap: 7px;
}
.pf-back {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(122,120,117,.1);
  border: none; cursor: pointer;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.pf-continue {
  flex: 1;
  height: 54px;
  background: #010704; color: #fff;
  border: none; border-radius: 57.6px;
  font-size: 15px; font-weight: 500;
  font-family: inherit; cursor: pointer;
  transition: opacity .15s;
  letter-spacing: 0.1px;
}
.pf-continue:active { opacity: .75; }

/* Home bar */
.pf-home-bar {
  position: absolute;
  left: 114px; top: 790px;
  width: 134px; height: 6px;
  background: #030203;
  border-radius: 200px;
  opacity: .85;
}

/* ── CALENDAR BOTTOM SHEET ── */
/* Blur overlay behind the sheet */
.pf-cal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}
.pf-cal-overlay.pf-cal-open {
  opacity: 1;
  pointer-events: auto;
}

.pf-cal-sheet {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -6px 32px rgba(0,0,0,.14);
  padding: 10px 20px 0;
  display: flex;
  flex-direction: column;
  z-index: 10;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
}
.pf-cal-sheet.pf-cal-open {
  transform: translateY(0);
}
.pf-cal-handle {
  width: 36px; height: 4px;
  background: rgba(0,0,0,.15);
  border-radius: 2px;
  margin: 0 auto 14px;
  flex-shrink: 0;
}
.pf-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.pf-cal-month {
  font-size: 15px;
  font-weight: 600;
  color: #010704;
}
.pf-cal-nav {
  background: none; border: none;
  font-size: 22px; cursor: pointer;
  color: #010704; padding: 2px 8px;
  line-height: 1;
}
.pf-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 2px;
  flex-shrink: 0;
}
.pf-cal-days span {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #7a7875;
  padding: 4px 0;
}
.pf-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 12px;
  flex-shrink: 0;
}
.pf-cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 400;
  color: #010704;
  cursor: pointer;
  border-radius: 50%;
}
.pf-cal-day.empty { cursor: default; color: transparent; }
.pf-cal-day.pf-cal-selected {
  background: #1ec677;
  color: #fff;
  font-weight: 600;
}
.pf-cal-day:not(.empty):not(.pf-cal-selected):hover {
  background: rgba(30,198,119,.12);
}
.pf-cal-done {
  width: 100%;
  height: 58px;
  background: #010704;
  color: #fff;
  border: none;
  border-radius: 60px;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  margin-bottom: 16px;
  flex-shrink: 0;
}

/* RIGHT COLUMN: copy-right + house card */
.ps-right {
  display: flex;
  flex-direction: column;
  gap: 133px;
  align-items: flex-end;
  width: 411px;
  flex-shrink: 0;
  z-index: 3;
  position: relative;
}

.copy-right {
  width: 411px;
  font-size: 32px;
  font-weight: 400; /* buch */
  letter-spacing: -0.96px;
  line-height: 1.2;
  color: #131314;
}
.copy-right-group {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.copy-prototype {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  color: #131314;
  text-decoration: none;
}
.copy-prototype:hover { opacity: 0.6; }
.copy-prototype:hover .proto-arrow { transform: translateX(4px); }
.proto-arrow {
  width: 20px;
  height: 20px;
  fill: #131314;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

/* 0-1 USING AI: inside ps-left, below currently-group */
.zero-one {
  width: 290px;
  font-size: 104px;
  font-weight: 700;
  letter-spacing: -3.12px;
  line-height: 1;
  color: #000;
  mix-blend-mode: overlay;
}

/* HOUSE CARD: inside ps-right — glass effect per Figma node 4:910 */
.house-card {
  width: 222px; height: 222px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(32px) saturate(1.4);
  -webkit-backdrop-filter: blur(32px) saturate(1.4);
  border: 1.5px solid rgba(255,255,255,0.55);
  border-radius: 16px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.6);
}
.house-card img { width: 100%; height: 100%; object-fit: contain; }

/* No bottom gradient on phone section */

/* ── LOWER CONTENT WRAPPER ───────────────────────────── */
/* Blob masking is handled by the JS fixed white cap in script.js */
.lower-content {
  position: relative;
  z-index: 1;          /* sit above the fixed blobs (z-index: 0) */
  background: #ffffff; /* opaque white covers blob color bleed */
  display: flex;
  flex-direction: column;
  gap: 320px;
  padding-top: 320px;
}
/* Extend the white background to the full viewport width so fixed blobs
   don't bleed through at the sides outside the site-wrapper's max-width */
.lower-content::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80px;
  right: -80px;
  background: #ffffff;
  z-index: -1;
}

/* ── KEYWORDS CLOUD ──────────────────────────────────── */
.keywords-cloud {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.kw-row {
  display: flex;
  gap: clamp(20px, 3.9vw, 56px);
  align-items: center;
  justify-content: center;
  width: 100%;
  line-height: 1.2;
}
.kw-word {
  font-size: clamp(40px, 6.8vw, 112px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #131314;
  white-space: nowrap;
}
.kw-badge {
  border-radius: 16px;
  background: #131314;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  filter: drop-shadow(0px 8px 4px rgba(179,179,179,.25));
}
.kw-badge-chart { width: clamp(100px, 12.6vw, 182px); height: clamp(73px, 9.2vw, 132px); overflow: visible; background: none; box-shadow: none; }
.kw-badge-phone {
  width: clamp(90px, 11.3vw, 163px); height: clamp(81px, 8vw, 116px);
  overflow: visible;
  clip-path: inset(-80px 0px 0px 0px round 16px);
  transition: clip-path 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.kw-badge-screenshot { width: clamp(90px, 11.3vw, 163px); height: clamp(73px, 7.3vw, 106px); }

.kw-chart-growth { width: clamp(100px, 12.6vw, 182px); height: clamp(73px, 9.2vw, 132px); display: block; }
.copy-left-mobile { display: none; }
.mobile-br { display: none; }
.hl-break { display: inline; }
.hl-sub { display: inline; }
.kw-chart-mobile { display: none !important; width: 58px; height: 42px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }

.kw-badge-chart img { position: absolute; }
.kw-chart-area { left: 7px; top: 15px; width: 144px; height: 61px; mix-blend-mode: multiply;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.kw-chart-fill { left: 7px; top: 2px;  width: 128px; height: 74px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.kw-chart-line { left: 7px; top: 15px; width: 145px; height: 60px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.kw-chart-axis { left: 7px; top: 77px; width: 151px; height: 1px; }
.kw-chart-dot  { left: 131px; top: -3px; width: 6px; height: 6px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease; }

/* Stock "going up" hover animation */
.kw-badge-chart:hover .kw-chart-line,
.kw-badge-chart:hover .kw-chart-area,
.kw-badge-chart:hover .kw-chart-fill {
  transform: translateY(-9px);
}
.kw-badge-chart:hover .kw-chart-dot {
  transform: translateY(-16px) scale(1.4);
  filter: drop-shadow(0 0 5px #8ef0a8);
}
.kw-chart-labels {
  position: absolute;
  left: 7px; bottom: 8px;
  width: 151px;
  display: flex;
  justify-content: space-between;
  font-size: 6.5px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.065px;
}
.kw-badge-phone img {
  position: absolute;
  left: 0; right: 0;
  top: 0; bottom: -30px; /* extend below badge so bottom edge is never visible */
  width: 100%;
  height: calc(100% + 30px);
  object-fit: cover;
  object-position: center top;
  transition: transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1);
  transform-origin: bottom center;
}
.kw-badge-phone:hover img {
  transform: scale(1.07) translateY(-9px);
}
.kw-badge-screenshot img {
  position: absolute;
  left: -54px; top: 0;
  width: 413px; height: 106px;
  object-fit: cover;
}

/* ── COLOR PICKER BADGE ──────────────────────────────── */
.kw-badge-color {
  width: clamp(90px, 11.3vw, 163px);
  height: clamp(73px, 7.3vw, 106px);
  border-radius: 16px;
  padding: 20px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: hsl(130, 55%, 67%);
  transition: background 0.12s ease;
  cursor: default;
  overflow: hidden;
  position: relative;
}
.kwc-icon {
  line-height: 0;
  flex-shrink: 0;
}
.kwc-slider-wrap {
  position: relative;
  width: 100%;
  height: 20px;
  display: flex;
  align-items: center;
}
.kwc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right,
    #EF7474 0%,
    #FFA05C 16%,
    #FFFB98 29%,
    #BAFF9A 46%,
    #29E2A0 64%,
    #3B89FF 81%,
    #95A1FF 100%);
  outline: none;
  border: none;
  cursor: pointer;
}
.kwc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.22);
  cursor: pointer;
}
.kwc-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.22);
  border: none;
  cursor: pointer;
}

/* ── PHOTO GALLERY ───────────────────────────────────── */
.photo-gallery {
  position: relative;
  width: 100vw;
  left: calc(-50vw + 50%);
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 80px 0;
  overflow: hidden;
  background: #131314;
  margin: 0;
}
.gallery-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 160px;
  pointer-events: none;
  z-index: 2;
}
.gallery-fade-left  { left: 0;   background: linear-gradient(to right, #131314 20%, rgba(19,19,20,0)); }
.gallery-fade-right { right: 0;  background: linear-gradient(to left,  #131314 20%, rgba(19,19,20,0)); }
.gallery-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  overflow: visible;
  padding: 0;
  will-change: transform;
}
.gal-img {
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  height: 333px;
}

/* ── PROJECT CARDS ───────────────────────────────────── */
.proj-cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}
.proj-row-new {
  display: flex;
  gap: 24px;
  align-items: stretch;
}
.proj-card-new {
  position: relative;
  height: 489px;
  border-radius: 36px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: default;
}
/* Large card: ~2/3 of row */
.proj-card-large { flex: 2; min-width: 0; }
/* Small card: ~1/3 of row */
.proj-card-small { flex: 1; min-width: 0; }

.pc-title {
  position: absolute;
  left: 56px; top: 56px;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -1.2px;
  line-height: 1.2;
  color: #131314;
  width: 352px;
}
.pc-photo {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 52%;
  height: 42%;
  border-radius: 24px;
  object-fit: cover;
  object-position: center top;
}
.pc-stats {
  position: absolute;
  left: 56px;
  bottom: 52px;
  display: flex;
  gap: 61px;
  align-items: flex-end;
}
.pc-stat {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 203px;
}
.pc-stat-label {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.72px;
  color: #8d8d96;
  line-height: 1.2;
  display: block;
}
.pc-stat-num {
  font-size: 64px;
  font-weight: 600;
  letter-spacing: -1.92px;
  color: #131314;
  line-height: 1.2;
  display: block;
}

/* ── WORK HISTORY ────────────────────────────────────── */
.work-history {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0;
}
.wh-left {
  flex: 0 0 auto;
  max-width: 620px;
}
.wh-headline {
  font-size: 80px;
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.05;
  color: #131314;
}
.wh-right {
  flex: 0 0 720px;
  min-width: 0;
  padding-right: 160px;
  display: flex;
  flex-direction: column;
}
.wh-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}
.wh-company {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: #131314;
  line-height: 1.2;
}
.wh-years {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  color: #ababab;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}
.wh-divider {
  height: 1px;
  background: rgba(19,19,20,.1);
  width: 100%;
  flex-shrink: 0;
}

/* ── LET'S TALK ──────────────────────────────────────── */
.lets-talk {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 0 0 120px;
}
.lets-talk-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.lt-divider {
  width: 100%; height: 1px;
  background: rgba(19,19,20,.15);
}
.lt-headline {
  font-size: 100px;
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1;
  color: #131314;
}
.lt-buttons {
  display: flex;
  gap: 24px;
  align-items: center;
}
.lt-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #131314;
  color: #fff;
  border: none;
  border-radius: 56px;
  padding: 16px 32px;
  font-size: 20px;
  font-weight: 300;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  filter: drop-shadow(0px 8px 4px rgba(179,179,179,.25));
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), opacity 0.2s;
}
.lt-btn:hover { transform: scale(1.04); opacity: 0.88; }
.lt-btn svg { width: 24px; height: 24px; fill: #fff; flex-shrink: 0; }


/* ══════════════════════════════════════════════════════════
   APPLE-STYLE ANIMATIONS
   ══════════════════════════════════════════════════════════ */

/* ── Core keyframes ─────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(48px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes floatPhone {
  0%, 100% { transform: translateX(-50%) translateY(0px); }
  50%       { transform: translateX(-50%) translateY(-18px); }
}
@keyframes blobDrift1 {
  0%, 100% { transform: rotate(-50.5deg) translate(0, 0) scale(1); }
  33%       { transform: rotate(-48deg) translate(20px, -30px) scale(1.04); }
  66%       { transform: rotate(-53deg) translate(-15px, 20px) scale(0.97); }
}
@keyframes blobDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(30px, -20px) scale(1.05); }
  70%       { transform: translate(-20px, 30px) scale(0.96); }
}
@keyframes blobDrift3 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(60px, -10px); }
}
@keyframes dotRadiate {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(3.8); opacity: 0; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes blurReveal {
  from { opacity: 0; filter: blur(16px); transform: scale(1.05); }
  to   { opacity: 1; filter: blur(0);    transform: scale(1); }
}
@keyframes blurRevealThumb {
  0%   { opacity: 0; filter: blur(12px); transform: scale(0.9) translateX(8px); }
  100% { opacity: 1; filter: blur(0);    transform: scale(1)   translateX(0); }
}
@keyframes wordReveal {
  from { opacity: 0; transform: translateY(24px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0);   filter: blur(0); }
}

/* ── Hero entrance: initial hidden states ────────────────── */
.nav-top,
.badge,
.currently-group,
.copy-right,
.phone-group,
.zero-one,
.house-card {
  opacity: 0;
}

/* ── Animated-in class (added by JS) ────────────────────── */
.anim-nav-logo {
  animation: fadeIn 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s both;
}
.anim-nav-links {
  animation: fadeIn 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}
/* .anim-headline replaced by JS word-split on .hl-line-1 / .hl-line-2 */
.anim-badge {
  opacity: 0; /* JS will trigger the animation after headline settles */
}
.anim-badge.badge-ready {
  animation: blurReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.anim-badge.badge-ready .badge-thumb {
  animation: blurRevealThumb 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.anim-currently {
  animation: fadeIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both;
}
.anim-copy-left {
  animation: slideInLeft 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}
.anim-copy-right {
  animation: slideInRight 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.75s both;
}
.anim-phone {
  animation: fadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
.anim-zero-one {
  animation: fadeIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s both;
}
.anim-house-card {
  animation: scaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
}

/* ── Blob ambient drift ──────────────────────────────────── */
/* blob motion handled by JS rAF loop */

/* ── Currently dot pulse ─────────────────────────────────── */
.currently-dot {
  position: relative;
}
.currently-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #FFA05C;
  animation: dotRadiate 2s ease-out 1.5s infinite;
}

/* ── Scroll-reveal utility class ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(52px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.5s; }

/* ── Card-specific reveal: subtle vertical fade only, stagger by row ── */
.reveal-card {
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-card.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-card-1 { transition-delay: 0s; }
.reveal-card-2 { transition-delay: 0.18s; }

/* ── Nav hover states ────────────────────────────────────── */
.nav-links span {
  position: relative;
  transition: opacity 0.2s ease;
}
.nav-links span::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: #000;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links span:hover { opacity: 0.6; }
.nav-links span:hover::after { width: 100%; }

.nav-cta {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease,
              box-shadow 0.2s ease;
}
.nav-cta:hover {
  transform: scale(1.04);
  opacity: 0.88;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}

/* ── Project card hover ──────────────────────────────────── */
.proj-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  will-change: transform;
}
.proj-card:hover {
  transform: translateY(-8px) scale(1.012);
  box-shadow: 0 24px 48px rgba(0,0,0,.12);
}

/* ── Badge: no hover effect ──────────────────────────────── */
.badge {
  cursor: default;
}

/* ── House card hover ────────────────────────────────────── */
.house-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.house-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 20px 40px rgba(142,142,142,.3);
}

/* ── Headline-2 word-by-word reveal ─────────────────────── */
.hl-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  will-change: transform, opacity;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.hl-word.hl-word-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════════════ */

/* ── TABLET: 768px – 1023px ──────────────────────────────── */
@media (max-width: 1023px) {
  .site-wrapper {
    padding: 0 40px;
  }

  .nav-top {
    font-size: 18px;
    padding-top: 48px;
    gap: 16px;
  }

  .hero-section {
    padding-top: 100px;
    align-items: center;
    text-align: center;
  }

  .headline-1 {
    font-size: 48px;
    letter-spacing: -1.44px;
    text-align: center;
  }

  .hl-line-1, .hl-line-2 {
    display: block;
  }

  /* Phone section: stack as column on tablet */
  .phone-section {
    height: auto;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    padding-bottom: 0;
    overflow: visible;
  }

  .ps-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    margin-right: 0 !important;
  }

  .currently-group {
    position: static;
    width: auto;
    max-width: 480px;
    text-align: center;
    align-items: center;
    margin-bottom: 20px;
  }

  .copy-left {
    width: auto;
    max-width: 420px;
    font-size: 22px;
    text-align: center;
    margin-bottom: 0;
  }

  .zero-one { display: none; }
  .house-card { display: none; }

  .ps-right {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 100%;
    order: 2;
  }

  .copy-right {
    position: static !important;
    width: auto;
    max-width: 420px;
    font-size: 22px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
    order: 1;
  }

  .phone-group {
    position: relative;
    left: auto !important;
    width: 440px;
    max-width: 95vw;
    height: 580px;
    flex-shrink: 0;
    margin: 0 auto !important;
    align-self: center;
    height: auto;
    order: 3;
  }

  .phone-hand {
    position: relative;
    width: 100%;
    left: auto;
    transform: none;
    display: block;
  }

  .phone-frame {
    position: absolute;
    left: 105px;
    top: 58px;
    transform: scale(0.51);
    transform-origin: top left;
  }

  .keywords-cloud {
    padding: 60px 0;
  }

  .kw-row {
    justify-content: center;
    flex-wrap: nowrap;
    overflow: hidden;
    gap: 20px;
  }

  .kw-word {
    font-size: clamp(40px, 6vw, 112px);
    letter-spacing: -0.03em;
    white-space: nowrap;
  }

  .kw-badge-phone,
  .kw-badge-color { width: 90px !important; height: 65px !important; border-radius: 14px; overflow: hidden !important; clip-path: none !important; }
  .kw-badge-color { padding: 10px; }
  .kw-badge-phone img { position: static !important; width: 100% !important; height: 100% !important; object-fit: cover; transform: none !important; bottom: auto; }

  .wh-headline {
    font-size: 60px;
    letter-spacing: -2px;
  }

  .wh-left {
    width: 360px;
  }

  .wh-company {
    font-size: 26px;
  }

  .lt-headline {
    font-size: 72px;
    letter-spacing: -2px;
  }

  .proj-card-large,
  .proj-card-small {
    flex: none;
    width: 100%;
  }

  .proj-row-new {
    flex-direction: column;
  }

  .proj-card-new {
    height: 360px;
  }

  .pc-photo {
    display: none;
  }

  .pc-stats[style*="top:320px"],
  .pc-stats[style*="top:337px"] {
    top: 200px !important;
  }

  /* Work history: reset desktop-only values */
  .wh-left {
    max-width: 100%;
  }
  .wh-right {
    flex: none;
    width: 100%;
    padding-right: 0;
  }
}

/* ── MOBILE: < 768px ─────────────────────────────────────── */
@media (max-width: 767px) {
  .site-wrapper {
    padding: 0 20px;
  }

  /* ── SECTION SPACING ── */
  .lower-content {
    gap: 80px;
    padding-top: 0;
  }

  /* ── NAV ── */
  .nav-top {
    font-size: 16px;
    padding-top: 32px;
    flex-wrap: nowrap;
    gap: 0;
    justify-content: space-between;
  }
  .nav-top-location { display: none; }
  .nav-top-role { text-align: right; }

  /* ── HERO ── */
  .hero-section {
    padding-top: 64px;
    padding-bottom: 80px;
    gap: 32px;
    align-items: center;
    text-align: center;
  }
  .headline-1 {
    font-size: clamp(44px, 11vw, 64px);
    letter-spacing: -1.5px;
    text-align: center;
    line-height: 1.0;
  }
  .hl-line-1, .hl-line-2 {
    display: block;
  }
  .hl-bold { white-space: normal; }
  .mobile-br { display: block; }
  .hl-break { display: block !important; }
  .hl-sub { display: block !important; }
  .hl-line-1 { margin-bottom: -0.1em; }
  .hl-line-2 { margin-top: -0.05em; }
  .badge {
    width: 180px;
    height: 48px;
    padding: 6px 6px 6px 14px;
    gap: 10px;
    border-radius: 14px;
  }
  .badge-thumb {
    width: 52px;
    height: 36px;
    border-radius: 9px;
  }
  .badge-line1, .badge-line2 {
    font-size: 10px;
  }

  /* ── PHONE SECTION ── */
  .phone-section {
    flex-direction: column;
    align-items: center;
    margin-top: 48px;
    padding-bottom: 0;
    overflow: visible;
  }
  .ps-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    margin-right: 0 !important;
  }
  .ps-right {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 100%;
    order: 2;
  }
  .currently-group {
    align-items: center;
    text-align: center;
    margin-bottom: 16px;
  }
  .copy-left {
    display: none !important;
  }
  .copy-left-mobile {
    display: block !important;
    font-size: 18px;
    text-align: center;
    width: 100%;
    max-width: 300px;
    margin-bottom: 0;
  }
  .copy-right {
    display: none !important;
  }
  .phone-group {
    position: relative;
    width: 320px;
    max-width: 95vw;
    height: auto;
    flex-shrink: 0;
    margin: 0 auto !important;
    align-self: center;
    order: 3;
  }
  .phone-hand {
    position: relative;
    width: 100%;
    left: auto;
    transform: none;
    display: block;
  }
  .phone-frame {
    left: 76px;
    top: 42px;
    transform: scale(0.372);
    transform-origin: top left;
  }

  /* ── KEYWORDS CLOUD ── */
  .keywords-cloud {
    padding: 0;
    overflow: visible;
  }
  .kw-row {
    gap: 10px;
    justify-content: center;
    flex-wrap: nowrap;
    overflow: hidden;
    width: 100%;
  }
  .kw-word {
    font-size: 32px;
    letter-spacing: -0.8px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .keywords-cloud { display: none !important; }
  .kw-badge-color { border-radius: 10px; padding: 6px; }
  .kwc-slider-wrap { height: 12px; }
  .kwc-slider { height: 4px; }
  .kwc-slider::-webkit-slider-thumb { width: 11px; height: 11px; }

  /* ── GALLERY ── */
  .photo-gallery {
    padding: 48px 0;
    gap: 16px;
  }
  .gallery-row { gap: 8px; }
  .gal-img { height: 160px; }

  /* ── PROJECT CARDS ── */
  .proj-cards {
    padding: 0 0 60px;
    gap: 12px;
  }
  .proj-row-new {
    flex-direction: column;
    gap: 12px;
  }
  .proj-card-large,
  .proj-card-small {
    flex: none;
    width: 100%;
  }
  .proj-card-new {
    height: 260px;
    border-radius: 24px;
  }
  .pc-photo {
    display: none;
  }
  .pc-title {
    font-size: 26px;
    left: 28px;
    top: 28px;
    right: 28px;
    width: auto;
  }
  .pc-stats {
    left: 28px;
    bottom: 36px;
    gap: 20px;
  }
  .pc-stat-label { font-size: 14px; }
  .pc-stat-num { font-size: 36px; }

  /* ── WORK HISTORY ── */
  .work-history {
    flex-direction: column;
    justify-content: flex-start;
    gap: 40px;
    padding: 0 0 60px;
  }
  .wh-left {
    width: 100%;
    max-width: 100%;
  }
  .wh-headline {
    font-size: 42px;
    letter-spacing: -1.3px;
  }
  .wh-right {
    flex: none;
    width: 100%;
    padding-right: 0;
  }
  .wh-row {
    padding: 18px 0;
  }
  .wh-company { font-size: 22px; }
  .wh-years { font-size: 13px; }

  /* ── LET'S TALK ── */
  .lets-talk {
    padding: 60px 0 80px;
    gap: 24px;
  }
  .lt-headline {
    font-size: 44px;
    letter-spacing: -1.3px;
  }
  .lt-btn {
    font-size: 15px;
    padding: 12px 20px;
  }
  .lt-buttons {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* ── Reduced-motion: respect prefers ────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .nav-top, .headline-1, .badge,
  .currently-group, .copy-right, .phone-group,
  .zero-one, .house-card { opacity: 1; }
  .blob-1, .blob-2, .blob-3,
  .currently-dot { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hl-word { opacity: 1; transform: none; filter: none; }
}

/* ── PASSWORD MODAL ───────────────────────────────────────── */
.pw-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.pw-overlay.active { display: flex; }
.pw-modal {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  width: 340px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.15);
}
.pw-label {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.4px;
  color: #131314;
}
.pw-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  color: #131314;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.pw-input:focus { border-color: #131314; }
.pw-input.shake { animation: pw-shake 0.35s ease; border-color: #ff4d4d; }
.pw-error {
  font-size: 13px;
  color: #ff4d4d;
  display: none;
  margin-top: -8px;
}
.pw-error.visible { display: block; }
.pw-btn {
  padding: 14px;
  background: #131314;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.15s;
}
.pw-btn:hover { opacity: 0.8; }
@keyframes pw-shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}
