:root {
  view-transition-name: none;

  --sky-deep: #46698f;
  --sky-core: #557ca6;
  --sky-mid: #6a8bb0;
  --sky-haze: #8aa3bb;
  --sky-glint: #b7c8d8;

  --ink-sky: #07090d;
  --ink-sky-dim: rgba(7, 9, 13, 0.58);
  --obsidian: #030406;
  --ink-obsidian: #f4f7fb;
  --ink-obsidian-dim: rgba(244, 247, 251, 0.62);
  --ink-cap-dim: #353535;
  --ink-cap-lit: #ccd6e4;

  --squircle: rgba(28, 39, 56, 0.94);
  --squircle-hover: rgba(36, 51, 74, 0.98);
  --folder-blue: #3f6ca8;
  --folder-tab: #5886c4;

  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --doto: "Doto", ui-monospace, SFMono-Regular, monospace;

  --cap-row-h: 76px;
}

::view-transition {
  pointer-events: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--sky-core);
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--sans);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 14;
  color: var(--ink-sky);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.12em;
  text-transform: none;
  letter-spacing: -0.015em;
}

#bgCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  display: block;
}

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(18px, 3vw, 48px);
}

.mono-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}

.doto-num {
  font-family: var(--doto);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.dot-ico {
  width: 14px;
  height: 14px;
  fill: currentColor;
  display: block;
  flex-shrink: 0;
}

.dot-ico--grid {
  width: 16px;
  height: 16px;
}

.mega-slug {
  margin: 0;
  font-size: clamp(44px, 6.4vw, 94px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.94;
  color: var(--ink-sky);
}

.mega-slug--light {
  color: var(--ink-obsidian);
}

/* =========================================================
   HEADER
   ========================================================= */
.hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(14px, 2vw, 24px) clamp(18px, 3vw, 48px);
  color: var(--ink-sky);
  transition: color 240ms ease;
  pointer-events: none;
}

.hdr > * {
  pointer-events: auto;
}

.hdr.is-on-dark {
  color: var(--ink-obsidian);
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(7, 9, 13, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  letter-spacing: -0.04em;
  white-space: nowrap;
  transition: background 200ms ease, border-color 200ms ease;
}

.hdr.is-on-dark .brand {
  background: rgba(244, 247, 251, 0.12);
  border-color: rgba(244, 247, 251, 0.18);
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(7, 9, 13, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.hdr.is-on-dark .pill-cta {
  background: rgba(244, 247, 251, 0.12);
  border-color: rgba(244, 247, 251, 0.18);
}

.pill-cta:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.34);
}

.nav-toggle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(7, 9, 13, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 200ms ease, background 200ms ease;
}

.hdr.is-on-dark .nav-toggle {
  background: rgba(244, 247, 251, 0.12);
  border-color: rgba(244, 247, 251, 0.18);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.34);
}

.nav-drawer {
  position: fixed;
  top: 74px;
  right: clamp(18px, 3vw, 48px);
  width: min(320px, calc(100vw - 36px));
  padding: 20px;
  border-radius: 22px;
  background: rgba(18, 25, 37, 0.96);
  color: var(--ink-obsidian);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(3, 5, 10, 0.45);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.98);
  pointer-events: none;
  transition: opacity 180ms ease, transform 200ms cubic-bezier(0.2, 0.7, 0.1, 1), visibility 0s linear 180ms;
  z-index: 45;
}

.nav-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition: opacity 180ms ease, transform 200ms cubic-bezier(0.2, 0.7, 0.1, 1), visibility 0s;
}

