html { scroll-behavior: smooth; }
body { margin: 0; background: #040d16; color: #fff; min-width: 320px; }
body.admin-bar .yls-header { top: 32px; }
.yls-site, .yls-site * { box-sizing: border-box; }
.yls-site {
    --yls-shell: min(1380px, calc(100vw - 52px));
    --yls-text: rgba(255,255,255,.96);
    --yls-soft: rgba(255,255,255,.82);
    --yls-muted: rgba(255,255,255,.66);
    --yls-line: rgba(255,255,255,.14);
    --yls-glass-top: rgba(255,255,255,.16);
    --yls-glass-bot: rgba(255,255,255,.06);
    --yls-shadow: 0 30px 70px rgba(0,0,0,.24);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #06111b 0%, #030b13 100%);
    color: var(--yls-text);
    overflow: hidden;
}
.yls-site a { color: inherit; text-decoration: none; }
.yls-shell { width: var(--yls-shell); margin-inline: auto; }
.yls-header { position: relative; z-index: 4; padding-top: 22px; }
.yls-nav {
    display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
    padding: 12px 16px; border-radius: 28px;
}
.yls-glass {
    position: relative; overflow: hidden; isolation: isolate;
    background: linear-gradient(180deg, var(--yls-glass-top), var(--yls-glass-bot));
    border: 1px solid var(--yls-line);
    box-shadow: var(--yls-shadow), inset 0 1px 0 rgba(255,255,255,.16), inset 0 -1px 0 rgba(255,255,255,.05);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
}
.yls-glass::before {
    content:""; position:absolute; inset:1px; border-radius:inherit; pointer-events:none;
    background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.01) 30%, rgba(255,255,255,.02) 100%);
    opacity: .95; z-index: -1;
}
.yls-glow-follow {
    --glow-x: 50%;
    --glow-y: 50%;
    --glow-alpha: .42;
    --glow-size: 320px;
}

.yls-glow-follow::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1.4px;
    pointer-events: none;
    border-radius: inherit;
    background:
        radial-gradient(
            var(--glow-size) var(--glow-size) at var(--glow-x) var(--glow-y),
            rgba(255,255,255,.92) 0%,
            rgba(255,255,255,.50) 14%,
            rgba(255,255,255,.18) 32%,
            rgba(255,255,255,.04) 52%,
            transparent 72%
        ),
        linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,.035));
    opacity: var(--glow-alpha);
    mix-blend-mode: screen;
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask-composite: exclude;
    transition: opacity .16s ease;
}
.yls-brand, .yls-links, .yls-nav-actions,
.yls-feature-item, .yls-card, .yls-portfolio-card, .yls-story-card, .yls-innovation-card, .yls-panel, .yls-footer, .yls-contact-form {
    position: relative; z-index: 1;
}
.yls-brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.yls-brand-icon, .yls-feature-icon, .yls-bullet-icon {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18); flex: 0 0 auto;
}
.yls-brand-icon svg, .yls-feature-icon svg, .yls-bullet-icon svg,
.yls-btn-icon svg, .yls-story-flag svg, .yls-mini-stats svg {
    width: 18px; height: 18px; display: block;
}
.yls-brand-text { text-transform: uppercase; letter-spacing: .16em; font-size: .92rem; font-weight: 500; white-space: nowrap; }
.yls-links { display: flex; justify-content: center; gap: 10px; }
.yls-links a, .yls-links li a { padding: 10px 12px; font-size: .96rem; color: rgba(255,255,255,.92); border-radius: 999px; display: inline-flex; }
.yls-links a:hover, .yls-links li a:hover, .yls-links a.is-active { background: rgba(255,255,255,.08); }
.yls-links ul { display:flex; gap:10px; list-style:none; margin:0; padding:0; }
.yls-nav-actions { display:flex; align-items:center; gap:12px; }
.yls-pill, .yls-btn, .yls-contact-form button {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    border-radius: 999px; min-height: 48px; padding: 0 22px;
    border: 1px solid rgba(255,255,255,.14);
    background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
    color: rgba(255,255,255,.98);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 30px rgba(0,0,0,.14);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    transition: transform .18s ease, box-shadow .18s ease;
}
.yls-btn { min-height: 60px; border-radius: 18px; padding: 0 16px; justify-content: space-between; min-width: 228px; }
.yls-pill:hover, .yls-btn:hover, .yls-contact-form button:hover { transform: translateY(-1px); }
.yls-btn-icon { display: inline-grid; place-items: center; width: 22px; height: 22px; }
.yls-btn-arrow { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.10); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.yls-hero, .yls-subhero { position: relative; overflow: hidden; }
.yls-hero { min-height: 100vh; background: linear-gradient(180deg, #26425c 0%, #122537 55%, #07111c 100%); }
.yls-subhero { min-height: 60vh; background: linear-gradient(180deg, #203a54 0%, #0f2031 56%, #06101a 100%); }
.yls-hero::before, .yls-subhero::before {
    content:""; position:absolute; inset:0; z-index:0; background-image: var(--yls-hero-image); background-size: cover; background-position: center center; opacity: .98;
}
.yls-hero::after, .yls-subhero::after {
    content:""; position:absolute; inset:0; z-index:0;
    background:
      radial-gradient(circle at 18% 12%, rgba(255,255,255,.08), transparent 20%),
      linear-gradient(90deg, rgba(6,16,27,.64) 0%, rgba(6,16,27,.42) 28%, rgba(6,16,27,.16) 56%, rgba(6,16,27,.16) 100%),
      linear-gradient(180deg, rgba(6,16,27,.10) 0%, rgba(6,16,27,0) 18%, rgba(6,16,27,.12) 62%, rgba(6,16,27,.82) 100%);
}
.yls-hero-overlay, .yls-subhero-overlay { position:absolute; inset:auto 0 0; height:36%; background: linear-gradient(180deg, rgba(5,16,26,0) 0%, rgba(5,16,26,.18) 28%, rgba(5,16,26,.92) 100%); z-index:1; }
.yls-hero-content, .yls-subhero-content { position: relative; z-index: 3; min-height: 58vh; display:flex; align-items:center; padding-top: 110px; padding-bottom: 22px; }
.yls-subhero-content { min-height: 42vh; }
.yls-copy { max-width: 620px; }
.yls-kicker, .yls-eyebrow { margin: 0 0 18px; color: rgba(255,255,255,.84); text-transform: uppercase; letter-spacing: .34em; font-size: .83rem; font-weight: 600; }
.yls-copy h1, .yls-subhero-content h1, .yls-story h2, .yls-section-head h2, .yls-contact-card h2 {
    margin: 0; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif; font-weight: 400; letter-spacing: -.055em; line-height: .95; text-wrap: balance;
}
.yls-copy h1 { font-size: clamp(3.6rem, 6vw, 6.15rem); }
.yls-subhero-content h1, .yls-story h2, .yls-section-head h2, .yls-contact-card h2 { font-size: clamp(2.6rem, 4vw, 4.2rem); }
.yls-lead, .yls-story p, .yls-feature-item small, .yls-portfolio-body p, .yls-innovation-copy p, .yls-footer-contact span, .yls-footer-brand small { color: var(--yls-soft); }
.yls-lead { max-width: 560px; margin: 22px 0 0; font-size: 1.1rem; line-height: 1.5; }
.yls-actions { display:flex; flex-wrap:wrap; gap:16px; margin-top: 28px; }
.yls-feature-stack { position: relative; z-index:3; padding-bottom: 18px; }
.yls-feature-row { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:0; padding: 16px 10px; border-radius: 28px; }
.yls-feature-item { display:flex; gap:14px; align-items:center; padding:10px 18px; min-width:0; }
.yls-divider { border-right: 1px solid rgba(255,255,255,.10); }
.yls-feature-item strong { display:block; font-size: 1rem; font-weight: 600; }
.yls-feature-item small { display:block; margin-top: 4px; font-size: .9rem; line-height: 1.45; }
.yls-section { padding: 42px 0 24px; background: linear-gradient(180deg, rgba(4,13,22,1) 0%, rgba(3,11,18,1) 100%); }
.yls-section-head.centered { text-align: center; }
.yls-two-col { display:grid; grid-template-columns: minmax(0,1fr) minmax(380px,.92fr); gap:28px; align-items: stretch; }
.yls-story { padding: 24px 0; }
.yls-divider-line { width: 64px; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,.72), rgba(255,255,255,0)); margin: 22px 0; }
.yls-bullet-row { display:flex; gap:14px; align-items:flex-start; margin-top: 18px; }
.yls-bullet-row p { margin: 6px 0 0; }
.yls-story-card { padding: 18px; border-radius: 30px; }
.yls-story-flag { display:flex; align-items:center; gap:12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .9rem; margin-bottom: 14px; }
.yls-story-image { height: 248px; border-radius: 18px; background-size: cover; background-position: center; border: 1px solid rgba(255,255,255,.08); }
.yls-story-image.tall { height: 380px; }
.yls-mini-stats { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:12px; margin-top:18px; }
.yls-mini-stats.compact { margin-top: 0; }
.yls-mini-stats div { padding: 10px 8px; border-top: 1px solid rgba(255,255,255,.08); display:grid; gap:4px; }
.yls-mini-stats span { color: rgba(255,255,255,.9); }
.yls-mini-stats strong { font-size: .95rem; }
.yls-mini-stats small { color: var(--yls-muted); font-size: .85rem; }
.yls-innovation-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:16px; }
.yls-innovation-card { border-radius: 22px; overflow: hidden; }
.yls-innovation-copy { padding: 16px 16px 8px; }
.yls-innovation-copy h3, .yls-portfolio-body h3 { margin:0; font-size: 1.2rem; font-weight: 600; letter-spacing: -.03em; }
.yls-innovation-copy p { margin: 8px 0 0; font-size: .95rem; min-height: 64px; }
.yls-innovation-image { height: 146px; background-size: cover; background-position: center; border-top: 1px solid rgba(255,255,255,.08); }
.yls-portfolio-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:16px; }
.yls-portfolio-grid.four-up { grid-template-columns: repeat(4, minmax(0,1fr)); }
.yls-portfolio-card { border-radius: 18px; overflow: hidden; }
.yls-portfolio-image { height: 172px; background-size: cover; background-position: center; border-bottom: 1px solid rgba(255,255,255,.08); }
.yls-portfolio-body { padding: 14px; }
.yls-portfolio-body p { margin: 5px 0 0; font-size: .93rem; }
.yls-centered-cta { text-align:center; margin-top: 22px; }
.yls-form-card { border-radius: 28px; padding: 22px; }
.yls-contact-form { display:grid; gap:16px; }
.yls-contact-form label { display:grid; gap:8px; font-size: .94rem; color: var(--yls-soft); }
.yls-contact-form input, .yls-contact-form textarea {
    width:100%; border-radius: 16px; border:1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); color: #fff; padding: 14px 16px; outline:none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.yls-contact-form textarea { resize: vertical; }
