:root {
  --ink: #0b0a08;
  --ink-soft: #14130f;
  --paper: #f3efe6;
  --paper-dim: #c9c3b4;
  --paper-faint: #8a8575;
  --line: rgba(243, 239, 230, 0.12);
  --clay: #e2512f;
  --teal: #2f9e8f;
  --amber: #ffb020;
  --radius: 18px;
  --radius-sm: 10px;
  --max-width: 1200px;
  --font-display: "Fraunces", serif;
  --font-mono: "Space Mono", monospace;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  cursor: default;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; margin: 0; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--paper-dim); }
p { margin: 0; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

/* grain + progress + cursor */
.noise {
  position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(90deg, var(--clay), var(--amber));
  z-index: 1000; transition: width 0.1s ease;
}
.cursor-dot {
  position: fixed; width: 8px; height: 8px; border-radius: 50%; background: var(--clay); pointer-events: none;
  z-index: 998; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, background 0.2s; mix-blend-mode: difference;
  display: none;
}
@media (hover: hover) and (pointer: fine) { .cursor-dot { display: block; } }
.cursor-dot.is-link { width: 36px; height: 36px; background: var(--paper); }

.reveal, .card-reveal {
  opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible, .card-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* buttons / links */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn--primary { background: var(--paper); color: var(--ink); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(243,239,230,0.3); }
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--lg { padding: 18px 36px; font-size: 1.05rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow span { transition: transform 0.25s ease; display: inline-block; }
.link-arrow:hover span { transform: translateX(4px); }

/* header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(11,10,8,0.85); backdrop-filter: blur(14px); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px;
  background: var(--clay); color: var(--paper); font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700;
}
.logo__text { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.logo__text i { color: var(--paper-dim); font-style: italic; font-weight: 400; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav a { display: flex; align-items: center; gap: 8px; color: var(--paper-dim); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav a em { font-family: var(--font-mono); font-style: normal; font-size: 0.7rem; color: var(--clay); }
.nav a:hover { color: var(--paper); }

.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-soft); overflow: hidden; }
.ticker__track { display: flex; white-space: nowrap; animation: ticker 28s linear infinite; padding: 7px 0; }
.ticker__track span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--paper-faint); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* hero */
.hero { padding: 90px 0 70px; position: relative; }
.hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }

.tag { display: inline-block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--clay); border: 1px solid rgba(226,81,47,0.4); padding: 6px 12px; border-radius: 999px; margin-bottom: 28px; }
.hero__copy h1 { font-size: clamp(2.6rem, 4.2vw, 3.8rem); line-height: 1.08; margin-bottom: 24px; }
.hero__lead { color: var(--paper-dim); max-width: 480px; font-size: 1.08rem; margin-bottom: 36px; }
.hero__actions { display: flex; align-items: center; gap: 28px; margin-bottom: 56px; flex-wrap: wrap; }
.hero__meta { display: flex; gap: 44px; border-top: 1px solid var(--line); padding-top: 24px; }
.hero__meta div { display: flex; flex-direction: column; gap: 4px; }
.hero__meta strong { font-family: var(--font-display); font-size: 1.7rem; }
.hero__meta span { color: var(--paper-faint); font-size: 0.78rem; font-family: var(--font-mono); }

.hero__visual { position: relative; height: 500px; }
.bignum {
  position: absolute; top: -40px; right: 0; font-family: var(--font-display); font-size: 11rem; font-weight: 300;
  color: transparent; -webkit-text-stroke: 1px rgba(243,239,230,0.08); z-index: 0; line-height: 1; user-select: none;
}

/* device frames */
.device { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: 0 50px 90px -30px rgba(0,0,0,0.6); z-index: 1; }
.device--browser { width: 410px; background: var(--ink-soft); border: 1px solid var(--line); top: 10px; left: 0; }
.device--float-a { animation: float 8s ease-in-out infinite; }
.device--float-b { animation: float 8s ease-in-out infinite 1.4s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(-0.4deg); } }

