:root {
    /* Brand colours, taken from the logo */
    --burgundy: #931022;       /* maroon, primary: headings, buttons, links (8.3:1 on cream) */
    --burgundy-dark: #6E0C19;  /* pressed/hover depth */
    --burgundy-deep: #4A0A13;  /* dark panels, footer */
    --coral: #D9443F;          /* accent: highlights, large text, decoration */
    --coral-ink: #B8302C;      /* coral for small text and hovers on light backgrounds (5.5:1 on cream) */
    --rose: #F5A49E;           /* light coral for text on dark maroon (7.9:1) */
    --gradient-brand: linear-gradient(135deg, var(--coral) 0%, var(--burgundy) 100%);
    --gradient-brand-ink: linear-gradient(135deg, var(--coral-ink) 0%, var(--burgundy) 100%);
    --cream: #FAF5F0;
    --cream-warm: #F5E8E2;
    --ink: #1C1416;
    --ink-soft: #4A3B3E;
    --font-heading: 'Montserrat', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --shadow-soft: 0 20px 60px -15px rgba(74, 10, 19, 0.15);
    --shadow-warm: 0 8px 30px -10px rgba(147, 16, 34, 0.25);
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
  }
  h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--burgundy-deep);
  }
  h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); font-weight: 700; }
  h2 { font-size: clamp(1.9rem, 3.8vw, 2.85rem); }
  h3 { font-size: clamp(1.15rem, 1.9vw, 1.32rem); font-weight: 600; }
  p { font-size: 1.02rem; color: var(--ink-soft); }
  a { color: var(--burgundy); text-decoration: none; transition: color 0.25s; }
  a:hover { color: var(--coral-ink); }
  .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

  /* Nav */
  nav {
    position: fixed; top: 0; left: 0; right: 0;
    padding: 18px 0; z-index: 100;
    background: rgba(250, 245, 240, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(147, 16, 34, 0.08);
    transition: padding 0.3s;
  }
  nav.scrolled { padding: 12px 0; }
  .nav-inner { display: flex; justify-content: space-between; align-items: center; }
  .logo { display: flex; align-items: center; flex-shrink: 0; }
  .logo picture { display: block; }
  /* Full logo on desktop; mark + wordmark crop on mobile (see <picture> source) */
  .logo-img {
    display: block; height: 68px; width: auto;
    transition: height 0.3s;
  }
  nav.scrolled .logo-img { height: 58px; }
  .nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
  .nav-links a { color: var(--ink-soft); font-size: 0.92rem; font-weight: 500; }
  .nav-links a:hover { color: var(--coral-ink); }
  .nav-cta {
    background: var(--burgundy); color: var(--cream) !important;
    padding: 10px 20px; border-radius: 999px; font-weight: 600;
    transition: background 0.25s, transform 0.2s;
  }
  .nav-cta:hover { background: var(--gradient-brand-ink); transform: translateY(-1px); }
  .menu-toggle { display: none; background: none; border: none; cursor: pointer; }

  /* Hero */
  .hero { padding: 150px 0 80px; position: relative; overflow: hidden; }
  .hero::before {
    content: '';
    position: absolute; top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(147, 16, 34, 0.04) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 70px; align-items: center;
  }
  .hero-kicker {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--burgundy);
    margin-bottom: 24px;
  }
  .hero-kicker::before { content: ''; width: 32px; height: 2px; border-radius: 2px; background: var(--gradient-brand); }
  .hero h1 { margin-bottom: 22px; }
  .hero h1 em {
    font-style: normal; color: var(--burgundy);
    background: var(--gradient-brand);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero-lead { font-size: 1.12rem; line-height: 1.65; max-width: 540px; margin-bottom: 32px; }
  .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 26px; border-radius: 999px;
    font-weight: 600; font-size: 0.95rem;
    transition: all 0.25s; cursor: pointer; border: none;
    font-family: inherit;
  }
  .btn-primary {
    background: var(--burgundy); color: var(--cream);
    box-shadow: var(--shadow-warm);
  }
  .btn-primary:hover {
    background: var(--gradient-brand-ink); color: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -10px rgba(147, 16, 34, 0.35);
  }
  .btn-ghost {
    background: transparent; color: var(--burgundy-dark);
    border: 1.5px solid rgba(107, 18, 32, 0.2);
  }
  .btn-ghost:hover { background: var(--cream-warm); border-color: var(--coral-ink); color: var(--burgundy); }
  .btn svg { transition: transform 0.2s; }
  .btn:hover svg { transform: translateX(3px); }

  .hero-visual {
    position: relative; aspect-ratio: 4/5;
    max-width: 520px; justify-self: center; width: 100%;
  }
  .hero-img-wrap {
    position: absolute; inset: 0;
    border-radius: 280px 280px 40px 40px;
    overflow: hidden; box-shadow: var(--shadow-soft);
  }
  .hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .hero-accent-1 {
    position: absolute; bottom: -30px; left: -40px;
    width: 180px; height: 180px;
    background: var(--cream-warm); border-radius: 50%;
    z-index: -1; animation: float 8s ease-in-out infinite;
  }
  .hero-accent-2 {
    position: absolute; top: 10px; right: -30px;
    width: 130px; height: 130px;
    background: var(--burgundy); opacity: 0.08;
    border-radius: 50%; z-index: -1;
    animation: float 10s ease-in-out infinite reverse;
  }
  .hero-accent-ring {
    position: absolute; top: -25px; left: 30%;
    width: 90px; height: 90px;
    border: 2px solid rgba(147, 16, 34, 0.25);
    border-radius: 50%; z-index: -1;
    animation: float 12s ease-in-out infinite;
  }
  .hero-accent-dots {
    position: absolute; bottom: 80px; right: -50px;
    width: 110px; height: 110px;
    background-image: radial-gradient(circle, rgba(147, 16, 34, 0.35) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    z-index: -1; opacity: 0.6;
  }
  .hero-badge {
    position: absolute; bottom: 30px; right: -30px;
    background: var(--cream); padding: 14px 20px;
    border-radius: 18px; box-shadow: var(--shadow-soft);
    display: flex; align-items: center; gap: 12px;
    animation: slideIn 1s ease-out 0.6s both;
    max-width: 230px;
  }
  .hero-card-stat {
    position: absolute; top: 40px; left: -40px;
    background: var(--cream); padding: 14px 18px;
    border-radius: 16px; box-shadow: var(--shadow-soft);
    display: flex; align-items: center; gap: 12px;
    animation: slideIn 1s ease-out 0.85s both;
    z-index: 2;
  }
  .hero-card-stat-icon {
    width: 38px; height: 38px;
    background: rgba(147, 16, 34, 0.1); color: var(--burgundy);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .hero-card-stat-text { font-size: 0.74rem; font-weight: 500; color: var(--ink-soft); line-height: 1.3; }
  .hero-card-stat-text strong {
    display: block; font-family: var(--font-heading); font-weight: 600;
    color: var(--burgundy-deep); font-size: 1rem;
  }
  .hero-badge-icon {
    width: 40px; height: 40px;
    background: var(--gradient-brand); color: var(--cream);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
  }
  .hero-badge-text { font-size: 0.78rem; font-weight: 500; color: var(--ink-soft); line-height: 1.3; }
  .hero-badge-text strong {
    display: block; font-family: var(--font-heading); font-weight: 600;
    color: var(--burgundy-deep); font-size: 0.95rem;
  }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
  @keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

  /* Trust bar */
  .trust-bar {
    background: var(--cream-warm); padding: 28px 0;
    border-top: 1px solid rgba(147, 16, 34, 0.08);
    border-bottom: 1px solid rgba(147, 16, 34, 0.08);
  }
  .trust-items {
    display: flex; justify-content: space-around; align-items: center;
    flex-wrap: wrap; gap: 24px;
  }
  .trust-item {
    display: flex; align-items: center; gap: 12px;
    font-size: 0.88rem; color: var(--ink-soft);
  }
  .trust-icon {
    width: 36px; height: 36px;
    background: var(--burgundy); color: var(--cream);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .trust-item strong {
    display: block; color: var(--burgundy-deep);
    font-weight: 600; font-size: 0.94rem;
    font-family: var(--font-heading);
  }

  section { padding: 90px 0; position: relative; }
  .section-kicker {
    display: inline-block;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--burgundy);
    margin-bottom: 14px;
  }
  .section-head { margin-bottom: 56px; max-width: 680px; }
  .section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
  .section-head h2 { margin-bottom: 18px; }
  .section-head p { font-size: 1.08rem; }

  /* Services — three pillars */
  .services { background: var(--cream); }
  .pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .pillar {
    background: var(--cream-warm); border-radius: 28px;
    padding: 40px 32px; position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex; flex-direction: column;
  }
  .pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
  .pillar-num {
    position: absolute; top: 24px; right: 28px;
    font-family: var(--font-heading); font-style: italic;
    font-size: 1rem; color: rgba(147, 16, 34, 0.35);
  }
  .pillar-icon {
    width: 54px; height: 54px;
    background: var(--gradient-brand); color: var(--cream);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
  }
  .pillar h3 { margin-bottom: 12px; font-size: 1.4rem; }
  .pillar p { font-size: 0.96rem; margin-bottom: 20px; }
  .pillar-list {
    list-style: none;
    border-top: 1px solid rgba(147, 16, 34, 0.12);
    padding-top: 18px; margin-top: auto;
  }
  .pillar-list li {
    font-size: 0.92rem; padding: 7px 0;
    color: var(--ink);
    display: flex; align-items: flex-start; gap: 10px;
  }
  .pillar-list li::before {
    content: ''; width: 5px; height: 5px; margin-top: 9px;
    background: var(--burgundy); border-radius: 50%;
    flex-shrink: 0;
  }

  /* Who we help */
  .audience { background: var(--cream-warm); }
  .audience-grid {
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: 70px; align-items: center;
  }
  .audience-visual {
    position: relative; aspect-ratio: 1/1;
    border-radius: 40px; overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: var(--gradient-brand);
    display: flex; align-items: center; justify-content: center;
  }
  .audience-visual img { width: 100%; height: 100%; object-fit: cover; }
  .audience-visual.placeholder::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 30% 20%, rgba(250, 245, 240, 0.15) 0%, transparent 45%),
                      radial-gradient(circle at 70% 80%, rgba(217, 68, 63, 0.2) 0%, transparent 50%);
  }
  .audience-visual .placeholder-icon {
    position: relative;
    color: var(--cream);
    opacity: 0.85;
  }
  .audience-list { list-style: none; display: grid; gap: 16px; }
  .audience-list li {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(74, 10, 19, 0.08);
  }
  .audience-list li:last-child { border-bottom: none; }
  .audience-check {
    flex-shrink: 0; width: 30px; height: 30px;
    background: var(--burgundy); color: var(--cream);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; margin-top: 2px;
  }
  .audience-list strong {
    display: block; font-family: var(--font-heading);
    font-size: 1.12rem; color: var(--burgundy-deep);
    margin-bottom: 3px; font-weight: 500;
  }
  .audience-list p { font-size: 0.96rem; }

  /* Values */
  .values { background: var(--burgundy-deep); color: var(--cream); }
  .values h2 { color: var(--cream); }
  .values .section-kicker { color: var(--rose); }
  .values p { color: rgba(250, 245, 240, 0.75); }
  .values-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 36px; margin-top: 56px;
  }
  .value-item { padding: 24px 0; }
  .value-num {
    font-family: var(--font-heading); font-style: italic;
    font-size: 2.7rem; font-weight: 500;
    color: var(--rose); line-height: 1;
    margin-bottom: 16px; opacity: 0.9;
  }
  .value-item h3 { color: var(--cream); margin-bottom: 10px; font-weight: 500; }
  .value-item p { color: rgba(250, 245, 240, 0.72); font-size: 0.96rem; }

  /* About */
  .about { background: var(--cream); }
  .about-grid {
    display: grid; grid-template-columns: 1.1fr 1fr;
    gap: 60px; align-items: center;
  }
  .about-img-wrap {
    position: relative; aspect-ratio: 3/2;
    border-radius: 28px;
    overflow: hidden; box-shadow: var(--shadow-soft);
    background: linear-gradient(135deg, var(--cream-warm) 0%, var(--rose) 100%);
    display: flex; align-items: center; justify-content: center;
  }
  .about-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
  .about-img-wrap.placeholder::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(147, 16, 34, 0.25) 0%, transparent 45%),
                      radial-gradient(circle at 80% 70%, rgba(74, 10, 19, 0.2) 0%, transparent 50%);
  }
  .about-img-wrap .placeholder-icon {
    position: relative;
    color: var(--burgundy-deep);
    opacity: 0.75;
  }
  .about blockquote {
    font-family: var(--font-heading);
    font-size: 1.3rem; font-weight: 400; line-height: 1.5;
    color: var(--burgundy-deep); font-style: italic;
    margin-top: 22px; padding-left: 22px;
    border-left: 2px solid var(--burgundy);
  }
  .team-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-top: 36px; padding-top: 32px;
    border-top: 1px solid rgba(147, 16, 34, 0.12);
  }
  .team-stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem; color: var(--burgundy);
    font-weight: 500; line-height: 1;
  }
  .team-stat-label {
    font-size: 0.82rem; color: var(--ink-soft); margin-top: 4px;
  }

  /* Process */
  .process { background: var(--cream-warm); }
  .steps {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .step {
    background: var(--cream); padding: 32px 26px;
    border-radius: 20px; position: relative;
  }
  .step-num {
    width: 36px; height: 36px;
    background: var(--burgundy); color: var(--cream);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600; font-size: 1rem;
    margin-bottom: 16px;
  }
  .step h3 { font-size: 1.15rem; margin-bottom: 8px; }
  .step p { font-size: 0.92rem; }

  /* Contact */
  .contact { background: var(--cream); padding-bottom: 120px; }
  .contact-grid {
    display: grid; grid-template-columns: 1fr 1.3fr;
    gap: 60px; align-items: start;
  }
  .contact-info { padding-top: 20px; }
  .contact-info h2 { margin-bottom: 20px; }
  .contact-info p { margin-bottom: 32px; font-size: 1.08rem; }
  .contact-channels { display: grid; gap: 20px; }
  .contact-channel {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(147, 16, 34, 0.1);
  }
  .contact-channel:last-child { border-bottom: none; }
  .channel-icon {
    width: 42px; height: 42px;
    background: var(--cream-warm); color: var(--burgundy);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .channel-label {
    display: block;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--burgundy); margin-bottom: 3px;
  }
  .channel-value {
    font-family: var(--font-heading);
    font-size: 1.06rem; color: var(--burgundy-deep);
    font-weight: 500;
  }
  .channel-value a { color: var(--burgundy-deep); }
  .channel-value a:hover { color: var(--burgundy); }

  /* Form */
  .contact-form-card {
    background: linear-gradient(135deg, var(--burgundy-deep) 0%, var(--burgundy) 100%);
    border-radius: 32px; padding: 48px 44px;
    color: var(--cream); position: relative; overflow: hidden;
    box-shadow: var(--shadow-soft);
  }
  .contact-form-card::before {
    content: '';
    position: absolute; top: -30%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(217, 68, 63, 0.15) 0%, transparent 60%);
    border-radius: 50%; pointer-events: none;
  }
  .contact-form-card h3 {
    color: var(--cream); font-size: 1.7rem;
    margin-bottom: 8px; position: relative;
  }
  .contact-form-card > p {
    color: rgba(250, 245, 240, 0.8); margin-bottom: 28px;
    position: relative; font-size: 0.96rem;
  }
  .contact-form { position: relative; display: grid; gap: 18px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-field label {
    display: block; font-size: 0.82rem; font-weight: 500;
    color: rgba(250, 245, 240, 0.85); margin-bottom: 6px;
  }
  .form-field input,
  .form-field select,
  .form-field textarea {
    width: 100%; padding: 12px 14px;
    background: rgba(250, 245, 240, 0.08);
    border: 1px solid rgba(250, 245, 240, 0.2);
    border-radius: 10px;
    color: var(--cream);
    font-size: 0.95rem; font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
  }
  .form-field input::placeholder,
  .form-field textarea::placeholder { color: rgba(250, 245, 240, 0.5); }
  .form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none; border-color: var(--rose);
    background: rgba(250, 245, 240, 0.12);
  }
  .form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23FAF5F0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
  }
  .form-field select option { background: var(--burgundy-deep); color: var(--cream); }
  .form-field textarea { resize: vertical; min-height: 110px; font-family: inherit; }
  .form-submit {
    background: var(--cream); color: var(--burgundy-deep);
    border: none; padding: 15px 32px;
    border-radius: 999px;
    font-size: 0.98rem; font-weight: 600; font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    display: inline-flex; align-items: center; gap: 10px;
    align-self: flex-start; margin-top: 4px;
  }
  .form-submit:hover { background: white; transform: translateY(-2px); }
  .form-note { font-size: 0.78rem; color: rgba(250, 245, 240, 0.65); margin-top: 10px; line-height: 1.5; }
  .form-success {
    display: none;
    background: rgba(250, 245, 240, 0.15);
    border: 1px solid rgba(250, 245, 240, 0.3);
    border-radius: 12px; padding: 20px; margin-top: 10px;
    color: var(--cream); font-size: 0.96rem;
  }
  .form-success.visible { display: block; }

  /* Footer */
  footer {
    background: var(--burgundy-deep);
    color: rgba(250, 245, 240, 0.85);
    padding: 60px 0 24px;
  }
  .footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 40px;
  }
  /* The logo is maroon, so it sits on a cream panel to stay legible on the dark footer */
  .footer-brand {
    display: inline-block;
    background: var(--cream);
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 14px;
  }
  .footer-logo { display: block; width: 240px; max-width: 100%; height: auto; }
  .footer-slogan {
    font-family: var(--font-heading);
    font-weight: 600; font-size: 1rem !important;
    color: var(--rose) !important;
    margin-bottom: 14px;
  }
  footer p { color: rgba(250, 245, 240, 0.7); font-size: 0.9rem; line-height: 1.6; }
  .footer-col h4 {
    color: var(--cream);
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; margin-bottom: 16px;
    font-family: var(--font-body);
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 8px; }
  .footer-col a { color: rgba(250, 245, 240, 0.75); font-size: 0.88rem; }
  .footer-col a:hover { color: var(--rose); }
  .footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(250, 245, 240, 0.15);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
    font-size: 0.82rem; color: rgba(250, 245, 240, 0.55);
  }

  .reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  /* Fallback: if JS doesn't run or observer fails, show after 1s via animation */
  .no-js .reveal, .reveal.forced-visible {
    opacity: 1 !important; transform: translateY(0) !important;
  }

  @media (max-width: 960px) {
    .pillars { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  }
  @media (max-width: 780px) {
    .nav-links { display: none; }
    .menu-toggle {
      display: flex; flex-direction: column; gap: 4px;
      width: 32px; height: 32px; justify-content: center; align-items: center;
    }
    .logo-img { height: 46px; }
    nav.scrolled .logo-img { height: 42px; }
    .menu-toggle span {
      width: 20px; height: 2px;
      background: var(--burgundy-deep); border-radius: 2px;
    }
    .hero-grid, .audience-grid, .about-grid {
      grid-template-columns: 1fr; gap: 56px;
    }
    .hero-visual { max-width: 340px; margin: 0 auto; }
    .hero-badge { right: 0; bottom: 20px; padding: 12px 16px; max-width: 200px; }
    .hero-card-stat { left: 0; top: 20px; padding: 12px 16px; }
    .hero-accent-dots { right: -20px; bottom: 60px; width: 80px; height: 80px; }
    .hero-accent-ring { left: 20%; width: 70px; height: 70px; }
    .audience-visual, .about-img-wrap { max-width: 380px; margin: 0 auto; width: 100%; }
    .hero { padding: 120px 0 60px; }
    section { padding: 64px 0; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-card { padding: 36px 28px; border-radius: 24px; }
  }
  @media (max-width: 500px) {
    h1 { font-size: 2.05rem; }
    h2 { font-size: 1.75rem; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }
    .steps { grid-template-columns: 1fr; }
    .team-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .team-stat-num { font-size: 1.7rem; }
    .footer-grid { grid-template-columns: 1fr; }
  }


/* ============ Multi-page additions ============ */

/* Skip link */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--burgundy); color: var(--cream);
  padding: 10px 18px; border-radius: 999px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--cream); }
:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; border-radius: 4px; }

/* Nav: active state + services dropdown */
.nav-links a.active { color: var(--burgundy); }
.nav-links a.nav-cta.active { color: var(--cream) !important; }
.has-sub { position: relative; }
.sub-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  font: inherit; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft);
  padding: 0;
}
.sub-toggle:hover, .sub-toggle.active { color: var(--burgundy); }
.sub-toggle svg { transition: transform 0.2s; }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.sub-menu {
  list-style: none;
  position: absolute; top: calc(100% + 16px); left: -20px;
  min-width: 330px;
  background: var(--cream); border-radius: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(147, 16, 34, 0.08);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.has-sub.open .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
@media (hover: hover) and (min-width: 1101px) {
  .has-sub:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .has-sub::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 18px; }
}
.sub-menu a {
  display: block; padding: 10px 14px; border-radius: 12px;
  color: var(--ink) !important;
}
.sub-menu a:hover, .sub-menu a.active { background: var(--cream-warm); }
.sub-menu a strong { display: block; font-family: var(--font-heading); font-weight: 500; color: var(--burgundy-deep); font-size: 1rem; }
.sub-menu a span { display: block; font-size: 0.8rem; color: var(--ink-soft); font-weight: 400; }

/* Mobile menu (hamburger up to 1100px, where the full menu no longer fits) */
@media (max-width: 1100px) {
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 16px; right: 16px;
    background: var(--cream); padding: 18px 20px 22px;
    border-radius: 20px; box-shadow: var(--shadow-soft);
    gap: 6px; max-height: calc(100vh - 90px); overflow-y: auto;
  }
  .nav-links.open > li > a, .nav-links.open .sub-toggle { display: flex; padding: 10px 4px; font-size: 1rem; width: 100%; justify-content: space-between; }
  .nav-links.open .nav-cta { justify-content: center; margin-top: 8px; }
  .nav-links.open .sub-menu {
    position: static; box-shadow: none; border: none; min-width: 0;
    padding: 0 0 6px 8px; display: none;
    opacity: 1; visibility: visible; transform: none; background: transparent;
  }
  .nav-links.open .has-sub.open .sub-menu { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
}