.yls-generic-card { border-radius: 24px; padding: 24px; }
.yls-footer-wrap { padding: 18px 0 44px; background: #040d16; }
.yls-footer { display:grid; grid-template-columns: 1.1fr .8fr .8fr 1fr; gap:16px; padding: 18px; border-radius: 26px; }
.yls-footer-brand { display:flex; align-items:center; gap:14px; }
.yls-footer-brand strong, .yls-footer-contact strong { display:block; font-size: 1rem; }
.yls-footer-brand small, .yls-footer-contact span { display:block; font-size: .88rem; line-height: 1.45; }
.yls-footer-meta { display:flex; justify-content:space-between; gap:18px; padding-top: 14px; color: var(--yls-muted); }

@media (max-width: 1220px) {
    .yls-feature-row, .yls-mini-stats, .yls-innovation-grid, .yls-portfolio-grid.four-up, .yls-footer { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .yls-two-col, .yls-portfolio-grid { grid-template-columns: 1fr 1fr; }
    .yls-divider:nth-child(2) { border-right: 0; }
}
@media (max-width: 900px) {
    body.admin-bar .yls-header { top: 46px; }
    .yls-site { --yls-shell: min(1380px, calc(100vw - 26px)); }
    .yls-header { padding-top: 14px; }
    .yls-nav { grid-template-columns: 1fr; }
    .yls-links { justify-content:flex-start; overflow-x:auto; white-space:nowrap; }
    .yls-nav-actions { justify-content:flex-start; }
    .yls-hero, .yls-subhero { min-height: auto; }
    .yls-hero-content { padding-top: 380px; min-height: auto; }
    .yls-subhero-content { padding-top: 220px; }
    .yls-copy { max-width: 100%; }
    .yls-copy h1 { font-size: clamp(2.8rem, 12vw, 4.2rem); }
    .yls-hero::before, .yls-subhero::before { background-position: center top; opacity: .84; }
    .yls-hero::after, .yls-subhero::after { background: linear-gradient(180deg, rgba(6,16,27,.42) 0%, rgba(6,16,27,.52) 18%, rgba(6,16,27,.62) 44%, rgba(6,16,27,.90) 100%); }
    .yls-actions { flex-direction:column; }
    .yls-btn { width: 100%; }
    .yls-feature-row, .yls-two-col, .yls-mini-stats, .yls-innovation-grid, .yls-portfolio-grid, .yls-footer { grid-template-columns: 1fr; }
    .yls-divider { border-right:0; border-bottom:1px solid rgba(255,255,255,.10); }
    .yls-footer-meta { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .yls-pill, .yls-btn, .yls-glow-follow, .yls-links a { transition: none !important; }
    .yls-glow-follow::after { display:none; }
}


/* v1.1 responsive spacing and practical layout refinements */
.yls-site {
    --yls-section-pad: clamp(34px, 5vw, 76px);
    --yls-card-pad: clamp(16px, 2vw, 24px);
}

.yls-section {
    padding-block: var(--yls-section-pad);
}

.yls-header {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
}

.yls-nav,
.yls-feature-row,
.yls-story-card,
.yls-innovation-card,
.yls-portfolio-card,
.yls-form-card,
.yls-footer {
    transform: translateZ(0);
}

.yls-story,
.yls-tech-copy,
.yls-subhero-content,
.yls-hero-content {
    padding-inline: clamp(0px, 1vw, 8px);
}

.yls-feature-row {
    padding: clamp(12px, 1.5vw, 18px);
}

.yls-feature-item {
    padding: clamp(10px, 1.6vw, 20px);
}

.yls-story-card,
.yls-form-card,
.yls-generic-card {
    padding: clamp(18px, 2.2vw, 30px);
}

.yls-innovation-copy,
.yls-portfolio-body {
    padding: clamp(14px, 1.7vw, 20px);
}

.yls-form-message {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.92);
}

.yls-form-message-sent {
    border-color: rgba(176,255,214,.30);
    background: rgba(176,255,214,.08);
}

.yls-form-message-invalid,
.yls-form-message-failed {
    border-color: rgba(255,190,166,.34);
    background: rgba(255,190,166,.08);
}

.yls-hp-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.yls-contact-form button {
    width: fit-content;
}

@media (min-width: 1500px) {
    .yls-site {
        --yls-shell: min(1460px, calc(100vw - 72px));
    }

    .yls-hero-content {
        min-height: 60vh;
    }
}

@media (max-width: 1220px) {
    .yls-feature-row {
        row-gap: 0;
    }

    .yls-feature-item:nth-child(2) {
        border-right: 0;
    }

    .yls-feature-item:nth-child(1),
    .yls-feature-item:nth-child(2) {
        border-bottom: 1px solid rgba(255,255,255,.10);
    }

    .yls-story-card p {
        margin-bottom: 0;
    }
}

@media (max-width: 900px) {
    .yls-site {
        --yls-shell: min(100% - 28px, 1380px);
        --yls-section-pad: clamp(32px, 9vw, 58px);
    }

    .yls-nav {
        border-radius: 24px;
        padding: 14px;
    }

    .yls-brand-text {
        max-width: calc(100vw - 120px);
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .yls-links {
        padding-bottom: 6px;
        scrollbar-width: none;
    }

    .yls-links::-webkit-scrollbar {
        display: none;
    }

    .yls-nav-actions .yls-pill {
        width: 100%;
    }

    .yls-hero-content {
        padding-top: clamp(320px, 52vw, 430px);
        padding-bottom: 24px;
    }

    .yls-subhero-content {
        padding-top: clamp(210px, 42vw, 310px);
        padding-bottom: 28px;
    }

    .yls-feature-stack {
        padding-bottom: 8px;
    }

    .yls-feature-row {
        border-radius: 24px;
    }

    .yls-feature-item {
        align-items: flex-start;
    }

    .yls-feature-item:nth-child(1),
    .yls-feature-item:nth-child(2),
    .yls-feature-item:nth-child(3) {
        border-bottom: 1px solid rgba(255,255,255,.10);
    }

    .yls-story {
        padding-block: 6px;
    }

    .yls-story h2,
    .yls-subhero-content h1,
    .yls-contact-card h2 {
        font-size: clamp(2.35rem, 10vw, 3.35rem);
    }

    .yls-innovation-image,
    .yls-portfolio-image {
        min-height: 190px;
    }

    .yls-contact-form button {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .yls-site {
        --yls-shell: min(100% - 20px, 1380px);
    }

    .yls-copy h1 {
        font-size: clamp(2.42rem, 13vw, 3.4rem);
    }

    .yls-kicker,
    .yls-eyebrow {
        letter-spacing: .22em;
        font-size: .75rem;
    }

    .yls-lead {
        font-size: 1rem;
    }

    .yls-brand-icon,
    .yls-feature-icon,
    .yls-bullet-icon {
        width: 38px;
        height: 38px;
    }

    .yls-feature-item,
    .yls-bullet-row {
        gap: 12px;
    }

    .yls-mini-stats div {
        grid-template-columns: auto 1fr;
        column-gap: 10px;
        align-items: center;
    }

    .yls-mini-stats div small {
        grid-column: 2;
    }

    .yls-footer {
        padding: 16px;
    }
}


/* v1.2 clear Liquid Glass direction: no coloured/tinted panels, rim-only cursor refraction */
.yls-site {
    --yls-line: rgba(255,255,255,.24);
    --yls-glass-top: rgba(255,255,255,.20);
    --yls-glass-bot: rgba(255,255,255,.055);
    --yls-shadow: 0 22px 60px rgba(0,0,0,.20);
}

.yls-glass {
    background:
        linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.070) 45%, rgba(255,255,255,.045)),
        rgba(255,255,255,.025) !important;
    border-color: rgba(255,255,255,.24) !important;
    box-shadow:
        0 22px 60px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,.34),
        inset 0 -1px 0 rgba(255,255,255,.07) !important;
    backdrop-filter: blur(30px) saturate(125%) contrast(1.03) !important;
    -webkit-backdrop-filter: blur(30px) saturate(125%) contrast(1.03) !important;
}

.yls-glass::before {
    background:
        linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,.045) 34%, rgba(255,255,255,.018)),
        radial-gradient(110% 90% at 50% 0%, rgba(255,255,255,.18), transparent 58%) !important;
    opacity: .76 !important;
}