.nav-links {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.nav-links a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.04em;
  transition: background 160ms ease, transform 160ms ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

.nav-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.lang-btn {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.6;
  transition: background 160ms ease, opacity 160ms ease, color 160ms ease;
}

.lang-btn.is-active {
  background: #f4f7fb;
  color: #07090d;
  opacity: 1;
}

.nav-mail {
  font-size: 12px;
  opacity: 0.72;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =========================================================
   SECTION 1: HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: clip;
}

.hero-pin {
  position: relative;
  min-height: 100svh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 82px clamp(18px, 3vw, 48px) clamp(28px, 4svh, 52px);
  overflow: clip;
}

.hero-marquee {
  position: absolute;
  left: 0;
  right: 0;
  top: 47%;
  z-index: 1;
  pointer-events: none;
  overflow: clip;
  transform: translate3d(0, calc(-50% + var(--mq-y, 0px)), 0);
  filter: blur(2px);
  opacity: var(--mq-op, 1);
  will-change: transform, opacity;
}

.hero-scroll-cue {
  display: none;
}

.hero-marquee-track {
  display: flex;
  width: max-content;
  font-size: clamp(96px, 23vw, 310px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.9;
  color: rgba(7, 9, 13, 0.14);
  white-space: nowrap;
  user-select: none;
  will-change: transform;
  animation: marqueeLoop 34s linear infinite;
}

@keyframes marqueeLoop {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.hero-stage {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1460px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(18px, 3vw, 52px);
}

.hero-manifesto {
  margin: 0;
  align-self: end;
  padding-bottom: clamp(10px, 2svh, 28px);
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: var(--ink-sky);
}

.hero-manifesto .m-line {
  display: block;
  white-space: nowrap;
}

.hero-manifesto .ch {
  display: inline-block;
  will-change: transform, opacity, filter;
}

/* Single CRT Monitor Stage (1050x645 transparent PNG cutout) */
.crt-single-stage {
  position: relative;
  width: clamp(360px, min(48vw, 66svh * 1.6279), 740px);
  aspect-ratio: 1050 / 645;
  justify-self: center;
  will-change: transform;
}

/* Measured PNG screen hole: left 26.00%, top 14.26%, width 48.00%, height 61.86% (+0.45% under-bleed) */
.crt-screen-box {
  position: absolute;
  left: 25.55%;
  top: 13.8%;
  width: 48.9%;
  height: 62.8%;
  z-index: 1;
  overflow: hidden;
  background: #020408;
  border-radius: 14px;
}

.crt-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  transform-origin: center center;
  transition: opacity 200ms ease, transform 240ms cubic-bezier(0.4, 0, 0.2, 1), filter 180ms ease;
}

.crt-video--seq {
  position: relative;
  z-index: 2;
  opacity: 1;
}

.crt-video--menu {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
}

.crt-screen-box.is-menu-ready .crt-video--seq {
  opacity: 0;
  pointer-events: none;
}

.crt-screen-box.is-menu-ready .crt-video--menu {
  opacity: 1;
  z-index: 2;
}

.crt-menu-layer {
  position: absolute;
  left: 26%;
  top: 14.26%;
  width: 48%;
  height: 61.86%;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.crt-screen-box.is-menu-ready ~ .crt-menu-layer {
  opacity: 1;
  pointer-events: auto;
}

.crt-skip-btn,
.crt-replay-btn {
  position: absolute;
  z-index: 5;
  color: #f4f7fb;
  background: rgba(7, 9, 13, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  line-height: 1;
  transition: opacity 180ms ease, background 160ms ease, transform 160ms ease;
}

.crt-skip-btn {
  right: 27.5%;
  bottom: 25.5%;
  padding: 5px 10px;
  font-family: var(--doto);
  font-size: 10px;
  letter-spacing: 0.06em;
  opacity: 1;
  pointer-events: auto;
}

.crt-replay-btn {
  right: 27.5%;
  top: 16%;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
}

.crt-skip-btn:hover,
.crt-replay-btn:hover {
  background: rgba(7, 9, 13, 0.92);
  transform: scale(1.04);
}

.crt-screen-box.is-menu-ready ~ .crt-skip-btn {
  opacity: 0;
  pointer-events: none;
}

.crt-screen-box.is-menu-ready ~ .crt-replay-btn {
  opacity: 0.78;
  pointer-events: auto;
}

.crt-flash {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  background: #eef6ff;
  box-shadow: 0 0 18px 4px rgba(200, 232, 255, 0.95);
  transform: translateY(-50%) scaleY(0);
  opacity: 0;
  z-index: 4;
  pointer-events: none;
  transition: opacity 110ms ease, transform 160ms cubic-bezier(0.2, 0.7, 0.1, 1);
}

.crt-screen-box.is-poweroff .crt-video,
.crt-screen-box.is-switching .crt-video {
  transform: scaleY(0.025) scaleX(1.06);
  filter: brightness(2.8);
}

.crt-screen-box.is-switching .crt-flash {
  opacity: 1;
  transform: translateY(-50%) scaleY(1);
}

.crt-static {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  image-rendering: pixelated;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.crt-glass-fx {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.14) 0px,
      rgba(0, 0, 0, 0.14) 1px,
      transparent 1px,
      transparent 3px
    ),
    radial-gradient(110% 90% at 50% 42%, transparent 58%, rgba(0, 0, 0, 0.36) 100%);
}

.crt-chassis {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 28px 48px rgba(4, 8, 16, 0.34));
}

.crt-hot {
  position: absolute;
  left: 22%;
  width: 56%;
  display: flex;
  align-items: center;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  outline: none;
}

.crt-caret {
  width: 11px;
  height: 11px;
  margin-left: 6px;
  color: #f4f7fb;
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(170, 220, 255, 0.9));
  transition: opacity 120ms ease;
}

.crt-hot.is-focused .crt-caret,
.crt-hot:hover .crt-caret,
.crt-hot:focus-visible .crt-caret {
  opacity: 1;
  animation: crtBlink 0.9s steps(2, start) infinite;
}

@keyframes crtBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.28;
  }
}

