/* Pictonal — landing (dark graphite + teal, photo-led) */

:root {
  --bg: #0c0c0c;
  --bg-elevated: #121212;
  --surface: #1a1a1a;
  --surface-2: #232323;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f7f7f7;
  --text-muted: #b8b8b8;
  --text-dim: #8a8a8a;
  --teal: #2dd4bf;
  --teal-soft: #5eead4;
  --teal-deep: #14b8a6;
  --teal-glow: rgba(45, 212, 191, 0.22);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

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

a:hover {
  color: var(--teal-soft);
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.6rem 0.9rem;
  background: var(--teal);
  color: #121212;
  font-weight: 600;
  border-radius: 0.4rem;
}

.skip-link:focus {
  top: 1rem;
}

/* —— Header —— */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: linear-gradient(
    to bottom,
    rgba(12, 12, 12, 0.92),
    rgba(12, 12, 12, 0.55) 70%,
    transparent
  );
  backdrop-filter: blur(8px);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
}

.site-header__inner .brand {
  margin-right: auto;
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 1;
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
}

.header-status:hover {
  color: var(--teal-soft);
}

@media (max-width: 480px) {
  .header-status {
    font-size: 0.7rem;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
}

.brand:hover {
  color: var(--text);
}

.brand__mark {
  width: 1.75rem;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.nav a:hover {
  color: var(--text);
}

.nav__cta {
  padding: 0.45rem 0.9rem;
  border-radius: 0.4rem;
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-weight: 600;
}

.nav__cta:hover {
  border-color: var(--teal);
  color: var(--teal-soft);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

/* —— Hero full-bleed —— */

.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  display: flex;
  align-items: stretch;
  /* Ends just under the laptop base — CTA lives outside */
  padding: calc(var(--header-h) + 0.5rem) 0 0.35rem;
  overflow: hidden;
  box-sizing: border-box;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) alternate infinite;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.35rem, 1vh, 0.75rem);
  min-height: 0;
  animation: rise 1s var(--ease) both;
}

.hero__headline {
  margin: 0;
  align-self: stretch;
  flex-shrink: 0;
  width: 100%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw + 1.2vh, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .hero__headline {
    white-space: normal;
    text-wrap: balance;
    font-size: clamp(1.35rem, 5.2vw, 1.9rem);
  }
}

.hero__intro {
  display: grid;
  gap: clamp(0.3rem, 0.9vh, 0.65rem);
  justify-items: center;
  text-align: center;
  width: 100%;
  max-width: 44rem;
  flex-shrink: 0;
}

.hero__duo {
  margin: 0;
  width: 100%;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
}

.hero__duo-accent {
  color: var(--teal-soft);
}

@media (max-width: 640px) {
  .hero__duo {
    white-space: normal;
    text-wrap: balance;
  }
}

.hero__lead {
  margin: 0.15rem auto 0;
  display: grid;
  gap: 0.3rem;
  max-width: 36rem;
}

.hero__lead-main {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero__lead-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-muted);
}

/* Workflow strip under copy */
.hero__flow {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 0.35rem 0.25rem;
  flex-shrink: 0;
}

.hero__flow-step {
  flex: 1 1 8.5rem;
  max-width: 11rem;
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  text-align: center;
}

.hero__flow-ico {
  width: clamp(2.1rem, 4.5vh, 2.55rem);
  height: clamp(2.1rem, 4.5vh, 2.55rem);
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  border: 2px solid var(--teal);
  background: transparent;
  color: var(--teal);
  box-shadow: 0 0 10px rgba(45, 212, 191, 0.35);
  filter: drop-shadow(0 0 4px rgba(45, 212, 191, 0.35));
}

.hero__flow-ico svg {
  width: 55%;
  height: 55%;
  stroke-width: 2.4;
  fill: none;
  stroke: currentColor;
}

