/* ═══════════════════════════════════════════════════════════
   JP CREATIVE AI  —  style.css
   "Darkroom meets dashboard"
   Palette: warm ink / warm paper / single signal-orange accent
   Fonts: Fraunces (display serif) · IBM Plex Mono (utility) · Inter (body)
   All fonts self-hosted in /fonts/
   ═══════════════════════════════════════════════════════════ */

/* ── Self-hosted fonts ───────────────────────────────────── */
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-500.woff2') format('woff2'); font-weight: 500; font-style: normal;  font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-600.woff2') format('woff2'); font-weight: 600; font-style: normal;  font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-700.woff2') format('woff2'); font-weight: 700; font-style: normal;  font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-500i.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Mono';     src: url('fonts/mono-400.woff2')    format('woff2'); font-weight: 400; font-style: normal;  font-display: swap; }
@font-face { font-family: 'Mono';     src: url('fonts/mono-500.woff2')    format('woff2'); font-weight: 500; font-style: normal;  font-display: swap; }
@font-face { font-family: 'Inter';    src: url('fonts/inter-400.woff2')   format('woff2'); font-weight: 400; font-style: normal;  font-display: swap; }
@font-face { font-family: 'Inter';    src: url('fonts/inter-500.woff2')   format('woff2'); font-weight: 500; font-style: normal;  font-display: swap; }
@font-face { font-family: 'Inter';    src: url('fonts/inter-600.woff2')   format('woff2'); font-weight: 600; font-style: normal;  font-display: swap; }

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --ink:      #141210;
  --ink-2:    #1C1A16;
  --paper:    #F5F1E9;
  --paper-2:  #EDE7D8;
  --signal:   #FF5722;
  --signal-d: #C8420E;
  --rule:     #DAD3C4;
  --rule-d:   #2E2B25;
  --mute:     #86806F;
  --mute-d:   #7A7265;
  --cream:    #EEE8D9;

  --serif: 'Fraunces', Georgia, serif;
  --mono:  'Mono', 'Courier New', monospace;
  --sans:  'Inter', system-ui, sans-serif;

  --r:   4px;
  --max: 1240px;
  --ease: cubic-bezier(.16,1,.3,1);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: italic; }
strong { font-weight: 700; }
button { cursor: pointer; font: inherit; }