.dot-circle {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(244, 247, 251, 0.12);
}

/* =========================================================
   SECTION 2: SELECTED WORKS (6 FLAGSHIP WORKS, STICKY RIBBON)
   ========================================================= */
.s2-selected {
  position: relative;
  height: calc(100svh + 5 * 82svh);
  overflow: clip;
  z-index: 2;
  scroll-margin-top: 72px;
}

.sw-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: clip;
  padding: 76px clamp(18px, 3vw, 48px) 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sw-backdrop {
  position: absolute;
  inset: -40px;
  z-index: 0;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  filter: blur(24px) saturate(0.85);
  opacity: 0.44;
  transform: scale(1.08);
  transition: background-image 360ms ease;
}

.sw-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(85, 124, 166, 0.45),
    rgba(70, 105, 143, 0.35)
  );
}

.sw-head,
.sw-body {
  position: relative;
  z-index: 2;
}

.sw-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.sw-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 6px;
}

.sw-meta .doto-num {
  font-size: clamp(18px, 1.8vw, 24px);
}

.sw-body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: clamp(16px, 2.8vw, 44px);
  min-height: 0;
}

.sw-titles,
.sw-cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.sw-title-item,
.sw-cat-item {
  opacity: 0.42;
  transition: opacity 260ms ease, transform 260ms ease;
}

.sw-title-item.is-active,
.sw-cat-item.is-active {
  opacity: 1;
}

.sw-title-btn {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: clamp(15px, 1.35vw, 21px);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-align: left;
  transition: transform 220ms ease;
}

.sw-title-item.is-active .sw-title-btn {
  transform: translateX(8px);
}

.sw-idx {
  font-family: var(--doto);
  font-size: 12px;
  opacity: 0.7;
}

.sw-cats {
  text-align: right;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.7vw, 26px);
  letter-spacing: -0.02em;
}

.sw-center-col {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.sw-ribbon-win {
  position: relative;
  height: min(56svh, 540px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: clip;
  padding-inline: 10px;
}

.sw-ribbon-strip {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translate(-50%, -28px);
  opacity: 0.24;
  pointer-events: none;
  will-change: transform;
}

.sw-strip-thumb {
  width: 96px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0f18;
  opacity: 0.45;
  transition: opacity 260ms ease, transform 260ms ease;
}

.sw-strip-thumb.is-active {
  opacity: 0.9;
  transform: scale(1.06);
}

.sw-strip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sw-active-btn {
  position: relative;
  z-index: 2;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 32px 72px rgba(4, 8, 16, 0.38);
  transition: transform 280ms cubic-bezier(0.2, 0.7, 0.1, 1);
}

.sw-active-btn:hover {
  transform: scale(1.015);
}

.sw-active-box {
  height: min(52svh, 500px);
  width: calc(min(52svh, 500px) * var(--active-ratio, 1.7778));
  max-width: min(74vw, 840px);
  max-height: calc(min(74vw, 840px) / var(--active-ratio, 1.7778));
  background: #06090f;
  transition:
    width 520ms cubic-bezier(0.2, 0.7, 0.1, 1),
    height 520ms cubic-bezier(0.2, 0.7, 0.1, 1),
    max-height 520ms cubic-bezier(0.2, 0.7, 0.1, 1);
}

.sw-active-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sw-micro {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-sky);
  opacity: 0.85;
}

/* =========================================================
   SECTION 3: OBSIDIAN STICKY CAPABILITIES S-CURVE
   ========================================================= */
.obsidian-slab {
  position: relative;
  background: var(--obsidian);
  color: var(--ink-obsidian);
  overflow: clip;
  z-index: 3;
}

.obsidian-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 45% at 14% 12%, rgb(70 120 190 / 0.55), transparent 70%);
}