.hero__flow-name {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero__flow-desc {
  font-size: clamp(0.7rem, 1.4vh, 0.8rem);
  line-height: 1.3;
  color: var(--text-muted);
  max-width: 14ch;
}

.hero__flow-arrow {
  flex: 0 0 auto;
  align-self: center;
  margin-top: -0.85rem;
  color: rgba(255, 255, 255, 0.28);
  font-size: 1.1rem;
  line-height: 1;
}

.hero__device {
  /* Large laptop filling the lower hero, like the reference */
  --laptop-max-h: min(58vh, 520px);
  width: min(96%, 980px, calc(var(--laptop-max-h) * 1.723));
  margin: auto auto 0;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__device .app-laptop {
  width: 100%;
  aspect-ratio: 4608 / 2675;
  max-height: var(--laptop-max-h);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6));
}

.hero__device .app-laptop__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: fill;
}

.hero-cta {
  display: flex;
  justify-content: center;
  padding: 1.5rem 1.25rem 0.5rem;
  background: var(--bg);
}

.hero-cta .btn {
  padding: 0.85rem 1.4rem;
}

@media (max-height: 780px) {
  .hero__device {
    --laptop-max-h: min(52vh, 440px);
  }

  .hero__lead-sub {
    display: none;
  }
}

@media (max-height: 680px) {
  .hero__device {
    --laptop-max-h: min(48vh, 380px);
  }

  .hero__flow-desc {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero__flow-arrow {
    display: none;
  }

  .hero__flow-step {
    flex: 1 1 42%;
    max-width: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.btn--primary {
  background: var(--teal);
  color: #121212;
}

.btn--primary:hover {
  background: var(--teal-soft);
  color: #121212;
  transform: translateY(-1px);
}

.pulse {
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2.4s ease-out infinite;
}

/* —— App UI mockup (inside hero laptop) —— */

.hero__device,
.app-laptop {
  --app-bg: #101010;
  --app-surface: #161616;
  --app-panel: #141414;
  --app-line: rgba(255, 255, 255, 0.08);
  --app-line-strong: rgba(255, 255, 255, 0.14);
  --app-text: #e8e8e8;
  --app-muted: #9a9a9a;
  --app-t1: #b4dac4;
  --app-t2: #7bc7c1;
  --app-t3: #4c7b78;
  --app-grad: linear-gradient(90deg, var(--app-t1), var(--app-t2) 55%, var(--app-t3));
}

/* Laptop frame (pc.png) with UI inset on the display */
.app-laptop {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.55));
}

.app-laptop__frame {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

.app-laptop__screen {
  position: absolute;
  /* Inset a bit from the hole so bezel doesn't clip sidebar/panel text */
  top: 1.35%;
  left: 10.85%;
  right: 10.85%;
  bottom: 11.15%;
  overflow: hidden;
  background: var(--app-bg);
  /* Behind the PNG so rounded corners / bezel mask sharp UI edges */
  z-index: 1;
  border-radius: 0.35%;
}

.app-ui {
  display: grid;
  grid-template-columns: minmax(5.5rem, 20%) minmax(0, 1fr) minmax(6.25rem, 22%);
  width: 100%;
  height: 100%;
  min-height: 0;
  font-family: Inter, var(--font-body), sans-serif;
  font-size: clamp(0.42rem, 0.55vw + 0.2vh, 0.58rem);
  line-height: 1.25;
  color: var(--app-text);
}

/* Sidebar */

.app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.35rem 0.3rem;
  background: var(--app-surface);
  border-right: 1px solid var(--app-line);
  overflow: hidden;
  min-height: 0;
}

.app-side-block {
  display: grid;
  gap: 0.05rem;
}

.app-side-label {
  margin: 0 0 0.15rem 0.25rem;
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--app-t2);
  opacity: 0.85;
}

.app-side-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  margin: 0;
  padding: 0.15rem 0.22rem;
  border: none;
  border-radius: 0.2rem;
  background: transparent;
  color: var(--app-text);
  font: inherit;
  text-align: left;
  cursor: default;
}

.app-side-item.is-active {
  background: rgba(123, 199, 193, 0.12);
  box-shadow: inset 1.5px 0 0 var(--app-t2);
}

.app-side-count {
  margin-left: auto;
  font-size: 0.9em;
  color: var(--app-muted);
  opacity: 0.75;
}