/* Inner page hero */
.page-hero {
  padding: 150px 0 72px;
  background: var(--cream-warm);
  border-bottom: 1px solid rgba(147, 16, 34, 0.08);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  border: 2px solid rgba(147, 16, 34, 0.08); pointer-events: none;
}
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.page-hero-grid.solo { grid-template-columns: minmax(0, 780px); }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); margin-bottom: 20px; }
.page-hero h1 em {
  font-style: normal; color: var(--burgundy);
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero .lead { font-size: 1.12rem; line-height: 1.7; max-width: 600px; margin-bottom: 30px; }
.page-hero-img {
  aspect-ratio: 4/3; border-radius: 32px; overflow: hidden;
  box-shadow: var(--shadow-soft); position: relative; z-index: 1;
}
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumb { font-size: 0.85rem; margin-bottom: 22px; color: var(--ink-soft); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: rgba(74, 10, 19, 0.3); }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--burgundy); }
.breadcrumb [aria-current] { color: var(--burgundy); font-weight: 500; }

/* Pillar links */
.pillar-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px; font-weight: 600; font-size: 0.94rem;
}
.pillar-link svg { transition: transform 0.2s; }
.pillar-link:hover svg { transform: translateX(3px); }
a.pillar { color: inherit; }

/* Service detail: content + sticky aside */
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start; }
.prose { max-width: 700px; }
.prose h2 { margin: 0 0 18px; }
.prose h2:not(:first-child) { margin-top: 64px; }
.prose h3 { margin: 32px 0 10px; }
.prose p { margin-bottom: 16px; font-size: 1.04rem; line-height: 1.75; }
.prose ul { margin: 8px 0 20px; padding-left: 0; list-style: none; }
.prose ul li {
  position: relative; padding: 6px 0 6px 22px;
  color: var(--ink-soft); line-height: 1.6;
}
.prose ul li::before {
  content: ''; position: absolute; left: 2px; top: 16px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--burgundy);
}
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.service-list { display: grid; gap: 0; margin-top: 8px; border-top: 1px solid rgba(147, 16, 34, 0.12); }
.service-item {
  display: grid; grid-template-columns: 220px 1fr; gap: 28px;
  padding: 30px 0; border-bottom: 1px solid rgba(147, 16, 34, 0.12);
}
.service-item h3 { margin: 0; font-size: 1.25rem; }
.service-item .tag { display: block; margin-top: 6px; font-size: 0.8rem; color: var(--ink-soft); font-family: var(--font-body); font-weight: 500; letter-spacing: 0; }
.service-item p { margin-bottom: 10px; }
.service-item ul { margin: 0; }

