/* Sonal Studio — Marketing site styles (atop colors_and_type.css) */

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }
.prose { max-width: 720px; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 15px 28px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background var(--dur-fast) var(--ease-out-soft),
              box-shadow var(--dur-fast) var(--ease-out-soft),
              transform var(--dur-fast) var(--ease-out-soft),
              color var(--dur-fast);
  text-decoration: none;
  cursor: pointer;
}
/* Subtle moving sheen for primary/accent CTAs */
.btn-primary::before, .btn-accent::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.32) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
  z-index: -1;
}
.btn-primary:hover::before, .btn-accent:hover::before { transform: translateX(100%); }
.btn .arrow { display: inline-block; transition: transform var(--dur-base) var(--ease-out-soft); width: 16px; height: 16px; }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: none; box-shadow: var(--shadow-glow-mint); }

/* Primary — vibrant emerald */
.btn-primary {
  background: linear-gradient(180deg, #14A36F 0%, #0F8C5F 100%);
  color: var(--paper);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 2px 6px rgba(15, 140, 95, 0.32),
    0 10px 26px rgba(15, 140, 95, 0.22);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #0F8C5F 0%, #0B7349 100%);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 4px 10px rgba(15, 140, 95, 0.45),
    0 18px 36px rgba(15, 140, 95, 0.30);
}

/* Accent — vibrant amber */
.btn-accent {
  background: linear-gradient(180deg, #F39C24 0%, #E68A19 100%);
  color: var(--paper);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.20) inset,
    0 2px 6px rgba(230, 138, 25, 0.32),
    0 10px 26px rgba(230, 138, 25, 0.22);
}
.btn-accent:hover {
  background: linear-gradient(180deg, #E68A19 0%, #C97308 100%);
  transform: translateY(-2px);
}

/* Ghost — outlined */
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

/* Pill — signature script button on a pastel chip */
.btn-pill {
  background: var(--peach);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 28px 16px;
  font-family: var(--font-script);
  font-size: 32px;
  font-weight: 400;
  line-height: 0.9;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 4px 12px rgba(201, 138, 119, 0.22);
}
.btn-pill:hover {
  background: var(--peach-deep);
  transform: translateY(-1px);
}

.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-lg { padding: 18px 32px; font-size: 16px; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
  flex-shrink: 0;
}

/* ---------- Section ---------- */
section { padding: clamp(56px, 8vw, 96px) 0; }
@media (max-width: 760px) { section { padding: 48px 0; } }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .eyebrow { margin-bottom: 14px; display: inline-block; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: normal;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  color: var(--ink);
}
.section-head .lead { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6; color: var(--fg-soft); margin: 0; }
.script-accent {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--primary);
  font-style: normal;
  letter-spacing: 0.01em;
  font-size: 1.0em;
  line-height: 1.0;
}

/* Heading colour-accent: same family as the heading, just primary colour.
   Avoids the line-overlap problems Pinyon Script causes when used inline. */
.h-accent {
  color: var(--primary);
  font-style: normal;
  font-weight: inherit;
}

/* Italic editorial accent — small, refined */
.italic-accent {
  font-family: var(--font-serif-italic);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ---------- Underline swoosh ---------- */
.swoosh { position: relative; display: inline-block; }
.swoosh::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px; bottom: -8px;
  height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' fill='none'><path d='M2 9 Q 60 -2 100 6 T 198 7' stroke='%23E68A19' stroke-width='3' stroke-linecap='round' fill='none'/></svg>") no-repeat center / 100% 100%;
}

/* ---------- Cards (generic) ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-base) var(--ease-out-soft), transform var(--dur-base) var(--ease-out-soft);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

/* ---------- Scroll-reveal: subtle fade + rise on section enter ---------- */
/* Disabled — IntersectionObserver in some embed contexts can fail and leave content blank.
   Page motion is already provided by hero orbs + hover lifts + button sheens. */

/* Smooth in-page anchor scrolling */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