.app-side-ico {
  flex: 0 0 0.7em;
  width: 0.7em;
  height: 0.7em;
  min-width: 0.55rem;
  min-height: 0.55rem;
  opacity: 0.7;
  background: currentColor;
  mask: no-repeat center / contain;
  -webkit-mask: no-repeat center / contain;
}

.app-side-item.is-active .app-side-ico {
  opacity: 1;
  color: var(--app-t2);
}

.app-side-ico[data-ico="card"] {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.4'%3E%3Crect x='2' y='4' width='12' height='9' rx='1.2'/%3E%3Ccircle cx='5.5' cy='8.5' r='1.2'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.4'%3E%3Crect x='2' y='4' width='12' height='9' rx='1.2'/%3E%3Ccircle cx='5.5' cy='8.5' r='1.2'/%3E%3C/svg%3E");
}

.app-side-ico[data-ico="disk"] {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.4'%3E%3Crect x='3' y='2.5' width='10' height='11' rx='1.2'/%3E%3Cpath d='M5.5 5h5M5.5 8h5'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.4'%3E%3Crect x='3' y='2.5' width='10' height='11' rx='1.2'/%3E%3Cpath d='M5.5 5h5M5.5 8h5'/%3E%3C/svg%3E");
}

.app-side-ico[data-ico="grid"] {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'%3E%3Crect x='2' y='2' width='5' height='5' rx='0.8'/%3E%3Crect x='9' y='2' width='5' height='5' rx='0.8'/%3E%3Crect x='2' y='9' width='5' height='5' rx='0.8'/%3E%3Crect x='9' y='9' width='5' height='5' rx='0.8'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'%3E%3Crect x='2' y='2' width='5' height='5' rx='0.8'/%3E%3Crect x='9' y='2' width='5' height='5' rx='0.8'/%3E%3Crect x='2' y='9' width='5' height='5' rx='0.8'/%3E%3Crect x='9' y='9' width='5' height='5' rx='0.8'/%3E%3C/svg%3E");
}

.app-side-ico[data-ico="keep"] {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M3.5 8.2l2.8 2.8 6.2-6.2'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M3.5 8.2l2.8 2.8 6.2-6.2'/%3E%3C/svg%3E");
}

.app-side-ico[data-ico="reject"] {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M4 4l8 8M12 4l-8 8'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M4 4l8 8M12 4l-8 8'/%3E%3C/svg%3E");
}

.app-side-ico[data-ico="edit"] {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='M3 11.5V13h1.5L12 5.5 10.5 4 3 11.5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='M3 11.5V13h1.5L12 5.5 10.5 4 3 11.5z'/%3E%3C/svg%3E");
}

.app-side-ico[data-ico="star"] {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'%3E%3Cpath d='M8 2.2l1.6 3.3 3.6.5-2.6 2.5.6 3.6L8 10.4 4.8 12.1l.6-3.6L2.8 6l3.6-.5L8 2.2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'%3E%3Cpath d='M8 2.2l1.6 3.3 3.6.5-2.6 2.5.6 3.6L8 10.4 4.8 12.1l.6-3.6L2.8 6l3.6-.5L8 2.2z'/%3E%3C/svg%3E");
}

.app-side-ico[data-ico="folder"] {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='M2.5 5.2V12a1 1 0 001 1h9a1 1 0 001-1V6.2a1 1 0 00-1-1H8.2L7 4H3.5a1 1 0 00-1 1.2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='M2.5 5.2V12a1 1 0 001 1h9a1 1 0 001-1V6.2a1 1 0 00-1-1H8.2L7 4H3.5a1 1 0 00-1 1.2z'/%3E%3C/svg%3E");
}

/* Center */

.app-center {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
  background: #0e0e0e;
  overflow: hidden;
}

.app-toolbar,
.app-film__toolbar {
  display: flex;
  align-items: center;
  gap: 0.22rem;
  padding: 0.18rem 0.3rem;
  border-bottom: 1px solid var(--app-line);
  background: rgba(20, 20, 20, 0.9);
}