.device__chrome { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #1b1a15; border-bottom: 1px solid var(--line); }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--red { background: #e2512f; } .dot--yellow { background: #ffb020; } .dot--green { background: #2f9e8f; }
.device__url { margin-left: 10px; font-family: var(--font-mono); font-size: 0.68rem; color: var(--paper-faint); background: var(--ink); padding: 4px 10px; border-radius: 999px; flex: 1; }

.device__body { display: flex; height: 290px; }
.d-sidebar { width: 56px; background: var(--ink); border-right: 1px solid var(--line); padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.d-sidebar__logo { width: 22px; height: 22px; border-radius: 6px; background: var(--clay); margin-bottom: 6px; }
.d-sidebar__item { width: 20px; height: 20px; border-radius: 6px; background: #26241d; }
.d-sidebar__item--active { background: var(--amber); }
.d-main { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.d-main__top { display: flex; justify-content: space-between; align-items: center; }
.d-main__title { font-family: var(--font-display); font-size: 0.95rem; }
.d-main__avatars { display: flex; }
.d-main__avatars span { width: 20px; height: 20px; border-radius: 50%; background: var(--teal); border: 2px solid var(--ink-soft); margin-left: -6px; }
.d-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.d-kpi { background: #1b1a15; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; display: flex; flex-direction: column; gap: 5px; }
.d-kpi__label { font-family: var(--font-mono); font-size: 0.6rem; color: var(--paper-faint); text-transform: uppercase; }
.d-kpi__value { font-family: var(--font-display); font-size: 0.95rem; }
.d-kpi__trend { font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700; }
.d-kpi__trend.up { color: var(--teal); } .d-kpi__trend.down { color: var(--clay); }
.d-chart { flex: 1; background: #1b1a15; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px; }
.d-chart svg { width: 100%; height: 100%; }
.chart-line { filter: drop-shadow(0 0 6px rgba(255,176,32,0.5)); }

.device--phone { width: 230px; background: #000; border: 6px solid #1b1a15; border-radius: 36px; right: 0; bottom: -10px; height: 470px; }
.device__notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 90px; height: 20px; background: #000; border-radius: 0 0 14px 14px; z-index: 2; }
.device__screen { height: 100%; background: linear-gradient(180deg, #171510, #0b0a08); padding: 18px 15px; display: flex; flex-direction: column; gap: 14px; border-radius: 30px; }
.p-status { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.62rem; color: var(--paper-faint); }
.p-ring { display: flex; align-items: center; gap: 14px; }
.p-ring svg { width: 72px; height: 72px; }
.p-ring__label { display: flex; flex-direction: column; }
.p-ring__label strong { font-family: var(--font-display); font-size: 1.3rem; }
.p-ring__label span { font-size: 0.65rem; color: var(--paper-faint); }
.p-tabs { display: flex; gap: 16px; font-family: var(--font-mono); font-size: 0.65rem; color: var(--paper-faint); border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.p-tabs .active { color: var(--paper); border-bottom: 2px solid var(--clay); padding-bottom: 8px; }
.p-list { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.p-item { display: flex; align-items: center; gap: 10px; }
.p-item__icon { width: 30px; height: 30px; border-radius: 9px; background: #211f18; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; }
.p-item__text { display: flex; flex-direction: column; flex: 1; gap: 2px; }
.p-item__text b { font-size: 0.78rem; font-weight: 600; }
.p-item__text i { font-size: 0.65rem; color: var(--paper-faint); font-style: normal; }
.p-item__amt { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; }
.p-item__amt.pos { color: var(--teal); } .p-item__amt.neg { color: var(--clay); }
.p-balance { background: linear-gradient(135deg, var(--clay), #ff7a52); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.p-balance span { font-family: var(--font-mono); font-size: 0.65rem; color: rgba(255,255,255,0.75); }
.p-balance strong { font-family: var(--font-display); font-size: 1.3rem; color: #fff; }
.p-actions { display: flex; justify-content: space-between; }
.p-actions span { font-family: var(--font-mono); font-size: 0.62rem; background: #1b1a15; border: 1px solid var(--line); padding: 8px 10px; border-radius: 10px; }

/* clients marquee */
.clients { padding: 48px 0 24px; text-align: center; }
.eyebrow-line { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--paper-faint); }
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; margin-top: 24px; }
.marquee__track { display: flex; gap: 64px; white-space: nowrap; animation: ticker 22s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--paper-faint); opacity: 0.55; }

/* sections */
.section { padding: 130px 0; }
.section--alt { background: var(--ink-soft); }
.section--cta { background: radial-gradient(ellipse 70% 100% at 50% 100%, rgba(226,81,47,0.15), transparent 70%); }
.section__head { max-width: 640px; margin-bottom: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.05em; color: var(--paper-faint); margin-bottom: 20px; text-transform: uppercase; }
.eyebrow em { font-style: normal; color: var(--clay); border: 1px solid rgba(226,81,47,0.4); padding: 2px 8px; border-radius: 999px; }
.section__head h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.15; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(180px, auto); gap: 20px; }
.bento__item { background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; position: relative; transition: border-color 0.3s, transform 0.3s; }
.bento__item:hover { border-color: rgba(226,81,47,0.5); transform: translateY(-4px); }
.bento__item--lg { grid-row: span 2; grid-column: span 1; display: flex; flex-direction: column; justify-content: flex-end; }
.bento__item--wide { grid-column: span 2; }
.section--alt .bento__item { background: var(--ink-soft); }
.bento__num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--clay); display: block; margin-bottom: 18px; }
.bento__item h3 { font-size: 1.3rem; margin-bottom: 12px; }
.bento__item p { color: var(--paper-dim); font-size: 0.95rem; }
.bento__tags { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.bento__tags span { font-family: var(--font-mono); font-size: 0.65rem; border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; color: var(--paper-faint); }

/* case studies */
.case { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.case:first-of-type { padding-top: 0; }
.case:last-of-type { border-bottom: none; padding-bottom: 0; }
.case--reverse { direction: rtl; }
.case--reverse .case__text, .case--reverse .case__visual { direction: ltr; }
.case__index { font-family: var(--font-mono); font-size: 0.75rem; color: var(--paper-faint); }
.case__tag { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em; margin: 10px 0 14px; }
.case__text h3 { font-size: 2.4rem; margin-bottom: 18px; }
.case__text p { color: var(--paper-dim); margin-bottom: 24px; max-width: 440px; }
.case__visual { display: flex; justify-content: center; }
.case__visual .device--browser, .case__visual .device--phone { position: relative; top: 0; right: 0; left: 0; bottom: 0; }
.case__visual .device--browser { width: 100%; max-width: 460px; }
.case__visual .device--phone { width: 230px; height: 470px; }

.device--accent-teal .d-sidebar__item--active, .device--accent-teal .d-sidebar__logo { background: var(--teal); }
.device--accent-amber .d-sidebar__item--active { background: var(--amber); }
.device--accent-clay .p-balance { background: linear-gradient(135deg, var(--clay), #ff7a52); }

/* kanban */
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px; background: #1b1a15; }
.kanban__col { display: flex; flex-direction: column; gap: 10px; }
.kanban__head { font-family: var(--font-mono); font-size: 0.65rem; color: var(--paper-faint); display: flex; justify-content: space-between; }
.kanban__head i { font-style: normal; color: var(--paper); }
.kanban__card { background: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.kanban__card b { font-size: 0.78rem; font-weight: 600; }
.kanban__card--active { border-color: var(--teal); }
.kanban__card--done { opacity: 0.5; }
.kanban__chip { font-family: var(--font-mono); font-size: 0.6rem; background: #26241d; padding: 3px 8px; border-radius: 999px; align-self: flex-start; color: var(--paper-faint); }
.kanban__avatars { display: flex; }
.kanban__avatars i { width: 16px; height: 16px; border-radius: 50%; background: var(--teal); margin-left: -5px; border: 1px solid var(--ink); }

/* trackmap */
.trackmap { position: relative; background: #1b1a15; padding: 10px; }
.trackmap__svg { width: 100%; height: 220px; }
.trackmap__card { position: absolute; bottom: 16px; left: 16px; right: 16px; background: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; }
.trackmap__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255,176,32,0.2); flex-shrink: 0; }
.trackmap__card b { font-size: 0.8rem; display: block; }
.trackmap__card i { font-size: 0.68rem; color: var(--paper-faint); font-style: normal; }

/* timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.timeline__line { position: absolute; top: 28px; left: 0; right: 0; height: 1px; background: var(--line); z-index: 0; }
.timeline__step { position: relative; z-index: 1; }
.timeline__num {
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); border: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.9rem; margin-bottom: 24px;
}
.section .timeline__num { background: var(--ink); }
.timeline__step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.timeline__step p { color: var(--paper-dim); font-size: 0.92rem; max-width: 240px; }

/* testimonial */
.testimonial { padding: 100px 0; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.testimonial blockquote { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 400; font-style: italic; max-width: 780px; margin: 0 auto 36px; line-height: 1.4; }
.testimonial__who { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testimonial__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--clay); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; }
.testimonial__who div { display: flex; flex-direction: column; text-align: left; }
.testimonial__who b { font-size: 0.92rem; }
.testimonial__who span { font-size: 0.78rem; color: var(--paper-faint); }

/* about / contact */
.about { max-width: 680px; }
.about h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 24px; }
.about p { color: var(--paper-dim); font-size: 1.05rem; }
.contact { text-align: center; max-width: 680px; margin: 0 auto; }
.contact h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 36px; }
.contact .btn { margin-bottom: 28px; }
.contact__links { display: flex; justify-content: center; gap: 28px; }
.contact__links a { color: var(--paper-faint); font-size: 0.88rem; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.contact__links a:hover { color: var(--paper); border-color: var(--paper); }

/* footer */
.footer { padding: 70px 0 32px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer__brand p { color: var(--paper-faint); font-size: 0.85rem; margin-top: 10px; font-family: var(--font-mono); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__label { font-family: var(--font-mono); font-size: 0.68rem; color: var(--paper-faint); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.footer__col a { color: var(--paper-dim); font-size: 0.9rem; }
.footer__col a:hover { color: var(--paper); }
.footer__bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--paper-faint); }
.footer__top:hover { color: var(--paper); }

/* --- photo editor mockup --- */
.editor-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.editor__preview {
  position: relative; height: 180px; border-radius: 12px; overflow: hidden; background: #1b1a15;
}
.editor__preview-before, .editor__preview-after {
  position: absolute; inset: 0;
}
.editor__preview-before {
  background: linear-gradient(135deg, #3a3a3a, #6b6b6b);
  filter: saturate(0.7) contrast(0.95);
}
.editor__preview-after {
  background: linear-gradient(135deg, #8a5a2e, #d9a05b 55%, #c97b4a);
  clip-path: inset(0 0 0 50%);
  animation: sweep 5s ease-in-out infinite;
}
.editor__preview-after::after {
  content: ""; position: absolute; inset: 0; opacity: 0.18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.6s steps(4) infinite;
}
@keyframes sweep {
  0%, 100% { clip-path: inset(0 0 0 50%); }
  50% { clip-path: inset(0 0 0 18%); }
}
@keyframes grain-shift {
  0% { transform: translate(0,0); } 25% { transform: translate(-2%,1%); }
  50% { transform: translate(1%,-2%); } 75% { transform: translate(-1%,-1%); } 100% { transform: translate(0,0); }
}
.editor__divider {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--paper); opacity: 0.8;
  animation: sweep-line 5s ease-in-out infinite; box-shadow: 0 0 12px rgba(243,239,230,0.6);
}
@keyframes sweep-line {
  0%, 100% { left: 50%; } 50% { left: 18%; }
}
.editor__badge {
  position: absolute; bottom: 10px; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.04em;
  background: rgba(11,10,8,0.6); backdrop-filter: blur(4px); padding: 4px 9px; border-radius: 999px; z-index: 2;
}
.editor__badge--left { left: 10px; }
.editor__badge--right { right: 10px; color: var(--amber); }
.editor__filmstrip { display: flex; gap: 8px; }
.filmstrip__item { flex: 1; height: 34px; border-radius: 7px; background: #26241d; border: 1px solid var(--line); transition: transform 0.2s; }
.filmstrip__item--active { border-color: var(--clay); box-shadow: 0 0 0 2px rgba(226,81,47,0.25); transform: translateY(-3px); }
.editor__sliders { display: flex; flex-direction: column; gap: 10px; }
.editor__slider { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 10px; }
.editor__slider span { font-family: var(--font-mono); font-size: 0.62rem; color: var(--paper-faint); }
.editor__slider i { display: block; height: 4px; border-radius: 999px; background: var(--line); position: relative; }
.editor__slider i::before {
  content: ""; position: absolute; inset: 0; width: inherit; border-radius: 999px;
  background: linear-gradient(90deg, var(--amber), var(--clay));
}
.editor__slider i { background: linear-gradient(90deg, var(--amber), var(--clay)); opacity: 0.9; }

/* --- camera screen mockup --- */
.camera-screen { background: #000; padding: 16px 14px; }
.camera__viewfinder {
  flex: 1; border-radius: 20px; background: linear-gradient(160deg, #4a3420, #8a5a2e 45%, #d9a05b); position: relative;
  overflow: hidden; min-height: 260px; display: flex; align-items: flex-start; justify-content: flex-end; padding: 14px;
}
.camera__viewfinder::before {
  content: ""; position: absolute; inset: 0; opacity: 0.15; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.6s steps(4) infinite;
}
.camera__viewfinder::after {
  content: ""; position: absolute; width: 160%; height: 60px; background: rgba(255,255,255,0.25); filter: blur(10px);
  top: -20px; left: -30%; transform: rotate(-18deg); animation: leak 6s ease-in-out infinite;
}
@keyframes leak {
  0%, 100% { opacity: 0.15; transform: rotate(-18deg) translateX(0); }
  50% { opacity: 0.4; transform: rotate(-14deg) translateX(30px); }
}
.camera__badge {
  position: relative; z-index: 2; font-family: var(--font-mono); font-size: 0.65rem; background: rgba(11,10,8,0.55);
  backdrop-filter: blur(4px); padding: 5px 10px; border-radius: 999px; color: var(--amber);
}
.camera__filmstrip { display: flex; gap: 8px; padding: 2px 0; }
.camera__filmstrip span { flex: 1; height: 6px; border-radius: 999px; background: #26241d; }
.camera__filmstrip span.active { background: var(--clay); }
.camera__controls { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; }
.camera__ratio, .camera__flip { font-family: var(--font-mono); font-size: 0.65rem; color: var(--paper-faint); }
.camera__shutter {
  width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--paper); position: relative;
  display: inline-block;
}
.camera__shutter::before {
  content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--paper);
  animation: shutter-pulse 2.2s ease-in-out infinite;
}
@keyframes shutter-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.82); opacity: 0.7; }
}

/* --- batch processing mockup --- */
.batch { padding: 18px; background: #1b1a15; display: flex; flex-direction: column; gap: 16px; }
.batch__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.batch__item { aspect-ratio: 4/3; border-radius: 8px; position: relative; overflow: hidden; }
.batch__item--done::after {
  content: "✓"; position: absolute; bottom: 6px; right: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: 0.6rem; display: flex; align-items: center; justify-content: center;
}
.batch__item--active { animation: batch-glow 1.4s ease-in-out infinite; }
@keyframes batch-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,176,32,0.6); }
  50% { box-shadow: 0 0 0 4px rgba(255,176,32,0.15); }
}
.batch__status { display: flex; flex-direction: column; gap: 8px; }
.batch__status span { font-family: var(--font-mono); font-size: 0.68rem; color: var(--paper-faint); }
.batch__bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.batch__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--amber), var(--clay)); border-radius: 999px; animation: batch-fill 3s ease-in-out infinite alternate; }
@keyframes batch-fill {
  0% { width: 20%; } 100% { width: 68%; }
}

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { height: 440px; margin-top: 20px; }
  .device--browser { width: 90%; }
  .device--phone { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__item--wide { grid-column: span 2; }
  .bento__item--lg { grid-row: span 1; }
  .case, .case--reverse { grid-template-columns: 1fr; direction: ltr; }
  .case__visual .device--phone { margin: 0 auto; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline__line { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento__item--wide, .bento__item--lg { grid-column: span 1; grid-row: span 1; }
  .timeline { grid-template-columns: 1fr; }
  .hero__meta { flex-wrap: wrap; gap: 24px; }
  .footer__inner { grid-template-columns: 1fr; }
}