.yls-pill,
.yls-btn,
.yls-contact-form button,
.yls-dot-btn {
    background:
        linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,.075)),
        rgba(255,255,255,.028) !important;
    border-color: rgba(255,255,255,.28) !important;
    color: rgba(255,255,255,.98) !important;
    box-shadow:
        0 10px 30px rgba(0,0,0,.16),
        inset 0 1px 0 rgba(255,255,255,.34),
        inset 0 -1px 0 rgba(255,255,255,.08) !important;
}

.yls-glow-follow {
    --glow-x: 50%;
    --glow-y: 50%;
    --glow-alpha: .35;
    --glow-size: 420px;
}

.yls-glow-follow::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    pointer-events: none;
    border-radius: inherit;
    background:
        radial-gradient(
            var(--glow-size) var(--glow-size) at var(--glow-x) var(--glow-y),
            rgba(255,255,255,.98) 0%,
            rgba(255,255,255,.78) 9%,
            rgba(255,255,255,.32) 22%,
            rgba(255,255,255,.10) 38%,
            transparent 64%
        ),
        linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,.035));
    opacity: var(--glow-alpha);
    mix-blend-mode: screen;
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask-composite: exclude;
    z-index: 2;
}

.yls-glow-follow > * {
    position: relative;
    z-index: 3;
}

.yls-card-arrow,
.yls-btn-arrow {
    background:
        linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.08)) !important;
    border-color: rgba(255,255,255,.22) !important;
}

.yls-home-contact {
    padding-top: clamp(24px, 4vw, 58px);
}

.yls-contact-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(20px, 4vw, 44px);
    border-radius: 32px;
    padding: clamp(22px, 4vw, 44px);
}

.yls-contact-card p {
    max-width: 760px;
}

.yls-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}

@media (max-width: 900px) {
    .yls-contact-card {
        grid-template-columns: 1fr;
        border-radius: 26px;
    }

    .yls-contact-actions {
        justify-content: flex-start;
    }

    .yls-contact-actions .yls-pill {
        width: 100%;
    }
}

/* Fallback for browsers that do not support mask-composite correctly */
@supports not ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
    .yls-glow-follow::after {
        padding: 0;
        background: none;
        box-shadow:
            inset 0 0 0 1px rgba(255,255,255,.34),
            inset calc((var(--glow-x) - 50%) * .045) calc((var(--glow-y) - 50%) * .045) 18px rgba(255,255,255,.18);
    }
}


/* v1.3 refinement: prismatic liquid edge, readable hero copy, corrected nav/menu spacing */

/* WordPress menu cleanup: prevents list bullets appearing as random dots */
.yls-links,
.yls-links .menu,
.yls-links ul,
.yls-links li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.yls-links,
.yls-links .menu,
.yls-links ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(4px, .7vw, 12px);
}

.yls-links li {
    display: inline-flex;
    align-items: center;
}

.yls-links a,
.yls-links li a,
.yls-nav .menu-item > a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(10px, 1.05vw, 16px) !important;
    line-height: 1 !important;
    border-radius: 999px;
}

/* Top nav button spacing */
.yls-nav {
    min-height: 76px;
    padding: 14px 18px !important;
}

.yls-nav-actions .yls-pill {
    min-height: 46px;
    padding-inline: clamp(18px, 1.8vw, 28px);
}

/* Hero text readability without turning it into a heavy box */
.yls-copy,
.yls-subhero-content {
    position: relative;
}

.yls-copy::before,
.yls-subhero-content::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: clamp(-18px, -1.4vw, -10px) clamp(-24px, -1.8vw, -12px);
    border-radius: 34px;
    background:
        radial-gradient(120% 110% at 12% 12%, rgba(0,0,0,.46), rgba(0,0,0,.20) 45%, rgba(0,0,0,0) 72%),
        linear-gradient(90deg, rgba(0,0,0,.36), rgba(0,0,0,.10) 62%, rgba(0,0,0,0));
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    pointer-events: none;
}

.yls-copy h1,
.yls-subhero-content h1,
.yls-lead,
.yls-kicker {
    text-shadow:
        0 2px 18px rgba(0,0,0,.62),
        0 1px 2px rgba(0,0,0,.42);
}

.yls-hero::after,
.yls-subhero::after {
    background:
      radial-gradient(circle at 18% 12%, rgba(255,255,255,.07), transparent 20%),
      linear-gradient(90deg, rgba(3,9,16,.72) 0%, rgba(3,9,16,.56) 30%, rgba(3,9,16,.24) 54%, rgba(3,9,16,.12) 100%),
      linear-gradient(180deg, rgba(3,9,16,.16) 0%, rgba(3,9,16,.02) 18%, rgba(3,9,16,.12) 58%, rgba(3,9,16,.84) 100%) !important;
}

/* More Apple-like rim: clear glass with subtle chromatic distortion only on the edge */
.yls-glass {
    overflow: hidden;
}

.yls-glass::before {
    background:
        linear-gradient(180deg, rgba(255,255,255,.36), rgba(255,255,255,.06) 32%, rgba(255,255,255,.018)),
        radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.20), transparent 60%) !important;
}