.app-film__toolbar {
  border-bottom: none;
  border-top: 1px solid var(--app-line);
}

.app-tool {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 0.12rem;
  background: rgba(255, 255, 255, 0.12);
}

.app-tool--wide {
  width: 1.4rem;
  margin-left: auto;
  background: var(--app-grad);
  opacity: 0.75;
}

.app-preview {
  position: relative;
  margin: 0;
  min-height: 0;
  overflow: hidden;
  background: #0c0c0c;
}

.app-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.app-film {
  background: var(--app-surface);
  border-top: 1px solid var(--app-line);
  padding: 0.22rem 0.2rem 0.2rem;
  min-height: 0;
}

.app-film__strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.16rem;
}

.app-film__cell {
  margin: 0;
  display: grid;
  grid-template-rows: auto auto;
  gap: 0.1rem;
  min-width: 0;
}

.app-film__cell img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0.12rem;
  border: 1px solid transparent;
  opacity: 0.78;
}

.app-film__cell.is-selected img {
  opacity: 1;
  border-color: var(--app-t2);
  box-shadow: 0 0 0 1px rgba(123, 199, 193, 0.35);
}

.app-film__cell:has(.app-film__flag--reject) img {
  opacity: 0.5;
  filter: saturate(0.55);
}

.app-film__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.08rem;
  min-width: 0;
  line-height: 1;
}

.app-film__flag {
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-film__flag--keep {
  color: #34d399;
}

.app-film__flag--reject {
  color: #f87171;
}

.app-film__flag--maybe {
  color: #fbbf24;
}

.app-film__stars {
  --rating: 0;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  font-size: 0.7em;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.18);
  line-height: 1;
}

.app-film__stars::before {
  content: "★★★★★";
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--rating) * 20%);
  overflow: hidden;
  color: #fbbf24;
  white-space: nowrap;
}

/* Right panel */

.app-panel {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.3rem 0.32rem 0.35rem;
  background: var(--app-panel);
  border-left: 1px solid var(--app-line);
  overflow: hidden;
  min-height: 0;
}

.app-mod {
  display: grid;
  gap: 0.18rem;
}

.app-mod__title {
  margin: 0 0 0.05rem;
  font-size: 0.9em;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--app-t1);
}

.app-slider {
  display: grid;
  grid-template-columns: 2.6em minmax(0, 1fr) 1.5em;
  align-items: center;
  gap: 0.18rem;
}

.app-slider span {
  color: var(--app-text);
  font-size: 0.95em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-slider i {
  position: relative;
  display: block;
  height: 0.12rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  overflow: visible;
}

.app-slider i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--app-grad);
  position: relative;
}

.app-slider i b::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.14rem;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--app-t1);
  transform: translateY(-50%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.app-slider em {
  font-style: normal;
  font-size: 0.9em;
  text-align: right;
  color: var(--app-muted);
  opacity: 0.72;
  font-variant-numeric: tabular-nums;
}

.app-slider--temp i {
  background: linear-gradient(90deg, #4c7b78, #b4dac4);
  opacity: 0.9;
}

.app-slider--temp i b {
  background: rgba(255, 255, 255, 0.35);
}

.app-curve {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem;
  align-items: center;
  padding: 0.22rem;
  border: 1px solid var(--app-line);
  border-radius: 0.25rem;
  background: #101010;
}

.app-curve svg {
  width: 100%;
  height: auto;
  max-height: 3.2rem;
  display: block;
}

.app-curve__channels {
  display: grid;
  gap: 0.18rem;
}

.app-curve__channels span {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  opacity: 0.45;
}

.app-curve__channels span:nth-child(2) {
  background: #b4dac4;
}

.app-curve__channels span:nth-child(3) {
  background: #7bc7c1;
}

.app-curve__channels span:nth-child(4) {
  background: #4c7b78;
}

.app-curve__channels span.is-active {
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(180, 218, 196, 0.5);
}

@media (max-width: 720px) {
  .app-ui {
    font-size: clamp(0.38rem, 1.1vw, 0.5rem);
  }

  .app-side-block:last-child,
  .app-mod:last-child {
    display: none;
  }
}

/* —— Phase dividers + feature cards —— */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.section h2 {
  margin: 0 0 1rem;
  max-width: 14ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section__intro {
  margin: 0;
  max-width: 34rem;
  color: var(--text-muted);
}

.phase {
  padding: 2.5rem 0 4.5rem;
  border-top: 1px solid var(--border);
  overflow-x: clip;
}

.phase__title {
  margin: 0 auto 2.25rem;
  max-width: var(--max);
  padding: 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.5rem, 14vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-align: center;
  color: var(--teal);
  opacity: 0.92;
}

.card-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .feat-card--wide {
    grid-column: 1 / -1;
  }
}

.feat-card {
  display: grid;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1.35rem;
  border: 1px solid var(--border-strong);
  border-radius: 0.85rem;
  overflow: hidden;
  min-height: 100%;
}

@media (min-width: 768px) {
  .feat-card--wide {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1.5rem;
  }
}

.feat-card__copy h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.feat-card__copy p {
  margin: 0;
  max-width: 34ch;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-muted);
}

/* Teal-only tonal rhythm */
.feat-card--tone-a {
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(45, 212, 191, 0.16), transparent 55%),
    linear-gradient(160deg, #141a19 0%, #121212 55%);
}

.feat-card--tone-b {
  background:
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(20, 184, 166, 0.14), transparent 50%),
    #161616;
}