.obsidian-glow--tr {
  background: radial-gradient(58% 45% at 88% 18%, rgb(70 120 190 / 0.45), transparent 72%);
}

.s3-caps {
  height: calc(100svh + 6 * 56svh);
}

.caps-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: clip;
  padding: 88px clamp(18px, 4vw, 64px) 44px;
  display: flex;
  align-items: center;
}

.caps-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(240px, 0.88fr) minmax(320px, 1.12fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
}

.caps-left {
  display: grid;
  gap: 20px;
  align-content: center;
}

.caps-caption {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--ink-obsidian);
}

.caps-cursor {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(244, 247, 251, 0.22);
  display: grid;
  place-items: center;
  color: var(--ink-cap-lit);
}

.caps-right {
  position: relative;
  height: 100%;
  padding-left: clamp(68px, 11.5vw, 172px);
  overflow-y: clip;
  overflow-x: visible;
}

.caps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  will-change: transform;
}

.cap-row {
  height: var(--cap-row-h);
  line-height: var(--cap-row-h);
  font-size: clamp(32px, 4.7vw, 68px);
  font-weight: 700;
  letter-spacing: -0.055em;
  color: var(--ink-cap-dim);
  white-space: nowrap;
  user-select: none;
  will-change: transform, color;
}

/* =========================================================
   SECTION 4: IN NUMBERS (ROCKSTAR ASYMMETRIC HOVER SQUIRCLES)
   ========================================================= */
.s4-numbers {
  position: relative;
  padding: clamp(72px, 10svh, 130px) 0 clamp(60px, 8svh, 110px);
  overflow: clip;
  scroll-margin-top: 72px;
}

.sec-head {
  margin-bottom: clamp(28px, 4svh, 52px);
}

.sec-head--center {
  text-align: center;
}

.sec-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.numbers-stage {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
  align-items: start;
  position: relative;
}

.numbers-center-kicker {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  text-align: center;
  margin: 0;
  line-height: 1.35;
  color: var(--ink-sky);
  opacity: 0.78;
}

.pt-card[data-slot="r1c1"] { grid-column: 1; grid-row: 1; }
.pt-card[data-slot="r1c2"] { grid-column: 2; grid-row: 1; }
.pt-card[data-slot="r1c4"] { grid-column: 4; grid-row: 1; }
.pt-card[data-slot="r1c6"] { grid-column: 6; grid-row: 1; }
.pt-card[data-slot="r2c3"] { grid-column: 3; grid-row: 2; }
.pt-card[data-slot="r2c6"] { grid-column: 6; grid-row: 2; }

.pt-card {
  container-type: inline-size;
  position: relative;
  border-radius: 34px;
  min-height: 204px;
  background: var(--squircle);
  color: var(--ink-obsidian);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 22px 48px rgba(4, 8, 16, 0.24);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 280ms cubic-bezier(0.2, 0.7, 0.1, 1),
    background 220ms ease,
    border-color 220ms ease;
}

.pt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 50%),
    rgba(138, 180, 232, 0.24),
    transparent 70%
  );
}

.pt-card.is-open {
  transform: translateY(-4px);
  background: var(--squircle-hover);
  border-color: rgba(255, 255, 255, 0.18);
  z-index: 8;
}