/* ── Grain overlay ───────────────────────────────────────── */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Utility: eyebrow label ─────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--signal-d);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--signal-d); flex-shrink: 0; }
.eyebrow.light { color: var(--signal); }
.eyebrow.light::before { background: var(--signal); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn-fill, .btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .03em;
  padding: 15px 28px; border-radius: var(--r);
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-fill  { background: var(--signal); color: #fff; border-color: var(--signal); }
.btn-fill:hover  { background: var(--signal-d); border-color: var(--signal-d); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn-fill.full, .btn-outline.full { width: 100%; justify-content: center; }

/* ── Section container ───────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ══════════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(245,241,233,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 32px;
  height: 72px; display: flex; align-items: center; gap: 36px;
}
.logo {
  font-family: var(--mono); font-size: 13.5px; font-weight: 500;
  letter-spacing: .07em; color: var(--ink);
  display: flex; align-items: center; gap: 9px;
  margin-right: auto;
}
.logo em { color: var(--signal); font-style: normal; }
.logo-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(255,87,34,.18);
  flex-shrink: 0;
}
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em;
  color: var(--mute-d); padding: 8px 14px; border-radius: var(--r);
  transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--ink); background: var(--paper-2); }
.nav-cta {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em;
  padding: 9px 18px; border: 1.5px solid var(--ink); border-radius: var(--r);
  transition: all .18s;
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.burger {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; padding: 4px;
}
.burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: all .22s; }
.nav-drawer {
  display: none; flex-direction: column;
  padding: 8px 32px 20px; border-top: 1px solid var(--rule);
  background: var(--paper);
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-family: var(--mono); font-size: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink);
}
.drawer-cta { color: var(--signal) !important; }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  max-width: var(--max); margin: 0 auto; padding: 140px 32px 80px;
}
.hero-label {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em;
  color: var(--mute); text-transform: uppercase; margin-bottom: 32px;
}
.hero-h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(48px, 7.5vw, 100px);
  line-height: 1.05; letter-spacing: -.02em;
  margin-bottom: 28px;
  display: flex; flex-direction: column;
}
.hero-h1 em  { font-style: italic; font-weight: 500; color: var(--ink); }
.hero-h1 strong { color: var(--signal); font-style: italic; font-weight: 500; }
.hero-sub {
  font-size: 18px; line-height: 1.7; color: var(--mute-d);
  max-width: 520px; margin-bottom: 40px;
}
.hero-sub em { font-style: normal; font-weight: 600; color: var(--ink); }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 64px; }

/* Ticker */
.ticker-wrap {
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  overflow: hidden; padding: 16px 0;
}
.ticker {
  display: inline-flex; gap: 40px; white-space: nowrap;
  animation: tick 34s linear infinite;
}
.ticker span { font-family: var(--mono); font-size: 12px; letter-spacing: .07em; color: var(--mute); text-transform: uppercase; }
.ticker b { color: var(--rule); font-weight: 400; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ══════════════════════════════════════════════════════════
   WORK — CONTACT SHEET
══════════════════════════════════════════════════════════ */
.work { padding: 130px 32px; max-width: var(--max); margin: 0 auto; }
.work-head { max-width: 660px; margin-bottom: 48px; }
.work-head h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.06; margin-bottom: 18px;
}
.work-sub { font-size: 16px; line-height: 1.7; color: var(--mute-d); }

/* Toggle */
.roll-tabs {
  display: inline-flex; border: 1.5px solid var(--ink);
  border-radius: var(--r); overflow: hidden; margin-bottom: 32px;
}
.roll-tab {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em;
  padding: 11px 22px; background: transparent;
  border: none; color: var(--mute-d);
  transition: all .2s;
}
.roll-tab + .roll-tab { border-left: 1.5px solid var(--ink); }
.roll-tab.is-active { background: var(--ink); color: var(--paper); }

/* Sheet grid */
.sheet { }
.roll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.roll[hidden] { display: none; }

.roll-dark { background: var(--rule-d); border-color: var(--rule-d); }

/* Frames */
.frame {
  padding: 36px 30px;
  position: relative;
  transition: background .22s;
}
.roll:not(.roll-dark) .frame { background: var(--paper); }
.roll:not(.roll-dark) .frame:hover { background: var(--paper-2); }
.roll-dark .frame { background: var(--ink); }
.roll-dark .frame:hover { background: var(--ink-2); }

.frame::after {
  content: '';
  position: absolute; inset: 12px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color .22s;
}
.roll:not(.roll-dark) .frame:hover::after { border-color: var(--rule); }
.roll-dark .frame:hover::after { border-color: var(--rule-d); }

.frame-id {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  color: var(--mute); margin-bottom: 22px;
}
.roll-dark .frame-id { color: var(--rule-d); }

.frame-icon {
  font-size: 20px; color: var(--signal);
  margin-bottom: 18px; display: block; line-height: 1;
}
.frame h3 {
  font-family: var(--serif); font-size: 19px; font-weight: 600;
  margin-bottom: 10px; line-height: 1.2;
}
.roll-dark .frame h3 { color: var(--paper); }
.frame p { font-size: 14px; line-height: 1.65; color: var(--mute-d); }
.roll-dark .frame p { color: #ADA08B; }

/* ══════════════════════════════════════════════════════════
   SERVICES (dark band)
══════════════════════════════════════════════════════════ */
.services {
  background: var(--ink); color: var(--cream);
  padding: 130px 32px;
}
.services-title {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.3; max-width: 780px;
  color: var(--paper); margin-bottom: 72px;
  max-width: var(--max); /* keeps it contained but wide */
}
.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 56px; max-width: var(--max);
}
.svc-n {
  font-family: var(--mono); font-size: 13px; color: var(--signal);
  padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px solid var(--rule-d);
}
.svc h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  color: var(--paper); margin-bottom: 14px;
}
.svc p { font-size: 15px; line-height: 1.72; color: #A89E89; }

/* ══════════════════════════════════════════════════════════
   PROCESS
══════════════════════════════════════════════════════════ */
.process { padding: 130px 32px; max-width: var(--max); margin: 0 auto; }
.process h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.08; margin-bottom: 60px;
}
.steps {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1.5px solid var(--ink);
}
.step { padding: 28px 24px 0; border-right: 1px solid var(--rule); position: relative; }
.step:first-child { padding-left: 0; }
.step:last-child  { border-right: none; }
.step::before {
  content: ''; position: absolute;
  top: -1.5px; left: 0; width: 36px; height: 2.5px;
  background: var(--signal);
}
.step:first-child::before { left: 0; }
.step-time {
  display: block; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .05em; color: var(--signal-d);
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--serif); font-size: 19px; font-weight: 600;
  margin-bottom: 12px;
}
.step p { font-size: 14px; line-height: 1.65; color: var(--mute-d); padding-right: 8px; }

/* ══════════════════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════════════════ */
.pricing { padding: 130px 32px; background: var(--paper-2); }
.pricing h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.08; margin-bottom: 56px;
  max-width: var(--max); margin-left: auto; margin-right: auto;
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule);
  max-width: var(--max); margin: 0 auto;
}
.pkg {
  background: var(--paper); padding: 44px 36px;
  display: flex; flex-direction: column;
  position: relative;
}
.pkg-feat { background: var(--ink); color: var(--cream); }
.pkg-badge {
  position: absolute; top: 0; right: 0;
  background: var(--signal); color: #fff;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em;
  text-transform: uppercase; padding: 7px 14px;
}
.pkg-name {
  font-family: var(--mono); font-size: 12px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--mute);
  margin-bottom: 14px;
}
.pkg-feat .pkg-name { color: var(--mute-d); }
.pkg-price {
  font-family: var(--serif); font-size: 44px; font-weight: 600;
  letter-spacing: -.02em; line-height: 1; margin-bottom: 8px;
}
.pkg-feat .pkg-price { color: var(--paper); }
.pkg-price span { font-size: 16px; font-weight: 400; font-family: var(--sans); color: var(--mute); }
.pkg-feat .pkg-price span { color: var(--mute-d); }
.pkg-note {
  font-size: 13.5px; line-height: 1.6; color: var(--mute-d);
  margin-bottom: 28px; padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
  flex-shrink: 0;
}
.pkg-feat .pkg-note { color: #8A8070; border-color: var(--rule-d); }
.pkg ul { flex: 1; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pkg li {
  font-size: 14px; line-height: 1.4; color: var(--ink);
  padding-left: 22px; position: relative;
}
.pkg-feat li { color: #D5CCBB; }
.pkg li::before {
  content: '—'; position: absolute; left: 0;
  color: var(--signal); font-family: var(--mono);
}

/* ══════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════ */
.about { padding: 130px 32px; max-width: var(--max); margin: 0 auto; }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: start; }
.about-copy h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.18; margin-bottom: 28px;
}
.about-copy h2 em { color: var(--signal-d); }
.about-copy p { font-size: 16px; line-height: 1.78; color: var(--mute-d); margin-bottom: 20px; }

.about-stats { border-top: 1.5px solid var(--ink); }
.stat {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--rule);
}
.stat-n {
  font-family: var(--serif); font-size: 30px; font-weight: 600;
  color: var(--signal-d); letter-spacing: -.01em;
}
.stat-l {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em;
  color: var(--mute); text-align: right; max-width: 130px; line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════ */
.contact { background: var(--ink); padding: 130px 32px; }
.contact-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px;
}
.contact-left h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1; color: var(--paper); margin-bottom: 22px;
}
.contact-left p {
  font-size: 16px; line-height: 1.7; color: #A89E89; margin-bottom: 44px;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info div em {
  display: block; font-style: normal;
  font-family: var(--mono); font-size: 11px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--signal); margin-bottom: 4px;
}
.contact-info div span { font-size: 15px; color: var(--paper); }