.feat-card--tone-c {
  background:
    linear-gradient(145deg, rgba(45, 212, 191, 0.1), transparent 45%),
    #1a1f1e;
}

.feat-card--tone-d {
  background:
    radial-gradient(ellipse 90% 50% at 50% 0%, rgba(94, 234, 212, 0.1), transparent 50%),
    #121212;
}

.feat-card--tone-e {
  background:
    linear-gradient(120deg, #0f1615 0%, #1a2221 40%, #121212 100%);
}

.feat-card__visual {
  min-height: 180px;
  display: flex;
}

.feat-card__visual > .mock {
  flex: 1;
  width: 100%;
}

.feat-card--wide .feat-card__visual {
  min-height: 220px;
}

/* —— UI mock overlays —— */

.mock {
  position: relative;
  height: 100%;
  min-height: inherit;
  border-radius: 0.55rem;
  overflow: hidden;
  background: #0e0e0e;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mock img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mock__badge {
  position: absolute;
  z-index: 2;
  left: 0.55rem;
  bottom: 0.55rem;
  padding: 0.28rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 0.25rem;
  line-height: 1;
  font-family: var(--font-body);
}

.mock__badge--keep {
  color: #0c0c0c;
  background: var(--teal);
}

.mock__badge--reject {
  color: #f7f7f7;
  background: rgba(40, 40, 40, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mock__box {
  position: absolute;
  inset: 14% 18% 22% 16%;
  border: 2px solid var(--teal);
  border-radius: 0.2rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.mock__face {
  position: absolute;
  top: 26%;
  left: 36%;
  width: 22%;
  aspect-ratio: 1;
  border: 1.5px solid var(--teal-soft);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.mock--faces {
  aspect-ratio: 4 / 5;
}

.mock--faces img {
  object-fit: cover;
  object-position: center 12%;
}

.mock--faces .mock__face {
  border-radius: 0.12rem;
  border: 2px solid #f5d76e;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55);
  background: rgba(245, 215, 110, 0.1);
}

/* Positions matched to faces in wedding-8.jpg */
.mock--faces .mock__face--1 {
  top: 7%;
  left: 25%;
  width: 23%;
  aspect-ratio: 1;
}

.mock--faces .mock__face--2 {
  top: 14%;
  left: 46%;
  width: 20%;
  aspect-ratio: 1;
  opacity: 1;
}

.mock__face--center {
  top: 22%;
  left: 36%;
  width: 26%;
}

.mock--select,
.mock--faces,
.mock--retouch,
.mock--mask,
.mock--crop,
.mock--compare {
  aspect-ratio: 16 / 11;
}

.mock--select img,
.mock--faces img,
.mock--retouch img,
.mock--mask img,
.mock--crop img {
  position: absolute;
  inset: 0;
}

.mock--stack {
  aspect-ratio: 16 / 11;
}

.mock__stack-a,
.mock__stack-b {
  position: absolute;
  inset: 12% 28% 18% 12%;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mock__stack-a {
  transform: rotate(-6deg) translate(-4%, 4%);
  opacity: 0.55;
  filter: saturate(0.7);
  z-index: 0;
}

.mock__stack-b {
  transform: rotate(3deg);
  z-index: 1;
}

.mock--stack .mock__badge {
  z-index: 3;
}

.mock--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  padding: 0.55rem;
  aspect-ratio: auto;
  background: #101010;
}

.mock__cell {
  position: relative;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.3rem;
  overflow: hidden;
  border-radius: 0.3rem;
  min-height: 0;
  background: #141414;
  padding: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mock__thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 0.2rem;
  background: #0e0e0e;
}

.mock__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mock__cell--reject .mock__thumb {
  opacity: 0.55;
  filter: saturate(0.55);
}

.mock__cell--keep {
  border-color: rgba(52, 211, 153, 0.35);
}

.mock__cell--reject {
  border-color: rgba(248, 113, 113, 0.3);
}

.mock__cell--maybe {
  border-color: rgba(251, 191, 36, 0.3);
}

.mock__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  min-height: 1.1rem;
  padding: 0 0.05rem;
}

.mock__flag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.mock__flag--keep {
  color: #34d399;
}

.mock__flag--reject {
  color: #f87171;
}

.mock__flag--maybe {
  color: #fbbf24;
}

.mock__stars {
  --rating: 0;
  position: relative;
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.18);
}

.mock__stars::before {
  content: "★★★★★";
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--rating) * 20%);
  overflow: hidden;
  color: #fbbf24;
  white-space: nowrap;
}

/* Adaptive looks: mismatched set → matched set */
.mock--adaptive {
  display: grid;
  gap: 0.55rem;
  padding: 0.55rem;
  aspect-ratio: auto;
  background: #101010;
}

.mock__adaptive-row {
  display: grid;
  gap: 0.35rem;
}

.mock__adaptive-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.mock__adaptive-row--matched .mock__adaptive-label {
  color: var(--teal);
}

.mock__adaptive-shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}