@media (hover: hover) {
  .pt-card:hover,
  .pt-card:focus-within {
    transform: translateY(-6px) scale(1.03);
    background: var(--squircle-hover);
    border-color: rgba(255, 255, 255, 0.22);
    z-index: 8;
  }

  .pt-card:hover::before,
  .pt-card:focus-within::before {
    opacity: 1;
  }

  .pt-card:hover .pt-plus,
  .pt-card:focus-within .pt-plus {
    transform: rotate(45deg);
  }

  .pt-card:hover .pt-card-body,
  .pt-card:focus-within .pt-card-body {
    grid-template-rows: 1fr;
  }
}

.pt-card-head {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}

.pt-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pt-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.pt-plus {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(244, 247, 251, 0.1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.1, 1);
}

.pt-card.is-open .pt-plus {
  transform: rotate(45deg);
}

.pt-metric {
  font-family: var(--doto);
  font-size: clamp(22px, 14.5cqi, 44px);
  line-height: 1;
  letter-spacing: -0.04em;
  display: block;
  white-space: nowrap;
}

.pt-title {
  margin: 6px 0 0;
  font-size: clamp(14px, 7.6cqi, 17px);
  font-weight: 600;
  letter-spacing: -0.03em;
  opacity: 0.92;
}

.pt-card-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms cubic-bezier(0.2, 0.7, 0.1, 1);
}

.pt-card.is-open .pt-card-body {
  grid-template-rows: 1fr;
}

.pt-card-body-inner {
  overflow: hidden;
  min-height: 0;
  padding-inline: 20px;
}

.pt-detail {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.42;
  color: var(--ink-obsidian-dim);
}

.pt-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(244, 247, 251, 0.14);
  border: 1px solid rgba(244, 247, 251, 0.22);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-obsidian);
  transition: background 160ms ease;
}

.pt-ext-link:hover {
  background: rgba(244, 247, 251, 0.24);
}

/* =========================================================
   SECTION 5: ALL WORKS (TAGS + TOP 7 + 3 COLLAPSIBLE DRAWERS)
   ========================================================= */
.s5-archive {
  position: relative;
  padding: clamp(56px, 8svh, 110px) 0 clamp(84px, 11svh, 140px);
  overflow: clip;
  scroll-margin-top: 72px;
}

.aw-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(20px, 3svh, 30px);
}

.aw-filter-btn {
  height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(7, 9, 13, 0.14);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-sky);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.aw-filter-btn:hover {
  background: rgba(255, 255, 255, 0.36);
}

.aw-filter-btn.is-active {
  background: var(--ink-sky);
  color: var(--ink-obsidian);
  border-color: var(--ink-sky);
}

.aw-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 18px);
  align-items: start;
}

.aw-more-tile {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  background: var(--squircle);
  color: var(--ink-obsidian);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  box-shadow: 0 18px 40px rgba(4, 8, 16, 0.24);
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.1, 1), background 200ms ease;
}

.aw-more-tile:hover {
  background: var(--squircle-hover);
  transform: translateY(-3px);
}

.aw-more-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.aw-more-bottom {
  display: grid;
  gap: 6px;
}

.aw-more-bottom strong {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.aw-more-bottom span {
  font-size: 13px;
  color: var(--ink-obsidian-dim);
}

.aw-drawers {
  display: grid;
  gap: 14px;
  margin-top: clamp(22px, 3svh, 34px);
}

.aw-drawer {
  border-radius: 24px;
  background: var(--squircle);
  color: var(--ink-obsidian);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 42px rgba(4, 8, 16, 0.22);
  overflow: clip;
}

.aw-drawer-sum {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}

.aw-drawer-sum::-webkit-details-marker {
  display: none;
}

.aw-drawer-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.aw-drawer-slug {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.aw-drawer-sub {
  font-size: 13px;
  color: var(--ink-obsidian-dim);
}

.aw-drawer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aw-drawer-plus {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(244, 247, 251, 0.12);
  display: grid;
  place-items: center;
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.1, 1);
}

.aw-drawer[open] .aw-drawer-plus {
  transform: rotate(45deg);
}

.aw-drawer-body {
  padding: 0 24px 24px;
}

.aw-row {
  display: flex;
  gap: clamp(12px, 1.4vw, 18px);
  width: 100%;
  align-items: flex-start;
}

.aw-card {
  flex: var(--r) 1 0;
  min-width: 0;
  container-type: inline-size;
}

.aw-card-btn {
  width: 100%;
  display: grid;
  gap: 8px;
  text-align: left;
}

.aw-media {
  position: relative;
  width: 100%;
  aspect-ratio: var(--r);
  border-radius: 16px;
  overflow: hidden;
  background: #0b111b;
  box-shadow: 0 18px 40px rgba(4, 8, 16, 0.22);
  transition: transform 280ms cubic-bezier(0.2, 0.7, 0.1, 1);
}

.aw-card-btn:hover .aw-media {
  transform: translateY(-3px);
}

.aw-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aw-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aw-views-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(7, 9, 13, 0.84);
  color: #f4f7fb;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--doto);
  font-size: 11px;
}