.aside-card {
  position: sticky; top: 100px;
  background: var(--cream-warm); border-radius: 26px; padding: 30px 28px;
}
.aside-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.aside-card p { font-size: 0.95rem; margin-bottom: 20px; }
.aside-card .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.aside-card .aside-phone {
  display: block; text-align: center; margin-top: 8px;
  font-family: var(--font-heading); font-size: 1.2rem; color: var(--burgundy-deep);
}
.aside-card .aside-note { font-size: 0.82rem; text-align: center; margin: 4px 0 0; }
.aside-links { list-style: none; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(147, 16, 34, 0.12); }
.aside-links li { padding: 5px 0; font-size: 0.92rem; }

/* Callout (e.g. conflict of interest) */
.callout {
  background: var(--cream); border: 1px solid rgba(147, 16, 34, 0.18);
  border-left: 4px solid var(--burgundy);
  border-radius: 6px 20px 20px 6px; padding: 26px 28px; margin: 28px 0;
}
.callout h3 { margin: 0 0 8px; font-size: 1.15rem; }
.callout p:last-child { margin-bottom: 0; }
.section-alt .callout { background: var(--cream); }

.section-alt { background: var(--cream-warm); }
.section-tight { padding: 70px 0; }

/* Fit list (who it suits) */
.fit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.fit-card { background: var(--cream); border-radius: 20px; padding: 26px 24px; }
.section-alt .fit-card { background: var(--cream); }
.services .fit-card, .about .fit-card { background: var(--cream-warm); }
.fit-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.fit-card p { font-size: 0.95rem; }

