/**
 * 250th anniversary landing page.
 * The hero is the commemorative moment. Everything below it uses the
 * shared landing-page components in style.css.
 */

.anniversary-250-page {
    background: #fff;
    --anniversary-scribble: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16'%3E%3Cpath fill='black' d='M4 12.5C78 3.4 222 3.4 296 12.5C222 9.25 78 9.25 4 12.5Z'/%3E%3C/svg%3E");
}

.anniversary-250-page .page-header {
    background: #142033;
    color: #f6f1e7;
    padding: 8.5rem 0 5.5rem;
}

.anniversary-250-page .page-header .container {
    position: relative;
    z-index: 1;
}

.anniversary-mark {
    position: absolute;
    z-index: 0;
    right: 2%;
    top: 46%;
    transform: translateY(-50%);
    margin: 0;
    font-size: clamp(8rem, 22vw, 17rem);
    font-weight: 600;
    line-height: 0.8;
    letter-spacing: -0.06em;
    color: rgba(196, 164, 106, 0.16);
    pointer-events: none;
    user-select: none;
}

.anniversary-eyebrow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0;
    margin: 0 auto 1.35rem;
    max-width: 40rem;
    color: #c4a46a;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.anniversary-eyebrow span:not(:last-child)::after {
    content: " ·";
    color: rgba(196, 164, 106, 0.7);
}

.anniversary-250-page .page-header h1 {
    color: #f6f1e7;
    max-width: 16ch;
    margin-left: auto;
    margin-right: auto;
}

.anniversary-title-scribble {
    width: 5.75rem;
    height: 0.7rem;
    margin: 0.15rem auto 1.45rem;
    color: #c4a46a;
}

.anniversary-title-scribble svg {
    display: block;
    width: 100%;
    height: 100%;
}

.anniversary-title-scribble path {
    fill: currentColor;
}

.anniversary-250-page .page-header .services-intro {
    color: rgba(246, 241, 231, 0.84);
    max-width: 40rem;
}

