/* Studio Forward (FreelanceBox template) — design system.
   Near-black ink + warm paper + vivid rose/coral accent, editorial/creative-
   studio feel with a bold portfolio-forward layout — deliberately distinct
   from the navy/amber (PetCareBox), royal-blue/emerald (ServiceDirBox),
   indigo/violet (PodStoreBox, ResaleBox, JobBoardBox), and teal (CoachBox,
   MoveInServicesBox, DigitalShopBox) palettes already used across sibling
   SiteTurnkey verticals. */

:root {
  --fb-ink: #18151c;
  --fb-ink-2: #221f28;
  --fb-slate: #55505f;
  --fb-steel: #8b8494;
  --fb-steel-light: #ddd7e3;
  --fb-paper: #f9f6f1;
  --fb-paper-2: #f0e9e0;
  --fb-white: #ffffff;
  --fb-rose: #ff4d6d;
  --fb-rose-dark: #c82445;
  --fb-rose-light: #ff8098;
  --fb-ochre: #c9932e;
  --fb-ochre-dark: #a8781f;
  --fb-line: rgba(255, 255, 255, 0.14);
  --fb-line-dark: rgba(24, 21, 28, 0.12);
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 6px 20px rgba(24, 21, 28, 0.12);
  --shadow-lg: 0 14px 36px rgba(24, 21, 28, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--fb-ink);
  background: var(--fb-paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--fb-rose-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-base);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--fb-ink);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fb-rose-dark);
  margin-bottom: 10px;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--fb-slate); }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 64px 0; }
.section-dark { background: var(--fb-ink); color: var(--fb-white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--fb-white); }
.section-dark p { color: var(--fb-steel-light); }
.hero .eyebrow, .section-dark .eyebrow { color: var(--fb-rose); }

/* ── Rose stripe divider ────────────────────────────────────────────────── */
.rose-stripe {
  height: 8px;
  background: linear-gradient(90deg, var(--fb-rose), var(--fb-ochre));
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  min-height: 48px;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--fb-rose); color: var(--fb-white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--fb-rose-dark); }

.btn-outline { background: transparent; border-color: currentColor; color: var(--fb-white); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

.btn-outline-dark { background: transparent; border-color: var(--fb-ink); color: var(--fb-ink); }
.btn-outline-dark:hover { background: rgba(24, 21, 28, 0.06); }

.btn-block { width: 100%; }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--fb-ink);
  border-bottom: 3px solid var(--fb-rose);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1160px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fb-white);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px;
  background: var(--fb-rose);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--fb-white);
  font-weight: 900;
  flex-shrink: 0;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  color: var(--fb-steel-light);
  font-weight: 700;
  font-size: 0.92rem;
}
.nav-links a:hover { color: var(--fb-white); text-decoration: none; }
.nav-cta { display: none; }
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 2px solid var(--fb-line);
  border-radius: var(--radius);
  color: var(--fb-white);
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--fb-ink-2);
  border-top: 1px solid var(--fb-line);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 16px 20px;
  color: var(--fb-white);
  font-weight: 700;
  border-bottom: 1px solid var(--fb-line);
  font-size: 0.95rem;
}
.mobile-menu a:hover { text-decoration: none; background: rgba(255,255,255,0.04); }
.mobile-menu .btn { margin: 16px 20px; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ── Sticky mobile inquiry bar ───────────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--fb-ink);
  border-top: 3px solid var(--fb-rose);
  padding: 10px 16px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}
.sticky-cta .btn { width: 100%; }
@media (min-width: 900px) {
  .sticky-cta { display: none; }
}
body { padding-bottom: 76px; }
@media (min-width: 900px) {
  body { padding-bottom: 0; }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  background:
    linear-gradient(rgba(24,21,28,0.90), rgba(24,21,28,0.95)),
    radial-gradient(circle at 15% 25%, rgba(255,77,109,0.10) 0, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(201,147,46,0.08) 0, transparent 50%),
    var(--fb-ink);
  color: var(--fb-white);
  padding: 56px 0 64px;
}
.hero h1 { color: var(--fb-white); }
.hero p { max-width: 560px; color: var(--fb-steel-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ── Cards / grids ─────────────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--fb-white);
  border: 1px solid var(--fb-line-dark);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card-icon {
  width: 48px; height: 48px;
  background: var(--fb-ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--fb-rose);
  margin-bottom: 16px;
}
.card .price-range {
  display: inline-block;
  margin-top: 10px;
  font-weight: 800;
  color: var(--fb-rose-dark);
  font-size: 0.92rem;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--fb-ochre);
  color: var(--fb-ink);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Pricing tiers ─────────────────────────────────────────────────────── */
.pricing-card {
  background: var(--fb-white);
  border: 2px solid var(--fb-line-dark);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--fb-rose);
  box-shadow: var(--shadow-lg);
}
.pricing-card .featured-tag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--fb-rose);
  color: var(--fb-white);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-card .tier-name { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fb-rose-dark); margin-bottom: 6px; }