.aw-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  padding-inline: 2px;
  line-height: 1.15;
}

.aw-title {
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink-sky);
}

.aw-slash {
  font-size: clamp(13px, 1.05vw, 15px);
  color: var(--ink-sky-dim);
}

.aw-drawer .aw-title {
  color: var(--ink-obsidian);
}

.aw-drawer .aw-slash {
  color: var(--ink-obsidian-dim);
}

/* =========================================================
   SECTION 6: CONTACT ME (OBSIDIAN SLAB) + AUDIO PILL
   ========================================================= */
.deferred-section {
  content-visibility: auto;
  contain-intrinsic-size: auto none auto 520px;
}

.s6-contact {
  padding: clamp(92px, 12svh, 148px) 0 clamp(68px, 9svh, 118px);
  scroll-margin-top: 72px;
}

.contact-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(32px, 4.5svh, 52px);
}

.contact-top {
  display: grid;
  gap: 16px;
  max-width: 720px;
}

.contact-lead {
  margin: 0;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: var(--ink-obsidian-dim);
}

.pt-card-head,
.aw-card-btn,
.folder-card {
  -webkit-tap-highlight-color: transparent;
}

.folders-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
}

.folder-card {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 20px;
  min-height: 132px;
  padding: 18px;
  margin-top: 10px;
  border-radius: 6px 18px 18px 18px;
  background: linear-gradient(155deg, var(--folder-tab), var(--folder-blue));
  color: var(--ink-obsidian);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.36);
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.1, 1);
}

.folder-card.is-primary {
  box-shadow: 0 22px 50px rgba(70, 120, 190, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.folder-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: -10px;
  width: 44%;
  height: 12px;
  border-radius: 10px 10px 0 0;
  background: var(--folder-tab);
}

.folder-card:hover {
  transform: translateY(-5px);
}

.folder-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.folder-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

.folder-ext {
  font-size: 12px;
  line-height: 1;
  opacity: 0.76;
}

.folder-val {
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-bar {
  display: flex;
  justify-content: flex-start;
}

.audio-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(244, 247, 251, 0.1);
  border: 1px solid rgba(244, 247, 251, 0.16);
  color: var(--ink-obsidian);
  transition: background 200ms ease;
}

.audio-pill:hover {
  background: rgba(244, 247, 251, 0.18);
}

.audio-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #8aa3bb;
}

.audio-pill.is-playing .audio-dot {
  background: #6ee7b7;
  box-shadow: 0 0 10px #6ee7b7;
}

.audio-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.audio-time {
  font-size: 13px;
  opacity: 0.78;
}

/* =========================================================
   SECTION 7: FOOTER (SKY GROUND)
   ========================================================= */
.s7-footer {
  position: relative;
  padding: clamp(44px, 6svh, 76px) 0 0;
  overflow: clip;
}

.footer-wrap {
  display: grid;
  gap: clamp(26px, 4svh, 48px);
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.clocks-group {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3.5vw, 48px);
}

.clock-item {
  display: grid;
  gap: 4px;
}

.clock-item .doto-num {
  font-size: clamp(22px, 2.2vw, 30px);
  color: var(--ink-sky);
}

.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.footer-watermark {
  font-size: clamp(72px, 20vw, 290px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.82;
  color: rgba(7, 9, 13, 0.14);
  filter: blur(1.5px);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  padding-bottom: 8px;
}

/* =========================================================
   /dikovina LIGHTBOX MODAL (MWG COMPLIANT TOP-LAYER)
   ========================================================= */
dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
}