/* CTA band */
.cta-band { background: var(--burgundy-deep); padding: 80px 0; color: var(--cream); }
.cta-band-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { color: var(--cream); margin-bottom: 14px; }
.cta-band p { color: rgba(250, 245, 240, 0.78); font-size: 1.06rem; }
.cta-band-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-band .btn-primary { background: var(--cream); color: var(--burgundy-deep); box-shadow: none; }
.cta-band .btn-primary:hover { background: #fff; color: var(--burgundy-deep); }
.cta-band .btn-ghost { color: var(--cream); border-color: rgba(250, 245, 240, 0.35); }
.cta-band .btn-ghost:hover { background: rgba(250, 245, 240, 0.08); border-color: var(--cream); }
.cta-band .cta-phone { color: rgba(250, 245, 240, 0.8); font-size: 0.95rem; }
.cta-band .cta-phone a { color: var(--cream); font-weight: 600; }

/* Referrer strip on home */
.referrer-strip {
  display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center;
  background: var(--cream); border: 1px solid rgba(147, 16, 34, 0.14);
  border-radius: 28px; padding: 40px 44px;
}
.referrer-strip h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 10px; }
.referrer-strip p { max-width: 620px; }

/* Home about teaser */
.about-teaser .about-img-wrap { aspect-ratio: 3/2; }

/* FAQ */
.faq-group { margin-bottom: 56px; }
.faq-group > h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 18px; }
.faq-list { border-top: 1px solid rgba(147, 16, 34, 0.14); }
.faq-list details { border-bottom: 1px solid rgba(147, 16, 34, 0.14); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font-family: var(--font-heading); font-size: 1.14rem; font-weight: 500; color: var(--burgundy-deep);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--cream-warm); color: var(--burgundy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: 1.2rem; font-weight: 400;
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 50px 24px 0; }
.faq-answer p { margin-bottom: 12px; line-height: 1.7; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { text-decoration: underline; text-underline-offset: 3px; }
.faq-layout { display: grid; grid-template-columns: 220px 1fr; gap: 60px; align-items: start; }
.faq-nav { position: sticky; top: 100px; list-style: none; }
.faq-nav li { margin-bottom: 4px; }
.faq-nav a { display: block; padding: 8px 14px; border-radius: 10px; color: var(--ink-soft); font-size: 0.94rem; }
.faq-nav a:hover { background: var(--cream-warm); color: var(--burgundy); }

/* Forms on referral / feedback pages */
.form-check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: rgba(250, 245, 240, 0.88); line-height: 1.5; }
.form-check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--rose); }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.form-fieldset { border: none; }
.form-fieldset legend { display: block; font-size: 0.82rem; font-weight: 500; color: rgba(250, 245, 240, 0.85); margin-bottom: 10px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: start; }
.form-section-title { font-family: var(--font-heading); color: var(--cream); font-size: 1.15rem; margin: 10px 0 2px; padding-top: 16px; border-top: 1px solid rgba(250, 245, 240, 0.15); }

/* Steps list (vertical) */
.vsteps { list-style: none; counter-reset: vstep; display: grid; gap: 0; }
.vsteps li { counter-increment: vstep; position: relative; padding: 0 0 28px 58px; }
.vsteps li::before {
  content: counter(vstep);
  position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--burgundy); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 600;
}
.vsteps li::after {
  content: ''; position: absolute; left: 18px; top: 44px; bottom: 6px;
  width: 2px; background: rgba(147, 16, 34, 0.15);
}
.vsteps li:last-child::after { display: none; }
.vsteps h3 { font-size: 1.12rem; margin-bottom: 4px; padding-top: 6px; }
.vsteps p { font-size: 0.96rem; }

/* Map */
.map-wrap { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 21/8; background: var(--cream-warm); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.urgent-note {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--cream-warm); border-radius: 18px; padding: 20px 22px; margin-top: 28px;
  font-size: 0.92rem; color: var(--ink-soft);
}
.urgent-note strong { color: var(--burgundy-deep); }

/* Legal pages */
.legal .prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: 48px; }
.legal .prose h2:first-child { margin-top: 0; }
.legal-meta { font-size: 0.9rem; color: var(--ink-soft); }
.contact-box { background: var(--cream-warm); border-radius: 20px; padding: 24px 26px; margin: 18px 0 24px; }
.contact-box p { margin-bottom: 6px !important; }