/* Form */
.contact-form { display: flex; flex-direction: column; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.f-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.f-group label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .07em;
  text-transform: uppercase; color: #7A7265;
}
.f-group input,
.f-group select,
.f-group textarea {
  background: transparent; border: none;
  border-bottom: 1px solid var(--rule-d);
  color: var(--paper); font-family: var(--sans); font-size: 15px;
  padding: 10px 0; outline: none;
  transition: border-color .2s;
  border-radius: 0; appearance: none;
}
.f-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%237A7265' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
}
.f-group select option { color: var(--ink); }
.f-group textarea { resize: vertical; min-height: 90px; }
.f-group input::placeholder,
.f-group textarea::placeholder { color: #4A4640; }
.f-group input:focus,
.f-group select:focus,
.f-group textarea:focus { border-color: var(--signal); }
.f-note {
  text-align: center; font-family: var(--mono);
  font-size: 11.5px; color: #5A5448; margin-top: 14px;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--rule-d);
  padding: 60px 32px 28px;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 2fr;
  gap: 60px; margin-bottom: 48px;
}
.footer-brand .logo { color: var(--cream); margin-bottom: 14px; display: flex; }
.footer-brand p { font-size: 14px; color: #5A5448; line-height: 1.6; margin-bottom: 6px; }
.sister { font-size: 13px; color: #5A5448 !important; }
.sister a { color: #C9A84C; }
.sister a:hover { text-decoration: underline; }
.footer-nav {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 32px;
}
.footer-nav > div > p {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--cream); margin-bottom: 16px;
}
.footer-nav a {
  display: block; font-size: 13px; color: #5A5448;
  margin-bottom: 10px; transition: color .18s;
}
.footer-nav a:hover { color: var(--cream); }
.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  border-top: 1px solid var(--rule-d); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-family: var(--mono); font-size: 11px; color: #3E3C38;
}

/* ══════════════════════════════════════════════════════════
   REVEAL ANIMATION
══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker  { animation: none; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .roll { grid-template-columns: repeat(2,1fr); }
  .services-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2,1fr); row-gap: 40px; }
  .step { border-right: none !important; }
  .step:nth-child(odd) { border-right: 1px solid var(--rule) !important; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .about-grid { grid-template-columns: 1fr; gap: 52px; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .hero { padding: 130px 24px 60px; }
  .work, .process, .about { padding-left: 24px; padding-right: 24px; }
  .services, .pricing, .contact { padding-left: 24px; padding-right: 24px; }
  .roll { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(odd) { border-right: none !important; }
  .f-row { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero-h1 { font-size: 40px; }
  .hero-btns { flex-direction: column; }
  .hero-btns a { text-align: center; justify-content: center; }
  .footer-nav { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}