.case-dialog {
  width: min(1040px, calc(100vw - 24px));
  max-height: calc(100svh - 24px);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background: rgba(9, 13, 21, 0.96);
  color: var(--ink-obsidian);
  box-shadow: 0 36px 96px rgba(0, 0, 0, 0.65);
  overflow: clip;
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  transition-property: opacity, transform, display, overlay;
  transition-duration: 240ms;
  transition-timing-function: cubic-bezier(0.2, 0.7, 0.1, 1);
  transition-behavior: allow-discrete;
}

.case-dialog::backdrop {
  background: rgba(3, 4, 6, 0.78);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition-property: opacity, display, overlay;
  transition-duration: 240ms;
  transition-timing-function: ease;
  transition-behavior: allow-discrete;
}

:is(dialog[open]):where(:not([data-closing])) {
  opacity: 1;
  transform: scale(1) translateY(0);
}

:is(dialog[open]):where(:not([data-closing]))::backdrop {
  opacity: 1;
}

@starting-style {
  :is(dialog[open]):where(:not([data-closing])) {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  :is(dialog[open]):where(:not([data-closing]))::backdrop {
    opacity: 0;
  }
}

.dlg-shell {
  display: grid;
  gap: 16px;
  padding: clamp(16px, 2.2vw, 24px);
  max-height: calc(100svh - 26px);
  overflow-y: auto;
}

.dlg-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dlg-close,
.dlg-nav-btn {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(244, 247, 251, 0.1);
  border: 1px solid rgba(244, 247, 251, 0.16);
  font-size: 13px;
  font-weight: 600;
  transition: background 180ms ease;
}

.dlg-close:hover,
.dlg-nav-btn:hover {
  background: rgba(244, 247, 251, 0.2);
}

.dlg-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020305;
  border-radius: 18px;
  overflow: hidden;
  max-height: 62svh;
}

.dlg-video {
  max-width: 100%;
  max-height: 62svh;
  width: auto;
  height: auto;
  display: block;
}

.dlg-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.dlg-info {
  display: grid;
  gap: 6px;
  max-width: 660px;
}

.dlg-title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.dlg-meta {
  margin: 0;
  font-size: 13px;
  color: var(--ink-obsidian-dim);
}

.dlg-summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(244, 247, 251, 0.85);
}

