:root {
      --primary: #8e4cdc;
      --primary-deep: #6f34bb;
      --secondary: #1f96ab;
      --secondary-bright: #33bfd4;
      --ink: #1d2554;
      --text: #55617b;
      --muted: #7f88a4;
      --white: #ffffff;
      --bg: #fcfbff;
      --card: rgba(255,255,255,.9);
      --border: rgba(142,76,220,.12);
      --shadow: 0 24px 70px rgba(49, 48, 88, 0.12);
      --shadow-soft: 0 14px 34px rgba(49, 48, 88, 0.09);
      --radius-xl: 34px;
      --radius-lg: 26px;
      --radius-md: 22px;
      --radius-sm: 16px;
      --max: 1220px;
      --cta-grad: linear-gradient(90deg, #7f43d3 0%, #26adc2 100%);
      --hero-grad: linear-gradient(90deg, #efe6fb 0%, #eef7ff 50%, #e6f9fb 100%);
      --contact-grad: linear-gradient(90deg, #7d45d1 0%, #22b0c4 100%);
      --saint-background-image: url('https://saintsolutions.ca/saint-background.webp');
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at left top, rgba(142,76,220,.06), transparent 24%),
        radial-gradient(circle at right top, rgba(31,150,171,.08), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #fcfbff 55%, #fbf9ff 100%);
      overflow-x: hidden;
    }

    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }
    button, input, textarea { font: inherit; }
    .container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
    .section { padding: 90px 0; position: relative; }

    h1, h2, h3, .script {
      font-family: "Playfair Display", Georgia, serif;
      color: var(--ink);
      margin: 0 0 1rem;
      line-height: 1.06;
    }
    h1 { font-size: clamp(2.45rem, 5.1vw, 4.7rem); letter-spacing: -.045em; }
    h2 { font-size: clamp(2.2rem, 4vw, 3.35rem); letter-spacing: -.03em; }
    h3 { font-size: 1.42rem; letter-spacing: -.02em; }
    p { margin: 0 0 1rem; line-height: 1.7; }
    .lead { font-size: 1.14rem; }

    .button {
      display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
      border: 0; border-radius: 999px; font-weight: 800; cursor: pointer;
      padding: 1rem 1.45rem; transition: transform .24s ease, box-shadow .24s ease, filter .24s ease, background-color .24s ease, border-color .24s ease;
      will-change: transform;
      position: relative;
      overflow: hidden;
    }
    .button::after {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: -45%;
      width: 32%;
      background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.32), rgba(255,255,255,0));
      transform: skewX(-18deg);
      opacity: 0;
      pointer-events: none;
    }
    .button:hover::after {
      opacity: 1;
      animation: buttonSheen .85s ease forwards;
    }
    .button:hover { transform: translateY(-2px); }
    .button.primary {
      color: #fff; background: var(--cta-grad); box-shadow: 0 16px 38px rgba(126,67,209,.22);
    }
    .button.primary:hover {
      transform: translateY(-3px) scale(1.02);
      box-shadow: 0 22px 46px rgba(126,67,209,.28);
      filter: saturate(1.06);
    }
    .button.secondary {
      background: rgba(255,255,255,.76); color: var(--secondary); border: 1.5px solid rgba(31,150,171,.45);
    }
    .button.secondary:hover {
      transform: translateY(-3px) scale(1.02);
      box-shadow: 0 18px 38px rgba(31,150,171,.14);
      background: rgba(255,255,255,.92);
      border-color: rgba(31,150,171,.62);
    }

    .site-header {
      position: sticky; top: 0; z-index: 100;
      background: rgba(255,255,255,.45);
      backdrop-filter: blur(18px) saturate(140%);
      -webkit-backdrop-filter: blur(18px) saturate(140%);
      border-bottom: 1px solid rgba(255,255,255,.3);
      box-shadow: 0 10px 30px rgba(0,0,0,.06);
      transition: background-color .28s ease, border-color .28s ease, box-shadow .28s ease, backdrop-filter .28s ease;
    }
    .site-header.is-scrolled {
      background: rgba(255,255,255,.72);
      border-bottom: 1px solid rgba(255,255,255,.45);
      box-shadow: 0 14px 34px rgba(0,0,0,.09);
      backdrop-filter: blur(20px) saturate(150%);
      -webkit-backdrop-filter: blur(20px) saturate(150%);
    }
    .nav {
      min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
      position: relative;
    }
    .brand img {
      width: 126px; height: auto; filter: drop-shadow(0 10px 20px rgba(142,76,220,.1));
      transition: transform .3s ease, filter .3s ease;
    }
    .brand:hover img {
      transform: translateY(-2px) scale(1.03);
      filter: drop-shadow(0 16px 26px rgba(142,76,220,.18));
    }

    .nav-links {
      display: flex; align-items: center; gap: 2.2rem; color: var(--ink);
    }
    .nav-links > a {
      font-weight: 700; position: relative; padding: .3rem 0;
    }
    /* Ensure CTA button matches hero sizing */
    .nav-links .button {
      padding: 1rem 1.45rem;
      font-size: 0.98rem;
    }
    .nav-links > a:not(.button)::after {
      content: ""; position: absolute; left: 0; right: 0; bottom: -.55rem; height: 3px;
      background: linear-gradient(90deg, var(--primary), var(--secondary));
      border-radius: 999px; transform: scaleX(0); opacity: 0; transition: .22s ease;
    }
    .nav-links > a:not(.button) {
      transition: color .22s ease, transform .22s ease;
    }
    .nav-links > a:not(.button):hover {
      color: var(--primary);
      transform: translateY(-1px);
    }
    .nav-links > a:not(.button):hover::after,
    .nav-links > a.active:not(.button)::after { transform: scaleX(1); opacity: 1; }

    .menu-toggle {
      display: none;
      width: 52px; height: 52px; border: 1px solid var(--border); border-radius: 18px;
      background: rgba(255,255,255,.95); box-shadow: var(--shadow-soft);
      align-items: center; justify-content: center; flex-direction: column; gap: 5px;
      cursor: pointer;
    }
    .menu-toggle span {
      width: 22px; height: 2px; background: var(--ink); border-radius: 999px; transition: .22s ease;
    }

    .hero { padding-top: 0; }
    .hero-shell {
      position: relative; min-height: 760px; overflow: hidden;
      background:
        linear-gradient(90deg, rgba(239,230,251,.72) 0%, rgba(238,247,255,.68) 50%, rgba(230,249,251,.7) 100%),
        var(--saint-background-image) center calc(100% + var(--hero-bg-y, 0px)) / cover no-repeat;
      box-shadow: inset 0 -1px 0 rgba(255,255,255,.6);
    }
    .hero-shell::before {
      content: "";
      position: absolute; inset: 0;
      background: linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,.22), rgba(255,255,255,.12));
      pointer-events: none;
      opacity: .9;
    }
    .hero-grid {
      position: relative; z-index: 10;
      display: grid; grid-template-columns: .92fr 1.08fr; gap: 1.4rem; align-items: center;
      padding: 84px 0 132px;
    }
    .eyebrow {
      display: inline-block; margin-bottom: 1rem; font-size: .98rem; font-weight: 800;
      text-transform: uppercase; letter-spacing: .16em; color: var(--secondary);
    }
    .hero-title { max-width: 11.5ch; }
    .hero-copy .lead { max-width: 52ch; color: #48516e; font-size: 1.18rem; }
    .hero-actions {
      display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem;
      position: relative;
      z-index: 20;
      pointer-events: auto;
    }
    .hero-trust-row {
      display: flex; flex-wrap: wrap; gap: .65rem;
      margin-top: 1.25rem;
      max-width: 520px;
    }
    .hero-trust-pill {
      display: inline-flex; align-items: center; gap: .4rem;
      padding: .52rem .78rem;
      border-radius: 999px;
      background: rgba(255,255,255,.58);
      border: 1px solid rgba(142,76,220,.1);
      color: #53607c;
      font-size: .88rem;
      font-weight: 700;
      box-shadow: 0 10px 22px rgba(49,48,88,.06);
      backdrop-filter: blur(10px);
    }
    .hero-trust-pill::before {
      content: "";
      width: 7px; height: 7px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      flex-shrink: 0;
    }
    .hero-cta {
      position: relative;
      overflow: hidden;
      transform-origin: center;
      transition: transform .28s ease, box-shadow .28s ease, filter .28s ease, background-color .28s ease, border-color .28s ease;
      backface-visibility: hidden;
      z-index: 21;
      pointer-events: auto;
    }
    .hero-cta.is-hovering {
      transform: translateY(-9px) scale(1.055) !important;
    }
    .hero-cta-primary.is-hovering {
      box-shadow: 0 30px 62px rgba(126,67,209,.38) !important;
      filter: saturate(1.16) brightness(1.05) !important;
    }
    .hero-cta-secondary.is-hovering {
      background: rgba(255,255,255,.98) !important;
      border-color: rgba(31,150,171,.8) !important;
      box-shadow: 0 24px 48px rgba(31,150,171,.24) !important;
    }
    .hero-cta-primary.is-hovering span[aria-hidden="true"] {
      transform: translateX(7px) !important;
    }
    .hero-cta::before {
      content: "";
      position: absolute;
      inset: -2px;
      border-radius: inherit;
      opacity: 0;
      transition: opacity .28s ease;
      pointer-events: none;
    }
    .hero-cta::after {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: -35%;
      width: 30%;
      background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.32), rgba(255,255,255,0));
      transform: skewX(-20deg);
      opacity: 0;
      pointer-events: none;
    }
    .hero-cta:hover {
      transform: translateY(-4px) scale(1.03);
      box-shadow: 0 18px 40px rgba(0,0,0,.12);
    }
    .hero-cta:hover::after {
      opacity: 1;
      animation: heroButtonSheen .9s ease forwards;
    }
    .hero-cta-primary:hover {
      transform: translateY(-5px) scale(1.05);
      box-shadow: 0 28px 56px rgba(126,67,209,.36);
      filter: saturate(1.14) brightness(1.04);
    }
    .hero-cta-primary:hover::before {
      opacity: 1;
      box-shadow: 0 0 0 8px rgba(126,67,209,.08);
    }
    .hero-cta-secondary:hover {
      transform: translateY(-5px) scale(1.05);
      box-shadow: 0 22px 44px rgba(31,150,171,.22);
      background: rgba(255,255,255,.98);
      border-color: rgba(31,150,171,.78);
    }
    .hero-cta-secondary:hover::before {
      opacity: 1;
      box-shadow: 0 0 0 8px rgba(31,150,171,.08);
    }
    .hero-cta span[aria-hidden="true"] {
      display: inline-block;
      transition: transform .28s ease;
    }
    .hero-cta-primary:hover span[aria-hidden="true"] {
      transform: translateX(6px);
    }

    .hero-visual { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; }
    .hero-logo {
      width: min(100%, 600px);
      position: absolute; left: 50%; top: 48%; transform: translate(-50%, -44%);
      z-index: 3; filter: drop-shadow(0 28px 32px rgba(72, 65, 110, .15));
      animation: floatLogo 8s ease-in-out infinite;
    }

    .hero-panel { display: none; }
    .hero-panel-item {
      display: flex; align-items: center; gap: .95rem; padding: .75rem 0;
      color: #4d5578; font-weight: 700;
    }
    .hero-panel hr {
      border: 0; height: 1px; background: linear-gradient(90deg, rgba(142,76,220,.1), rgba(31,150,171,.2), rgba(31,150,171,0));
      margin: 1rem 0 1.1rem;
    }
    .hero-panel-note {
      display: flex; align-items: center; gap: .6rem; color: var(--primary); font-weight: 700; font-size: .96rem;
    }

    .icon-round {
      width: 54px; height: 54px; border-radius: 50%;
      display: grid; place-items: center; flex-shrink: 0;
      background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(242,240,255,.96));
      color: var(--primary); border: 1px solid rgba(142,76,220,.1); box-shadow: var(--shadow-soft);
      transition: transform .28s ease, box-shadow .28s ease, background .28s ease, border-color .28s ease, filter .28s ease;
      will-change: transform;
      position: relative; overflow: hidden;
    }

    .icon-round::before {
      content: "";
      position: absolute; inset: -18px;
      background: radial-gradient(circle, rgba(142,76,220,.25), transparent 60%);
      opacity: 0; transition: opacity .28s ease;
    }

    .hero-panel-item:hover .icon-round {
      transform: translateY(-5px) scale(1.08);
      box-shadow: 0 18px 38px rgba(142,76,220,.25);
      background: linear-gradient(180deg, rgba(255,255,255,1), rgba(243,250,253,.98));
      border-color: rgba(142,76,220,.25);
      filter: saturate(1.08);
    }

    .hero-panel-item:hover .icon-round::before {
      opacity: 1;
    }

    .hero-panel-item:hover .icon-round svg {
      transform: translateY(-2px) scale(1.05);
      transition: transform .28s ease;
    }
    .icon-round.small { width: 44px; height: 44px; }
    .icon-round.contact {
      width: 42px; height: 42px;
      background: rgba(255,255,255,.14);
      color: #fff;
      border-color: rgba(255,255,255,.18);
      box-shadow: none;
      transition: transform .28s ease, box-shadow .28s ease, background .28s ease, border-color .28s ease;
      animation: contactPulse 4s ease-in-out infinite;
    }

    .contact-item:hover .icon-round.contact {
      transform: translateY(-4px) scale(1.08);
      background: rgba(255,255,255,.22);
      border-color: rgba(255,255,255,.35);
      box-shadow: 0 14px 30px rgba(0,0,0,.18);
      animation: none;
    }

    .contact-item:hover .icon-round.contact svg {
      transform: translateY(-2px) scale(1.08);
      transition: transform .28s ease;
    }

    .decor-feather, .decor-feather-soft, .sparkle {
      position: absolute; pointer-events: none; z-index: 1;
    }
    .decor-feather svg, .decor-feather-soft svg { display: block; width: 100%; height: auto; }
    .hero-feather-a { width: 56px; left: 48%; top: 44px; opacity: .7; animation: featherDrift 11s ease-in-out infinite; }
    .hero-feather-b { width: 76px; right: 48px; top: 26px; opacity: .7; animation: featherDrift 10s ease-in-out infinite 1.2s; }
    .hero-feather-c { width: 50px; right: 78px; bottom: 90px; opacity: .74; animation: featherDrift 9s ease-in-out infinite 2.5s; }
    .hero-feather-d { width: 52px; left: 29%; bottom: 120px; opacity: .4; animation: featherDrift 12s ease-in-out infinite 1.9s; }

    .sparkle {
      width: 9px; height: 9px; background: rgba(255,255,255,.95); transform: rotate(45deg);
      border-radius: 2px; box-shadow: 0 0 18px rgba(255,255,255,.85); animation: twinkle 4s ease-in-out infinite;
    }
    .sp1 { right: 255px; top: 134px; }
    .sp2 { right: 220px; top: 170px; width: 6px; height: 6px; animation-delay: 1.2s; }
    .sp3 { right: 170px; top: 122px; width: 7px; height: 7px; animation-delay: 2.1s; }

    .hero-wave-wrap {
      position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; pointer-events: none;
      height: clamp(150px, 17vw, 260px);
      background: var(--saint-background-image) center bottom / cover no-repeat;
      animation: wavePulse 9s ease-in-out infinite;
    }
    .hero-wave-wrap::after {
      content: "";
      position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
      background: linear-gradient(180deg, rgba(255,255,255,0), #ffffff 88%);
    }
    .hero-wave { display: none; }
    .hero-scroll {
      position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 12;
      width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
      background: rgba(255,255,255,.92); border: 1px solid rgba(31,150,171,.14); color: var(--secondary);
      box-shadow: var(--shadow-soft); animation: bob 2.4s ease-in-out infinite;
    }

    .about-grid {
      display: grid; grid-template-columns: .95fr 1.05fr; gap: 2rem; align-items: center;
    }
    .about-main {
      position: relative;
      padding-right: 1rem;
    }
    .about-inline {
      display: grid; grid-template-columns: 86px 1fr; gap: 1.2rem; align-items: start;
      margin-bottom: 1.2rem;
    }
    .about-main p { max-width: 54ch; }
    .about-side-feather {
      position: absolute; left: -6px; top: 220px; width: 54px; opacity: .58;
    }

    .about-visual { position: relative; }
    .about-photo-card {
      position: relative;
      margin: 0;
      transform: translate3d(0, var(--parallax-y, 0px), 0);
      will-change: transform;
    }
    .about-photo-frame {
      position: relative;
      border-radius: 28px;
      background: linear-gradient(135deg, #8e4cdc, #1f96ab);
      box-shadow: var(--shadow);
      z-index: 1;
      transition: box-shadow .35s ease, transform .35s ease;
    }

    .about-photo-frame::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      padding: 2px;
      background: linear-gradient(135deg, rgba(255,255,255,.6), rgba(255,255,255,0));
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }

    .about-photo-frame img {
      display: block;
      width: calc(100% - 6px);
      margin: 3px;
      height: auto;
      aspect-ratio: 4 / 5;
      object-fit: cover;
      border-radius: 24px;
    }

    /* Halo / glow effect behind image */
    .about-photo-card::before {
      content: "";
      position: absolute;
      inset: -40px -30px -30px -30px;
      border-radius: 50%;
      background: radial-gradient(circle at 50% 40%, rgba(142,76,220,.25), rgba(31,150,171,.18) 40%, transparent 70%);
      filter: blur(40px);
      z-index: 0;
      opacity: .9;
      pointer-events: none;
      transition: opacity .35s ease, transform .35s ease;
    }

    /* Subtle glow on hover */
    .about-photo-frame:hover {
      transform: translateY(-4px) scale(1.01);
      box-shadow: 0 28px 60px rgba(142,76,220,.28), 0 0 0 4px rgba(142,76,220,.08);
    }

    .about-photo-card:hover::before {
      opacity: 1;
      transform: scale(1.05);
    }
    .about-photo-caption {
      margin-top: 1rem;
      text-align: center;
      font-family: "Playfair Display", Georgia, serif;
      font-style: italic;
      font-size: clamp(1.05rem, 2vw, 1.35rem);
      color: var(--ink);
      opacity: .88;
      transition: transform .3s ease, opacity .3s ease;
    }
    .about-photo-card:hover .about-photo-caption {
      transform: translateY(-2px);
      opacity: 1;
    }
    .about-corner-feather {
      position: absolute; right: -8px; bottom: 48px; width: 56px; opacity: .55; z-index: 3;
    }

    .wing-divider {
      position: relative; width: 100%; margin: 10px 0 0; z-index: 2;
      height: clamp(105px, 12vw, 175px);
      overflow: hidden;
      border-radius: 0;
      background: var(--saint-background-image) center calc(100% + var(--parallax-y, 0px)) / cover no-repeat;
      opacity: .92;
      animation: featherSway 10s ease-in-out infinite;
    }
    .wing-divider::before {
      content: "";
      position: absolute; inset: 0;
      background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.1) 42%, rgba(255,255,255,.96) 100%);
      pointer-events: none;
    }
    .wing-divider svg { display: none; }
    .wing-divider .sway { animation: none; transform-origin: center; }
    .divider-feather-left, .divider-feather-right {
      position: absolute; bottom: 8px; width: 46px; opacity: .4;
    }
    .divider-feather-left { left: 20px; }
    .divider-feather-right { right: 22px; transform: scaleX(-1); }

    .services { padding-top: 70px; }
    .section-title-center { text-align: center; position: relative; }
    .section-title-center p { margin-left: auto; margin-right: auto; max-width: 600px; }
    .section-title-center .tiny-wing {
      width: 106px; margin: 0 auto 10px; opacity: .86;
      transform-origin: center;
      animation: serviceFeatherFloat 5.5s ease-in-out infinite;
      filter: drop-shadow(0 10px 18px rgba(142,76,220,.14));
    }
    .section-title-center .tiny-wing img {
      transition: transform .35s ease, filter .35s ease;
    }
    .section-title-center:hover .tiny-wing img {
      transform: rotate(5deg) scale(1.06);
      filter: drop-shadow(0 14px 22px rgba(31,150,171,.18));
    }
    .services-grid {
      margin-top: 2.2rem; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.45rem;
    }
    .service-card {
      background: rgba(255,255,255,.9); border: 1px solid rgba(142,76,220,.1); border-radius: 24px;
      box-shadow: var(--shadow-soft); padding: 1.65rem 1.3rem; position: relative; overflow: hidden;
      transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
      will-change: transform;
    }
    .service-card:hover {
      transform: translateY(-10px) scale(1.02);
      box-shadow: 0 34px 70px rgba(49,48,88,.18);
      border-color: rgba(142,76,220,.25);
    }
    .service-card::before {
      content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(142,76,220,.03), rgba(31,150,171,.02)); pointer-events: none;
    }
    .service-icon {
      margin: 0 auto 1rem; width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center;
      color: var(--primary); background: linear-gradient(180deg, rgba(245,240,255,.95), rgba(243,250,253,.95));
      border: 1px solid rgba(142,76,220,.08); box-shadow: var(--shadow-soft);
      transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
      will-change: transform;
      position: relative;
      overflow: hidden;
    }

    /* subtle glow behind icon */
    .service-icon::before {
      content: "";
      position: absolute;
      inset: -20px;
      background: radial-gradient(circle, rgba(142,76,220,.25), transparent 60%);
      opacity: 0;
      transition: opacity .35s ease;
      z-index: 0;
    }

    .service-icon svg {
      position: relative;
      z-index: 1;
      transition: transform .35s ease;
    }
    .service-card:hover .service-icon {
      transform: translateY(-6px) scale(1.08);
      box-shadow: 0 20px 40px rgba(142,76,220,.25);
      background: linear-gradient(180deg, rgba(255,255,255,1), rgba(243,250,253,.98));
    }

    .service-card:hover .service-icon::before {
      opacity: 1;
    }

    .service-card:hover .service-icon svg {
      transform: translateY(-2px) scale(1.05);
    }

    .service-card:hover .service-link {
      transform: translateY(2px);
    }

    .service-link {
      transition: transform .25s ease;
    }

    .service-card h3 { text-align: center; font-size: 1.34rem; min-height: 3.15em; }
    .service-card p { text-align: center; color: #55607b; }
    .service-link {
      width: 100%; display: inline-flex; justify-content: center; align-items: center; gap: .45rem;
      margin-top: .95rem; font-weight: 800; color: var(--primary); cursor: pointer;
    }

    .service-modal {
      position: fixed; inset: 0; z-index: 250;
      display: grid; place-items: center;
      padding: 1.25rem;
      opacity: 0; visibility: hidden; pointer-events: none;
      transition: opacity .24s ease, visibility .24s ease;
    }
    .service-modal.is-open {
      opacity: 1; visibility: visible; pointer-events: auto;
    }
    .service-modal-backdrop {
      position: absolute; inset: 0;
      background: rgba(22, 26, 46, .48);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
    }
    .service-modal-card {
      position: relative; z-index: 1;
      width: min(100%, 760px);
      max-height: min(88vh, 760px);
      overflow: auto;
      background: rgba(255,255,255,.96);
      border: 1px solid rgba(142,76,220,.12);
      border-radius: 28px;
      box-shadow: 0 30px 80px rgba(29, 37, 84, .22);
      padding: 2rem;
    }
    .service-modal-top {
      display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
      margin-bottom: 1.25rem;
    }
    .service-modal-label {
      display: inline-flex; align-items: center; gap: .5rem;
      padding: .42rem .8rem; border-radius: 999px;
      background: linear-gradient(90deg, rgba(142,76,220,.1), rgba(31,150,171,.1));
      color: var(--primary); font-size: .84rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
      margin-bottom: .9rem;
    }
    .service-modal-close {
      width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(142,76,220,.12);
      background: rgba(255,255,255,.92); color: var(--ink); cursor: pointer; flex-shrink: 0;
      display: grid; place-items: center; box-shadow: var(--shadow-soft);
      transition: transform .2s ease, background-color .2s ease;
    }
    .service-modal-close:hover {
      transform: translateY(-1px);
      background: rgba(255,255,255,1);
    }
    .service-modal h3 {
      font-size: clamp(1.8rem, 3vw, 2.4rem);
      margin-bottom: .75rem;
    }
    .service-modal p {
      color: var(--text);
    }
    .service-modal-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem;
    }
    .service-modal-block {
      background: linear-gradient(180deg, rgba(142,76,220,.05), rgba(31,150,171,.04));
      border: 1px solid rgba(142,76,220,.08);
      border-radius: 18px;
      padding: 1rem;
    }
    .service-modal-block strong {
      display: block; color: var(--ink); margin-bottom: .35rem;
    }
    .service-modal-list {
      margin: 1.2rem 0 0; padding-left: 1.2rem;
      color: var(--text);
    }
    .service-modal-list li { margin-bottom: .5rem; }


    .services-floating-feather-a { position: absolute; left: 28px; top: 46px; width: 58px; opacity: .45; }
    .services-floating-feather-b { position: absolute; right: 24px; top: 84px; width: 40px; opacity: .55; }

    .contact-band {
      position: relative; overflow: hidden; background: var(--contact-grad); color: #fff;
    }
    .contact-band::before {
      content: ""; position: absolute; inset: 0;
      background:
        radial-gradient(circle at 2% 50%, rgba(255,255,255,.12), rgba(255,255,255,0) 18%),
        radial-gradient(circle at 95% 18%, rgba(255,255,255,.12), rgba(255,255,255,0) 14%),
        radial-gradient(circle at 86% 82%, rgba(255,255,255,.08), rgba(255,255,255,0) 10%);
      pointer-events: none;
    }
    .contact-band .container {
      position: relative; z-index: 2;
      display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; align-items: stretch;
      padding-top: 72px; padding-bottom: 72px;
    }
    .contact-copy h2, .contact-copy p { color: #fff; }
    .contact-copy .lead { max-width: 30ch; }
    .contact-note {
      display: inline-flex; align-items: center; gap: .45rem;
      margin-top: .35rem;
      padding: .55rem .85rem;
      border-radius: 999px;
      background: rgba(255,255,255,.13);
      border: 1px solid rgba(255,255,255,.18);
      font-weight: 700;
      color: #fff;
    }
    .contact-stack { display: grid; gap: .95rem; margin-top: 1.5rem; }
    .contact-item { display: flex; align-items: center; gap: .85rem; font-weight: 700; }
    .contact-cta-actions {
      display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
      margin-top: 1.8rem;
    }
    .contact-cta-actions .button.secondary-light {
      background: rgba(255,255,255,.14);
      color: #fff;
      border: 1.5px solid rgba(255,255,255,.28);
      box-shadow: none;
    }
    .contact-cta-actions .button.secondary-light:hover {
      background: rgba(255,255,255,.22);
      border-color: rgba(255,255,255,.42);
      box-shadow: 0 18px 38px rgba(0,0,0,.12);
    }
    .contact-cta-note {
      margin-top: 1rem;
      max-width: 38ch;
      color: rgba(255,255,255,.9);
      font-size: .96rem;
      font-weight: 600;
    }

    .contact-form-card {
      background: rgba(255,255,255,.97); border-radius: 24px; padding: 1rem; border: 1px solid rgba(255,255,255,.18); box-shadow: var(--shadow);
      transition: transform .3s ease, box-shadow .3s ease;
      transform: translate3d(0, var(--parallax-y, 0px), 0);
      will-change: transform;
    }
    .contact-form-card:hover {
      transform: translateY(-4px) translate3d(0, var(--parallax-y, 0px), 0);
      box-shadow: 0 30px 72px rgba(49,48,88,.18);
    }
    .contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: .82rem; }
    .contact-form.is-submitting {
      opacity: .72;
      pointer-events: none;
    }
    .form-status {
      display: none;
      margin-top: 1rem;
      padding: 1rem;
      border-radius: 16px;
      font-weight: 700;
      line-height: 1.5;
    }
    .form-status.is-visible { display: block; }
    .form-status.success {
      color: #176f62;
      background: rgba(31,150,171,.10);
      border: 1px solid rgba(31,150,171,.22);
    }
    .form-status.error {
      color: #8b2d4a;
      background: rgba(142,76,220,.08);
      border: 1px solid rgba(142,76,220,.18);
    }
    .field { display: grid; gap: .42rem; }
    .field.full { grid-column: 1 / -1; }
    .field label { font-size: .93rem; font-weight: 700; color: var(--ink); }
    .field input, .field textarea {
      width: 100%; background: #fff; color: var(--ink); border: 1px solid rgba(142,76,220,.12);
      border-radius: 14px; outline: none; padding: .9rem 1rem;
      transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
    }
    .field input:hover, .field textarea:hover {
      border-color: rgba(31,150,171,.34);
      transform: translateY(-1px);
    }
    .field input:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(142,76,220,.08); }
    .field textarea { min-height: 120px; resize: vertical; }

    .success-art {
      position: relative; min-height: 280px; display: grid; place-items: center; text-align: center;
    }
    .success-art .script {
      position: relative;
      z-index: 1; /* ensure text stays above feather */
      color: #fff; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.16;
      text-shadow: 0 12px 28px rgba(0,0,0,.14);
    }
    .success-art .script {
      color: #fff; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.16;
      text-shadow: 0 12px 28px rgba(0,0,0,.14);
    }
    .success-feather { width: 132px; margin: 0 auto 1rem; opacity: .94; animation: featherDrift 10s ease-in-out infinite; }
    .contact-left-wing {
      position: absolute; left: -24px; bottom: 0; width: 120px; opacity: .3;
    }
    .contact-right-feather { position: absolute; right: 18px; top: 30px; width: 120px; opacity: .95; }
    .contact-bottom-feather {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      bottom: -12px; /* move below the text */
      width: 60px;
      opacity: .55;
      z-index: 0; /* sit behind text */
    }

    .footer { background: #7030BB; color: rgba(255,255,255,.94); }
    .footer-inner {
      min-height: 68px; display: grid; grid-template-columns: 1fr auto auto; gap: 1.2rem; align-items: center; font-size: .94rem;
    }
    .footer-links { display: flex; gap: 1.1rem; justify-content: center; }
    .footer-links a {
      transition: color .22s ease, transform .22s ease, opacity .22s ease;
    }
    .footer-links a:hover {
      color: #ffffff;
      opacity: .82;
      transform: translateY(-1px);
    }

    .footer-credit-link {
      position: relative;
      font-weight: 700;
      transition: color .24s ease, opacity .24s ease;
    }

    .footer-credit-link::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -2px;
      width: 100%;
      height: 2px;
      background: linear-gradient(90deg, #ffffff, rgba(255,255,255,.45));
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .24s ease;
    }

    .footer-credit-link:hover {
      color: #ffffff;
      opacity: 1;
    }

    .footer-credit-link:hover::after {
      transform: scaleX(1);
    }
    .footer-social { display: flex; gap: .65rem; justify-content: flex-end; }
    .social {
      width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
      background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12);
      transition: transform .28s ease, box-shadow .28s ease, background .28s ease, border-color .28s ease;
      will-change: transform;
    }
    .social:hover {
      transform: translateY(-3px) scale(1.06);
      background: rgba(255,255,255,.18);
      border-color: rgba(255,255,255,.35);
      box-shadow: 0 12px 26px rgba(0,0,0,.18);
    }
    .social:active {
      transform: translateY(-1px) scale(1.02);
    }

    .reveal {
      opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease;
    }
    .reveal.is-visible { opacity: 1; transform: translateY(0); }
    .delay-1 { transition-delay: .08s; }
    .delay-2 { transition-delay: .18s; }
    .delay-3 { transition-delay: .28s; }
    .delay-4 { transition-delay: .38s; }

    @keyframes floatLogo {
      0%,100% { transform: translate(-50%, -44%) translateY(0); }
      50% { transform: translate(-50%, -44%) translateY(-8px); }
    }
    @keyframes featherDrift {
      0%,100% { transform: translateY(0) rotate(-4deg); }
      50% { transform: translateY(-10px) rotate(4deg); }
    }
    @keyframes twinkle {
      0%,100% { opacity: .45; transform: rotate(45deg) scale(.82); }
      50% { opacity: 1; transform: rotate(45deg) scale(1.08); }
    }
    @keyframes wavePulse {
      0%,100% { transform: translateY(0); }
      50% { transform: translateY(4px); }
    }
    @keyframes bob {
      0%,100% { transform: translateX(-50%) translateY(0); }
      50% { transform: translateX(-50%) translateY(-7px); }
    }
    @keyframes featherSway {
      0%,100% { transform: translateY(0) rotate(0deg) scaleX(1); }
      50% { transform: translateY(4px) rotate(-.65deg) scaleX(1.01); }
    }
    /* Hero button hover uses direct transitions below. */
    @keyframes heroButtonSheen {
      0% { left: -35%; }
      100% { left: 120%; }
    }

    @keyframes contactPulse {
      0%,100% { transform: scale(1); opacity: .95; }
      50% { transform: scale(1.05); opacity: 1; }
    }

    @keyframes buttonSheen {
      0% { left: -45%; }
      100% { left: 120%; }
    }

    @keyframes panelBreath {
      0%,100% { transform: translateY(0); box-shadow: var(--shadow); }
      50% { transform: translateY(-4px); box-shadow: 0 28px 76px rgba(49,48,88,.15); }
    }

    @keyframes serviceFeatherFloat {
      0%,100% { transform: translateY(0) rotate(-2deg); }
      50% { transform: translateY(-8px) rotate(3deg); }
    }

    @keyframes aboutIconFloat {
      0%,100% { transform: translateY(0) rotate(-1deg); }
      50% { transform: translateY(-6px) rotate(1.5deg); }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
      .reveal { opacity: 1; transform: none; }
    }

    @media (max-width: 1100px) {
      .hero-grid, .about-grid, .contact-band .container { grid-template-columns: 1fr; }
      .hero-title { max-width: 10ch; }
      .hero-copy .lead { max-width: 48ch; }
      .hero-visual { min-height: 520px; }
      .hero-panel { display: none; }
      .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
      .contact-band .container { padding-top: 56px; padding-bottom: 56px; }
      .success-art { min-height: 220px; }
      .footer-inner { grid-template-columns: 1fr; text-align: center; }
      .footer-links, .footer-social { justify-content: center; }
    }

    @media (max-width: 860px) {
      .brand img { width: 112px; }
      .menu-toggle { display: inline-flex; }
      .nav-links {
        position: absolute; top: calc(100% + .7rem); left: 0; right: 0;
        display: grid; gap: .35rem; padding: 1rem; background: rgba(255,255,255,.98);
        border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow);
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .22s ease;
        z-index: 20;
      }
      .nav-links > a { padding: .95rem 1rem; border-radius: 14px; }
      .nav-links > a:not(.button)::after { display: none; }
      .nav-links > a:hover { background: linear-gradient(90deg, rgba(142,76,220,.07), rgba(31,150,171,.07)); }
      .nav-links .button { width: 100%; }
      .nav.is-open .nav-links { opacity: 1; visibility: visible; transform: translateY(0); }
      .nav.is-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
      .nav.is-open .menu-toggle span:nth-child(2) { opacity: 0; }
      .nav.is-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

      .hero-shell { min-height: auto; }
      .hero-grid { padding: 52px 0 136px; }
      .hero-visual { min-height: 470px; }
      .hero-panel {
        position: static; width: 100%; margin-top: 1rem; border-radius: 24px;
      }
      .contact-band .container { grid-template-columns: 1fr; }
      .contact-right-feather { width: 88px; }
      .contact-cta-actions .button { width: 100%; }
    }

    @media (min-width: 861px) {
      .nav-links { opacity: 1 !important; visibility: visible !important; transform: none !important; }
      .menu-toggle { display: none !important; }
    }

    @media (max-width: 700px) {
      .section { padding: 76px 0; }
      .hero-grid { padding: 42px 0 126px; }
      .hero-title { max-width: 8.8ch; }
      .hero-copy .lead { font-size: 1.08rem; }
      .hero-actions { flex-direction: column; align-items: stretch; }
      .hero-actions .button { width: 100%; }
      .hero-visual { min-height: 400px; }
      .hero-logo { display: none; }
      .hero-visual { min-height: auto; }
      .about-inline { grid-template-columns: 1fr; }
      .about-main { padding-right: 0; }
      .about-side-feather { display: none; }
      .services-grid { grid-template-columns: 1fr; }
      .contact-form { grid-template-columns: 1fr; }
      .footer-inner { min-height: auto; padding: 1rem 0; }
      .hero-feather-b, .hero-feather-c, .hero-feather-d { display: none; }
      .contact-left-wing { width: 90px; }
      .service-modal-card { padding: 1.35rem; }
      .service-modal-grid { grid-template-columns: 1fr; }
    }
  
    /* FINAL hero CTA hover fix: placed last to override earlier button rules */
    .hero-actions a.hero-cta,
    .hero-actions a.hero-cta:link,
    .hero-actions a.hero-cta:visited {
      position: relative !important;
      top: 0 !important;
      display: inline-flex !important;
      transition: top .22s ease, transform .22s ease, box-shadow .22s ease, filter .22s ease, background-color .22s ease, border-color .22s ease !important;
    }

    .hero-actions a.hero-cta:hover,
    .hero-actions a.hero-cta:focus-visible {
      top: -8px !important;
      transform: scale(1.045) !important;
    }

    .hero-actions a.hero-cta-primary:hover,
    .hero-actions a.hero-cta-primary:focus-visible {
      box-shadow: 0 30px 62px rgba(126,67,209,.38) !important;
      filter: saturate(1.16) brightness(1.05) !important;
    }

    .hero-actions a.hero-cta-secondary:hover,
    .hero-actions a.hero-cta-secondary:focus-visible {
      background: rgba(255,255,255,.98) !important;
      border-color: rgba(31,150,171,.8) !important;
      box-shadow: 0 24px 48px rgba(31,150,171,.24) !important;
    }

    .hero-actions a.hero-cta-primary:hover span[aria-hidden="true"],
    .hero-actions a.hero-cta-primary:focus-visible span[aria-hidden="true"] {
      transform: translateX(7px) !important;
    }
  
    .about-feather-icon {
      width: 106px;
      height: auto;
      margin-top: .15rem;
      transform-origin: center;
      animation: serviceFeatherFloat 5.5s ease-in-out infinite;
      filter: drop-shadow(0 10px 18px rgba(142,76,220,.14));
      transition: transform .35s ease, filter .35s ease;
    }
    .about-feather-icon img {
      width: 106px;
      height: auto;
      object-fit: contain;
      transition: transform .35s ease, filter .35s ease;
    }
    .about-inline:hover .about-feather-icon img {
      transform: rotate(5deg) scale(1.06);
      filter: drop-shadow(0 14px 22px rgba(31,150,171,.18));
    }

    .back-to-top {
      position: fixed;
      right: 22px;
      bottom: 24px;
      width: 48px;
      height: 48px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: linear-gradient(135deg, #8e4cdc, #1f96ab);
      color: #ffffff;
      font-size: 1.35rem;
      font-weight: 800;
      box-shadow: 0 14px 34px rgba(49, 48, 88, 0.22);
      z-index: 200;
      transition: transform .24s ease, box-shadow .24s ease, opacity .24s ease;
    }
    .back-to-top:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 42px rgba(49, 48, 88, 0.28);
    }

    .conversion-strip {
      padding: 0 0 88px;
      margin-top: -26px;
      position: relative;
      z-index: 3;
    }
    .conversion-card {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 1.25rem;
      align-items: center;
      padding: clamp(1.4rem, 3vw, 2.2rem);
      border-radius: 28px;
      background: rgba(255,255,255,.9);
      border: 1px solid rgba(142,76,220,.12);
      box-shadow: var(--shadow);
      backdrop-filter: blur(14px);
    }
    .conversion-card h3 {
      margin-bottom: .35rem;
      font-size: clamp(1.55rem, 3vw, 2.2rem);
    }
    .conversion-card p {
      margin: 0;
      max-width: 58ch;
    }
    @media (max-width: 760px) {
      .conversion-card { grid-template-columns: 1fr; }
      .conversion-card .button { width: 100%; }
    }
