/* ============================================================
   Plum Edits — clean / clinical light theme
   White canvas · purple brand · orange action.
   Vanilla CSS, no build step.
   ============================================================ */

:root {
  --bg: #ffffff;
  --band: #f7f4fe;          /* soft purple hero / contact band */
  --band-border: #ece6fa;
  --surface: #ffffff;       /* cards */
  --surface-2: #fbfbfc;     /* subtle fills (chrome, strips) */
  --border: #ececef;        /* hairline */
  --border-strong: #d6c6f7; /* purple hairline on hover */

  --plum-1: #9333ea;
  --plum-2: #a855f7;
  --plum-3: #7c3aed;
  --purple-soft: #f3eefe;
  --accent: #7c3aed;

  --text: #17141d;
  --muted: #6b6770;
  --muted-2: #8a8790;

  --grad: linear-gradient(115deg, #7c3aed 0%, #a855f7 55%, #c026d3 100%);

  --maxw: 1140px;
  --radius: 14px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --shadow: 0 22px 55px -30px rgba(124, 58, 237, 0.32);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.muted { color: var(--muted-2); }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hidden { position: absolute; left: -9999px; }

/* ---------- Background (kept minimal & clean) ---------- */
.aurora {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background:
    radial-gradient(900px 500px at 50% -8%, rgba(124, 58, 237, 0.05), transparent 60%),
    var(--bg);
}
.blob, .grid-overlay, .noise { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600; font-size: 0.96rem; letter-spacing: 0.2px;
  padding: 13px 24px; border-radius: 11px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 0.88rem; border-radius: 9px; }
.btn-primary { background: var(--plum-3); color: #fff; box-shadow: 0 10px 24px -12px rgba(124, 58, 237, 0.65); }
.btn-primary:hover { transform: translateY(-2px); background: #6d28d9; box-shadow: 0 16px 30px -12px rgba(124, 58, 237, 0.85); }
.btn-ghost { background: #fff; color: var(--text); border-color: #dadade; }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--border-strong); background: var(--surface-2); }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255,255,255,0.85); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); transition: box-shadow 0.3s, background 0.3s; }
.nav.scrolled { background: rgba(255,255,255,0.92); box-shadow: 0 8px 26px -20px rgba(20, 16, 30, 0.4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.mark { width: 32px; height: 32px; }
.wordmark { font-family: "Space Grotesk", sans-serif; font-size: 1.22rem; letter-spacing: -0.3px; color: var(--text); }
.wordmark strong { font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 0.94rem; color: var(--muted); transition: color 0.2s; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--plum-3); border-radius: 2px; transition: width 0.25s var(--ease); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 0 24px; background: #fff; border-bottom: 1px solid var(--border); overflow: hidden; max-height: 0; transition: max-height 0.35s var(--ease), padding 0.35s; }
.mobile-menu.open { max-height: 380px; padding: 12px 24px 24px; }
.mobile-menu a { padding: 12px 0; color: var(--muted); border-bottom: 1px solid var(--border); }
.mobile-menu a.btn { margin-top: 12px; justify-content: center; border-bottom: 0; color: #fff; }

/* ---------- Eyebrow label ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: "Space Grotesk", sans-serif; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.6px; color: var(--plum-3); margin-bottom: 20px; padding: 6px 13px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--purple-soft); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--plum-3); animation: dotPulse 2.6s ease-out infinite; }
/* Slow, intermittent "live signal" ring on every label dot */
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.5); }
  45% { box-shadow: 0 0 0 7px rgba(124, 58, 237, 0); }
  100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 150px 0 92px; background: var(--band); border-bottom: 1px solid var(--band-border); text-align: center; }
.hero-grid { position: absolute; inset: 0; z-index: 0; background-image: radial-gradient(circle, #ddd2f5 1px, transparent 1px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 78% 72% at 50% 40%, #000 42%, transparent 80%);
          mask-image: radial-gradient(ellipse 78% 72% at 50% 40%, #000 42%, transparent 80%); }
.hero-plus { position: absolute; z-index: 0; color: #c6b6ef; font-family: "Space Grotesk", sans-serif; font-weight: 400; font-size: 1.1rem; line-height: 1; user-select: none; opacity: 0.55; }
.hp1 { top: 96px; left: 6%; }
.hp2 { top: 96px; right: 6%; }
.hp3 { bottom: 22px; left: 12%; }
.hp4 { bottom: 22px; right: 12%; }

/* All four corner marks pulse slowly + intermittently, staggered around the hero */
.hp1, .hp2, .hp3, .hp4 { animation: plusPulse 5s ease-in-out infinite; }
.hp3 { animation-delay: 1.25s; }
.hp2 { animation-delay: 2.5s; }
.hp4 { animation-delay: 3.75s; }
@keyframes plusPulse {
  0%, 20%, 100% { opacity: 0.55; transform: scale(1); color: #c6b6ef; }
  10% { opacity: 1; transform: scale(1.4); color: #9333ea; }
}

.hero-inner { position: relative; z-index: 1; max-width: 820px; margin-inline: auto; }

/* Hero strap: dashed outline that "marches" clockwise (animated background dashes) */
.hero .eyebrow {
  border-color: transparent;
  background-color: rgba(255, 255, 255, 0.72);
  background-image:
    linear-gradient(90deg, #bda6ee 50%, transparent 50%),
    linear-gradient(90deg, #bda6ee 50%, transparent 50%),
    linear-gradient(0deg, #bda6ee 50%, transparent 50%),
    linear-gradient(0deg, #bda6ee 50%, transparent 50%);
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  background-size: 10px 1px, 10px 1px, 1px 10px, 1px 10px;
  background-position: 0 0, 0 100%, 0 0, 100% 0;
  animation: antsMove 1.2s linear infinite;
}
@keyframes antsMove {
  to { background-position: 10px 0, -10px 100%, 0 -10px, 100% 10px; }
}
.hero-title { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(2.4rem, 6vw, 4.3rem); line-height: 1.06; letter-spacing: -1.4px; margin-bottom: 24px; color: var(--text); }
.hero-sub { font-size: clamp(1.04rem, 1.8vw, 1.22rem); color: var(--muted); max-width: 600px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.hero-meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; color: var(--muted-2); font-size: 0.9rem; font-family: "Space Grotesk", sans-serif; }
.hero-meta i { width: 4px; height: 4px; border-radius: 50%; background: #cbbcf2; display: inline-block; }

/* ---------- Strip / stats ---------- */
.strip { padding: 64px 0 6px; }
.strip-label { text-align: center; color: var(--muted-2); font-family: "Space Grotesk", sans-serif; letter-spacing: 0.4px; font-size: 0.95rem; margin-bottom: 30px; }
.strip-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; padding: 26px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color 0.3s, box-shadow 0.3s; }
.stat:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.stat .num { display: block; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1; }
.stat .cap { display: block; margin-top: 10px; color: var(--muted); font-size: 0.88rem; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 50px; }
.section-title { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(1.8rem, 3.8vw, 2.7rem); line-height: 1.12; letter-spacing: -0.7px; margin-bottom: 16px; color: var(--text); }
.section-lead { color: var(--muted); font-size: 1.06rem; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card { position: relative; padding: 32px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s; }
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card-icon { font-size: 1.5rem; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: var(--purple-soft); border: 1px solid var(--band-border); margin-bottom: 20px; }
.card h3 { font-family: "Space Grotesk", sans-serif; font-size: 1.3rem; margin-bottom: 12px; color: var(--text); }
.card p { color: var(--muted); margin-bottom: 18px; }
.card-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.card-list li { color: var(--muted-2); font-size: 0.92rem; padding-left: 22px; position: relative; }
.card-list li::before { content: "→"; position: absolute; left: 0; color: var(--plum-3); }

/* ---------- Work / showreel ---------- */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.work-tile { position: relative; isolation: isolate; aspect-ratio: 338 / 691; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); display: block; background-size: cover; background-position: center; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.work-tile:hover { transform: translateY(-5px) scale(1.01); box-shadow: var(--shadow); }

.t1 { background-image: url("assets/work-1.jpg"); }
.t2 { background-image: url("assets/work-2.jpg"); }
.t3 { background-image: url("assets/work-3.jpg"); }
.t4 { background-image: url("assets/work-4.jpg"); }

/* "In production" status pill (sits on the dark thumbnails) */
.work-status { position: absolute; top: 14px; left: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: rgba(11,7,16,0.5); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.16); font-family: "Space Grotesk", sans-serif; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.92); }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: #C084FC; box-shadow: 0 0 0 0 rgba(192,132,252,0.6); animation: livePulse 1.9s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(192,132,252,0.6); } 70% { box-shadow: 0 0 0 7px rgba(192,132,252,0); } 100% { box-shadow: 0 0 0 0 rgba(192,132,252,0); } }

.work-render { position: absolute; top: 52%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; z-index: 2; border-radius: 50%; }
.work-render::before, .work-render::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.55); animation: renderPulse 2.6s var(--ease) infinite; }
.work-render::after { animation-delay: 1.3s; }
@keyframes renderPulse { 0% { transform: scale(0.8); opacity: 0.7; } 100% { transform: scale(2); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .dot-live, .work-render::before, .work-render::after { animation: none; }
}

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 32px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); position: relative; transition: border-color 0.3s, box-shadow 0.3s; }
.step:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.step-no { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 2.3rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-family: "Space Grotesk", sans-serif; font-size: 1.28rem; margin: 10px 0 12px; color: var(--text); }
.step p { color: var(--muted); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.about-copy p { color: var(--muted); margin-bottom: 18px; max-width: 540px; }
.about-copy .btn { margin-top: 10px; }
.about-panel { background: var(--band); border: 1px solid var(--band-border); border-radius: var(--radius-lg); padding: 14px 26px; }
.panel-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--band-border); }
.panel-row:last-child { border-bottom: 0; }
.panel-row span { color: var(--muted-2); font-size: 0.9rem; }
.panel-row b { font-family: "Space Grotesk", sans-serif; font-weight: 500; text-align: right; color: var(--text); }
.panel-row a { color: var(--plum-3); }

/* ---------- Contact ---------- */
.contact-card { background: var(--band); border: 1px solid var(--band-border); border-radius: var(--radius-lg); padding: 48px; }
.contact-head { max-width: 560px; margin-bottom: 32px; }
.contact-head a { color: var(--plum-3); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; color: var(--muted); font-family: "Space Grotesk", sans-serif; letter-spacing: 0.3px; }
.field input, .field select, .field textarea {
  font-family: "Inter", sans-serif; font-size: 0.98rem; color: var(--text);
  background: #fff; border: 1px solid #ddd9e6; border-radius: 11px; padding: 13px 15px; transition: border-color 0.2s, box-shadow 0.2s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--plum-3); box-shadow: 0 0 0 3px rgba(124,58,237,0.12); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%238a8790'%3E%3Cpath d='M7 10L2 5h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { font-size: 0.9rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding-top: 56px; margin-top: 20px; background: var(--surface-2); }
.footer-inner { display: flex; justify-content: space-between; gap: 36px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-tag { color: var(--muted); max-width: 320px; margin-top: 14px; font-size: 0.95rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.footer-links a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px 36px; border-top: 1px solid var(--border); font-size: 0.86rem; color: var(--muted-2); }
.footer-legal a { color: var(--plum-3); }

/* ---------- Legal page ---------- */
.legal { padding: 130px 0 70px; }
.legal-wrap { max-width: 760px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--plum-3); font-family: "Space Grotesk", sans-serif; font-size: 0.9rem; margin-bottom: 26px; transition: color 0.2s; }
.back-link:hover { color: var(--text); }
.legal-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow); }
.legal-card h1 { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.4rem); letter-spacing: -0.6px; margin-bottom: 6px; color: var(--text); }
.legal-sub { color: var(--muted); margin-bottom: 28px; }
.legal-card h2 { font-family: "Space Grotesk", sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.8px; color: var(--plum-3); margin: 30px 0 12px; }
.legal-card h2:first-of-type { margin-top: 0; }
.legal-card p { color: var(--muted); margin-bottom: 12px; font-size: 0.97rem; }
.legal-card a { color: var(--plum-3); }
.legal-table { width: 100%; border-collapse: collapse; }
.legal-table td { padding: 11px 0; vertical-align: top; font-size: 0.96rem; }
.legal-table td:first-child { color: var(--muted-2); width: 40%; padding-right: 16px; }
.legal-table tr + tr td { border-top: 1px solid var(--border); }
.legal-card b { color: var(--text); font-weight: 600; }
.legal-updated { color: var(--muted-2); font-size: 0.85rem; margin-top: 26px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .cards, .strip-stats, .work-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex; }
  .hero { padding: 124px 0 70px; }
  .section { padding: 70px 0; }
  .strip { padding: 48px 0 6px; }
  .strip-stats { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-card { padding: 30px 22px; }
  .legal { padding: 108px 0 50px; }
  .legal-card { padding: 28px 22px; }
}
@media (max-width: 460px) {
  .cards { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