/* white rim highlight following global cursor */
.yls-glow-follow::after {
    padding: 1.5px !important;
    background:
        radial-gradient(
            var(--glow-size) var(--glow-size) at var(--glow-x) var(--glow-y),
            rgba(255,255,255,.98) 0%,
            rgba(255,255,255,.78) 8%,
            rgba(255,255,255,.30) 18%,
            rgba(255,255,255,.08) 36%,
            transparent 62%
        ),
        linear-gradient(180deg, rgba(255,255,255,.30), rgba(255,255,255,.04)) !important;
}

/* prismatic/rainbow distortion rim, separate from the white light rim */
.yls-glow-follow::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2.4px;
    pointer-events: none;
    border-radius: inherit;
    z-index: 2;
    background:
        conic-gradient(
            from calc((var(--glow-x, 50%) - 50%) * 3.6deg) at var(--glow-x, 50%) var(--glow-y, 50%),
            rgba(255, 44, 106, .00) 0deg,
            rgba(255, 82, 82, .38) 24deg,
            rgba(255, 214, 90, .30) 64deg,
            rgba(110, 255, 214, .28) 112deg,
            rgba(95, 180, 255, .34) 166deg,
            rgba(178, 130, 255, .30) 224deg,
            rgba(255, 93, 184, .24) 286deg,
            rgba(255, 44, 106, .00) 360deg
        );
    opacity: calc(var(--glow-alpha, .35) * .52);
    filter: blur(.2px) saturate(140%);
    mix-blend-mode: screen;
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask-composite: exclude;
}

/* Small inner caustic line at the closest cursor edge */
.yls-pill::before,
.yls-btn::before,
.yls-card::before,
.yls-innovation-card::before,
.yls-portfolio-card::before,
.yls-feature-row::before,
.yls-story-card::before,
.yls-contact-card::before,
.yls-form-card::before,
.yls-footer::before,
.yls-nav::before {
    opacity: .78 !important;
}

/* main CTA button inner spacing */
.yls-actions .yls-btn {
    grid-template-columns: auto 1fr auto;
    column-gap: 14px;
    padding-inline: 18px 14px !important;
}

.yls-actions .yls-btn span:nth-child(2) {
    text-align: left;
}

/* Prevent content crowding at common tablet widths */
@media (max-width: 1180px) and (min-width: 901px) {
    .yls-nav {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .yls-brand,
    .yls-nav-actions {
        justify-content: center;
    }

    .yls-links,
    .yls-links .menu,
    .yls-links ul {
        flex-wrap: wrap;
    }
}

@media (max-width: 900px) {
    .yls-nav {
        min-height: 0;
    }

    .yls-links,
    .yls-links .menu,
    .yls-links ul {
        justify-content: flex-start;
        gap: 6px;
    }

    .yls-links a,
    .yls-links li a,
    .yls-nav .menu-item > a {
        min-height: 40px;
        padding-inline: 12px !important;
    }

    .yls-copy::before,
    .yls-subhero-content::before {
        inset: -16px -14px;
        border-radius: 26px;
        background:
            radial-gradient(120% 110% at 12% 12%, rgba(0,0,0,.56), rgba(0,0,0,.30) 52%, rgba(0,0,0,.08) 76%),
            linear-gradient(90deg, rgba(0,0,0,.44), rgba(0,0,0,.16));
    }
}

@supports not ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
    .yls-glow-follow::before {
        display: none;
    }
}


/* v1.4 true clear liquid-glass correction
   - no coloured/tinted card/button gradients
   - one thin specular rim
   - wider cursor-following refractive colour band constrained to the edge
   - refraction layer uses nearby page colour via screen/overlay blending instead of panel tint
*/

/* Stop the previous prismatic ::before layer fighting the base glass sheen. */
.yls-glow-follow::before {
    display: none !important;
}

/* Clear frosted material body: remove the obvious gradient fill from cards, nav, buttons and panels. */
.yls-glass,
.yls-pill,
.yls-btn,
.yls-contact-form button,
.yls-dot-btn {
    background: rgba(255,255,255,.070) !important;
    border-color: rgba(255,255,255,.265) !important;
    box-shadow:
        0 22px 64px rgba(0,0,0,.18),
        inset 0 1px 0 rgba(255,255,255,.34),
        inset 0 -1px 0 rgba(255,255,255,.075),
        inset 0 0 0 .5px rgba(255,255,255,.08) !important;
    backdrop-filter: blur(30px) saturate(150%) contrast(1.05) brightness(1.04) !important;
    -webkit-backdrop-filter: blur(30px) saturate(150%) contrast(1.05) brightness(1.04) !important;
}

/* Soft internal lens sheen only; not a colour/tint gradient. */
.yls-glass::before {
    display: block !important;
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
    background:
        radial-gradient(140% 80% at 50% 0%, rgba(255,255,255,.20), rgba(255,255,255,.045) 34%, rgba(255,255,255,0) 66%),
        linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 42%) !important;
    opacity: .58 !important;
}

/* Main rim layer: thin white edge plus wider chromatic/refraction band.
   The mask keeps the visible light on the edge only. */
.yls-glow-follow {
    --glow-x: 50%;
    --glow-y: 50%;
    --glow-alpha: .34;
    --glow-size: 640px;
    --rim-width: 1.05px;
    --refraction-width: 3.7px;
}

.yls-glow-follow::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: var(--refraction-width);
    pointer-events: none;
    border-radius: inherit;
    z-index: 4;
    opacity: var(--glow-alpha);
    mix-blend-mode: screen;
    background:
        /* razor-thin white highlight travelling around the edge */
        radial-gradient(
            calc(var(--glow-size) * .72) calc(var(--glow-size) * .72) at var(--glow-x) var(--glow-y),
            rgba(255,255,255,1) 0%,
            rgba(255,255,255,.82) 5%,
            rgba(255,255,255,.28) 13%,
            transparent 34%
        ),
        /* wider Apple-like chromatic edge refraction */
        radial-gradient(
            var(--glow-size) var(--glow-size) at var(--glow-x) var(--glow-y),
            rgba(255,70,118,.22) 0%,
            rgba(255,214,92,.18) 10%,
            rgba(112,255,218,.18) 21%,
            rgba(96,178,255,.22) 34%,
            rgba(190,128,255,.18) 48%,
            transparent 72%
        ),
        /* subtle ambient rim that picks up nearby page brightness */
        linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.025));
    filter: saturate(165%) contrast(1.05);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask-composite: exclude;
}

/* Add a separate 1px permanent rim so the glass remains crisp when the cursor is away. */
.yls-glass,
.yls-pill,
.yls-btn,
.yls-contact-form button,
.yls-dot-btn {
    outline: 1px solid rgba(255,255,255,.16);
    outline-offset: -1px;
}

/* Refractive edge should be longer/wider around the rim, but visually thin. */
.yls-card.yls-glow-follow,
.yls-innovation-card.yls-glow-follow,
.yls-portfolio-card.yls-glow-follow,
.yls-feature-row.yls-glow-follow,
.yls-story-card.yls-glow-follow,
.yls-contact-card.yls-glow-follow,
.yls-form-card.yls-glow-follow,
.yls-footer.yls-glow-follow,
.yls-nav.yls-glow-follow {
    --refraction-width: 3.4px;
    --rim-width: 1px;
}

.yls-pill.yls-glow-follow,
.yls-btn.yls-glow-follow,
.yls-contact-form button.yls-glow-follow {
    --refraction-width: 2.4px;
    --rim-width: .9px;
}

/* Keep text above lens/rim layers. */
.yls-glow-follow > * {
    position: relative;
    z-index: 6;
}

/* Remove old button/card visual gradients from nested circular controls too. */
.yls-btn-arrow,
.yls-card-arrow,
.yls-projects-link span,
.yls-feature-icon,
.yls-bullet-icon,
.yls-brand-icon {
    background: rgba(255,255,255,.075) !important;
    border-color: rgba(255,255,255,.22) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.26),
        inset 0 -1px 0 rgba(255,255,255,.06) !important;
    backdrop-filter: blur(18px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
}