/* Placeholder flag — shows content the business must confirm before launch */
.todo { background: #FFF1B8; color: #5A4500; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
footer .todo { background: rgba(255, 241, 184, 0.9); }

/* Footer additions */
.footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal-links a { color: rgba(250, 245, 240, 0.7); }
.footer-legal-links a:hover { color: var(--rose); }
.ack {
  border-top: 1px solid rgba(250, 245, 240, 0.15);
  padding: 22px 0; margin-bottom: 0;
  font-size: 0.86rem; color: rgba(250, 245, 240, 0.68); line-height: 1.6;
  max-width: 820px;
}
.footer-reg { font-size: 0.84rem !important; margin-top: 6px; }

/* 404 */
.notfound { min-height: 70vh; display: flex; align-items: center; padding-top: 140px; }

@media (max-width: 960px) {
  .detail-grid, .form-grid-2, .cta-band-inner, .page-hero-grid, .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .aside-card { position: static; }
  .faq-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .referrer-strip { grid-template-columns: 1fr; padding: 32px 28px; }
  .map-wrap { aspect-ratio: 4/3; }
}
@media (max-width: 780px) {
  .page-hero { padding: 120px 0 56px; }
  .service-item { grid-template-columns: 1fr; gap: 10px; }
  .check-grid { grid-template-columns: 1fr; }
  .faq-answer { padding-right: 0; }
  .page-hero-img { max-width: 480px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 780px) {
  .trust-items { flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* Branding: keep hover colours readable on dark maroon panels */
footer a:hover, .cta-band a:hover, .values a:hover, .contact-form-card a:hover { color: var(--rose); }

/* Tablet: the full logo is wide, so tighten the nav before it collapses to the menu */
@media (min-width: 781px) and (max-width: 1040px) {
  .logo-img { height: 54px; }
  nav.scrolled .logo-img { height: 48px; }
  .nav-links { gap: 20px; }
  .nav-links a, .sub-toggle { font-size: 0.86rem; }
  .nav-cta { padding: 9px 16px; }
}

/* Top bar: one bold red strip above the main nav, always a single line */
nav { padding: 0; }
.nav-inner { padding-top: 16px; padding-bottom: 16px; transition: padding 0.3s; }
nav.scrolled { padding: 0; }
nav.scrolled .nav-inner { padding-top: 10px; padding-bottom: 10px; }
.topbar {
  background: var(--gradient-brand-ink);
  color: #fff;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.01em;
  line-height: 1; white-space: nowrap;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding-top: 8px; padding-bottom: 8px;
}
.topbar-area, .topbar-contact, .topbar-contact a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-contact { gap: 22px; }
.topbar a { color: #fff; font-weight: 700; }
.topbar a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.topbar svg { flex-shrink: 0; }
.topbar :focus-visible { outline-color: #fff; }
.hero, .page-hero { padding-top: 180px; }
.notfound { padding-top: 170px; }
@media (max-width: 780px) {
  .topbar { font-size: 0.72rem; }
  .topbar-contact { gap: 14px; }
  .hero, .page-hero { padding-top: 140px; }
}
/* Phones: drop the long email text (the icon stays as the email link) so it all fits on one line */
@media (max-width: 600px) {
  .topbar { font-size: 0.7rem; }
  .topbar-inner { padding-left: 14px; padding-right: 14px; gap: 10px; }
  .topbar-email-text { display: none; }
}
@media (max-width: 360px) {
  .topbar { font-size: 0.64rem; }
  .topbar-area svg { display: none; }
}

/* Service page components */
.hero-trust { margin-top: 18px; font-size: 0.85rem !important; font-weight: 600; color: var(--burgundy) !important; letter-spacing: 0.01em; }
.aside-facts { list-style: none; margin: 4px 0 22px; }
.aside-facts li { padding: 10px 0; border-bottom: 1px solid rgba(147, 16, 34, 0.1); font-size: 0.92rem; color: var(--ink-soft); }
.aside-facts li:first-child { padding-top: 0; }
.aside-facts strong { display: block; font-family: var(--font-heading); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--burgundy); margin-bottom: 2px; }
.section-alt .pillar { background: var(--cream); }
.pillars-compact .pillar { padding: 32px 28px; }
.pillars-compact .pillar p { margin-bottom: 0; }
.pillars-4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillars-4 .pillar { padding: 34px 26px; }
.pillars-4 .pillar h3 { font-size: 1.18rem; }
.fit-grid-tinted .fit-card { background: var(--cream-warm); }
.cta-band-actions-row { flex-direction: row; flex-wrap: wrap; align-items: center; }
.steps-5 { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.steps-5 .step { padding: 28px 22px; }

/* Two-column comparison */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.compare-card { background: var(--cream); border-radius: 28px; padding: 36px 32px; }
.compare-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.compare-card > p { font-size: 0.96rem; margin-bottom: 8px; }
.compare-card .pillar-list { margin-top: 12px; }
.compare-card .pillar-list a { text-decoration: underline; text-underline-offset: 3px; }
.compare-note { margin-top: 28px; max-width: 720px; }

/* For referrers box */
.referrer-box { background: var(--cream-warm); border-radius: 28px; padding: 44px 44px 40px; border-left: 6px solid var(--burgundy); }
.referrer-box h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 10px; }
.referrer-box > div > p { max-width: 680px; }
.referrer-box-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin: 28px 0 30px; }
.referrer-box-cols h3 { font-size: 1.1rem; margin-bottom: 4px; }

/* Homepage specialty strip */
.specialty-strip { background: var(--burgundy-deep); }
.specialty-strip-link { display: flex; align-items: center; gap: 18px; padding: 20px 0; color: var(--cream); }
.specialty-strip-link:hover { color: var(--cream); }
.specialty-strip-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--gradient-brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.specialty-strip-text { flex: 1; }
.specialty-strip-text strong { display: block; font-family: var(--font-heading); font-size: 1.08rem; }
.specialty-strip-text span { font-size: 0.9rem; color: rgba(250, 245, 240, 0.75); }
.specialty-strip-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--rose); white-space: nowrap; }
.specialty-strip-link:hover .specialty-strip-cta svg { transform: translateX(3px); }
.specialty-strip-cta svg { transition: transform 0.2s; }

@media (max-width: 1100px) {
  .pillars-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 780px) {
  .compare-grid, .referrer-box-cols { grid-template-columns: 1fr; }
  .steps-5 { grid-template-columns: repeat(2, 1fr); }
  .referrer-box { padding: 32px 24px; }
  .specialty-strip-link { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .pillars-4, .steps-5 { grid-template-columns: 1fr; }
}

/* ============ Rich page template components ============ */

/* Rich hero: text + image slot + trust badges */
.rich-hero .page-hero-grid { grid-template-columns: 1.05fr 1fr; }
.rich-hero .hero-kicker { margin-bottom: 16px; }
.rich-hero-img .img-slot { box-shadow: var(--shadow-soft); }
.trust-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 22px; }
.trust-badges li {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--cream); border: 1px solid rgba(147, 16, 34, 0.14);
  color: var(--burgundy-deep); font-size: 0.8rem; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
}
.trust-badges svg { color: var(--burgundy); }

/* Image slot: one aspect ratio everywhere; branded panel when no photo exists */
.img-slot { margin: 0; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: var(--cream-warm); position: relative; }
.img-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-slot-panel {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 18% 22%, rgba(217, 68, 63, 0.22) 0, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(147, 16, 34, 0.18) 0, transparent 50%),
    linear-gradient(135deg, #F7E3DE 0%, #EFD3CF 100%);
}
.img-slot-panel::after {
  content: ''; position: absolute; inset: 18px; border-radius: 20px;
  border: 1.5px dashed rgba(147, 16, 34, 0.16); pointer-events: none;
}
.img-slot-icon {
  width: 96px; height: 96px; border-radius: 28px;
  background: var(--gradient-brand); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-warm);
}