.mock__shot {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mock__shot--dark {
  filter: brightness(0.62) contrast(1.05) saturate(0.75) hue-rotate(18deg);
}

.mock__shot--bright {
  filter: brightness(1.38) contrast(0.88) saturate(1.35) sepia(0.12);
}

.mock__shot--cool {
  filter: brightness(0.88) contrast(0.95) saturate(0.45) hue-rotate(-28deg);
}

.mock__shot--match {
  filter: brightness(1.03) contrast(1.06) saturate(1.08);
  border-color: rgba(45, 212, 191, 0.28);
}

.mock__shot--match-mid {
  filter: brightness(1.14) contrast(1.05) saturate(1.08);
}

.mock__shot--match-right {
  filter: brightness(1.12) contrast(1.05) saturate(1.08);
}

.mock--loupe {
  aspect-ratio: 16 / 9;
  background: #101010;
}

.mock--loupe > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 72%;
  height: 100%;
  object-fit: cover;
}

.mock__rail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.75rem 0.65rem;
  background: #181818;
  border-left: 1px solid var(--border);
}

.mock--loupe > .mock__rail {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 28%;
}

.mock__rail--slim {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 32%;
  border-left: 1px solid var(--border);
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(4px);
}

.mock__slider {
  display: grid;
  gap: 0.3rem;
}

.mock__slider i {
  display: block;
  width: 40%;
  height: 0.28rem;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 1px;
}

.mock__slider b {
  display: block;
  height: 0.22rem;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal));
}

/* Tone & color: same photo, half raw / half graded */
.mock--compare {
  background: #101010;
}

.mock__compare-raw,
.mock__compare-edit img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.mock__compare-raw {
  filter: saturate(0.78) contrast(0.94) brightness(1.02);
}

.mock__compare-edit {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 50%);
  z-index: 1;
}