/* Fallback if mask-composite is unavailable: visible but still thin and edge-based. */
@supports not ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
    .yls-glow-follow::after {
        padding: 0 !important;
        background: none !important;
        box-shadow:
            inset 0 0 0 1px rgba(255,255,255,.42),
            inset 0 0 18px rgba(255,255,255,.10),
            inset calc((var(--glow-x) - 50%) * .03) calc((var(--glow-y) - 50%) * .03) 24px rgba(132,190,255,.16) !important;
    }
}


/* v1.5 refinements: fully neutral footer/form, corrected subhero title alignment, stronger liquid-glass buttons, wider refractive beam, visible card rims around images, and bespoke generated imagery */

/* Make all page-title and subhero content sit firmly on the left and stay readable. */
.yls-subhero-content {
    display: block !important;
    min-height: 42vh;
    padding-top: 138px !important;
    padding-bottom: 34px !important;
    text-align: left !important;
}
.yls-subhero-content > * {
    max-width: 780px;
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Remove residual blue tint from footer and contact form shells. */
.yls-footer,
.yls-form-card,
.yls-contact-card,
.yls-contact-form input,
.yls-contact-form textarea {
    background: rgba(255,255,255,.068) !important;
    border-color: rgba(255,255,255,.22) !important;
    box-shadow:
        0 18px 52px rgba(0,0,0,.18),
        inset 0 1px 0 rgba(255,255,255,.30),
        inset 0 -1px 0 rgba(255,255,255,.06),
        inset 0 0 0 .5px rgba(255,255,255,.06) !important;
    backdrop-filter: blur(32px) saturate(120%) contrast(1.03) brightness(1.03) !important;
    -webkit-backdrop-filter: blur(32px) saturate(120%) contrast(1.03) brightness(1.03) !important;
}
.yls-footer::before,
.yls-form-card::before,
.yls-contact-card::before {
    background:
        radial-gradient(140% 85% at 50% 0%, rgba(255,255,255,.18), rgba(255,255,255,.05) 35%, rgba(255,255,255,0) 68%),
        linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0) 44%) !important;
    opacity: .52 !important;
}
.yls-contact-form input,
.yls-contact-form textarea {
    color: rgba(255,255,255,.97) !important;
}
.yls-contact-form input::placeholder,
.yls-contact-form textarea::placeholder {
    color: rgba(255,255,255,.48);
}

/* More expanded refractive beam with clearer distortion. */
.yls-glow-follow {
    --glow-size: 900px;
    --refraction-width: 4.8px;
}
.yls-glow-follow::after {
    padding: var(--refraction-width) !important;
    background:
        radial-gradient(
            calc(var(--glow-size) * .88) calc(var(--glow-size) * .88) at var(--glow-x) var(--glow-y),
            rgba(255,255,255,1) 0%,
            rgba(255,255,255,.84) 4%,
            rgba(255,255,255,.32) 10%,
            transparent 28%
        ),
        radial-gradient(
            var(--glow-size) var(--glow-size) at calc(var(--glow-x) - 1.2%) calc(var(--glow-y) + .6%),
            rgba(255,80,148,.24) 0%,
            rgba(255,213,84,.18) 11%,
            rgba(126,255,222,.18) 24%,
            rgba(104,181,255,.24) 38%,
            rgba(186,132,255,.18) 54%,
            transparent 76%
        ),
        radial-gradient(
            calc(var(--glow-size) * .92) calc(var(--glow-size) * .92) at calc(var(--glow-x) + 1.5%) calc(var(--glow-y) - .7%),
            rgba(255,255,255,.16) 0%,
            rgba(255,255,255,.06) 28%,
            transparent 64%
        ),
        linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,.018)) !important;
    filter: saturate(175%) contrast(1.08) blur(.15px);
    opacity: calc(var(--glow-alpha) * .98);
}

/* Full liquid-glass treatment on buttons, closer to iOS controls. */
.yls-pill,
.yls-btn,
.yls-contact-form button {
    background: rgba(255,255,255,.082) !important;
    border: 1px solid rgba(255,255,255,.28) !important;
    box-shadow:
        0 12px 34px rgba(0,0,0,.16),
        inset 0 1px 0 rgba(255,255,255,.34),
        inset 0 -1px 0 rgba(255,255,255,.08),
        inset 0 0 0 .5px rgba(255,255,255,.06) !important;
    backdrop-filter: blur(28px) saturate(145%) brightness(1.04) !important;
    -webkit-backdrop-filter: blur(28px) saturate(145%) brightness(1.04) !important;
}
.yls-pill::before,
.yls-btn::before,
.yls-contact-form button::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(140% 100% at 50% 0%, rgba(255,255,255,.26), rgba(255,255,255,.06) 34%, rgba(255,255,255,0) 70%),
        linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 45%);
    opacity: .72;
    z-index: 0;
}
.yls-pill > *, .yls-btn > *, .yls-contact-form button > * { position: relative; z-index: 3; }
.yls-btn-arrow,
.yls-card-arrow {
    background: rgba(255,255,255,.09) !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.24), inset 0 -1px 0 rgba(255,255,255,.04) !important;
}

/* Keep the outer card rim visible all around images. */
.yls-innovation-card,
.yls-portfolio-card {
    padding: 12px !important;
    border-radius: 22px;
}
.yls-innovation-copy {
    padding: 8px 6px 12px !important;
}
.yls-portfolio-body {
    padding: 14px 6px 6px !important;
}
.yls-innovation-image,
.yls-portfolio-image {
    border-radius: 16px !important;
    border: 1px solid rgba(255,255,255,.10);
    overflow: hidden;
}

/* Slightly soften the section background beneath footer/forms to stop cool cast. */
.yls-home-contact,
.yls-footer-wrap,
.yls-section {
    background: linear-gradient(180deg, #040d16 0%, #020910 100%) !important;
}

@media (max-width: 900px) {
    .yls-subhero-content {
        padding-top: 214px !important;
    }
    .yls-innovation-card,
    .yls-portfolio-card {
        padding: 10px !important;
    }
}


/* v1.7: fully neutral glass cards, active-page nav instead of duplicate page titles, legal pages */

/* Strongly remove residual blue/cool tint from every glass surface. The fill is neutral frost; colour only appears in the rim refraction. */
.yls-glass,
.yls-card,
.yls-feature-row,
.yls-feature-item,
.yls-story-card,
.yls-innovation-card,
.yls-portfolio-card,
.yls-contact-card,
.yls-form-card,
.yls-generic-card,
.yls-legal-card,
.yls-footer,
.yls-panel,
.yls-nav,
.yls-pill,
.yls-btn,
.yls-dot-btn,
.yls-contact-form button,
.yls-contact-form input,
.yls-contact-form textarea {
    background: rgba(255,255,255,.074) !important;
    background-image: none !important;
    border-color: rgba(255,255,255,.25) !important;
    box-shadow:
        0 18px 50px rgba(0,0,0,.18),
        inset 0 1px 0 rgba(255,255,255,.32),
        inset 0 -1px 0 rgba(255,255,255,.065),
        inset 0 0 0 .5px rgba(255,255,255,.055) !important;
    backdrop-filter: blur(34px) saturate(62%) contrast(1.04) brightness(1.06) !important;
    -webkit-backdrop-filter: blur(34px) saturate(62%) contrast(1.04) brightness(1.06) !important;
}

.yls-glass::before,
.yls-footer::before,
.yls-form-card::before,
.yls-contact-card::before,
.yls-legal-card::before,
.yls-nav::before,
.yls-btn::before,
.yls-pill::before,
.yls-contact-form button::before {
    background:
        radial-gradient(145% 78% at 50% 0%, rgba(255,255,255,.18), rgba(255,255,255,.045) 34%, rgba(255,255,255,0) 68%),
        linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,0) 42%) !important;
    opacity: .54 !important;
}

/* Current page is shown in the navigation instead of repeating the title block over the hero image. */
.yls-subhero {
    min-height: clamp(210px, 28vh, 330px) !important;
}

.yls-subhero-spacer {
    position: relative;
    z-index: 2;
    height: clamp(92px, 14vh, 150px);
    pointer-events: none;
}

.yls-subhero-content {
    display: none !important;
}

