/* Life Line Group — site styles */

/* Scroll reveal + parallax */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.65,.25,1), transform .9s cubic-bezier(.2,.65,.25,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-left { transform: translateX(-32px); }
.reveal-left.in { transform: none; }
.reveal-right { transform: translateX(32px); }
.reveal-right.in { transform: none; }
.reveal-scale { transform: scale(.96); }
.reveal-scale.in { transform: none; }
.parallax { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1 !important; transform: none !important; transition: none !important; }
  .parallax { transform: none !important; }
}

:root {
  --yellow: #F5B800;
  --yellow-deep: #E0A600;
  --yellow-soft: #FFE58A;
  --yellow-pale: #FFF4CC;
  --black: #111111;
  --ink: #1A1A1A;
  --muted: #5B5B5B;
  --line: #EDEDED;
  --cream: #FFFFFF;
  --cream-2: #FAFAFA;
  --paper: #FFFFFF;
  --white: #FFFFFF;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --maxw: 1440px;
  --pad: 48px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Type scale */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px; background: currentColor;
}
h1, h2, h3, h4 { font-family: 'Manrope', sans-serif; font-weight: 800; letter-spacing: -0.02em; margin: 0; line-height: 1.05; }
h1 { font-size: clamp(42px, 6vw, 84px); }
h2 { font-size: clamp(32px, 4.2vw, 56px); letter-spacing: -0.025em; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.01em;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: var(--black); }
.btn-primary:hover { background: var(--yellow-deep); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-ghost { border: 1.5px solid var(--black); color: var(--black); padding: 12.5px 22px; }
.btn-ghost:hover { background: var(--black); color: var(--white); }
.btn .arrow { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,0,0,.1); align-items: center; justify-content: center; font-size: 11px; }
.btn-dark .arrow { background: var(--yellow); color: var(--black); }
.btn-primary .arrow { background: var(--black); color: var(--yellow); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo-mark { display: flex; align-items: center; gap: 12px; }
.logo-mark .mark {
  width: 38px; height: 38px; display: grid; place-items: center;
}
.logo-mark .wordmark {
  font-family: 'Fraunces', 'Playfair Display', serif;
  font-weight: 700; font-size: 18px; letter-spacing: 0.04em;
  line-height: 1;
}
.logo-mark .wordmark small {
  display: block; font-size: 9px; letter-spacing: 0.3em; font-weight: 600;
  color: var(--muted); margin-top: 4px;
}
nav.primary { display: flex; gap: 6px; }
nav.primary a {
  padding: 10px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  transition: background .15s;
}
nav.primary a:hover { background: var(--yellow); color: var(--black); }
nav.primary a.active { background: var(--black); color: var(--white); }
.header-cta { display: flex; align-items: center; gap: 12px; }

/* Footer — light */
.site-footer { background: #FAFAF5; color: #4A4A4A; padding: 80px 0 28px; margin-top: 120px; border-top: 4px solid var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer-grid h4 { color: var(--black); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: #5B5B5B; font-size: 14px; }
.footer-grid a:hover { color: var(--yellow-deep); }
.footer-brand p { color: #5B5B5B; font-size: 14px; line-height: 1.6; max-width: 32ch; margin-top: 16px; }
.footer-bottom {
  margin-top: 64px; padding-top: 24px; border-top: 1px solid #E5E5E0;
  display: flex; justify-content: space-between; align-items: center;
  color: #8A8A85; font-size: 12.5px;
}
.footer-logo { font-family: 'Fraunces', serif; color: var(--black); font-weight: 700; font-size: 22px; letter-spacing: 0.05em; }

/* Decor — petal motif used throughout */
.petal-mark { display: inline-grid; grid-template-columns: repeat(3, 1fr); gap: 2px; width: 36px; height: 36px; }
.petal-mark span { background: var(--yellow); border-radius: 50% 0 50% 0; }
.petal-mark span:nth-child(2n) { background: var(--black); }

/* Utility */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--yellow-pale); font-size: 12px; font-weight: 600; color: var(--ink); border: 1px solid #F5E4A1; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.divider { height: 1px; background: var(--line); }

/* Placeholder imagery (striped SVG) */
.photo-ph {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, #F5F5F5 0 18px, #ECECEC 18px 36px);
  color: var(--muted);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}
.photo-ph.dark {
  background: repeating-linear-gradient(135deg, #1C1C1C 0 18px, #232323 18px 36px);
  color: #8F897A;
}
.photo-ph.yellow {
  background: repeating-linear-gradient(135deg, #F5B800 0 18px, #E5AC00 18px 36px);
  color: #6B4F00;
}
.photo-ph .tag { padding: 6px 10px; background: rgba(0,0,0,.35); color: #fff; border-radius: 4px; }
.photo-ph.dark .tag { background: rgba(255,255,255,.1); }
.photo-ph.yellow .tag { background: rgba(0,0,0,.18); color: var(--black); }

/* Tweaks panel */
.tweaks-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 100;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.18), 0 6px 20px rgba(0,0,0,.06);
  width: 280px; padding: 16px; font-size: 13px;
  display: none;
}
.tweaks-panel.on { display: block; }
.tweaks-panel h5 { margin: 0 0 12px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.tweaks-panel .row { display: grid; gap: 6px; margin-bottom: 14px; }
.tweaks-panel label { font-weight: 600; color: var(--ink); }
.tweaks-panel .swatches { display: flex; gap: 8px; }
.tweaks-panel .swatches button {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid transparent;
}
.tweaks-panel .swatches button.on { border-color: var(--black); }
.tweaks-panel select, .tweaks-panel input[type=range] { width: 100%; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); }

/* Responsive */
@media (max-width: 980px) {
  nav.primary { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