.anniversary-250-page .page-header .anniversary-phone {
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem;
    width: 100%;
    margin: 1.65rem auto 0;
    padding-bottom: 0.35rem;
    color: rgba(246, 241, 231, 0.72);
    font-size: 0.95rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.anniversary-250-page .anniversary-phone a {
    color: #e4d2a8;
    font-weight: 600;
    text-decoration: none;
}

.anniversary-phone-call {
    white-space: nowrap;
}

.anniversary-250-page .anniversary-phone a:hover {
    color: #f6f1e7;
}

.anniversary-250-page .anniversary-phone .hero-call-digits {
    color: inherit;
}

.anniversary-250-page .page-header .anniversary-phone .hero-call-scribble {
    color: #c4a46a;
    top: 100%;
    left: -6%;
    width: 112%;
    height: 0.55em;
}

.anniversary-250-page .page-header .hero-buttons .anniversary-hero-secondary {
    background: transparent;
    color: #f6f1e7;
    border: 1px solid rgba(196, 164, 106, 0.85);
    box-shadow: none;
}

.anniversary-250-page .page-header .hero-buttons .anniversary-hero-secondary:hover {
    background: rgba(196, 164, 106, 0.16);
    color: #f6f1e7;
    transform: translateY(-2px);
    box-shadow: none;
}

.anniversary-250-page.landing-page .section-header h2,
.anniversary-250-page.landing-page .section-title,
.anniversary-250-page.landing-page .service-process > .container > h2,
.anniversary-250-page.landing-page .faq-section h2,
.anniversary-250-page.landing-page .conversion-copy h2,
.anniversary-250-page.landing-page .cta h2 {
    position: relative;
}

.anniversary-250-page.landing-page .section-header h2::after,
.anniversary-250-page.landing-page .section-title::after,
.anniversary-250-page.landing-page .service-process > .container > h2::after,
.anniversary-250-page.landing-page .faq-section h2::after,
.anniversary-250-page.landing-page .conversion-copy h2::after,
.anniversary-250-page.landing-page .cta h2::after {
    content: "";
    position: absolute;
    left: 50%;
    right: auto;
    bottom: -0.55rem;
    transform: translateX(-50%);
    width: 5.25rem;
    height: 0.7rem;
    margin: 0;
    border: 0;
    border-radius: 0;
    opacity: 1;
    background-color: var(--primary);
    background-image: none;
    -webkit-mask: var(--anniversary-scribble) center / 100% 100% no-repeat;
    mask: var(--anniversary-scribble) center / 100% 100% no-repeat;
}

.anniversary-250-page.landing-page .conversion-copy h2::after {
    left: 0;
    transform: none;
}

.anniversary-250-page.landing-page .cta h2 {
    display: inline-block;
}

.anniversary-250-page.landing-page .cta h2::after {
    background-color: #f6f1e7;
}

.anniversary-250-page.landing-page .section-header,
.anniversary-250-page.landing-page .faq-section,
.anniversary-250-page.landing-page .service-process > .container {
    text-align: center;
}

.anniversary-250-page.landing-page .stats-strip .section-title {
    text-align: center;
}

.anniversary-250-page .stats-grid {
    gap: 1.5rem;
}

.anniversary-250-page .anniversary-fact {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    padding: 2.25rem 1.75rem 2rem;
    background: var(--light);
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.anniversary-250-page .anniversary-fact:hover {
    transform: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.anniversary-250-page .anniversary-fact::before {
    content: none;
}

.anniversary-250-page .anniversary-fact .stat-icon {
    align-self: center;
    margin: 0 auto 1.15rem;
}

.anniversary-fact h3 {
    margin: 0 0 0.85rem;
    font-size: 1.45rem;
    color: var(--dark);
    text-align: left;
}

.anniversary-250-page .anniversary-fact .stat-label {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    color: inherit;
    opacity: 1;
    text-align: left;
}

a.anniversary-fact {
    color: inherit;
    text-decoration: none;
}

a.anniversary-fact:hover {
    color: inherit;
    box-shadow: 0 12px 32px rgba(255, 77, 0, 0.16);
}

.anniversary-250-page .why-choose .feature-card.is-preview {
    transform: translateX(5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.anniversary-250-page .why-choose .feature-card.is-preview::before {
    transform: scaleX(1);
}

.anniversary-250-page .why-choose .feature-card.is-preview .feature-icon {
    transform: scale(1.3);
    box-shadow: 0 8px 25px rgba(255, 77, 0, 0.3);
}

.anniversary-250-page .why-choose .feature-card.is-preview .feature-icon i {
    transform: scale(1.2);
    opacity: 0.8;
}

.anniversary-paths-stage {
    position: relative;
    max-width: 100%;
    min-width: 0;
}

.anniversary-paths {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
}

.anniversary-path {
    background: var(--light);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 2.25rem 1.75rem 2rem;
    text-align: left;
    position: relative;
    z-index: 1;
}

.anniversary-path[data-example] {
    cursor: pointer;
}

.anniversary-path.is-linked {
    box-shadow: 0 12px 32px rgba(255, 77, 0, 0.16);
}

.anniversary-connector {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
}

.anniversary-connector path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.anniversary-paths-stage.is-open .anniversary-connector path {
    opacity: 1;
}

.anniversary-examples {
    position: relative;
    z-index: 1;
    height: 0;
    margin-top: 0;
    overflow: hidden;
    max-width: 100%;
    min-width: 0;
    transition: height 0.55s cubic-bezier(0.22, 1, 0.36, 1), margin-top 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.anniversary-paths-stage.is-open .anniversary-examples {
    margin-top: 4.5rem;
}

.anniversary-example {
    position: absolute;
    top: 0;
    left: 50%;
    box-sizing: border-box;
    width: min(44rem, 100%);
    margin: 0;
    padding: 1.5rem 1.6rem;
    background: var(--gray-light);
    border-left: 3px solid var(--primary);
    border-radius: 0 12px 12px 0;
    text-align: left;
    overflow-wrap: break-word;
    visibility: hidden;
    opacity: 0;
    transform: translateX(-50%) translateY(0.75rem);
    transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.4s;
}

.anniversary-example.is-shown {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.45s ease 0.08s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}

.anniversary-path-kicker {
    margin: 0 0 0.4rem;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.anniversary-path h3 {
    margin: 0 0 0.85rem;
    font-size: 1.45rem;
}

.anniversary-path p:last-child {
    margin-bottom: 0;
}

.anniversary-example-label {
    margin: 0 0 0.4rem;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.anniversary-example p:last-child {
    margin-bottom: 0;
}

.anniversary-own-list,
.anniversary-terms-list {
    list-style: none;
    padding: 0;
    margin: 2rem auto 0;
    max-width: 46rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.anniversary-own-list li,
.anniversary-terms-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
    line-height: 1.55;
}

.anniversary-own-list i,
.anniversary-terms-list i {
    color: var(--primary);
    margin-top: 0.2rem;
    flex: 0 0 auto;
}

.anniversary-terms {
    padding: 5rem 0;
    background: var(--gray);
}

.anniversary-terms .section-header {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
}

.anniversary-form-status {
    margin: 0 0 1.25rem;
    padding: 1rem 1.1rem;
    border-radius: 8px;
    line-height: 1.5;
}

.anniversary-form-status p {
    margin: 0;
}

.anniversary-form-status.is-sent {
    background: #f3faf4;
    border: 1px solid #b7e0c2;
}

.anniversary-form-status.is-error {
    background: #fff6f4;
    border: 1px solid #f0c2b8;
}

.anniversary-250-form {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.anniversary-250-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

.anniversary-250-form input[type="text"],
.anniversary-250-form input[type="email"],
.anniversary-250-form input[type="tel"],
.anniversary-250-form select,
.anniversary-250-form textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 0.95rem;
    color: var(--dark);
    min-height: 38px;
    box-sizing: border-box;
    font-family: inherit;
}

.anniversary-250-form textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.45;
}

.anniversary-250-form input:focus,
.anniversary-250-form select:focus,
.anniversary-250-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(255, 77, 0, 0.1);
    outline: none;
}

.anniversary-250-form .error {
    border-color: #b42318;
}

.anniversary-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.95rem;
}

.anniversary-250-form button[type="submit"],
.anniversary-250-form .wpcf7-submit {
    width: 100%;
    margin-top: 0.25rem;
}

.anniversary-250-form .wpcf7-form-control-wrap {
    display: block;
}

.wpcf7 .anniversary-250-form.sent .wpcf7-response-output {
    display: block;
    margin: 0.35rem 0 0;
    padding: 1.15rem 1.25rem;
    border: 1px solid #b7e0c2;
    border-radius: 8px;
    background: #f3faf4;
    color: #14532d;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.55;
    text-align: left;
    scroll-margin: 6rem;
}

.wpcf7 .anniversary-250-form.sent .wpcf7-response-output:focus {
    outline: 2px solid #14532d;
    outline-offset: 3px;
}

.anniversary-250-form.sent .anniversary-250-fields :is(input, select, textarea):disabled {
    color: #3d3d3d;
    background: #f7f7f7;
    cursor: default;
}

.anniversary-form-note {
    margin: 0.35rem 0 0;
    color: #555;
    font-size: 0.88rem;
    line-height: 1.5;
}

.anniversary-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.anniversary-work {
    padding: 5rem 0;
    background: #fff;
}

.anniversary-work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.anniversary-work-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    color: inherit;
    text-decoration: none;
}

.anniversary-work-card:hover {
    color: inherit;
    box-shadow: 0 12px 32px rgba(255, 77, 0, 0.16);
}

.anniversary-work-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.anniversary-work-shot {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f6f4f0;
    border-bottom: 1px solid rgba(20, 32, 51, 0.06);
}

.anniversary-work-shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.anniversary-work-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    padding: 1.35rem 1.5rem 1.45rem;
    text-align: left;
}

.anniversary-work-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.35rem;
    color: var(--dark);
}

.anniversary-work-line {
    margin: 0;
    line-height: 1.5;
}

.anniversary-work-open {
    margin-top: auto;
    padding-top: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.anniversary-work-card:hover .anniversary-work-open {
    color: var(--secondary);
}

@media (prefers-reduced-motion: reduce) {
    .anniversary-examples,
    .anniversary-example,
    .anniversary-connector path {
        transition: none;
    }
}

@media (max-width: 992px) {
    .anniversary-paths {
        grid-template-columns: 1fr;
    }

    .anniversary-mark {
        font-size: 8rem;
        top: 1.5rem;
        right: 1rem;
        transform: none;
    }
}

@media (max-width: 768px) {
    .anniversary-work-grid {
        grid-template-columns: 1fr;
    }

    .anniversary-250-page .page-header {
        padding: 6.5rem 0 4rem;
    }

    .anniversary-250-page .page-header h1,
    .anniversary-250-page .page-header .services-intro,
    .anniversary-250-page .page-header .anniversary-phone {
        color: #f6f1e7;
        text-align: left;
    }

    .anniversary-250-page .page-header .anniversary-phone {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .anniversary-title-scribble {
        width: min(320px, 100%);
    }

    .anniversary-title-scribble svg {
        width: 5.75rem;
        margin-left: 0;
    }

    .anniversary-250-page.landing-page .section-header h2::after,
    .anniversary-250-page.landing-page .section-title::after,
    .anniversary-250-page.landing-page .service-process > .container > h2::after,
    .anniversary-250-page.landing-page .faq-section h2::after,
    .anniversary-250-page.landing-page .cta h2::after {
        left: 0;
        transform: none;
    }

    .anniversary-250-page .page-header .services-intro,
    .anniversary-250-page .page-header .anniversary-phone {
        color: rgba(246, 241, 231, 0.84);
    }

    .anniversary-250-page .page-header .anniversary-eyebrow {
        justify-content: flex-start;
        text-align: left;
        max-width: 310px;
    }

    .anniversary-250-page .page-header .hero-buttons .anniversary-hero-secondary {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .anniversary-mark {
        font-size: 5.5rem;
        top: auto;
        bottom: 0.25rem;
        right: 0.75rem;
        color: rgba(196, 164, 106, 0.2);
    }
}

@media (max-width: 600px) {
    .anniversary-field-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .anniversary-250-page .page-header .services-intro {
        max-width: 310px;
    }
}

/* iPad and other tablets. Phones stay on the narrow column; this range
   keeps the centered hero and puts the three-up sections back in a row. */
@media (min-width: 700px) and (max-width: 1024px) {
    .anniversary-250-page .page-header {
        padding: 7.25rem 0 7.5rem;
    }

    .anniversary-250-page.landing-page .page-header h1 {
        max-width: 16ch;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(2.6rem, 4.2vw, 3.35rem);
        line-height: 1.12;
        text-align: center;
    }

    .anniversary-250-page.landing-page .page-header .services-intro {
        max-width: 38rem;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.12rem;
        line-height: 1.6;
        text-align: center;
        color: rgba(246, 241, 231, 0.84);
    }

    .anniversary-250-page .page-header .anniversary-phone {
        justify-content: center;
        max-width: 38rem;
        text-align: center;
    }

    .anniversary-250-page .page-header .anniversary-eyebrow {
        justify-content: center;
        text-align: center;
        max-width: 40rem;
    }

    .anniversary-title-scribble {
        width: 5.75rem;
        margin-left: auto;
        margin-right: auto;
    }

    .anniversary-title-scribble svg {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .anniversary-250-page .hero-buttons,
    .anniversary-250-page.landing-page .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        width: auto;
        max-width: none;
        justify-content: center;
    }

    .anniversary-250-page .hero-buttons .button,
    .anniversary-250-page .page-header .hero-buttons .anniversary-hero-secondary {
        width: auto;
    }

    .anniversary-mark {
        font-size: 6.75rem;
        top: auto;
        bottom: 0.35rem;
        right: 1.25rem;
        transform: none;
        color: rgba(196, 164, 106, 0.2);
    }

    .anniversary-250-page .stats-grid,
    .anniversary-250-page .anniversary-paths {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

    .anniversary-250-page .anniversary-fact,
    .anniversary-path {
        padding: 1.45rem 1.1rem 1.3rem;
    }

    .anniversary-250-page .anniversary-fact .stat-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0.85rem;
        font-size: 1.15rem;
    }

    .anniversary-250-page .anniversary-fact h3,
    .anniversary-path h3 {
        font-size: 1.2rem;
    }

    .anniversary-250-page .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
        padding: 0;
    }

    .anniversary-250-page.landing-page .process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .anniversary-250-page .conversion-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .anniversary-250-page.landing-page .section-header {
        text-align: center;
    }

    .anniversary-250-page.landing-page h2.section-title,
    .anniversary-250-page.landing-page .stats-strip .section-title,
    .anniversary-250-page.landing-page .section-header h2,
    .anniversary-250-page.landing-page .service-process h2,
    .anniversary-250-page.landing-page .why-choose .section-title,
    .anniversary-250-page.landing-page .conversion-copy h2,
    .anniversary-250-page.landing-page .faq-section h2,
    .anniversary-250-page.landing-page .cta h2 {
        max-width: 36rem;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(1.85rem, 2.2vw + 1rem, 2.45rem);
        text-align: center !important;
    }

    .anniversary-250-page.landing-page .section-description,
    .anniversary-250-page.landing-page .section-subtitle,
    .anniversary-250-page.landing-page .faq-section .section-subtitle,
    .anniversary-250-page.landing-page .cta p {
        max-width: 40rem;
        font-size: 1.05rem;
        text-align: center !important;
    }

    .anniversary-250-page .anniversary-own-list,
    .anniversary-250-page .conversion-copy .reassurance-list {
        width: fit-content;
        max-width: min(40rem, 100%);
        margin-left: auto;
        margin-right: auto;
    }

    .anniversary-250-page .conversion-copy > p {
        max-width: 36rem;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .anniversary-250-page.landing-page .section-header h2::after,
    .anniversary-250-page.landing-page .section-title::after,
    .anniversary-250-page.landing-page .service-process > .container > h2::after,
    .anniversary-250-page.landing-page .faq-section h2::after,
    .anniversary-250-page.landing-page .conversion-copy h2::after,
    .anniversary-250-page.landing-page .cta h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