.yls-links a.is-active,
.yls-links .current-menu-item > a,
.yls-links .current_page_item > a,
.yls-links .current-menu-ancestor > a {
    color: rgba(255,255,255,1) !important;
    background: rgba(255,255,255,.125) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.25),
        inset 0 -1px 0 rgba(255,255,255,.05),
        0 0 0 1px rgba(255,255,255,.16) !important;
    backdrop-filter: blur(22px) saturate(80%) brightness(1.05);
    -webkit-backdrop-filter: blur(22px) saturate(80%) brightness(1.05);
}

/* Wider edge refraction/distortion beam, but constrained to the rim only. */
.yls-glow-follow {
    --glow-size: 1180px;
    --refraction-width: 5.8px;
}

.yls-glow-follow::after {
    padding: var(--refraction-width) !important;
    background:
        radial-gradient(
            calc(var(--glow-size) * .82) calc(var(--glow-size) * .82) at var(--glow-x) var(--glow-y),
            rgba(255,255,255,1) 0%,
            rgba(255,255,255,.78) 3.5%,
            rgba(255,255,255,.25) 8.5%,
            rgba(255,255,255,.05) 18%,
            transparent 34%
        ),
        radial-gradient(
            calc(var(--glow-size) * 1.04) calc(var(--glow-size) * 1.04) at calc(var(--glow-x) - 1.8%) calc(var(--glow-y) + .9%),
            rgba(255,74,136,.24) 0%,
            rgba(255,218,96,.20) 11%,
            rgba(104,255,218,.20) 25%,
            rgba(100,184,255,.25) 40%,
            rgba(190,128,255,.20) 56%,
            transparent 80%
        ),
        radial-gradient(
            calc(var(--glow-size) * .76) calc(var(--glow-size) * .76) at calc(var(--glow-x) + 2.3%) calc(var(--glow-y) - 1.1%),
            rgba(255,255,255,.18) 0%,
            rgba(255,255,255,.05) 25%,
            transparent 62%
        ) !important;
    filter: saturate(185%) contrast(1.12) blur(.22px) !important;
    opacity: calc(var(--glow-alpha) * .98) !important;
}

/* Buttons get the same clear, edge-refractive material as cards. */
.yls-pill.yls-glow-follow,
.yls-btn.yls-glow-follow,
.yls-contact-form button.yls-glow-follow {
    --refraction-width: 3.4px;
    --glow-size: 760px;
}

/* Legal pages */
.yls-legal-section {
    padding-top: clamp(28px, 4vw, 64px) !important;
}

.yls-legal-card {
    position: relative;
    border-radius: 30px;
    padding: clamp(24px, 5vw, 64px);
    max-width: 1040px;
    margin: 0 auto;
}

.yls-legal-card h1 {
    margin: 0 0 8px;
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: .96;
    letter-spacing: -.055em;
    font-weight: 400;
}

.yls-legal-card h2 {
    margin: clamp(24px, 3vw, 38px) 0 8px;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    letter-spacing: -.02em;
}

.yls-legal-card p {
    margin: 0;
    color: rgba(255,255,255,.82);
    line-height: 1.65;
}

.yls-legal-updated {
    color: rgba(255,255,255,.60) !important;
    margin-bottom: clamp(22px, 3vw, 34px) !important;
}

.yls-footer-meta a {
    color: rgba(255,255,255,.72);
    text-decoration: none;
}

.yls-footer-meta a:hover {
    color: rgba(255,255,255,.98);
}

@media (max-width: 900px) {
    .yls-subhero {
        min-height: clamp(190px, 30vh, 280px) !important;
    }

    .yls-subhero-spacer {
        height: clamp(78px, 13vh, 120px);
    }

    .yls-legal-card {
        border-radius: 24px;
        padding: 22px;
    }
}


/* v1.8 interactive YLS logo: Audiowide-style chrome body, forged-carbon inlay and cursor-follow illuminated contour strip */
.yls-brand-logo {
    min-width: clamp(190px, 20vw, 310px);
}

.yls-logo {
    --logo-x: 50%;
    --logo-y: 50%;
    --logo-alpha: .48;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: clamp(10px, 1.2vw, 18px);
    isolation: isolate;
    line-height: 1;
    color: rgba(255,255,255,.94);
}

.yls-logo::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: -8%;
    right: -8%;
    top: -42%;
    bottom: -42%;
    border-radius: 999px;
    pointer-events: none;
    background:
        radial-gradient(
            280px 160px at var(--logo-x) var(--logo-y),
            rgba(185,225,255, calc(var(--logo-alpha) * .38)) 0%,
            rgba(185,225,255, calc(var(--logo-alpha) * .18)) 24%,
            rgba(255,255,255, calc(var(--logo-alpha) * .08)) 42%,
            transparent 72%
        );
    filter: blur(16px);
    opacity: var(--logo-alpha);
    transition: opacity .7s ease, background-position .24s ease;
}

.yls-logo-svg-wrap {
    position: relative;
    display: inline-flex;
    width: clamp(104px, 9.6vw, 166px);
    min-width: clamp(104px, 9.6vw, 166px);
    aspect-ratio: 360 / 112;
}

.yls-logo-svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    filter:
        drop-shadow(0 7px 15px rgba(0,0,0,.28))
        drop-shadow(0 0 8px rgba(215,238,255, calc(var(--logo-alpha) * .42)));
}

.yls-logo-svg text {
    font-family: "Audiowide", "Eurostile Extended", "Bank Gothic", "Orbitron", system-ui, sans-serif;
    font-size: 88px;
    font-weight: 400;
    letter-spacing: 2px;
    dominant-baseline: alphabetic;
}

.yls-logo-metal-body {
    fill: none;
    stroke-width: 15;
    stroke-linejoin: round;
    stroke-linecap: round;
    paint-order: stroke;
    opacity: .98;
}

.yls-logo-carbon-core {
    stroke: rgba(255,255,255,.30);
    stroke-width: 1.25;
    stroke-linejoin: round;
    paint-order: stroke fill;
    opacity: .98;
}

.yls-logo-inlay-track {
    fill: none;
    stroke: rgba(255,255,255,.30);
    stroke-width: 4.6;
    stroke-linejoin: round;
    stroke-linecap: round;
    opacity: .72;
}

.yls-logo-inlay-live {
    fill: none;
    stroke-width: 5.4;
    stroke-linejoin: round;
    stroke-linecap: round;
    opacity: calc(.28 + (var(--logo-alpha) * .72));
}

.yls-logo-wordmark {
    display: inline-flex;
    align-items: center;
    max-width: clamp(120px, 13vw, 230px);
    font-family: "Audiowide", "Eurostile Extended", "Bank Gothic", "Orbitron", system-ui, sans-serif;
    font-size: clamp(.58rem, .78vw, .82rem);
    letter-spacing: clamp(.10em, .27vw, .24em);
    text-transform: uppercase;
    line-height: 1.18;
    color: rgba(255,255,255,.86);
    text-shadow:
        0 1px 8px rgba(0,0,0,.45),
        0 0 14px rgba(210,235,255, calc(var(--logo-alpha) * .26));
}

.yls-hero-logo-lockup {
    margin-bottom: clamp(18px, 2.3vw, 28px);
}

.yls-hero-logo-lockup .yls-logo-svg-wrap {
    width: clamp(220px, 34vw, 480px);
    min-width: clamp(220px, 34vw, 480px);
}

.yls-hero-logo-lockup .yls-logo-svg {
    filter:
        drop-shadow(0 12px 30px rgba(0,0,0,.36))
        drop-shadow(0 0 16px rgba(215,238,255, calc(var(--logo-alpha) * .52)));
}

.yls-hero-logo-lockup .yls-logo::after {
    left: -12%;
    right: -12%;
    top: -60%;
    bottom: -60%;
    filter: blur(22px);
}

.yls-nav .yls-brand-icon,
.yls-nav .yls-brand-text {
    display: none !important;
}

/* Fix multiple inline SVG instances by using currentColor fallback if dynamic IDs are unavailable.
   JS below rewrites the IDs per logo, so these rules are only safety defaults. */
