:root {
  --bg: #15110E;
  --text: #FBF7F2;
  --muted: rgba(251, 247, 242, 0.62);
  --faint: rgba(251, 247, 242, 0.40);
  --card: rgba(255, 255, 255, 0.045);
  --card-hover: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.10);
  --coral: #FF6B5C;
  --amber: #FFB23E;
  --mint: #3FD8A0;
  --glacier: #5BC8E0;
  --banana: #FFE066;
  --blush: #FF9AA2;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.72);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
}

/* Ambient color field — warm glows on a deep canvas */
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(38% 38% at 14% 18%, rgba(255, 107, 92, 0.34), transparent 70%),
    radial-gradient(34% 34% at 86% 14%, rgba(255, 178, 62, 0.30), transparent 70%),
    radial-gradient(42% 42% at 84% 82%, rgba(91, 200, 224, 0.26), transparent 70%),
    radial-gradient(38% 38% at 16% 86%, rgba(63, 216, 160, 0.24), transparent 70%);
  filter: saturate(1.1);
  animation: drift 22s ease-in-out infinite alternate;
}

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

/* Fine grain for premium depth */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

.shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(20px, 4vw, 40px);
}

/* Header / footer */
header.site, footer.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand .mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 14px; letter-spacing: -0.02em;
  box-shadow: 0 8px 20px -6px rgba(255, 107, 92, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.brand .name { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.brand .name b { font-weight: 700; }

.tag {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 7px 13px; border-radius: 999px;
  background: var(--card);
}

footer.site { color: var(--faint); font-size: 13px; }
.foot-note { color: var(--faint); }

/* Hero */
main.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(18px, 2.6vw, 28px);
  padding: clamp(28px, 5vh, 64px) 0;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(63, 216, 160, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@media (prefers-reduced-motion: reduce) { .eyebrow .dot { animation: none; } }

h1.title {
  font-size: clamp(2.4rem, 6.4vw, 5rem);
  line-height: 1.02; font-weight: 700; letter-spacing: -0.03em;
  max-width: 18ch;
}
h1.title .accent {
  background: linear-gradient(120deg, var(--coral), var(--amber) 55%, var(--banana));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

p.sub {
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.55; color: var(--muted); max-width: 52ch;
}

/* Countdown */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  width: min(720px, 100%);
  margin-top: 4px;
}
.unit {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(20px, 2.6vw, 32px) 14px clamp(14px, 2vw, 20px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  overflow: hidden;
}
.unit::before {
  content: ""; position: absolute; top: 0; left: 18%; right: 18%; height: 3px;
  border-radius: 0 0 4px 4px;
}
.unit.coral::before   { background: var(--coral);   box-shadow: 0 0 18px 1px rgba(255, 107, 92, 0.7); }
.unit.amber::before   { background: var(--amber);   box-shadow: 0 0 18px 1px rgba(255, 178, 62, 0.7); }
.unit.mint::before    { background: var(--mint);    box-shadow: 0 0 18px 1px rgba(63, 216, 160, 0.7); }
.unit.glacier::before { background: var(--glacier); box-shadow: 0 0 18px 1px rgba(91, 200, 224, 0.7); }
.unit .num {
  font-size: clamp(2.4rem, 6vw, 3.9rem);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.unit .lbl {
  margin-top: 9px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--faint);
}

.meta { font-size: 14.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.meta .pin { color: var(--coral); font-size: 10px; }

/* Feature chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500;
  background: var(--card); border: 1px solid var(--border);
  padding: 9px 14px; border-radius: 999px;
}
.chip svg { width: 15px; height: 15px; }
.chip.c1 svg { color: var(--coral); }
.chip.c2 svg { color: var(--glacier); }
.chip.c3 svg { color: var(--mint); }

/* Live state (after countdown reaches zero) */
.live { display: none; flex-direction: column; align-items: center; gap: clamp(18px, 2.6vw, 28px); }
body.is-live .pre, body.is-live .countdown { display: none; }
body.is-live .live { display: flex; }

/* Subtle admin entry — a tiny dot in the corner */
.admin-dot {
  position: fixed; right: 16px; bottom: 14px; z-index: 3;
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(251, 247, 242, 0.14);
  border: 1px solid rgba(251, 247, 242, 0.10);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.admin-dot:hover {
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(255, 107, 92, 0.18);
  transform: scale(1.1);
}

/* Buttons / links shared */
.backhome {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  padding: 13px 22px; border-radius: 14px;
  box-shadow: 0 14px 30px -12px rgba(255, 107, 92, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: filter 0.2s ease, transform 0.12s ease;
}
.backhome:hover { filter: brightness(1.05); }
.backhome:active { transform: translateY(1px); }

/* ---------- Admin gate ---------- */
.gate { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px 0; }
.card {
  width: min(420px, 100%);
  background: var(--card); border: 1px solid var(--border);
  border-radius: 24px; padding: clamp(26px, 4vw, 38px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.card .lock {
  width: 52px; height: 52px; border-radius: 15px;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  display: grid; place-items: center; margin-bottom: 18px; color: #fff;
  box-shadow: 0 10px 24px -8px rgba(255, 107, 92, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.card .lock svg { width: 24px; height: 24px; }
.card h2 { font-size: 1.5rem; letter-spacing: -0.02em; font-weight: 700; }
.card .hint { color: var(--muted); font-size: 14.5px; margin-top: 7px; line-height: 1.5; }

form.gate-form { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.field { position: relative; }
.field input {
  width: 100%;
  background: rgba(0, 0, 0, 0.25); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 48px 14px 16px;
  color: var(--text); font-size: 15px; outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder { color: var(--faint); }
.field input:focus { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255, 107, 92, 0.16); }
.reveal {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--faint); cursor: pointer;
  padding: 8px; border-radius: 8px; display: grid; place-items: center;
}
.reveal svg { width: 19px; height: 19px; }
.reveal:hover { color: var(--text); }

button.unlock {
  appearance: none; border: 0; border-radius: 14px;
  padding: 14px 18px; font-size: 15px; font-weight: 600; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  box-shadow: 0 14px 30px -12px rgba(255, 107, 92, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: filter 0.2s ease, transform 0.12s ease;
}
button.unlock:hover { filter: brightness(1.05); }
button.unlock:active { transform: translateY(1px); }
button.unlock[disabled] { opacity: 0.6; cursor: default; }

.error { color: var(--blush); font-size: 13.5px; min-height: 18px; font-weight: 500; }
.shake { animation: shake 0.4s; }
@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-5px); }
  40%, 60% { transform: translateX(5px); }
}

/* Admin panel (revealed after auth) */
.panel { width: min(860px, 100%); margin: 0 auto; }
.panel .head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.panel h2 { font-size: 1.7rem; letter-spacing: -0.02em; font-weight: 700; }
.panel .head .sub { color: var(--muted); font-size: 14px; margin-top: 5px; }
.signout {
  background: var(--card); border: 1px solid var(--border); color: var(--text);
  border-radius: 12px; padding: 10px 15px; font-size: 13.5px; font-weight: 600; cursor: pointer;
  white-space: nowrap; transition: background 0.2s ease;
}
.signout:hover { background: var(--card-hover); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tile { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.tile .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.tile .ic svg { width: 21px; height: 21px; }
.tile.t1 .ic { background: rgba(255, 107, 92, 0.16); color: var(--coral); }
.tile.t2 .ic { background: rgba(91, 200, 224, 0.16); color: var(--glacier); }
.tile.t3 .ic { background: rgba(63, 216, 160, 0.16); color: var(--mint); }
.tile.t4 .ic { background: rgba(255, 178, 62, 0.16); color: var(--amber); }
.tile h3 { font-size: 1.05rem; font-weight: 650; letter-spacing: -0.01em; }
.tile p { color: var(--muted); font-size: 13.5px; margin-top: 5px; line-height: 1.5; }
.soon {
  display: inline-block; margin-top: 14px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amber); background: rgba(255, 178, 62, 0.14);
  border: 1px solid rgba(255, 178, 62, 0.3); padding: 5px 10px; border-radius: 999px;
}

@media (max-width: 560px) {
  .countdown { grid-template-columns: repeat(2, 1fr); }
  header.site .tag { display: none; }
  footer.site .foot-note { display: none; }
}

/* =====================================================================
   Portfolio / launched site (gated preview at /site).
   Every class is pf- prefixed and scoped so it never touches the teaser
   or admin styles above. Reuses the shared palette tokens + .brand logo.
   ===================================================================== */

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

.pf-page { position: relative; z-index: 1; }
.pf-container { width: min(1120px, 100%); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* Preview bar */
.pf-preview {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  padding: 9px clamp(16px, 4vw, 28px);
  font-size: 13px;
  background: linear-gradient(90deg, rgba(255, 178, 62, 0.16), rgba(255, 107, 92, 0.16));
  border-bottom: 1px solid rgba(255, 178, 62, 0.22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pf-preview__txt { color: var(--muted); }
.pf-preview__txt b { color: var(--text); font-weight: 700; }
.pf-preview__dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 0 3px rgba(255, 178, 62, 0.2);
  margin-right: 5px; vertical-align: middle;
}
.pf-preview__out {
  background: rgba(0, 0, 0, 0.25); border: 1px solid var(--border); color: var(--text);
  border-radius: 999px; padding: 6px 14px; font-size: 12.5px; font-weight: 600; cursor: pointer;
  transition: background 0.2s ease;
}
.pf-preview__out:hover { background: rgba(0, 0, 0, 0.42); }

/* Sticky nav */
.pf-nav {
  position: sticky; top: 0; z-index: 50; padding: 14px 0;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.pf-nav--scrolled {
  background: rgba(21, 17, 14, 0.72);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.85);
  padding: 10px 0;
}
.pf-nav__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.pf-nav__links { display: flex; align-items: center; gap: 4px; }
.pf-nav__links a {
  color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500;
  padding: 9px 14px; border-radius: 10px; transition: color 0.2s ease, background 0.2s ease;
}
.pf-nav__links a:hover { color: var(--text); background: var(--card); }
.pf-nav__links a.pf-nav__cta {
  color: #fff; font-weight: 600; margin-left: 6px;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  box-shadow: 0 12px 26px -12px rgba(255, 107, 92, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.pf-nav__links a.pf-nav__cta:hover { filter: brightness(1.06); color: #fff; }
.pf-nav__menu {
  display: none; background: var(--card); border: 1px solid var(--border); color: var(--text);
  border-radius: 10px; padding: 8px; cursor: pointer;
}
.pf-nav__menu svg { width: 22px; height: 22px; display: block; }

/* Buttons */
.pf-btn {
  display: inline-flex; align-items: center; gap: 9px;
  color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  padding: 14px 22px; border-radius: 14px; border: 0; cursor: pointer;
  box-shadow: 0 16px 34px -14px rgba(255, 107, 92, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: filter 0.2s ease, transform 0.12s ease;
}
.pf-btn svg { width: 18px; height: 18px; }
.pf-btn:hover { filter: brightness(1.06); }
.pf-btn:active { transform: translateY(1px); }
.pf-btn--ghost { background: var(--card); color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.pf-btn--ghost:hover { background: var(--card-hover); filter: none; }
.pf-btn--lg { padding: 16px 28px; font-size: 16.5px; border-radius: 16px; }

/* Shared section + heading primitives */
.pf-section { padding: clamp(56px, 10vh, 110px) 0; }
.pf-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 720px; }
.pf-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber);
}
.pf-eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(63, 216, 160, 0.18); }
.pf-eyebrow--center { justify-content: center; }
.pf-h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; max-width: 16ch; }
.pf-h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.08; font-weight: 700; letter-spacing: -0.025em; max-width: 20ch; }
.pf-accent { background: linear-gradient(120deg, var(--coral), var(--amber) 55%, var(--banana)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pf-lead { margin-top: 20px; font-size: clamp(1.05rem, 1.7vw, 1.22rem); line-height: 1.55; color: var(--muted); max-width: 46ch; }
.pf-lead b { color: var(--text); font-weight: 600; }
.pf-sub { margin-top: 14px; font-size: clamp(1rem, 1.5vw, 1.1rem); line-height: 1.55; color: var(--muted); max-width: 56ch; }
.pf-sub--center { margin-left: auto; margin-right: auto; }
.pf-cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.pf-hero { padding: clamp(48px, 9vh, 96px) 0 clamp(40px, 7vh, 80px); }
.pf-hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(28px, 5vw, 64px); }
.pf-hero__copy { max-width: 600px; }
.pf-hero__visual { position: relative; min-height: 380px; display: grid; place-items: center; }
.pf-win {
  width: min(380px, 100%); border: 1px solid var(--border); border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: rotate(-1.5deg);
}
.pf-win__bar { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.pf-win__bar span { width: 11px; height: 11px; border-radius: 50%; }
.pf-win__bar span:nth-child(1) { background: var(--coral); }
.pf-win__bar span:nth-child(2) { background: var(--amber); }
.pf-win__bar span:nth-child(3) { background: var(--mint); }
.pf-win__body { padding: 20px 18px 24px; display: flex; flex-direction: column; gap: 14px; }
.pf-win__row { display: flex; align-items: center; gap: 12px; }
.pf-dot { width: 26px; height: 26px; border-radius: 8px; flex: none; }
.pf-dot.coral { background: var(--coral); box-shadow: 0 6px 14px -5px rgba(255, 107, 92, 0.8); }
.pf-dot.amber { background: var(--amber); box-shadow: 0 6px 14px -5px rgba(255, 178, 62, 0.8); }
.pf-dot.mint { background: var(--mint); box-shadow: 0 6px 14px -5px rgba(63, 216, 160, 0.8); }
.pf-dot.glacier { background: var(--glacier); box-shadow: 0 6px 14px -5px rgba(91, 200, 224, 0.8); }
.pf-win__row b { display: block; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.14); }
.pf-win__cta { margin-top: 6px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--coral), var(--amber)); box-shadow: 0 12px 26px -12px rgba(255, 107, 92, 0.8); }
.pf-float {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(21, 17, 14, 0.82); border: 1px solid var(--border); border-radius: 12px;
  padding: 10px 14px; font-size: 13px; font-weight: 600; color: var(--text);
  box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pf-float svg { width: 16px; height: 16px; color: var(--mint); }
.pf-float--live { top: 14px; right: -4px; }
.pf-float__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(63, 216, 160, 0.2); }
.pf-float--metric { bottom: 20px; left: -8px; }

/* Stats band */
.pf-stats { padding: clamp(8px, 2vh, 20px) 0 clamp(20px, 4vh, 40px); }
.pf-stats__inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 22px);
  padding: clamp(24px, 4vw, 40px) 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.pf-stat__num {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  background: linear-gradient(120deg, var(--coral), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pf-stat__lbl { margin-top: 8px; font-size: 13px; color: var(--muted); font-weight: 500; }

/* Work grid */
.pf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 22px); }
.pf-card {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: 22px; padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.pf-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; opacity: 0.85; }
.pf-card.is-coral::before { background: var(--coral); box-shadow: 0 0 20px 1px rgba(255, 107, 92, 0.6); }
.pf-card.is-mint::before { background: var(--mint); box-shadow: 0 0 20px 1px rgba(63, 216, 160, 0.6); }
.pf-card.is-glacier::before { background: var(--glacier); box-shadow: 0 0 20px 1px rgba(91, 200, 224, 0.6); }
.pf-card.is-amber::before { background: var(--amber); box-shadow: 0 0 20px 1px rgba(255, 178, 62, 0.6); }
.pf-card:hover { transform: translateY(-4px); background: var(--card-hover); border-color: rgba(255, 255, 255, 0.18); }
.pf-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pf-card__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.pf-card__ic svg { width: 24px; height: 24px; }
.pf-card.is-coral .pf-card__ic { background: rgba(255, 107, 92, 0.16); color: var(--coral); }
.pf-card.is-mint .pf-card__ic { background: rgba(63, 216, 160, 0.16); color: var(--mint); }
.pf-card.is-glacier .pf-card__ic { background: rgba(91, 200, 224, 0.16); color: var(--glacier); }
.pf-card.is-amber .pf-card__ic { background: rgba(255, 178, 62, 0.16); color: var(--amber); }
.pf-card__name { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.pf-card__desc { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.pf-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.pf-tag { font-size: 11.5px; font-weight: 600; letter-spacing: 0.03em; color: var(--faint); border: 1px solid var(--border); background: rgba(0, 0, 0, 0.2); border-radius: 999px; padding: 5px 11px; }
.pf-card__link { margin-top: 20px; display: inline-flex; align-items: center; gap: 7px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; }
.pf-card__link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.pf-card__link:hover svg { transform: translateX(3px); }
.pf-badge { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); border: 1px solid var(--border); background: rgba(0, 0, 0, 0.2); border-radius: 999px; padding: 5px 11px; }
.pf-badge.is-live { display: inline-flex; align-items: center; gap: 7px; color: var(--mint); border-color: rgba(63, 216, 160, 0.4); background: rgba(63, 216, 160, 0.12); }
.pf-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(63, 216, 160, 0.2); }

/* Studio + values */
.pf-studio__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.pf-sign { margin-top: 22px; color: var(--amber); font-weight: 600; font-size: 15px; }
.pf-values { display: flex; flex-direction: column; gap: 14px; }
.pf-value { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.pf-value__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.pf-value__ic svg { width: 22px; height: 22px; }
.pf-value__ic.is-coral { background: rgba(255, 107, 92, 0.16); color: var(--coral); }
.pf-value__ic.is-mint { background: rgba(63, 216, 160, 0.16); color: var(--mint); }
.pf-value__ic.is-glacier { background: rgba(91, 200, 224, 0.16); color: var(--glacier); }
.pf-value h4 { font-size: 1.05rem; font-weight: 650; letter-spacing: -0.01em; }
.pf-value p { margin-top: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* Services */
.pf-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 22px); }
.pf-svc { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: clamp(24px, 2.6vw, 32px); box-shadow: var(--shadow); transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease; }
.pf-svc:hover { transform: translateY(-4px); background: var(--card-hover); border-color: rgba(255, 255, 255, 0.18); }
.pf-svc__ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.pf-svc__ic svg { width: 25px; height: 25px; }
.pf-svc__ic.is-coral { background: rgba(255, 107, 92, 0.16); color: var(--coral); }
.pf-svc__ic.is-mint { background: rgba(63, 216, 160, 0.16); color: var(--mint); }
.pf-svc__ic.is-amber { background: rgba(255, 178, 62, 0.16); color: var(--amber); }
.pf-svc h3 { font-size: 1.18rem; font-weight: 650; letter-spacing: -0.01em; }
.pf-svc p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* Contact */
.pf-contact__card {
  text-align: center; border-radius: 28px; padding: clamp(40px, 7vw, 76px) clamp(24px, 5vw, 56px);
  background: radial-gradient(60% 120% at 50% 0%, rgba(255, 107, 92, 0.14), transparent 70%), var(--card);
  border: 1px solid var(--border); box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.pf-contact__h { margin-top: 6px; font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.pf-contact .pf-sub { margin-top: 16px; }
.pf-contact .pf-btn { margin-top: 30px; }

/* Footer */
.pf-footer { border-top: 1px solid var(--border); padding: clamp(36px, 5vw, 56px) 0; }
.pf-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pf-footer__note { margin-top: 14px; color: var(--faint); font-size: 13px; }
.pf-footer__cols { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.pf-foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.pf-foot-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.2s ease; }
.pf-foot-links a:hover { color: var(--text); }
.pf-social { display: flex; gap: 10px; }
.pf-social a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--border); color: var(--muted); transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease; }
.pf-social a:hover { color: var(--text); background: var(--card-hover); transform: translateY(-2px); }
.pf-social svg { width: 18px; height: 18px; }

/* Reveal-on-scroll */
.pf-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.pf-reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .pf-float--live { animation: pf-bob 5s ease-in-out infinite alternate; }
  .pf-float--metric { animation: pf-bob 6s ease-in-out infinite alternate-reverse; }
}
@keyframes pf-bob { from { transform: translateY(-5px); } to { transform: translateY(5px); } }

@media (prefers-reduced-motion: reduce) {
  .pf-reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
  .pf-hero__inner { grid-template-columns: 1fr; }
  .pf-hero__visual { display: none; }
  .pf-studio__inner { grid-template-columns: 1fr; }
  .pf-svc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .pf-nav__menu { display: grid; place-items: center; }
  .pf-nav__links {
    display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 6px; padding: 12px;
    background: rgba(21, 17, 14, 0.96); border: 1px solid var(--border); border-radius: 16px;
    box-shadow: var(--shadow); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  }
  .pf-nav__links.open { display: flex; }
  .pf-nav__links a { padding: 12px 14px; }
  .pf-nav__links a.pf-nav__cta { margin: 4px 0 0; text-align: center; justify-content: center; }
  .pf-grid { grid-template-columns: 1fr; }
  .pf-stats__inner { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .pf-footer__inner { flex-direction: column; align-items: flex-start; }
}