.pricing-card .price { font-size: 1.6rem; font-weight: 900; color: var(--fb-ink); margin-bottom: 10px; }
.pricing-card .price small { font-size: 0.9rem; font-weight: 700; color: var(--fb-steel); }
.pricing-card ul { list-style: none; margin: 18px 0; padding: 0; flex: 1; }
.pricing-card ul li {
  padding: 9px 0 9px 26px;
  position: relative;
  font-size: 0.92rem;
  color: var(--fb-slate);
  border-bottom: 1px solid var(--fb-line-dark);
}
.pricing-card ul li:last-child { border-bottom: none; }
.pricing-card ul li::before {
  content: "✓";
  position: absolute; left: 0; top: 9px;
  color: var(--fb-rose-dark);
  font-weight: 900;
}

/* ── Portfolio gallery placeholder tiles ──────────────────────────────────── */
.gallery-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--fb-white);
  border: 1px solid var(--fb-line-dark);
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; }
.gallery-tile .cat-tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--fb-ink); color: var(--fb-white);
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; letter-spacing: 0.04em;
}
.gallery-tile .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(24,21,28,0.85), transparent);
  color: var(--fb-white);
  padding: 24px 14px 12px;
  font-size: 0.88rem;
  font-weight: 700;
}
.gallery-tile.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background:
    repeating-linear-gradient(45deg, var(--fb-paper-2), var(--fb-paper-2) 14px, var(--fb-paper) 14px, var(--fb-paper) 28px);
}
.gallery-tile.placeholder .ribbon {
  position: absolute; top: 14px; right: -34px;
  background: var(--fb-rose); color: var(--fb-white);
  font-weight: 800; font-size: 0.68rem; letter-spacing: 0.05em;
  padding: 4px 40px; transform: rotate(40deg);
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.gallery-tile.placeholder .ph-icon {
  width: 44px; height: 44px; color: var(--fb-steel); margin-bottom: 10px;
}
.gallery-tile.placeholder strong {
  color: var(--fb-ink); font-size: 0.95rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.gallery-tile.placeholder span { color: var(--fb-slate); font-size: 0.82rem; margin-top: 4px; }

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.category-tabs button {
  padding: 9px 16px;
  border-radius: 999px;
  border: 2px solid var(--fb-line-dark);
  background: var(--fb-white);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--fb-slate);
}
.category-tabs button.active {
  background: var(--fb-ink);
  border-color: var(--fb-ink);
  color: var(--fb-white);
}

/* ── Forms ─────────────────────────────────────────────────────────────── */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--fb-ink);
}
.field .hint { font-size: 0.78rem; color: var(--fb-steel); margin-top: 4px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius);
  border: 2px solid var(--fb-line-dark);
  font-size: 16px;
  font-family: var(--font-base);
  background: var(--fb-white);
  color: var(--fb-ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--fb-rose);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .field-row-2 { grid-template-columns: 1fr 1fr; } }

.form-card {
  background: var(--fb-white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin: 0 auto;
}
.form-msg { padding: 14px; border-radius: var(--radius); margin-bottom: 18px; font-weight: 700; display: none; }
.form-msg.success { background: #e2f2ea; color: #1f7a45; display: block; }
.form-msg.error { background: #fbe6e0; color: #a5321a; display: block; }
.form-msg.info { background: var(--fb-paper-2); color: var(--fb-ink); display: block; }

/* ── FAQ accordion ─────────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--fb-line-dark);
  padding: 18px 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 800;
  gap: 12px;
}
.faq-q .plus { flex-shrink: 0; font-size: 1.3rem; color: var(--fb-rose-dark); transition: transform 0.15s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { display: none; margin-top: 10px; color: var(--fb-slate); }
.faq-item.open .faq-a { display: block; }

/* ── About / bio ───────────────────────────────────────────────────────── */
.bio-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(45deg, var(--fb-paper-2), var(--fb-paper-2) 14px, var(--fb-paper) 14px, var(--fb-paper) 28px);
  border: 1px solid var(--fb-line-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--fb-slate);
  padding: 20px;
}
.bio-photo strong { color: var(--fb-ink); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.02em; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--fb-ink);
  color: var(--fb-steel-light);
  padding: 48px 0 28px;
}
.site-footer h4 { color: var(--fb-white); font-size: 1rem; letter-spacing: 0.02em; }
.site-footer p { color: var(--fb-steel-light); }
.site-footer .notice { color: var(--fb-slate); }
.site-footer a { color: var(--fb-steel-light); }
.site-footer a:hover { color: var(--fb-white); }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1fr; margin-bottom: 30px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-bottom {
  border-top: 1px solid var(--fb-line);
  padding-top: 20px;
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
.footer-bottom a { margin-right: 14px; }

/* ── Trust notice ─────────────────────────────────────────────────────── */
.notice {
  background: var(--fb-paper-2);
  border-left: 4px solid var(--fb-rose);
  padding: 16px 18px;
  border-radius: 4px;
  font-size: 0.92rem;
  color: var(--fb-slate);
}

/* ── Utilities ─────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.max-w-prose { max-width: 680px; }
.center { margin-left: auto; margin-right: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--fb-rose); color: white; padding: 12px 16px; z-index: 200;
}
.skip-link:focus { left: 10px; top: 10px; }