.yls-logo-svg [id$="-metal"] stop:first-child { stop-color: #ffffff; }
.yls-logo-svg [id$="-metal"] stop:nth-child(2) { stop-color: #d8d8d6; }
.yls-logo-svg [id$="-metal"] stop:nth-child(3) { stop-color: #ffffff; }
.yls-logo-svg [id$="-metal"] stop:last-child { stop-color: #a7aaa9; }

@media (max-width: 1180px) and (min-width: 901px) {
    .yls-brand-logo {
        justify-content: center;
        min-width: 0;
    }
}

@media (max-width: 900px) {
    .yls-brand-logo {
        min-width: 0;
    }

    .yls-logo-svg-wrap {
        width: clamp(112px, 32vw, 166px);
        min-width: clamp(112px, 32vw, 166px);
    }

    .yls-logo-wordmark {
        max-width: min(46vw, 210px);
        font-size: .62rem;
        letter-spacing: .16em;
    }

    .yls-hero-logo-lockup .yls-logo-svg-wrap {
        width: min(78vw, 420px);
        min-width: min(78vw, 420px);
    }
}

@media (max-width: 560px) {
    .yls-logo {
        gap: 9px;
    }

    .yls-logo-wordmark {
        display: none;
    }

    .yls-logo-svg-wrap {
        width: 126px;
        min-width: 126px;
    }
}


/* v1.8 footer logo integration */
.yls-footer-logo-brand {
    display: grid;
    gap: 10px;
    align-content: center;
}

.yls-footer-logo-brand .yls-logo-svg-wrap {
    width: clamp(128px, 12vw, 190px);
    min-width: clamp(128px, 12vw, 190px);
}

.yls-footer-logo-brand .yls-logo-wordmark {
    max-width: 260px;
}

.yls-footer-logo-brand > small {
    max-width: 340px;
    color: rgba(255,255,255,.68);
}


/* v1.9 interactive logo scale and boundary-only backlight */
.yls-brand-logo {
    min-width: clamp(260px, 26vw, 420px) !important;
}

.yls-logo-svg-wrap {
    width: clamp(142px, 13.4vw, 238px) !important;
    min-width: clamp(142px, 13.4vw, 238px) !important;
}

.yls-logo-wordmark {
    max-width: clamp(160px, 16vw, 300px) !important;
    font-size: clamp(.66rem, .88vw, .92rem) !important;
}

.yls-hero-logo-lockup .yls-logo-svg-wrap {
    width: clamp(310px, 43vw, 660px) !important;
    min-width: clamp(310px, 43vw, 660px) !important;
}

.yls-hero-logo-lockup {
    margin-bottom: clamp(22px, 3vw, 38px) !important;
}

/* Remove the earlier general-area glow around the logo. */
.yls-logo::after {
    display: none !important;
}

/* The glow now comes from a blurred duplicate of the letter contour inside the SVG. */
.yls-logo-backlight {
    fill: none;
    stroke-width: 19;
    stroke-linejoin: round;
    stroke-linecap: round;
    opacity: calc(var(--logo-alpha) * .46);
}

.yls-hero-logo-lockup .yls-logo-backlight {
    stroke-width: 22;
    opacity: calc(var(--logo-alpha) * .55);
}

.yls-logo-metal-body {
    stroke-width: 17;
}

.yls-logo-carbon-core {
    stroke-width: 1.1;
}

.yls-logo-inlay-track {
    stroke-width: 5.2;
    opacity: .62;
}

.yls-logo-inlay-live {
    stroke-width: 6.8;
    opacity: calc(.22 + (var(--logo-alpha) * .78));
}

.yls-logo-svg {
    filter:
        drop-shadow(0 7px 15px rgba(0,0,0,.30))
        drop-shadow(0 0 4px rgba(215,238,255, calc(var(--logo-alpha) * .16))) !important;
}

.yls-hero-logo-lockup .yls-logo-svg {
    filter:
        drop-shadow(0 12px 28px rgba(0,0,0,.38))
        drop-shadow(0 0 6px rgba(215,238,255, calc(var(--logo-alpha) * .18))) !important;
}

.yls-footer-logo-brand .yls-logo-svg-wrap {
    width: clamp(154px, 15vw, 250px) !important;
    min-width: clamp(154px, 15vw, 250px) !important;
}

.yls-form-message-saved {
    border-color: rgba(210,235,255,.34);
    background: rgba(255,255,255,.08);
}

@media (max-width: 1180px) and (min-width: 901px) {
    .yls-brand-logo {
        min-width: 0 !important;
    }

    .yls-logo-svg-wrap {
        width: clamp(170px, 20vw, 260px) !important;
        min-width: clamp(170px, 20vw, 260px) !important;
    }
}

@media (max-width: 900px) {
    .yls-logo-svg-wrap {
        width: clamp(148px, 38vw, 220px) !important;
        min-width: clamp(148px, 38vw, 220px) !important;
    }

    .yls-hero-logo-lockup .yls-logo-svg-wrap {
        width: min(86vw, 520px) !important;
        min-width: min(86vw, 520px) !important;
    }
}

@media (max-width: 560px) {
    .yls-logo-svg-wrap {
        width: 148px !important;
        min-width: 148px !important;
    }
}


/* v1.10 refinements: smoother logo interaction, thinner strokes, longer boundary glow, and active nav button treatment */
.yls-links a.is-active,
.yls-links .current-menu-item > a,
.yls-links .current_page_item > a,
.yls-links .current_page_parent > a,
.yls-links .current-menu-ancestor > a {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px !important;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.24) !important;
    background: rgba(255,255,255,.078) !important;
    box-shadow:
        0 10px 26px rgba(0,0,0,.12),
        inset 0 1px 0 rgba(255,255,255,.30),
        inset 0 -1px 0 rgba(255,255,255,.06),
        inset 0 0 0 .5px rgba(255,255,255,.05);
    backdrop-filter: blur(24px) saturate(138%) brightness(1.03);
    -webkit-backdrop-filter: blur(24px) saturate(138%) brightness(1.03);
}

.yls-links a.is-active::before,
.yls-links .current-menu-item > a::before,
.yls-links .current_page_item > a::before,
.yls-links .current_page_parent > a::before,
.yls-links .current-menu-ancestor > a::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(140% 100% at 50% 0%, rgba(255,255,255,.24), rgba(255,255,255,.04) 34%, rgba(255,255,255,0) 70%),
        linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0) 45%);
    opacity: .76;
}

.yls-links a.is-active > *,
.yls-links .current-menu-item > a > *,
.yls-links .current_page_item > a > *,
.yls-links .current_page_parent > a > *,
.yls-links .current-menu-ancestor > a > * {
    position: relative;
    z-index: 2;
}

/* logo scale up a touch more, but with slimmer material sections */
.yls-brand-logo { min-width: clamp(280px, 28vw, 440px) !important; }
.yls-logo-svg-wrap {
    width: clamp(154px, 14.3vw, 252px) !important;
    min-width: clamp(154px, 14.3vw, 252px) !important;
}
.yls-hero-logo-lockup .yls-logo-svg-wrap {
    width: clamp(340px, 46vw, 700px) !important;
    min-width: clamp(340px, 46vw, 700px) !important;
}
.yls-footer-logo-brand .yls-logo-svg-wrap {
    width: clamp(166px, 15.6vw, 264px) !important;
    min-width: clamp(166px, 15.6vw, 264px) !important;
}

/* slimmer strokes and thinner inlay strip */
.yls-logo-backlight {
    stroke-width: 15.2 !important;
    opacity: calc(var(--logo-alpha) * .42);
}
.yls-hero-logo-lockup .yls-logo-backlight {
    stroke-width: 18 !important;
    opacity: calc(var(--logo-alpha) * .50);
}
.yls-logo-metal-body { stroke-width: 13.4 !important; }
.yls-logo-carbon-core { stroke-width: .95 !important; }
.yls-logo-inlay-track {
    stroke-width: 3.55 !important;
    opacity: .64 !important;
}
.yls-logo-inlay-live {
    stroke-width: 4.35 !important;
    opacity: calc(.18 + (var(--logo-alpha) * .76)) !important;
}