/* Image + text block, alternating sides */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split-reverse .split-media { order: 2; }
.split-body h2 { margin-bottom: 18px; }
.split-body p { margin-bottom: 14px; line-height: 1.75; }
.split-body p:last-child { margin-bottom: 0; }
.split-body a { text-decoration: underline; text-underline-offset: 3px; }
.split-body .ticklist { margin: 6px 0 18px; }

/* Tick list */
.ticklist { list-style: none; display: grid; gap: 12px; }
.ticklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); line-height: 1.55; }
.ticklist .tick {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  background: var(--burgundy); color: var(--cream);
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700;
}

/* Icon card grid */
.card-grid { display: grid; gap: 22px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.icard { background: var(--cream-warm); border-radius: 24px; padding: 30px 26px; transition: transform 0.3s, box-shadow 0.3s; }
.section-alt .icard, .process .icard { background: var(--cream); }
.icard:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.icard .pillar-icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px; }
.icard h3 { font-size: 1.12rem; margin-bottom: 8px; }
.icard p { font-size: 0.95rem; }
.icard a { text-decoration: underline; text-underline-offset: 3px; }

/* "How it looks in practice" story box */
.story-box {
  background: var(--cream); border-radius: 28px; padding: 40px 44px;
  border-left: 6px solid var(--coral); box-shadow: var(--shadow-soft); max-width: 900px;
}
.story-box + .story-box { margin-top: 28px; }
.story-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cream-warm); color: var(--burgundy-deep);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.story-box h3 { font-size: 1.35rem; margin-bottom: 14px; }
.story-box p { margin-bottom: 12px; line-height: 1.75; }
.story-box p:last-child { margin-bottom: 0; }

/* Funding explainer box */
.funding-box {
  display: grid; grid-template-columns: 64px 1fr; gap: 28px;
  background: var(--cream); border: 1px solid rgba(147, 16, 34, 0.12);
  border-radius: 28px; padding: 44px;
}
.funding-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--gradient-brand); color: var(--cream); display: flex; align-items: center; justify-content: center; }
.funding-box h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 16px; }
.funding-box h3 { font-size: 1.12rem; margin: 26px 0 12px; }
.funding-box p { margin-bottom: 12px; line-height: 1.75; }
.funding-box ul.ticklist { margin: 4px 0 8px; }
.plan-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan-types div { background: var(--cream-warm); border-radius: 18px; padding: 18px 18px; }
.plan-types dt { font-family: var(--font-heading); font-weight: 700; color: var(--burgundy-deep); margin-bottom: 6px; }
.plan-types dd { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.55; }

/* Related services */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.related-card { display: flex; flex-direction: column; background: var(--cream); border-radius: 24px; padding: 30px 26px; color: inherit; transition: transform 0.3s, box-shadow 0.3s; }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); color: inherit; }
.related-card .pillar-icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px; }
.related-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.related-card p { font-size: 0.94rem; margin-bottom: 16px; }
.related-card .pillar-link { margin-top: auto; }

/* Partner strip */
.partner-strip { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.partner-strip li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cream-warm); color: var(--burgundy-deep);
  font-weight: 600; font-size: 0.92rem; padding: 12px 18px; border-radius: 999px;
}
.partner-strip svg { color: var(--burgundy); }

/* Team cards with initials fallback */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { background: var(--cream); border-radius: 24px; padding: 28px 24px; text-align: center; }
.team-photo {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 18px; overflow: hidden;
  background: var(--gradient-brand); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 2rem; letter-spacing: 0.04em;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.08rem; margin-bottom: 4px; }
.team-role { font-size: 0.85rem !important; font-weight: 600; color: var(--burgundy) !important; margin-bottom: 10px; }
.team-card p { font-size: 0.92rem; }