.dlg-nav {
  display: flex;
  gap: 8px;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 1023px) {
  .hero {
    min-height: 100svh;
  }

  .hero-pin {
    min-height: 100svh;
    padding: 68px 14px 36px;
  }

  .hero-scroll-cue {
    display: block;
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    opacity: 0.65;
    pointer-events: none;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 16px;
  }

  .hero-manifesto {
    justify-self: center;
    padding-bottom: 0;
    font-size: clamp(21px, 6vw, 30px);
  }

  .crt-single-stage {
    width: min(92vw, 520px);
  }

  .s2-selected {
    height: calc(100svh + 5 * 52svh);
  }

  .sw-pin {
    padding: 66px 14px 18px;
  }

  .sw-backdrop {
    filter: none;
    opacity: 0.22;
  }

  .sw-head {
    align-items: center;
    gap: 10px;
  }

  .sw-slug {
    font-size: clamp(30px, 8.6vw, 52px);
  }

  .sw-meta {
    padding-bottom: 0;
    gap: 8px;
  }

  .sw-meta .mono-kicker {
    display: none;
  }

  .sw-body {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }

  .sw-titles {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .sw-titles::-webkit-scrollbar {
    display: none;
  }

  .sw-title-item {
    flex: 0 0 auto;
    opacity: 0.72;
  }

  .sw-title-item.is-active {
    opacity: 1;
  }

  .sw-title-btn {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    font-size: 13px;
    white-space: nowrap;
  }

  .sw-title-item.is-active .sw-title-btn {
    transform: none;
    background: var(--ink-sky);
    color: var(--ink-obsidian);
  }

  .sw-cats {
    display: none;
  }

  .sw-active-box {
    height: min(46svh, 400px);
    width: calc(min(46svh, 400px) * var(--active-ratio, 1.7778));
    max-width: 88vw;
    max-height: calc(88vw / var(--active-ratio, 1.7778));
  }

  .caps-grid {
    grid-template-columns: 1fr;
    align-content: space-between;
  }

  .caps-right {
    height: 46svh;
    padding-left: clamp(20px, 5vw, 44px);
  }

  .numbers-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .numbers-center-kicker {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-bottom: 6px;
  }

  .pt-card[data-slot] {
    grid-column: auto;
    grid-row: auto;
  }

  .aw-featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .folders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .folder-card.is-primary {
    grid-column: 1 / -1;
    min-height: 98px;
  }
}

@media (max-width: 639px) {
  :root {
    --cap-row-h: 54px;
  }

  .hdr {
    padding: 12px 14px;
  }

  .nav-drawer {
    top: 58px;
    right: 14px;
    width: calc(100vw - 28px);
  }

  .mega-slug {
    font-size: clamp(32px, 10.2vw, 44px);
  }

  .brand,
  .pill-cta,
  .nav-toggle {
    height: 36px;
  }

  .brand {
    padding: 0 12px;
  }

  .pill-cta {
    padding: 0 12px 0 14px;
    font-size: 13px;
  }

  .nav-toggle {
    width: 36px;
  }

  .crt-skip-btn {
    padding: 7px 11px;
  }

  .crt-replay-btn {
    width: 30px;
    height: 30px;
  }

  .s3-caps {
    height: calc(100svh + 6 * 38svh);
  }

  .caps-pin {
    padding: 72px 16px 28px;
  }

  .caps-caption {
    font-size: clamp(20px, 5.6vw, 26px);
  }

  .caps-right {
    height: 44svh;
    padding-left: 14px;
  }

  .cap-row {
    font-size: clamp(24px, 7.6vw, 36px);
  }

  .crt-single-stage {
    width: 92vw;
  }

  .numbers-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .pt-card {
    min-height: 168px;
    border-radius: 24px;
  }

  .pt-card-head {
    padding: 14px;
    gap: 14px;
  }

  .pt-card-body-inner {
    padding-inline: 14px;
  }

  .pt-detail {
    font-size: 12px;
  }

  .pt-ext-link {
    font-size: 11px;
    padding: 6px 10px;
    white-space: nowrap;
  }

  .aw-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .aw-filters::-webkit-scrollbar {
    display: none;
  }

  .aw-filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .aw-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .aw-more-tile {
    padding: 14px;
  }

  .aw-drawer-sum {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 16px;
  }

  .aw-drawer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
  }

  .aw-drawer-slug {
    white-space: nowrap;
    font-size: 18px;
  }

  .aw-drawer-sub {
    font-size: 12px;
    line-height: 1.3;
  }

  .aw-drawer-body {
    padding: 0 16px 16px;
  }

  .aw-row {
    flex-direction: column;
  }

  .aw-card {
    width: 100%;
    flex: none;
  }

  .s6-contact {
    padding: 76px 0 48px;
  }

  .folders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .folder-card {
    min-height: 96px;
    padding: 14px;
    gap: 14px;
  }

  .folder-val {
    font-size: clamp(12.5px, 3.6vw, 14px);
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.2;
  }

  .audio-pill {
    width: 100%;
    justify-content: space-between;
  }

  .s7-footer {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .clock-item .doto-num {
    font-size: 20px;
  }

  .footer-watermark {
    font-size: clamp(56px, 21vw, 120px);
  }

  .case-dialog {
    width: calc(100vw - 16px);
    border-radius: 20px;
  }

  .dlg-close,
  .dlg-nav-btn {
    min-height: 40px;
    padding: 8px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero {
    height: auto;
    min-height: 100svh;
  }

  .hero-marquee-track {
    animation: none;
  }

  .crt-hot.is-focused .crt-caret,
  .crt-hot:hover .crt-caret,
  .crt-hot:focus-visible .crt-caret {
    animation: none;
    opacity: 1;
  }

  .sw-active-box,
  .pt-card,
  .pt-card-body,
  .case-dialog,
  .case-dialog::backdrop {
    transition: none;
  }
}