/* Soft cool grade — clearer contrast, no warm crush on skin */
.mock__compare-edit img {
  filter:
    contrast(1.08)
    saturate(1.12)
    brightness(1.03)
    hue-rotate(8deg);
}

.mock__compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
  z-index: 2;
  pointer-events: none;
}

.mock__compare-line::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(12, 12, 12, 0.55);
  transform: translate(-50%, -50%);
}

.mock__compare-tag {
  position: absolute;
  bottom: 0.45rem;
  z-index: 2;
  padding: 0.2rem 0.4rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0.2rem;
}

.mock__compare-tag--raw {
  left: 0.45rem;
  color: #f7f7f7;
  background: rgba(12, 12, 12, 0.72);
}

.mock__compare-tag--edit {
  right: 0.45rem;
  color: #0c0c0c;
  background: var(--teal);
}

.mock__crop-frame {
  position: absolute;
  inset: 12% 16%;
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.mock__crop-grid {
  position: absolute;
  inset: 12% 16%;
  background:
    linear-gradient(to right, transparent 32.5%, rgba(255, 255, 255, 0.35) 33%, rgba(255, 255, 255, 0.35) 33.4%, transparent 33.9%, transparent 65.8%, rgba(255, 255, 255, 0.35) 66.3%, rgba(255, 255, 255, 0.35) 66.7%, transparent 67.2%),
    linear-gradient(to bottom, transparent 32.5%, rgba(255, 255, 255, 0.35) 33%, rgba(255, 255, 255, 0.35) 33.4%, transparent 33.9%, transparent 65.8%, rgba(255, 255, 255, 0.35) 66.3%, rgba(255, 255, 255, 0.35) 66.7%, transparent 67.2%);
  pointer-events: none;
}

.mock--retouch > img {
  position: absolute;
  inset: 0;
}

.mock__mask-shape {
  position: absolute;
  inset: 18% 22% 20% 20%;
  border-radius: 42% 48% 45% 50%;
  border: 1.5px dashed var(--teal-soft);
  background: rgba(45, 212, 191, 0.12);
  pointer-events: none;
}

.mock--duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  padding: 0.45rem;
  aspect-ratio: 16 / 9;
  background: #101010;
}

.mock--duo figure {
  margin: 0;
  overflow: hidden;
  border-radius: 0.3rem;
  position: relative;
  min-height: 0;
  height: 100%;
}

.mock--duo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mock--duo .mock__badge {
  right: 0.55rem;
  left: auto;
}

@media (max-width: 767px) {
  .mock--loupe > img {
    width: 100%;
    height: 66%;
  }

  .mock--loupe > .mock__rail {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: 34%;
    border-left: none;
    border-top: 1px solid var(--border);
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
  }

  .mock--loupe .mock__slider {
    flex: 1 1 40%;
  }
}

/* —— Status —— */

.section {
  padding: 5.5rem 0;
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section--status {
  background: var(--bg);
}

.status-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  max-width: 36rem;
  border-top: 1px solid var(--border);
}

.status-list li {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
}

.status-list__key {
  color: var(--text-dim);
  font-weight: 500;
}

.status-list__val {
  color: var(--text);
}

@media (max-width: 520px) {
  .status-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* —— Footer —— */

.site-footer {
  border-top: 1px solid var(--border);
  background: #0a0a0a;
  padding: 3.5rem 0 2rem;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .site-footer__inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.site-footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.7rem;
}

.site-footer__brand .brand__name {
  margin: 0;
}

.site-footer__brand p {
  flex-basis: 100%;
}

.site-footer__brand p,
.site-footer__bottom p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.site-footer__contact a {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid rgba(45, 212, 191, 0.45);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.site-footer__contact a:hover {
  color: var(--teal-soft);
  border-color: var(--teal-soft);
}

.site-footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
  border-top: 1px solid var(--border);
}

/* —— Motion —— */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, 1%, 0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(45, 212, 191, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0);
  }
}

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

  .hero__content,
  .hero__media img,
  .reveal,
  .pulse,
  .btn {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__media img {
    transform: none;
  }
}
