/* ============================================================
   LILY EASTWOOD — lilyeastwood.com
   Palette: warm white, ink, aubergine + chartreuse pop
   Type: Playfair Display (headings) + DM Sans (body)
   ============================================================ */

   :root {
    --bg:           #FAFAF8;
    --bg-alt:       #F2F0EB;
    --text:         #1A1A1A;
    --text-muted:   #6B6B6B;
    --aubergine:    #8B3A8B;
    --aubergine-lt: #F5EAF5;
    --chartreuse:   #7AB317;
    --chartreuse-lt:#F2F7E6;
    --border:       #E0DDD8;
    --white:        #FFFFFF;
  
    --font-head: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', sans-serif;
  
    --max-w:    1100px;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 7rem;
  }
  
  /* ── Reset ── */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  
  /* ── Nav ── */
  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem var(--space-md);
    max-width: var(--max-w);
    margin: 0 auto;
    border-bottom: 1px solid var(--border);
  }
  .nav-logo {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
  }
  nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
  }
  nav ul a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.2s;
  }
  nav ul a:hover { color: var(--aubergine); }
  .nav-cta {
    display: inline-flex;
    align-items: center;
    color: var(--white) !important;
    background: var(--chartreuse);
    padding: 0.5rem 1.1rem;
    border-radius: 100px;
    font-size: 0.85rem !important;
    font-weight: 500;
    white-space: nowrap;
    transition: opacity 0.2s !important;
  }
  .nav-cta:hover { opacity: 0.85; }
  
  /* ── Hero ── */
  .hero {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--space-lg);
    align-items: center;
  }
  .hero-eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--aubergine);
    font-weight: 500;
    margin-bottom: 1.2rem;
  }
  .hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
  }
  .hero h1 em {
    font-style: italic;
    color: var(--chartreuse);
  }
  .hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
  }
  .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  /* accent block — decorative */
  .accent-block {
    width: 220px;
    height: 280px;
    background: var(--aubergine-lt);
    border-radius: 4px 120px 4px 4px;
    position: relative;
  }
  .accent-block::after {
    content: '';
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 80px;
    height: 80px;
    background: var(--chartreuse);
    border-radius: 50%;
    opacity: 0.25;
  }
  
  /* ── Buttons ── */
  .btn-primary {
    display: inline-block;
    background: var(--aubergine);
    color: var(--white);
    padding: 0.75rem 1.6rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.2s;
  }
  .btn-primary:hover { opacity: 0.85; }
  
  .btn-secondary {
    display: inline-block;
    color: var(--text);
    padding: 0.75rem 1.6rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 400;
    border: 1px solid var(--border);
    transition: border-color 0.2s, color 0.2s;
  }
  .btn-secondary:hover { border-color: var(--aubergine); color: var(--aubergine); }
  
  /* ── Intro strip ── */
  .intro-strip {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1rem var(--space-md);
  }
  .strip-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.02em;
  }
  .dot { color: var(--chartreuse); font-weight: 700; }
  
  /* ── Selected work ── */
  .selected-work {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
  }
  .section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
  }
  .section-header h2 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 1.6rem;
    letter-spacing: -0.01em;
  }
  .see-all {
    font-size: 0.85rem;
    color: var(--aubergine);
    font-weight: 500;
    transition: opacity 0.2s;
  }
  .see-all:hover { opacity: 0.7; }
  
  .work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .work-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.8rem;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
  }
  .work-card:hover {
    border-color: var(--aubergine);
    transform: translateY(-3px);
  }
  .card-tag {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--aubergine);
    font-weight: 500;
    margin-bottom: 0.8rem;
    background: var(--aubergine-lt);
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
  }
  .work-card h3 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
  }
  .work-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
  }
  .card-arrow {
    display: inline-block;
    margin-top: 1.2rem;
    color: var(--chartreuse);
    font-size: 1.1rem;
    font-weight: 700;
    transition: transform 0.2s;
  }
  .work-card:hover .card-arrow { transform: translateX(4px); }
  
  /* ── About strip ── */
  .about-strip {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .about-strip-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
  }
  .about-strip-text h2 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
  }
  .about-strip-text h2 em {
    font-style: italic;
    color: var(--chartreuse);
  }
  .about-strip-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
    max-width: 440px;
  }
  .about-strip-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    border-left: 2px solid var(--chartreuse);
    padding-left: 1.2rem;
  }
  .stat-num {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    color: var(--text);
  }
  .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
  }
  
  /* ── CTA section ── */
  .cta-section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
    text-align: center;
  }
  .cta-section h2 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
  }
  .cta-section p {
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 2rem;
  }
  
  /* ── Footer ── */
  footer {
    border-top: 1px solid var(--border);
    padding: 2rem var(--space-md);
  }
  .footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 1rem;
  }
  .footer-name {
    font-family: var(--font-head);
    font-weight: 400;
    color: var(--text);
  }
  .footer-email a { color: var(--aubergine); }
  .footer-links {
    display: flex;
    gap: 1.5rem;
  }
  .footer-links a:hover { color: var(--chartreuse); }
  
  /* ── Responsive ── */
  @media (max-width: 768px) {
    .hero {
      grid-template-columns: 1fr;
      padding: var(--space-lg) var(--space-sm);
    }
    .hero-accent { display: none; }
    .work-grid { grid-template-columns: 1fr; }
    .about-strip-inner { grid-template-columns: 1fr; }
    nav ul { gap: 1rem; }
    .strip-inner { gap: 0.8rem; }
  }
  
  /* ── Fade-in animation ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .hero-text > * {
    animation: fadeUp 0.6s ease both;
  }
  .hero-eyebrow { animation-delay: 0.05s; }
  .hero h1      { animation-delay: 0.15s; }
  .hero-sub     { animation-delay: 0.25s; }
  .hero-actions { animation-delay: 0.35s; }
  
  /* ── Page hero (inner pages) ── */
  .page-hero {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md) var(--space-md);
    border-bottom: 1px solid var(--border);
  }
  .page-hero-inner {
    display: inline-block;
    max-width: 100%;
  }
  .page-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
  }
  .page-hero h1 em { font-style: italic; color: var(--chartreuse); }
  .page-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.7;
  }
  
  /* ── Services ── */
  .services-section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md);
  }
  .services-section--split { padding-top: var(--space-md); }
  .services-inner { display: flex; flex-direction: column; gap: var(--space-lg); }
  .service-path-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .service-path-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    transition: border-color 0.2s, transform 0.2s;
  }
  .service-path-card:hover {
    border-color: var(--aubergine);
    transform: translateY(-3px);
  }
  .service-path-card h2 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.25;
  }
  .service-path-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
  }
  .service-path-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--text);
    font-size: 0.95rem;
  }
  .service-path-list li {
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
  }
  .service-path-link {
    margin-top: auto;
    color: var(--aubergine);
    font-size: 0.9rem;
    font-weight: 500;
  }
  .service-block { display: flex; flex-direction: column; gap: var(--space-md); }
  .service-block-header { max-width: 640px; }
  .service-tag {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--aubergine);
    font-weight: 500;
    background: var(--aubergine-lt);
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 0.8rem;
  }
  .service-block-header h2 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
  }
  .service-block-header p { color: var(--text-muted); font-size: 0.95rem; }
  .service-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .service-outcomes-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    font-weight: 500;
    margin: 0.25rem 0 0.25rem;
  }
  .service-items--outcomes {
    counter-reset: outcome;
  }
  .service-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
  }
  .service-items--outcomes .service-item {
    position: relative;
    padding-top: 2.3rem;
  }
  .service-items--outcomes .service-item::before {
    counter-increment: outcome;
    content: "0" counter(outcome);
    position: absolute;
    top: 0.9rem;
    right: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    opacity: 0.55;
  }
  .service-item h3 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
  }
  .service-item h3 strong { font-weight: 600; }
  .service-item p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
  .service-cta { padding-top: 0.5rem; }
  
  /* ── PDF capture ── */
  .pdf-capture {
    background: var(--aubergine-lt);
    border: 1px solid rgba(139,58,139,0.15);
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 540px;
  }
  .pdf-capture--wide {
    max-width: 100%;
  }
  .pdf-capture-text { font-size: 0.95rem; margin-bottom: 1rem; font-weight: 500; }
  .pdf-form { display: flex; gap: 0.75rem; flex-wrap: wrap; }
  .pdf-form input {
    flex: 1;
    min-width: 200px;
    padding: 0.65rem 1rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: var(--white);
    color: var(--text);
  }
  .pdf-form input:focus { outline: none; border-color: var(--aubergine); }
  .pdf-small { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.75rem; }
  
  /* ── Service divider ── */
  .service-divider {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: var(--space-md);
  }
  .service-divider-inner { max-width: 560px; }
  .service-divider h2 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
  }
  .service-divider p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.2rem; line-height: 1.7; }
  .service-next-links {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
    align-items: baseline;
    font-size: 0.85rem;
    color: var(--text-muted);
  }
  .service-next-links a {
    color: var(--aubergine);
    font-weight: 500;
  }
  .service-next-links a:hover { opacity: 0.7; }
  .service-next-divider { opacity: 0.6; padding: 0 0.15rem; }
  
  /* ── Contact ── */
  .contact-section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md);
  }
  .contact-inner {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--space-lg);
    align-items: start;
  }
  .form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.2rem; }
  .form-group label { font-size: 0.85rem; font-weight: 500; color: var(--text); }
  .optional { font-weight: 400; color: var(--text-muted); }
  .form-group input,
  .form-group textarea {
    padding: 0.65rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--white);
    color: var(--text);
    transition: border-color 0.2s;
  }
  .form-group input:focus,
  .form-group textarea:focus { outline: none; border-color: var(--aubergine); }
  .form-group textarea { resize: vertical; }
  .contact-aside { display: flex; flex-direction: column; gap: 1.5rem; padding-top: 0.5rem; }
  .contact-detail { display: flex; flex-direction: column; gap: 0.2rem; }
  .contact-detail-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 500; }
  .contact-detail a { color: var(--aubergine); font-size: 0.95rem; }
  .contact-detail a:hover { opacity: 0.7; }
  .contact-note { border-top: 1px solid var(--border); padding-top: 1.5rem; }
  .contact-note p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
  
  /* ── Placeholder pages ── */
  .placeholder-section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md);
  }
  .placeholder-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .placeholder-inner--single { grid-template-columns: 1fr; max-width: 480px; }
  .about-inner {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
  }
  .placeholder-card {
    background: var(--white);
    border: 1px dashed var(--border);
    border-radius: 8px;
    padding: 1.8rem;
  }
  .placeholder-card--empty { opacity: 0.5; }
  .placeholder-card--full { border-style: solid; }
  .placeholder-card h3 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 1.1rem;
    margin: 0.6rem 0;
  }
  .placeholder-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

  .rich-text p { margin: 0 0 1.1rem; }
  .rich-text p:last-of-type { margin-bottom: 0; }
  
  /* ── Responsive additions ── */
  @media (max-width: 768px) {
    .service-path-grid { grid-template-columns: 1fr; }
    .service-items { grid-template-columns: 1fr; }
    .contact-inner { grid-template-columns: 1fr; }
    .placeholder-inner { grid-template-columns: 1fr; }
  }