/* Quality list + acknowledgement */
.quality-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quality-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--cream-warm); padding: 18px 20px; border-radius: 18px; }
.quality-list .pillar-icon { width: 40px; height: 40px; border-radius: 12px; margin: 0; flex-shrink: 0; }
.quality-list strong { display: block; font-family: var(--font-heading); color: var(--burgundy-deep); margin-bottom: 2px; }
.quality-list span { font-size: 0.93rem; color: var(--ink-soft); }
.ack-block { background: var(--burgundy-deep); color: var(--cream); border-radius: 28px; padding: 44px; text-align: center; }
.ack-block h2 { color: var(--cream); margin-bottom: 14px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.ack-block p { color: rgba(250, 245, 240, 0.82); max-width: 760px; margin: 0 auto; line-height: 1.75; }

/* Mission / vision statements */
.statement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 40px; }
.statement { background: var(--burgundy-deep); color: var(--cream); border-radius: 24px; padding: 32px 30px; }
.statement h3 { color: var(--rose); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.statement p { color: var(--cream); font-family: var(--font-heading); font-size: 1.2rem; line-height: 1.5; font-weight: 500; }
.card-grid-5 { grid-template-columns: repeat(5, 1fr); }

/* Area cards (homepage "Where we work", location pages) */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.area-card { background: var(--cream); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.area-card .img-slot { border-radius: 0; }
.area-card-body { padding: 30px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.area-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.area-card p { margin-bottom: 16px; }
.area-card .pillar-link { margin-top: auto; }
.region-list { columns: 2; column-gap: 28px; list-style: none; margin: 6px 0 16px; }
.region-list li { padding: 6px 0; break-inside: avoid; color: var(--ink); }
.region-list li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--burgundy); margin-right: 10px; vertical-align: middle; }

@media (max-width: 1100px) {
  .card-grid-4, .card-grid-5, .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-reverse .split-media { order: 0; }
  .split-media { max-width: 560px; }
  .rich-hero .page-hero-grid { grid-template-columns: 1fr; }
  .rich-hero-img { max-width: 560px; }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .plan-types, .quality-list, .statement-grid, .area-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .card-grid-3, .card-grid-4, .card-grid-5, .team-grid { grid-template-columns: 1fr; }
  .funding-box { grid-template-columns: 1fr; padding: 30px 24px; gap: 18px; }
  .story-box { padding: 30px 24px; }
  .ack-block { padding: 32px 22px; }
  .region-list { columns: 1; }
  .img-slot { border-radius: 22px; }
}
@media (min-width: 781px) { .about-grid-reverse > :first-child { order: 2; } }
/* Long email addresses must wrap on narrow screens */
.split > *, .contact-grid > * { min-width: 0; }
.btn-wrap { white-space: normal; text-align: center; overflow-wrap: anywhere; justify-content: center; }
.channel-value, .footer-col a { overflow-wrap: anywhere; }

/* Tablet / small laptop: use the hamburger menu (phone rules for the toggle are in the 780px block) */
@media (min-width: 781px) and (max-width: 1100px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; flex-direction: column; gap: 4px; width: 32px; height: 32px; justify-content: center; align-items: center; }
  .menu-toggle span { width: 20px; height: 2px; background: var(--burgundy-deep); border-radius: 2px; }
  .nav-links.open { left: auto; right: 24px; width: 380px; }
}
/* Footer: brand + four link columns */
.footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col li { font-size: 0.88rem; color: rgba(250, 245, 240, 0.75); }

/* ============ Simplified layout (alternating sections) ============ */
main > section:not(.cta-band) { padding: 88px 0; }
@media (max-width: 780px) { main > section:not(.cta-band) { padding: 60px 0; } }
.section-alt { background: var(--cream-warm); }

/* Cards keep contrast whichever background they sit on */
main > section:not(.section-alt) .compare-card,
main > section:not(.section-alt) .team-card,
main > section:not(.section-alt) .area-card,
main > section:not(.section-alt) .state-card,
main > section:not(.section-alt) .level-card,
main > section:not(.section-alt) .related-card,
main > section:not(.section-alt) .which-list > div { background: var(--cream-warm); }
.section-alt .partner-strip li, .section-alt .quality-list li, .section-alt .plan-types div { background: var(--cream); }
.section-alt .story-box { box-shadow: none; }
main > section:not(.section-alt) .story-box { background: var(--cream-warm); box-shadow: none; }
main > section:not(.section-alt) .funding-box { background: var(--cream-warm); border-color: transparent; }

/* Full-width text block (used where a section has no photo) */
.text-block { max-width: 920px; }
.text-block h2 { margin-bottom: 18px; }
.text-block > p { margin-bottom: 14px; line-height: 1.75; max-width: 780px; }
.text-block a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.text-block .card-grid { margin-top: 26px; }
.text-block .ticklist { margin: 8px 0 18px; }
.ticklist-2 { grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.sub-head { margin: 48px 0 22px; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.split-body .story-box { margin-top: 22px; padding: 30px 30px; }
.faq-more { margin-top: 26px; }

/* Short funding box on service pages */
.funding-box-short h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 12px; }
.funding-box .faq-list { margin-top: 4px; }

/* Compare the levels */
.level-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.level-card { background: var(--cream); border-radius: 24px; padding: 28px 24px; display: flex; flex-direction: column; }
.level-card .pillar-icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px; }
.level-card h3 { font-size: 1.1rem; margin-bottom: 14px; }
.level-card dl { margin-bottom: 18px; }
.level-card dt { font-family: var(--font-heading); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--burgundy); margin-top: 12px; }
.level-card dd { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.55; margin-top: 3px; }
.level-card .pillar-link { margin-top: auto; }
.which-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.which-list > div { background: var(--cream); border-radius: 20px; padding: 24px 26px; border-left: 5px solid var(--coral); }
.which-list h3 { font-size: 1.05rem; margin-bottom: 6px; }
.which-list p { font-size: 0.95rem; }

/* Where we work */
.state-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.state-card { background: var(--cream); border-radius: 28px; padding: 34px 32px; scroll-margin-top: 140px; }
.state-card .pillar-icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px; }
.state-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.state-card h4 { font-family: var(--font-heading); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--burgundy); margin: 22px 0 8px; }
.state-card .state-note { font-size: 0.9rem; }
.state-card .pillar-list { border-top: none; padding-top: 0; }
.state-card .pillar-list a { color: var(--ink); }
.state-card .pillar-list a:hover { color: var(--coral-ink); }
a.area-card { color: inherit; transition: transform 0.3s, box-shadow 0.3s; }
a.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); color: inherit; }
.area-card .pillar-icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px; }
.area-grid-small { max-width: 900px; }

/* CTA band: optional row of links to other services */
.cta-links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(250, 245, 240, 0.15); font-size: 0.92rem; }
.cta-links span { color: rgba(250, 245, 240, 0.65); font-weight: 600; }
.cta-links a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(250, 245, 240, 0.35); }
.cta-links a:hover { color: var(--rose); }

@media (max-width: 1100px) { .level-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 780px) {
  .state-grid, .which-list, .ticklist-2 { grid-template-columns: 1fr; }
  .state-card { padding: 28px 22px; }
}
@media (max-width: 640px) { .level-grid { grid-template-columns: 1fr; } }
/* Legal links in the footer's bottom strip: easier to see */
.footer-legal-links a { color: rgba(250, 245, 240, 0.85); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(250, 245, 240, 0.35); }