/* back glow should travel further while staying sourced from the letter contour */
.yls-logo-svg {
    filter:
        drop-shadow(0 6px 14px rgba(0,0,0,.28))
        drop-shadow(0 0 6px rgba(215,238,255, calc(var(--logo-alpha) * .14))) !important;
}
.yls-hero-logo-lockup .yls-logo-svg {
    filter:
        drop-shadow(0 12px 26px rgba(0,0,0,.36))
        drop-shadow(0 0 8px rgba(215,238,255, calc(var(--logo-alpha) * .16))) !important;
}

@media (max-width: 900px) {
    .yls-logo-svg-wrap {
        width: clamp(160px, 40vw, 228px) !important;
        min-width: clamp(160px, 40vw, 228px) !important;
    }

    .yls-hero-logo-lockup .yls-logo-svg-wrap {
        width: min(88vw, 540px) !important;
        min-width: min(88vw, 540px) !important;
    }
}


/* v1.11 refinements: lower-lag interaction, softer no-box boundary glow, slimmer active nav, more realistic white logo body and inset */
.yls-links a.is-active,
.yls-links .current-menu-item > a,
.yls-links .current_page_item > a,
.yls-links .current_page_parent > a,
.yls-links .current-menu-ancestor > a {
    min-height: 40px !important;
    padding: 0 15px !important;
    border-width: 1px !important;
    background: rgba(255,255,255,.072) !important;
    box-shadow:
        0 8px 22px rgba(0,0,0,.10),
        inset 0 1px 0 rgba(255,255,255,.28),
        inset 0 -1px 0 rgba(255,255,255,.05),
        inset 0 0 0 .5px rgba(255,255,255,.05) !important;
    backdrop-filter: blur(22px) saturate(134%) brightness(1.03) !important;
    -webkit-backdrop-filter: blur(22px) saturate(134%) brightness(1.03) !important;
}

.yls-brand-logo { min-width: clamp(282px, 28vw, 446px) !important; }
.yls-logo-svg-wrap {
    width: clamp(156px, 14.5vw, 256px) !important;
    min-width: clamp(156px, 14.5vw, 256px) !important;
}
.yls-hero-logo-lockup .yls-logo-svg-wrap {
    width: clamp(348px, 47vw, 720px) !important;
    min-width: clamp(348px, 47vw, 720px) !important;
}

/* White satin body rather than chrome. */
.yls-logo-metal-body {
    stroke-width: 12.8 !important;
    opacity: 1 !important;
}
.yls-logo-carbon-core {
    stroke-width: .88 !important;
    opacity: .98 !important;
}

/* More realistic inset: shallower track, thinner lit strip, slight recessed shadow. */
.yls-logo-inlay-shadow {
    fill: none;
    stroke: rgba(0,0,0,.28);
    stroke-width: 4.35;
    stroke-linejoin: round;
    stroke-linecap: round;
    opacity: .48;
}
.yls-logo-inlay-track {
    stroke: rgba(255,255,255,.18) !important;
    stroke-width: 3.12 !important;
    opacity: .74 !important;
}
.yls-logo-inlay-live {
    stroke-width: 3.45 !important;
    opacity: calc(.16 + (var(--logo-alpha) * .72)) !important;
}

/* Extend boundary-sourced glow further, remove any visible hard edge/box feel. */
.yls-logo-backlight {
    stroke-width: 13.8 !important;
    opacity: calc(var(--logo-alpha) * .38) !important;
}
.yls-hero-logo-lockup .yls-logo-backlight {
    stroke-width: 16.4 !important;
    opacity: calc(var(--logo-alpha) * .46) !important;
}
.yls-logo-svg,
.yls-hero-logo-lockup .yls-logo-svg {
    overflow: visible !important;
}
.yls-logo-svg {
    filter:
        drop-shadow(0 6px 14px rgba(0,0,0,.24))
        drop-shadow(0 0 4px rgba(230,244,255, calc(var(--logo-alpha) * .11))) !important;
}
.yls-hero-logo-lockup .yls-logo-svg {
    filter:
        drop-shadow(0 11px 24px rgba(0,0,0,.32))
        drop-shadow(0 0 5px rgba(230,244,255, calc(var(--logo-alpha) * .12))) !important;
}

@media (max-width: 900px) {
    .yls-logo-svg-wrap {
        width: clamp(160px, 40vw, 230px) !important;
        min-width: clamp(160px, 40vw, 230px) !important;
    }
    .yls-hero-logo-lockup .yls-logo-svg-wrap {
        width: min(88vw, 548px) !important;
        min-width: min(88vw, 548px) !important;
    }
}


/* v1.12: realistic forged carbon, thinner active nav edge, softer logo glow bounds */
.yls-logo,
.yls-logo-svg-wrap,
.yls-logo-svg {
    overflow: visible !important;
}

.yls-links a.is-active,
.yls-links .current-menu-item > a,
.yls-links .current_page_item > a,
.yls-links .current_page_parent > a,
.yls-links .current-menu-ancestor > a {
    min-height: 38px !important;
    padding: 0 13px !important;
    border-color: rgba(255,255,255,.18) !important;
    box-shadow:
        0 7px 18px rgba(0,0,0,.09),
        inset 0 1px 0 rgba(255,255,255,.24),
        inset 0 -1px 0 rgba(255,255,255,.04),
        inset 0 0 0 .45px rgba(255,255,255,.045) !important;
}
.yls-links a.is-active.yls-glow-follow,
.yls-links .current-menu-item > a.yls-glow-follow,
.yls-links .current_page_item > a.yls-glow-follow,
.yls-links .current_page_parent > a.yls-glow-follow,
.yls-links .current-menu-ancestor > a.yls-glow-follow {
    --refraction-width: 1.0px;
}

/* More believable forged-carbon center and white body. */
.yls-logo-metal-body {
    stroke-width: 12.2 !important;
    opacity: 1 !important;
}
.yls-logo-carbon-core {
    stroke-width: .84 !important;
    opacity: 1 !important;
}
.yls-logo-inlay-shadow {
    stroke: rgba(0,0,0,.34) !important;
    stroke-width: 4.0 !important;
    opacity: .46 !important;
}
.yls-logo-inlay-track {
    stroke-width: 2.95 !important;
    opacity: .72 !important;
}
.yls-logo-inlay-live {
    stroke-width: 3.22 !important;
    opacity: calc(.15 + (var(--logo-alpha) * .70)) !important;
}
.yls-logo-backlight {
    stroke-width: 12.9 !important;
    opacity: calc(var(--logo-alpha) * .34) !important;
}
.yls-hero-logo-lockup .yls-logo-backlight {
    stroke-width: 15.2 !important;
    opacity: calc(var(--logo-alpha) * .42) !important;
}
.yls-logo-svg {
    filter:
        drop-shadow(0 5px 12px rgba(0,0,0,.22))
        drop-shadow(0 0 3px rgba(235,246,255, calc(var(--logo-alpha) * .09))) !important;
}
.yls-hero-logo-lockup .yls-logo-svg {
    filter:
        drop-shadow(0 10px 22px rgba(0,0,0,.30))
        drop-shadow(0 0 4px rgba(235,246,255, calc(var(--logo-alpha) * .10))) !important;
}


/* v1.13: remove oversized hero logo, yacht stern logo integrated into hero image, slightly stronger nav edge */
.yls-hero-logo-lockup {
    display: none !important;
}

.yls-links a.is-active,
.yls-links .current-menu-item > a,
.yls-links .current_page_item > a,
.yls-links .current_page_parent > a,
.yls-links .current-menu-ancestor > a {
    border-color: rgba(255,255,255,.235) !important;
    box-shadow:
        0 8px 22px rgba(0,0,0,.10),
        inset 0 1px 0 rgba(255,255,255,.31),
        inset 0 -1px 0 rgba(255,255,255,.055),
        inset 0 0 0 .7px rgba(255,255,255,.075) !important;
}

.yls-links a.is-active.yls-glow-follow,
.yls-links .current-menu-item > a.yls-glow-follow,
.yls-links .current_page_item > a.yls-glow-follow,
.yls-links .current_page_parent > a.yls-glow-follow,
.yls-links .current-menu-ancestor > a.yls-glow-follow {
    --refraction-width: 1.35px;
}

/* Restore a touch more breathing room now the large logo is removed. */
.yls-copy .yls-kicker {
    margin-top: 0;
}
